Find jobs by searching criteria
GET/projects/:projectId/jobs
Return jobs that match all searching criteria. Criteria are job status or the reference to the resource on which jobs are about.
Request
Path Parameters
Project Identifier
Query Parameters
Possible values: [acknowledged
, in-progress
, completed
, failed
]
Status of the job
Default value: 0
Requested pagination of response. The parameter offset is the index of the first element to retrieve. Zero is the first element of the collection.
Possible values: >= 1
Default value: 100
Requested pagination of response. The parameter limit is the maximum number of elements to retrieve (it can be greater than the actual available number of items).
Possible values: <= 100 characters
, Value must match regular expression -?[A-Za-z0-9]+(?:,[A-Za-z0-9]+)*
The list of field names to sort the result. Prefixing a field name with a "-" sign will indicate a descending order.
Header Parameters
Your SIU token if you use this API through Orange Developer.
Bearer access token authentication if you use this API through Orange Developer or Orange Developer Inside.
Your SIU Id if you use this API through Orange Developer Inside.
Responses
- 200
- 400
- 401
- 403
- 404
- 405
- 500
- 503
Ok
Response Headers
X-Total-Count
integer
Returns Pagination of response. The total number of items in the collection, after application of filters if any.
X-Result-Count
integer
The actual number of items contained in the response body. Note that it can be less than the requested "limit".
- application/json
- Schema
- Example (from schema)
Schema
Array [
- acknowledged: the request has been taken into account
- in-progress: the process is in progress
- completed: the process has been completed so you can request the virtual machine resource
- failed: the process has failed
Array [
]
]
Id of the job
Href of the job.
Possible values: [acknowledged
, in-progress
, completed
, failed
]
Description of the job.
Date when the job was created.
Id of the user who submitted the request.
Date when the job status changed to "in progress".
Date when the job status changed to "completed" or "failed".
messages
object[]
Messages raised on the job.
Error code.
Content of the message.
Additional details.
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"hRef": "string",
"state": "acknowledged",
"description": "string",
"createdDate": "2024-10-02T15:25:04.024Z",
"requesterId": "string",
"startProcessingDate": "2024-10-02T15:25:04.024Z",
"endProcessingDate": "2024-10-02T15:25:04.024Z",
"messages": [
{
"code": 0,
"message": "string",
"description": "string"
}
]
}
]
Bad Request
Request is not valid
- application/json
- Schema
- Example (from schema)
Schema
An integer coding the error type. This is given to caller so he can translate them if required.
A short localized string that describes the error.
(optional) A long localized error description if needed. It can contain precise information about which parameter is missing, or what are the identifier acceptable values.
{
"code": 0,
"message": "string",
"description": "string"
}
Unauthorized
Credentials are missing
- application/json
- Schema
- Example (from schema)
Schema
An integer coding the error type. This is given to caller so he can translate them if required.
A short localized string that describes the error.
(optional) A long localized error description if needed. It can contain precise information about which parameter is missing, or what are the identifier acceptable values.
{
"code": 0,
"message": "string",
"description": "string"
}
Forbidden
Valid credentials but not enough privileges to perform the operation
- application/json
- Schema
- Example (from schema)
Schema
An integer coding the error type. This is given to caller so he can translate them if required.
A short localized string that describes the error.
(optional) A long localized error description if needed. It can contain precise information about which parameter is missing, or what are the identifier acceptable values.
{
"code": 0,
"message": "string",
"description": "string"
}
Not Found
Unknown resource or service
- application/json
- Schema
- Example (from schema)
Schema
An integer coding the error type. This is given to caller so he can translate them if required.
A short localized string that describes the error.
(optional) A long localized error description if needed. It can contain precise information about which parameter is missing, or what are the identifier acceptable values.
{
"code": 0,
"message": "string",
"description": "string"
}
Method Not Allowed
Operation is not valid according to the state of the resource
- application/json
- Schema
- Example (from schema)
Schema
An integer coding the error type. This is given to caller so he can translate them if required.
A short localized string that describes the error.
(optional) A long localized error description if needed. It can contain precise information about which parameter is missing, or what are the identifier acceptable values.
{
"code": 0,
"message": "string",
"description": "string"
}
Internal Server Error
Unexpected error, please contact support
- application/json
- Schema
- Example (from schema)
Schema
An integer coding the error type. This is given to caller so he can translate them if required.
A short localized string that describes the error.
(optional) A long localized error description if needed. It can contain precise information about which parameter is missing, or what are the identifier acceptable values.
{
"code": 0,
"message": "string",
"description": "string"
}
Service Unavailable
Service probably in maintenance. Please retry later.
- application/json
- Schema
- Example (from schema)
Schema
An integer coding the error type. This is given to caller so he can translate them if required.
A short localized string that describes the error.
(optional) A long localized error description if needed. It can contain precise information about which parameter is missing, or what are the identifier acceptable values.
{
"code": 0,
"message": "string",
"description": "string"
}