Get Work Request Status

get

/20191010/workRequests/{workRequestId}

Gets the status of the work request with the given ID.

Request

Supported Media Types
Path Parameters
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

The detail of the work request.
Headers
  • For optimistic concurrency control. See `if-match`.
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
  • A decimal number representing the number of seconds the client should wait before polling this endpoint again.
Body ()
Root Schema : WorkRequest
Type: object
A description of workrequest status
Show Source
  • The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request affects multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used
  • The ID of the work request.
  • Allowed Values: [ "CREATE_PLATFORM", "UPDATE_PLATFORM", "UPGRADE_PLATFORM", "DELETE_PLATFORM", "SCALE_PLATFORM", "START_PLATFORM", "STOP_PLATFORM", "CUSTOMIZE_PLATFORM", "SCALE_CHAINCODE_HOSTS", "WORKREQUEST_CLEANUP" ]
    Type of the work request
  • Percentage of the request completed.
  • resources
    The resources affected by this work request.
  • Allowed Values: [ "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED" ]
    Status of current work request.
  • The date and time the request was created, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29.
  • The date and time the object was finished, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
  • The date and time the request was started, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29.
Nested Schema : resources
Type: array
The resources affected by this work request.
Show Source
Nested Schema : WorkRequestResource
Type: object
A resource created or operated on by a work request.
Show Source
  • Allowed Values: [ "CREATED", "UPDATED", "DELETED", "IN_PROGRESS", "RELATED" ]
    The way in which this resource is affected by the work tracked in the work request. A resource being created, updated, or deleted will remain in the IN_PROGRESS state until work is complete for that resource at which point it will transition to CREATED, UPDATED, or DELETED, respectively.
  • The resource type the work request affects.
  • The URI path that the user can do a GET on to access the resource metadata
  • The identifier of the resource the work request affects.

400 Response

Bad Request

401 Response

Not authorized

404 Response

Invalid parameters

429 Response

Too Many Requests
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source

500 Response

Service unavailable

Default Response

Unknown Error
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source
Back to Top