v1

latestOpenAPI 3.1.02026-07-246652306.5 KB

context

get/context

Query parameters

contextVersionstring required

Indicates the current state of the context. This string identifies when the player fetched the current context. Your server can ignore this field or trigger special processing to sync if it differs from the expected value.

queueVersionstring required

Indicates the current state of the queue. This string identifies when the player fetched the current queue. Your server can ignore this field or trigger special processing to sync if it differs from the expected value.

Response

200

contextVersionstring
queueVersionstring

Example response

{
  "contextVersion": "<version-string-for-this-context>",
  "queueVersion": "<version-string-for-the-queue>",
  "container": {
    "type": "playlist",
    "name": "Liked from Radio",
    "id": {
      "serviceId": "8",
      "objectId": "music:user:john.musiclover:playlist:5t33Mtrb6rFBqvgz0U2DQe",
      "accountId": "john.musiclover"
    },
    "service": {
      "name": "Acme2"
    }
  },
  "reports": {
    "sendUpdateAfterMillis": 30000,
    "sendPlaybackActions": true
  },
  "playbackPolicies": {
    "canSkip": true,
    "canSkipToItem": true,
    "canSkipBack": true,
    "canSeek": true,
    "canCrossfade": true,
    "showNNextTracks": 10,
    "showNPreviousTracks": 10
  }
}