Approvals:Approval

Search (SHIFT+S)



Approval

GET /api/approvals/{approvalId}

Gets the information for the specified approval request

Note: Hosted on HTTPS port 443

Required Roles

This call has no restrictions.


Response Body

No Response Body


JSON Example

Request
GET https://192.168.0.0:443/api/approvals/urn:storageos:ApprovalRequest:ad0f1973-514f-42e9-8186-ebd121198e16:

Content-Type: application/json
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/json

{
  "status": "PENDING",
  "order": {
    "id": "urn:storageos:Order:7f9e7e1f-d765-498c-a320-5840ade14da1:",
    "href": "/api/orders/urn:storageos:Order:7f9e7e1f-d765-498c-a320-5840ade14da1:"
  },
  "tenant": "urn:storageos:TenantOrg:66e1c6ce-d133-42bb-b90f-f7c3334599bb:",
  "id": "urn:storageos:ApprovalRequest:ad0f1973-514f-42e9-8186-ebd121198e16:",
  "inactive": false,
  "link": {
    "rel": "self",
    "href": "/api/approvals/urn:storageos:ApprovalRequest:ad0f1973-514f-42e9-8186-ebd121198e16:"
  }
}
Notes: