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

Response

{
"playlist": {
"_id": "d8bfbedb5d9a03ead18e597d",
"id": 9136830874139,
"title": "example",
"link": "example",
"items": [
{
"_id": "12790b576ccdafe7ede1b61f",
"id": 1.23,
"created": 1726546885025,
"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