List Deploys
GET/configuration-hub/deploys
This API gets a list of deploys for the current tenant.
Responses
- 200
- 400
- 401
- 403
- 429
- 500
List of existing deploys.
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
Unique id assigned to this job.
Possible values: [NOT_STARTED
, IN_PROGRESS
, COMPLETE
, CANCELLED
, FAILED
]
Status of the job.
Possible values: [CONFIG_DEPLOY_DRAFT
]
Type of the job, will always be CONFIG_DEPLOY_DRAFT for this type of job.
Message providing information about the outcome of the deploy process.
The name of the user that initiated the deploy process.
Default value: true
Whether or not a results file was created and stored for this deploy.
The time the job was started.
The time of the last update to the job.
The time the job was completed.
The id of the draft that was used for this deploy.
The name of the draft that was used for this deploy.
Possible values: [SYNCED
, NOT_SYNCED
, SYNC_FAILED
]
Whether this deploy results file has been transferred to a customer storage location.
[
{
"jobId": "07659d7d-2cce-47c0-9e49-185787ee565a",
"status": "COMPLETE",
"type": "CONFIG_DEPLOY_DRAFT",
"message": "Deploy creation message",
"requesterName": "requester.name",
"fileExists": true,
"created": "2021-05-11T22:23:16Z",
"modified": "2021-05-11T22:23:16Z",
"completed": "2021-05-11T22:23:16Z",
"draftId": "07659d7d-2cce-47c0-9e49-185787ee565a",
"draftName": "Draft Name",
"cloudStorageStatus": "SYNCED"
}
]
[
{
"jobId": "3d0fe04b-57df-4a46-a83b-8f04b0f9d10b",
"status": "COMPLETE",
"type": "CONFIG_DEPLOY_DRAFT",
"message": "Deploy outcome message",
"requesterName": "requester.name",
"fileExists": true,
"created": "2023-08-29T01:54:37.069Z",
"modified": "2024-07-15T16:53:45.925Z",
"completed": "2023-08-29T01:54:41.924Z",
"draftId": "925e34e3-fa7c-4e7a-9b9a-cf3b8b4b1068",
"draftName": "Source draft name",
"cloudStorageStatus": "SYNCED"
},
{
"jobId": "bdbcaae6-5e2a-4ebd-9eb3-37b09ec7eea4",
"status": "FAILED",
"type": "CONFIG_DEPLOY_DRAFT",
"message": "Deploy outcome message",
"requesterName": "requester.name",
"fileExists": true,
"created": "2023-07-20T18:38:00.812Z",
"modified": "2024-07-15T16:53:59.778Z",
"completed": "2023-07-20T18:38:01.783Z",
"draftId": "e04da89d-941f-41e8-83ab-dd185ef5e646",
"draftName": "Source draft name",
"cloudStorageStatus": "NOT_SYNCED"
}
]
Client Error - Returned if the request body is invalid.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Fine-grained error code providing more detail of the error.
Unique tracking id for the error.
messages
object[]
Generic localized reason for error
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
causes
object[]
Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
- application/json
- Schema
- Example (from schema)
Schema
A message describing the error
{
"error": "JWT validation failed: JWT is expired"
}
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
- application/json
- Schema
- Example (from schema)
- 403
Schema
Array [
]
Array [
]
Fine-grained error code providing more detail of the error.
Unique tracking id for the error.
messages
object[]
Generic localized reason for error
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
causes
object[]
Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
An example of a 403 response object
{
"detailCode": "403 Forbidden",
"trackingId": "b21b1f7ce4da4d639f2c62a57171b427",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The server understood the request but refuses to authorize it."
}
]
}
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
- application/json
- Schema
- Example (from schema)
Schema
A message describing the error
{
"message": " Rate Limit Exceeded "
}
Internal Server Error - Returned if there is an unexpected error.
- application/json
- Schema
- Example (from schema)
- 500
Schema
Array [
]
Array [
]
Fine-grained error code providing more detail of the error.
Unique tracking id for the error.
messages
object[]
Generic localized reason for error
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
causes
object[]
Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
An example of a 500 response object
{
"detailCode": "500.0 Internal Fault",
"trackingId": "b21b1f7ce4da4d639f2c62a57171b427",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "An internal fault occurred."
}
]
}