This repository has no description
0

Configure Feed

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

core / lexicons / temp / repo / getSiteConfig.json
1.4 kB 52 lines
1{ 2 "lexicon": 1, 3 "id": "org.tangled.temp.repo.getSiteConfig", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get the site configuration for a repository, if one exists.", 8 "parameters": { 9 "type": "params", 10 "required": ["repoDid"], 11 "properties": { 12 "repoDid": { 13 "type": "string", 14 "format": "did", 15 "description": "DID of the repository as minted by the knot." 16 } 17 } 18 }, 19 "output": { 20 "encoding": "application/json", 21 "schema": { 22 "type": "object", 23 "properties": { 24 "config": { 25 "type": "ref", 26 "ref": "#siteConfig", 27 "description": "Site config for the repository. Absent if no site is configured." 28 } 29 } 30 } 31 } 32 }, 33 "siteConfig": { 34 "type": "object", 35 "required": ["branch", "dir", "isIndex"], 36 "properties": { 37 "branch": { 38 "type": "string", 39 "description": "Branch to deploy from." 40 }, 41 "dir": { 42 "type": "string", 43 "description": "Directory within the repository to deploy (e.g. '/' or '/docs')." 44 }, 45 "isIndex": { 46 "type": "boolean", 47 "description": "Whether this repo serves as the index (root) for the domain." 48 } 49 } 50 } 51 } 52}