Monorepo for Tangled
tangled.org
1{
2 "lexicon": 1,
3 "id": "sh.tangled.spindle.listMembers",
4 "defs": {
5 "main": {
6 "type": "query",
7 "parameters": {
8 "type": "params",
9 "required": ["subject"],
10 "properties": {
11 "subject": {
12 "type": "string",
13 "description": "Spindle identifier whose member records to list."
14 },
15 "cursor": {
16 "type": "string",
17 "description": "Pagination cursor"
18 },
19 "limit": {
20 "type": "integer",
21 "minimum": 1,
22 "maximum": 1000,
23 "default": 50
24 },
25 "order": {
26 "type": "string",
27 "knownValues": ["asc", "desc"],
28 "default": "desc",
29 "description": "Sort direction by createdAt."
30 }
31 }
32 },
33 "output": {
34 "encoding": "application/json",
35 "schema": {
36 "type": "object",
37 "required": ["items"],
38 "properties": {
39 "items": {
40 "type": "array",
41 "items": { "type": "ref", "ref": "#listItem" }
42 },
43 "cursor": { "type": "string" }
44 }
45 }
46 }
47 },
48 "listItem": {
49 "type": "object",
50 "required": ["uri", "value"],
51 "properties": {
52 "uri": { "type": "string", "format": "at-uri" },
53 "cid": { "type": "string", "format": "cid" },
54 "value": {
55 "type": "unknown",
56 "description": "Embedded sh.tangled.spindle.member record"
57 }
58 }
59 }
60 }
61}