forked from
tangled.org/core
Monorepo for Tangled
983 B
39 lines
1{
2 "lexicon": 1,
3 "id": "sh.tangled.git.countRefUpdates",
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 whose ref-update records to list."
15 }
16 }
17 },
18 "output": {
19 "encoding": "application/json",
20 "schema": {
21 "type": "object",
22 "required": ["count", "distinctAuthors"],
23 "properties": {
24 "count": {
25 "type": "integer",
26 "minimum": 0,
27 "description": "Total number of matching records."
28 },
29 "distinctAuthors": {
30 "type": "integer",
31 "minimum": 0,
32 "description": "Number of distinct authors among the matching records."
33 }
34 }
35 }
36 }
37 }
38 }
39}