app.rocksky.song.getSongs
Schema Diff
+12 -0
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "app.rocksky.song.getSongs",
3
3
"defs": {
4
4
"main": {
5
5
"type": "query",
6
6
"output": {
7
7
"schema": {
8
8
"type": "object",
9
9
"properties": {
10
10
"songs": {
11
11
"type": "array",
12
12
"items": {
13
13
"ref": "app.rocksky.song.defs#songViewBasic",
14
14
"type": "ref"
15
15
}
16
16
}
17
17
}
18
18
},
19
19
"encoding": "application/json"
20
20
},
21
21
"parameters": {
22
22
"type": "params",
23
23
"properties": {
24
+
"isrc": {
25
+
"type": "string",
26
+
"description": "Filter songs by International Standard Recording Code (ISRC)"
27
+
},
28
+
"mbid": {
29
+
"type": "string",
30
+
"description": "Filter songs by MusicBrainz ID"
31
+
},
24
32
"genre": {
25
33
"type": "string",
26
34
"description": "The genre to filter artists by"
27
35
},
28
36
"limit": {
29
37
"type": "integer",
30
38
"minimum": 1,
31
39
"description": "The maximum number of songs to return"
32
40
},
33
41
"offset": {
34
42
"type": "integer",
35
43
"minimum": 0,
36
44
"description": "The offset for pagination"
45
+
},
46
+
"spotifyId": {
47
+
"type": "string",
48
+
"description": "Filter songs by Spotify track ID (resolved internally to the Spotify track URL)"
37
49
}
38
50
}
39
51
},
40
52
"description": "Get songs"
41
53
}
42
54
},
43
55
"$type": "com.atproto.lexicon.schema",
44
56
"lexicon": 1
45
57
}