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

Response

{
"playlist": {
"_id": "a28f10f07960d8f9d4d73a62",
"id": 5199081610949,
"title": "example",
"link": "example",
"items": [
{
"_id": "3f7ae742fdbe7d393aaebfb9",
"id": 1.23,
"created": 1757517740960,
"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