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