GraphQL referenceMutations
Create Music Clock Library Item
MUTATION
createMusicClockLibraryItem(input: CreateMusicClockLibraryItemInput!): MusicClockLibraryItemMutationOutput!Access: Requires the music_clocks:write permission. Requires the music scheduling add-on.
Arguments
input*Returns
- createMusicClockLibraryItem
item?||message?Stringsuccess*Boolean!Example Request
mutation CreateMusicClockLibraryItem($input: CreateMusicClockLibraryItemInput!) { createMusicClockLibraryItem(input: $input) { item { __typename ... on MusicClockLibraryAdBreak { createdAt duration id scheduledStartTime updatedAt } } message success }}{ "input": { "duration": 10, "itemType": "AD_BREAK", "networkId": "1" }}{ "data": { "createMusicClockLibraryItem": { "item": { "__typename": "MusicClockLibraryAdBreak", "createdAt": "<DateTime>", "duration": 10, "id": "1", "scheduledStartTime": "string", "updatedAt": "<DateTime>" }, "message": "string", "success": true } }}