GraphQL referenceMutations
Update Job Status
MUTATION
updateJobStatus(input: UpdateJobStatusInput!): Job!Access: Requires the jobs:update_status permission.
Arguments
input*Returns
- updateJobStatus
completedAt?DateTimeDateTime custom scalar type that expects an ISO 8601 string
createdAt*DateTime!DateTime custom scalar type that expects an ISO 8601 string
errorMessage?Stringid*ID!progress?JSONThe JSON scalar type represents JSON values as specified by ECMA-404.
searchQuery?StringsongId?IntsourceUrl?Stringstatus*JobStatus!Value in
CANCELLEDCOMPLETEDFAILEDPENDINGPROCESSINGtype*JobType!Value in
ACOUSTID_ENRICHMENTAI_TRACK_ANALYSISCOVER_ART_FETCHDOWNLOADDURATION_ENRICHMENTENRICHMENTGENRE_ENRICHMENTLIBRARY_SYNCMUSIC_SCHEDULINGPLAYOUT_SYNCupdatedAt*DateTime!DateTime custom scalar type that expects an ISO 8601 string
userInputs?JSONThe 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 }}{ "input": { "id": "string", "status": "CANCELLED" }}{ "data": { "updateJobStatus": { "completedAt": "<DateTime>", "createdAt": "<DateTime>", "errorMessage": "string", "id": "1", "progress": "<JSON>", "searchQuery": "string", "songId": 10, "sourceUrl": "string" } }}