List all work requests.

GET {{baseUrl}}/workRequests?compartmentId={{compartment_ocid}}&clusterId=ocid1.cluster.oc1....&resourceId=cupidatat&resourceType=CLUSTER&limit=340&sortOrder=DESC&sortBy=TIME_STARTED

List all work requests in a compartment.

Request Params

KeyDatatypeRequiredDescription
compartmentIdstring(Required) The OCID of the compartment.
clusterIdstringThe OCID of the cluster.
resourceIdstringThe OCID of the resource associated with a work request
resourceTypestringType of the resource associated with a work request
statusstringA work request status to filter on. Can have multiple parameters of this name.
statusstringA work request status to filter on. Can have multiple parameters of this name.
limitnumberFor list pagination. The maximum number of results per page, or items to return in a paginated "List" call.
1 is the minimum, 1000 is the maximum. For important details about how pagination works,
see List Pagination.
pagenullFor 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.
sortOrderstringThe optional order in which to sort the results.
sortBystringThe optional field to sort the results by.

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringUnique Oracle-assigned identifier for the request. If you need to contact
Oracle about a particular request, please provide the request ID.
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header

RESPONSES

status: OK

[{"compartmentId":"ocid1.compartment.oc1..aaaaaaaafqm2df7ckwmmbtdsl2bgxsw4fcpvkoojytxrqst24yww2tdmtqcq","id":"ocid1.clustersworkrequest.oc1.iad.aaaaaaaanifpelnyzmkvnepohbz4ntswkpl35syzzsugdxceth3oihe8hcfq","operationType":"CLUSTER_UPDATE","resources":[{"actionType":"CREATED","entityType":"cluster","entityUri":"/20180401/clusters/ocid1.cluster.oc1.iad.aaaaaaaaga3tombrmq3wgyrvmi3gcn3bmfsdizjwgy4wgyldmy3dcmtcmmyw","identifier":"ocid1.cluster.oc1.iad.aaaaaaaaga3tombrmq3wgyrvmi3gcn3bmfsdizjwgy4wgyldmy3dcmtcmmyw"},{"actionType":"CREATED","entityType":"cluster","entityUri":"/20180401/clusters/ocid1.cluster.oc1.iad.aaaaaaaaga3tombrmq3wgyrvmi3gcn3bmfsdizjwgy4wgyldmy3dcmtcmmyw","identifier":"ocid1.cluster.oc1.iad.aaaaaaaaga3tombrmq3wgyrvmi3gcn3bmfsdizjwgy4wgyldmy3dcmtcmmyw"}],"status":"IN_PROGRESS","timeAccepted":"1958-04-14T05:09:54.167Z","timeFinished":"2011-09-18T20:37:29.583Z","timeStarted":"1999-04-02T00:44:38.264Z"},{"compartmentId":"ocid1.compartment.oc1..aaaaaaaafqm2df7ckwmmbtdsl2bgxsw4fcpvkoojytxrqst24yww2tdmtqcq","id":"ocid1.clustersworkrequest.oc1.iad.aaaaaaaanifpelnyzmkvnepohbz4ntswkpl35syzzsugdxceth3oihe8hcfq","operationType":"CLUSTER_UPDATE","resources":[{"actionType":"CREATED","entityType":"cluster","entityUri":"/20180401/clusters/ocid1.cluster.oc1.iad.aaaaaaaaga3tombrmq3wgyrvmi3gcn3bmfsdizjwgy4wgyldmy3dcmtcmmyw","identifier":"ocid1.cluster.oc1.iad.aaaaaaaaga3tombrmq3wgyrvmi3gcn3bmfsdizjwgy4wgyldmy3dcmtcmmyw"},{"actionType":"CREATED","entityType":"cluster","entityUri":"/20180401/clusters/ocid1.cluster.oc1.iad.aaaaaaaaga3tombrmq3wgyrvmi3gcn3bmfsdizjwgy4wgyldmy3dcmtcmmyw","identifier":"ocid1.cluster.oc1.iad.aaaaaaaaga3tombrmq3wgyrvmi3gcn3bmfsdizjwgy4wgyldmy3dcmtcmmyw"}],"status":"IN_PROGRESS","timeAccepted":"2004-06-12T15:03:01.535Z","timeFinished":"1948-10-20T04:33:17.067Z","timeStarted":"1951-01-03T10:51:39.309Z"}]