Skip to content

com.atproto.sync.requestCrawl

Lexicon Version: 1

Type: procedure

Request a service to persistently crawl hosted repos. Expected use is new PDS instances declaring their existence to Relays. Does not require auth.

Parameters: (None defined)

Input:

  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
hostnamestringHostname of the current service (eg, PDS) that is requesting to be crawled.
Possible Errors:
  • HostBanned

{
"lexicon": 1,
"id": "com.atproto.sync.requestCrawl",
"defs": {
"main": {
"type": "procedure",
"description": "Request a service to persistently crawl hosted repos. Expected use is new PDS instances declaring their existence to Relays. Does not require auth.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [
"hostname"
],
"properties": {
"hostname": {
"type": "string",
"description": "Hostname of the current service (eg, PDS) that is requesting to be crawled."
}
}
}
},
"errors": [
{
"name": "HostBanned"
}
]
}
}
}