computer.localnetwork.directory.getArtist
Which of the directory's DJs played an artist's tracks, and where: each track that appears in their sets, most supported first, with every play, newest first (at most 1,000 plays). Asked for by mbid or by name. The output has no artist when no set credits them.
Details · query
| Kind | query |
|---|---|
| Authority | directory.localnetwork.computer |
| Commit rev | 3n2kaczkmaq2q |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Which of the directory's DJs played an artist's tracks, and where: each track that appears in their sets, most supported first, with every play, newest first (at most 1,000 plays). Asked for by mbid or by name. The output has no artist when no set credits them.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"artist": {
"description": "Their supports over every set, with no track minimum.",
"ref": "computer.localnetwork.directory.defs#supportedArtist",
"type": "ref"
},
"djs": {
"description": "Every DJ who played one of the tracks, with the active projects they manage.",
"items": {
"ref": "computer.localnetwork.directory.defs#djView",
"type": "ref"
},
"type": "array"
},
"tracks": {
"items": {
"ref": "computer.localnetwork.directory.defs#trackPlays",
"type": "ref"
},
"type": "array"
}
},
"required": [
"tracks",
"djs"
],
"type": "object"
}
},
"parameters": {
"properties": {
"mbid": {
"description": "The artist's MusicBrainz ID: the UUID, bare or as mbid:<uuid>.",
"maxLength": 64,
"type": "string"
},
"name": {
"description": "The artist's name, in any case, when there's no mbid. It finds the artist sets credit under that name: the name alone when some sets give it no MBID, otherwise the MBID sets give it.",
"maxLength": 2560,
"type": "string"
}
},
"type": "params"
},
"type": "query"
}
},
"id": "computer.localnetwork.directory.getArtist",
"lexicon": 1
}