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

Response

{
"playlist": {
"_id": "6bc792e948ce15494d975b96",
"id": 1593246271982,
"title": "example",
"link": "example",
"items": [
{
"_id": "efc940b7282eabaee485f72c",
"id": 1.23,
"created": 1742299672676,
"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