Monorepo for Tangled
tangled.org
1{
2 "lexicon": 1,
3 "id": "sh.tangled.repo.listIssuesBy",
4 "defs": {
5 "main": {
6 "type": "query",
7 "parameters": {
8 "type": "params",
9 "required": ["subject"],
10 "properties": {
11 "subject": {
12 "type": "string",
13 "format": "did",
14 "description": "Actor DID whose issue authorings to list"
15 },
16 "state": {
17 "type": "string",
18 "knownValues": ["open", "closed"],
19 "description": "Restrict to issues whose latest derived state matches."
20 },
21 "cursor": {
22 "type": "string",
23 "description": "Pagination cursor"
24 },
25 "limit": {
26 "type": "integer",
27 "minimum": 1,
28 "maximum": 1000,
29 "default": 50
30 },
31 "order": {
32 "type": "string",
33 "knownValues": ["asc", "desc"],
34 "default": "desc",
35 "description": "Sort direction by createdAt."
36 }
37 }
38 },
39 "output": {
40 "encoding": "application/json",
41 "schema": {
42 "type": "object",
43 "required": ["items"],
44 "properties": {
45 "items": {
46 "type": "array",
47 "items": {
48 "type": "ref",
49 "ref": "sh.tangled.repo.listIssues#issueListItem"
50 }
51 },
52 "cursor": {
53 "type": "string"
54 }
55 }
56 }
57 }
58 }
59 }
60}