{
"id": "app.rocksky.song.getSong",
"defs": {
"main": {
"type": "query",
"output": {
"schema": {
"ref": "app.rocksky.song.defs#songViewDetailed",
"type": "ref"
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "The AT-URI of the song to retrieve"
},
"isrc": {
"type": "string",
"description": "The International Standard Recording Code (ISRC) of the song to retrieve"
},
"mbid": {
"type": "string",
"description": "The MusicBrainz ID of the song to retrieve"
},
"spotifyId": {
"type": "string",
"description": "The Spotify track ID of the song to retrieve (resolved internally to the Spotify track URL)"
}
}
},
"description": "Get a song by its uri, MusicBrainz ID, or ISRC"
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}