GraphQL API: Playback
Set the shuffle mode on a source
You can enable/disable shuffle on a source that is currently playing. This will then shuffle the playback queue of the source.
Shuffling is not available for podcast programs or Stations.
Request
mutation {
playback {
shuffle(deviceUuid: "deviceXYZ", sourceId: "AL:1811731", enabled: true) {
status
}
}
}
* Add your OAuth bearer token to the Authorization
header
curl 'https://ce.pandora.com/api/v1/graphql/graphql' \
-H 'Authorization: Bearer ' \
-H 'Content-Type: application/json' \
-d '{"operationName":null,"variables":{},"query":"mutation { playback { shuffle(deviceUuid: \"deviceXYZ\", sourceId: \"AL:1811731\", enabled: true) { status } }}"}'
Response
{
"data": {
"playback": {
"shuffle": {
"status": "OK"
}
}
}
}