This repository has no description
1{
2 "lexicon": 1,
3 "id": "sh.tangled.repo.countPulls",
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": "Repo DID to list pulls for"
15 },
16 "author": {
17 "type": "string",
18 "format": "did",
19 "description": "Restrict to pulls authored by this user DID."
20 },
21 "status": {
22 "type": "string",
23 "knownValues": ["open", "closed", "merged"],
24 "description": "Restrict to pulls whose latest derived status matches."
25 }
26 }
27 },
28 "output": {
29 "encoding": "application/json",
30 "schema": {
31 "type": "object",
32 "required": ["count", "distinctAuthors"],
33 "properties": {
34 "count": {
35 "type": "integer",
36 "minimum": 0,
37 "description": "Total number of matching records."
38 },
39 "distinctAuthors": {
40 "type": "integer",
41 "minimum": 0,
42 "description": "Number of distinct authors among the matching records."
43 }
44 }
45 }
46 }
47 }
48 }
49}