forked from
rocksky.app/rocksky
A decentralized music tracking and discovery platform built on AT Protocol 馃幍
1{
2 "lexicon": 1,
3 "id": "app.rocksky.album.getAlbums",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Get albums",
8 "parameters": {
9 "type": "params",
10 "properties": {
11 "limit": {
12 "type": "integer",
13 "description": "The maximum number of albums to return",
14 "minimum": 1
15 },
16 "offset": {
17 "type": "integer",
18 "description": "The offset for pagination",
19 "minimum": 0
20 }
21 }
22 },
23 "output": {
24 "encoding": "application/json",
25 "schema": {
26 "type": "object",
27 "properties": {
28 "albums": {
29 "type": "array",
30 "items": {
31 "type": "ref",
32 "ref": "app.rocksky.album.defs#albumViewBasic"
33 }
34 }
35 }
36 }
37 }
38 }
39 }
40}