app.rocksky.song.getSong
Schema Diff
+14 -5
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "app.rocksky.song.getSong",
3
3
"defs": {
4
4
"main": {
5
5
"type": "query",
6
6
"output": {
7
7
"schema": {
8
8
"ref": "app.rocksky.song.defs#songViewDetailed",
9
9
"type": "ref"
10
10
},
11
11
"encoding": "application/json"
12
12
},
13
13
"parameters": {
14
14
"type": "params",
15
-
"required": [
16
-
"uri"
17
-
],
18
15
"properties": {
19
16
"uri": {
20
17
"type": "string",
21
18
"format": "at-uri",
22
-
"description": "The unique identifier of the song to retrieve"
19
+
"description": "The AT-URI of the song to retrieve"
20
+
},
21
+
"isrc": {
22
+
"type": "string",
23
+
"description": "The International Standard Recording Code (ISRC) of the song to retrieve"
24
+
},
25
+
"mbid": {
26
+
"type": "string",
27
+
"description": "The MusicBrainz ID of the song to retrieve"
28
+
},
29
+
"spotifyId": {
30
+
"type": "string",
31
+
"description": "The Spotify track ID of the song to retrieve (resolved internally to the Spotify track URL)"
23
32
}
24
33
}
25
34
},
26
-
"description": "Get a song by its uri"
35
+
"description": "Get a song by its uri, MusicBrainz ID, or ISRC"
27
36
}
28
37
},
29
38
"$type": "com.atproto.lexicon.schema",
30
39
"lexicon": 1
31
40
}