forked from
rocksky.app/rocksky
A decentralized music tracking and discovery platform built on AT Protocol 馃幍
1{
2 "lexicon": 1,
3 "id": "app.rocksky.scrobble.getScrobbles",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Get scrobbles all scrobbles",
8 "parameters": {
9 "type": "params",
10 "properties": {
11 "did": {
12 "type": "string",
13 "description": "The DID or handle of the actor",
14 "format": "at-identifier"
15 },
16 "limit": {
17 "type": "integer",
18 "description": "The maximum number of scrobbles to return",
19 "minimum": 1
20 },
21 "offset": {
22 "type": "integer",
23 "description": "The offset for pagination",
24 "minimum": 0
25 }
26 }
27 },
28 "output": {
29 "encoding": "application/json",
30 "schema": {
31 "type": "object",
32 "properties": {
33 "scrobbles": {
34 "type": "array",
35 "items": {
36 "type": "ref",
37 "ref": "app.rocksky.scrobble.defs#scrobbleViewBasic"
38 }
39 }
40 }
41 }
42 }
43 }
44 }
45}