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": 3603735937721
}

Response​

{
"playlist": {
"_id": "a1e68366f21b114110c77df7",
"id": 4543175663079,
"title": "example",
"link": "example",
"items": [
{
"_id": "47027137055f40d553090488",
"id": "example",
"created": 1766428192247,
"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