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