List Work Requests

GET {{baseUrl}}/workRequests?compartmentId={{compartment_ocid}}&limit=154

Lists the work requests in a compartment.

Request Params

KeyDatatypeRequiredDescription
compartmentIdstring(Required) The ID of the compartment in which to list buckets.
pagestringFor list pagination. The value of the opc-next-page response header from the previous "List" call. For important
details about how pagination works, see List Pagination.
limitnumberFor list pagination. The maximum number of results per page, or items to return in a paginated
"List" call. For important details about how pagination works, see
List Pagination.

HEADERS

KeyDatatypeRequiredDescription
opc-client-request-idstringThe client request ID for tracing.
Acceptstring

RESPONSES

status: OK

[{"compartmentId":"ullamco dolor ut","id":"ad est","operationType":"COPY_OBJECT","percentComplete":-47900400.7439177,"resources":[{"actionType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"entityType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"entityUri":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"identifier":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"metadata":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"actionType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"entityType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"entityUri":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"identifier":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"metadata":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"status":"IN_PROGRESS","timeAccepted":"1955-11-25T09:21:06.122Z","timeFinished":"1962-07-12T12:33:42.230Z","timeStarted":"1976-01-01T22:52:56.022Z"},{"compartmentId":"magna aliqua ex nostrud","id":"in Lorem","operationType":"REENCRYPT","percentComplete":68874205.43676418,"resources":[{"actionType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"entityType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"entityUri":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"identifier":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"metadata":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"actionType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"entityType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"entityUri":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"identifier":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"metadata":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"status":"ACCEPTED","timeAccepted":"1945-04-11T17:26:49.348Z","timeFinished":"2015-07-03T09:45:31.268Z","timeStarted":"1971-02-09T12:33:58.363Z"}]