Monorepo for Tangled tangled.org
1

Configure Feed

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

core / lexicons / repo / countArtifacts.json
963 B 38 lines
1{ 2 "lexicon": 1, 3 "id": "sh.tangled.repo.countArtifacts", 4 "defs": { 5 "main": { 6 "type": "query", 7 "parameters": { 8 "type": "params", 9 "required": ["subject"], 10 "properties": { 11 "subject": { 12 "type": "string", 13 "description": "Repo or release identifier whose artifacts to list." 14 } 15 } 16 }, 17 "output": { 18 "encoding": "application/json", 19 "schema": { 20 "type": "object", 21 "required": ["count", "distinctAuthors"], 22 "properties": { 23 "count": { 24 "type": "integer", 25 "minimum": 0, 26 "description": "Total number of matching records." 27 }, 28 "distinctAuthors": { 29 "type": "integer", 30 "minimum": 0, 31 "description": "Number of distinct authors among the matching records." 32 } 33 } 34 } 35 } 36 } 37 } 38}