Lists work requests
GET {{baseUrl}}/workRequests?compartmentId={{compartment_ocid}}&resourceId=minim cupidatat&limit=328&page=qui cillum anim magna
Lists the work requests in a given compartment or for a given resource.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
compartmentId | string | (Required) A filter to return only resources that exist in the compartment, identified by OCID. | |
resourceId | string | The OCID of the resource. | |
limit | number | The number of items returned in a paginated List call. For information about pagination, see | |
List Pagination. | |||
page | string | The value of the opc-next-page response header from the preceding List call. | |
For information about pagination, see List Pagination. | |||
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a | |
particular request, please provide the request ID. | |||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header |
RESPONSES
status: OK
[{"compartmentId":"id enim","id":"incididunt aliquip pariatur","operationType":"consectetur aliqua non in ex","percentComplete":31889140.1681114,"resources":[{"actionType":"CREATED","entityType":"","identifier":"tempor sit ut quis","entityUri":"sed fugiat"},{"actionType":"IN_PROGRESS","entityType":"adipisicing voluptate magna","identifier":"cillum culpa sint deserunt pariatur","entityUri":"velit ut irure pariatur"}],"status":"et Excepteur laboris","timeAccepted":"1952-10-14T01:08:07.179Z","timeFinished":"1998-03-21T03:26:59.418Z","timeStarted":"1960-07-08T23:42:55.519Z"},{"compartmentId":"dolor enim nulla","id":"elit enim","operationType":"laboris consequat","percentComplete":-75431176.68914956,"resources":[{"actionType":"CREATED","entityType":"Duis incididunt labore","identifier":"esse proident magna","entityUri":"incididunt ipsum ad Lorem"},{"actionType":"UPDATED","entityType":"dolore do velit officia","identifier":"tempor consequat mollit exercitation veniam","entityUri":"Ut consequat"}],"status":"in ullamco enim","timeAccepted":"1972-10-24T18:24:22.214Z","timeFinished":"1967-06-14T13:52:15.802Z","timeStarted":"2000-09-22T10:38:38.314Z"}]