Docs
GraphQL referenceMutations

Update Job Status

MUTATIONupdateJobStatus(input: UpdateJobStatusInput!): Job!

Access: Requires the jobs:update_status permission.

Arguments

input*

Returns

  1. updateJobStatus
completedAt?DateTime

DateTime custom scalar type that expects an ISO 8601 string

createdAt*DateTime!

DateTime custom scalar type that expects an ISO 8601 string

errorMessage?String
id*ID!
progress?JSON

The JSON scalar type represents JSON values as specified by ECMA-404.

searchQuery?String
songId?Int
sourceUrl?String
status*JobStatus!
Value inCANCELLEDCOMPLETEDFAILEDPENDINGPROCESSING
type*JobType!
Value inACOUSTID_ENRICHMENTAI_TRACK_ANALYSISCOVER_ART_FETCHDOWNLOADDURATION_ENRICHMENTENRICHMENTGENRE_ENRICHMENTLIBRARY_SYNCMUSIC_SCHEDULINGPLAYOUT_SYNC
updatedAt*DateTime!

DateTime custom scalar type that expects an ISO 8601 string

userInputs?JSON

The JSON scalar type represents JSON values as specified by ECMA-404.

Example Request
mutation UpdateJobStatus($input: UpdateJobStatusInput!) {  updateJobStatus(input: $input) {    completedAt    createdAt    errorMessage    id    progress    searchQuery    songId    sourceUrl  }}
Variables
{  "input": {    "id": "string",    "status": "CANCELLED"  }}
Example Response
{  "data": {    "updateJobStatus": {      "completedAt": "<DateTime>",      "createdAt": "<DateTime>",      "errorMessage": "string",      "id": "1",      "progress": "<JSON>",      "searchQuery": "string",      "songId": 10,      "sourceUrl": "string"    }  }}