This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

core / lexicons / repo / countIssues.json
1.3 kB 49 lines
1{ 2 "lexicon": 1, 3 "id": "sh.tangled.repo.countIssues", 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 issues for" 15 }, 16 "author": { 17 "type": "string", 18 "format": "did", 19 "description": "Restrict to issues authored by this user DID." 20 }, 21 "state": { 22 "type": "string", 23 "knownValues": ["open", "closed"], 24 "description": "Restrict to issues whose latest derived state 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}