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.insertFiles",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Insert files into a playlist",
8 "parameters": {
9 "type": "params",
10 "required": [
11 "uri",
12 "files"
13 ],
14 "properties": {
15 "uri": {
16 "type": "string",
17 "description": "The URI of the playlist to start",
18 "format": "at-uri"
19 },
20 "files": {
21 "type": "array",
22 "items": {
23 "type": "string",
24 "description": "List of file (id) to insert into the playlist"
25 }
26 },
27 "position": {
28 "type": "integer",
29 "description": "The position in the playlist to insert the files at, if not specified, files will be appended"
30 }
31 }
32 }
33 }
34 }
35}