forked from
tangled.org/core
Mirror of @tangled.org/core. Running on a Raspberry Pi Zero 2 (Please be gentle).
1{
2 "lexicon": 1,
3 "id": "sh.tangled.sync.requestCrawl",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Request a service to persistently crawl hosted repos. Does not require auth.",
8 "input": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "required": ["hostname"],
13 "properties": {
14 "hostname": {
15 "type": "string",
16 "description": "Hostname of the current service (eg, Knot) that is requesting to be crawled."
17 },
18 "ensureRepo": {
19 "type": "string",
20 "format": "at-uri",
21 "description": "specific repository to ensure crawling"
22 }
23 }
24 }
25 },
26 "errors": [{ "name": "HostBanned" }]
27 }
28 }
29}