app.rocksky.song.getSong
Get a song by its uri, MusicBrainz ID, or ISRC
Details · query
| Kind | query |
|---|---|
| Authority | song.rocksky.app |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.isrcNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.mbidNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.spotifyIdNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Get a song by its uri, MusicBrainz ID, or ISRC",
"output": {
"encoding": "application/json",
"schema": {
"ref": "app.rocksky.song.defs#songViewDetailed",
"type": "ref"
}
},
"parameters": {
"properties": {
"isrc": {
"description": "The International Standard Recording Code (ISRC) of the song to retrieve",
"type": "string"
},
"mbid": {
"description": "The MusicBrainz ID of the song to retrieve",
"type": "string"
},
"spotifyId": {
"description": "The Spotify track ID of the song to retrieve (resolved internally to the Spotify track URL)",
"type": "string"
},
"uri": {
"description": "The AT-URI of the song to retrieve",
"format": "at-uri",
"type": "string"
}
},
"type": "params"
},
"type": "query"
}
},
"id": "app.rocksky.song.getSong",
"lexicon": 1
}