Query
query AdminJob($jobId: String!) {
adminJob(jobId: $jobId) {
id
kind
status
failure {
code
reason
}
result {
__typename
... on DeployBoltSchedulesResult {
scheduleParseId
gitHash
schedules {
__typename
}
}
}
createdAt
}
}Variables
{
"jobId": "string"
}Response
{
"data": {
"adminJob": {
"id": "string",
"kind": "DEPLOY_BOLT_SCHEDULES",
"status": "QUEUED",
"failure": {
"code": "UNAUTHENTICATED",
"reason": "string"
},
"result": {
"__typename": "DeployBoltSchedulesResult",
"scheduleParseId": 1,
"gitHash": "string",
"schedules": {
"__typename": "DeployedBoltScheduleConnection"
}
},
"createdAt": "value"
}
}
}adminJob
An async Admin operation’s job in the key’s workspace. Poll it until status is SUCCEEDED or FAILED.
QUERY
adminJob(jobId: String!): AdminJobArguments
jobId
String!
required
The id the operation that started the job returned.
Returns
id
String!
The job's id, as the operation that started it returned.
kind
The Admin operation that started the job, which names the type of result.
status
Where the job is.
failure
Why the job failed; null unless FAILED.
result
What the job produced, as the result type of its kind; null unless SUCCEEDED.
createdAt
When the job started.
updatedAt
When the job last changed.
Query
query AdminJob($jobId: String!) {
adminJob(jobId: $jobId) {
id
kind
status
failure {
code
reason
}
result {
__typename
... on DeployBoltSchedulesResult {
scheduleParseId
gitHash
schedules {
__typename
}
}
}
createdAt
}
}Variables
{
"jobId": "string"
}Response
{
"data": {
"adminJob": {
"id": "string",
"kind": "DEPLOY_BOLT_SCHEDULES",
"status": "QUEUED",
"failure": {
"code": "UNAUTHENTICATED",
"reason": "string"
},
"result": {
"__typename": "DeployBoltSchedulesResult",
"scheduleParseId": 1,
"gitHash": "string",
"schedules": {
"__typename": "DeployedBoltScheduleConnection"
}
},
"createdAt": "value"
}
}
}