ListJobs
GET {{baseUrl}}/jobs?compartmentId={{compartment_ocid}}&projectId=cillum consectetur labore dolor&id=cillum consectetur labore dolor&displayName=cillum consectetur labore dolor&lifecycleState=FAILED&createdBy=cillum consectetur labore dolor&limit=10&sortOrder=ASC&sortBy=timeCreated
List jobs in the specified compartment.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
compartmentId | string | (Required) <b>Filter</b> results by the OCID of the compartment. | |
projectId | string | <b>Filter</b> results by the OCID of the project. | |
id | string | <b>Filter</b> results by OCID. Must be an OCID of the correct type for the resource type. | |
displayName | string | <b>Filter</b> results by its user-friendly name. | |
lifecycleState | string | <b>Filter</b> results by the specified lifecycle state. Must be a valid | |
state for the resource type. | |||
createdBy | string | <b>Filter</b> results by the OCID of the user who created the resource. | |
limit | number | For 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. | |||
See List Pagination. |
Example: 500
|
| page
| string | | For list pagination. The value of the opc-next-page
response
header from the previous "List" call.
See List Pagination.
|
| sortOrder
| string | | Specifies sort order to use, either ASC
(ascending) or DESC
(descending).
|
| sortBy
| string | | Specifies the field to sort by. Accepts only one field.
By default, when you sort by timeCreated
, the results are shown
in descending order. When you sort by displayName
, the results are
shown in ascending order. Sort order for the displayName
field is case sensitive.
|
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, then provide the request ID. | |
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header |
RESPONSES
status: OK
[{"id":"elit minim ut","timeCreated":"1966-12-17T14:00:16.682Z","createdBy":"cillum in","projectId":"dolor laborum enim ut","compartmentId":"ut culpa ut","lifecycleState":"ACTIVE","definedTags":{},"displayName":"fugiat esse ut","freeformTags":{}},{"id":"eu in tempor","timeCreated":"1945-10-03T17:17:23.721Z","createdBy":"ut ut ex reprehenderit","projectId":"ipsum incididunt Ut","compartmentId":"elit Lorem","lifecycleState":"ACTIVE","definedTags":{},"displayName":"voluptate cillum","freeformTags":{}}]