context

get/context

Request

  • Base URL
    https://www.example.com/cloudqueue/v2.0
  • URL
    https://www.example.com/cloudqueue/v2.0/context
  • Auth
    none required

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
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.