GraphQL API: Profile
Follow another listener
Listeners can follow one another and when they do so they will then appear in the followers list of the other user and the other user will appear in your following list.
You use the listener ID to follow a listener.
Request
mutation {
profile {
follow(id: "LI:1291729195") {
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 { profile { follow(id: \"LI:1291729195\") { status } }}"}'
Response
{
"data": {
"profile": {
"follow": {
"status": "OK"
}
}
}
}