Skip to main content

playlist Query

Description​

Retrieves a playlist by numeric ID.

query playlist($id: Int!) {
playlist(id: $id) {
_id
id
title
link
items {
_id
id
created
wanted
path
uri
type
isForbiddenForSale
handle
bitly
}
entries {
comments
}
}
}

Variables​

{
"id": 4666245034721
}

Response​

{
"playlist": {
"_id": "edae71d58341b5436eee75ae",
"id": 7341447483113,
"title": "example",
"link": "example",
"items": [
{
"_id": "f75680bb69f8cfe3ea7a76b0",
"id": "example",
"created": 1759925094347,
"wanted": true,
"path": "/release/1763553751/release-artist-release-name",
"uri": "https://www.my-common-ground-store.com/release/1763553751/release-artist-release-name",
"type": "example",
"isForbiddenForSale": true,
"handle": "example",
"bitly": "example"
}
],
"entries": [
{
"comments": "example"
}
]
}
}

Arguments​

NameTypeDescription
idInt!Numeric identifier for the playlist.

Returns​

Playlist