Docs
GraphQL referenceMutations

Update Music Clock

MUTATIONupdateMusicClock(input: UpdateMusicClockInput!): MusicClockMutationOutput!

Access: Requires the music_clocks:write permission. Requires the music scheduling add-on.

Arguments

input*

Returns

  1. updateMusicClock
clock?
message?String
success*Boolean!
Example Request
mutation UpdateMusicClock($input: UpdateMusicClockInput!) {  updateMusicClock(input: $input) {    clock {      color      createdAt      description      id      items {        __typename      }      name      network {        activeListeners        baseUrl        catchupEnabled        catchupPremium        code        id        imagesUrl        isPremium      }      targetRuntime      updatedAt    }    message    success  }}
Variables
{  "input": {    "id": "1"  }}
Example Response
{  "data": {    "updateMusicClock": {      "clock": {        "color": "string",        "createdAt": "<DateTime>",        "description": "string",        "id": "1",        "items": [          {            "__typename": "AdBreakClockItem"          }        ],        "name": "string",        "network": {          "activeListeners": 10,          "baseUrl": "string",          "catchupEnabled": true,          "catchupPremium": true,          "code": "string",          "id": "1",          "imagesUrl": "string",          "isPremium": true        },        "targetRuntime": 10,        "updatedAt": "<DateTime>"      },      "message": "string",      "success": true    }  }}