Heavily customized version of smokesignal - https://whtwnd.com/kayrozen.com/3lpwe4ymowg2t
1{
2 "lexicon": 1,
3 "id": "community.lexicon.bookmarks.getActorBookmarks",
4 "description": "Get bookmarks for a specific actor",
5 "defs": {
6 "main": {
7 "type": "query",
8 "description": "Get bookmarks for a specific actor",
9 "parameters": {
10 "type": "params",
11 "required": ["actor"],
12 "properties": {
13 "actor": {
14 "type": "string",
15 "format": "at-identifier",
16 "description": "The actor whose bookmarks to retrieve"
17 },
18 "limit": {
19 "type": "integer",
20 "minimum": 1,
21 "maximum": 100,
22 "default": 50,
23 "description": "Maximum number of bookmarks to return"
24 },
25 "cursor": {
26 "type": "string",
27 "description": "Pagination cursor"
28 }
29 }
30 },
31 "output": {
32 "encoding": "application/json",
33 "schema": {
34 "type": "object",
35 "required": ["bookmarks"],
36 "properties": {
37 "bookmarks": {
38 "type": "array",
39 "items": {
40 "type": "ref",
41 "ref": "#bookmarkView"
42 }
43 },
44 "cursor": {
45 "type": "string"
46 }
47 }
48 }
49 }
50 },
51 "bookmarkView": {
52 "type": "object",
53 "required": ["uri", "value"],
54 "properties": {
55 "uri": {
56 "type": "string",
57 "format": "at-uri",
58 "description": "AT-URI of the bookmark record"
59 },
60 "value": {
61 "type": "ref",
62 "ref": "community.lexicon.bookmarks.bookmark"
63 },
64 "indexedAt": {
65 "type": "string",
66 "format": "datetime",
67 "description": "When the bookmark was indexed"
68 }
69 }
70 }
71 }
72}