GraphQL API: Feedback
Remove feedback from a source
Listeners can also remove feedback previously given on tracks. This will revert any influence the feedback had on the listener’s experience.
Note that trackToken
is required when removing feedback on a station source.
Request
mutation {
feedback {
removeFeedback
(
targetId: "TR:10002879",
sourceContextId: "ST:0:4363284700748023828",
trackToken: "PBmA-xXlB6sI3niLQySNVz3lxV0EZ2D7JgsVXaUSLG1YaQeV-ZgHiFrQvWH9uK1mvxph2Qcx29KjQl7AKMS6SD_SCCkl70tqL",
deviceUuid: "deviceXYZ",
elapsedTime: 200
)
{
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 { feedback { removeFeedback(targetId: \"TR:10002879\", sourceContextId: \"ST:0:4363284700748023828\", trackToken: \"PBmA-xXlB6sI3niLQySNVz3lxV0EZ2D7JgsVXaUSLG1YaQeV-ZgHiFrQvWH9uK1mvxph2Qcx29KjQl7AKMS6SD_SCCkl70tqL\", deviceUuid: \"deviceXYZ\", elapsedTime: 200) { status } }}"}'
Response
{
"data": {
"feedback": {
"removeFeedback": {
"status": "OK"
}
}
}
}