Register a PDS for scanning to ensure records from non-relay PDSes can be discovered and indexed
Input
Encoding
application/jsonpdsUrl
stringuri
Required
PDS endpoint URL to register
Output
Encoding
application/jsonmessage
string
Optional
Human-readable status message
pdsUrl
stringuri
Required
The registered PDS URL
registered
boolean
Required
Whether the PDS was registered
status
string
Required
Registration status
Known values:
pending, already_exists, scannedErrors
InvalidRequest
ServiceUnavailable
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Register a PDS for scanning to ensure records from non-relay PDSes can be discovered and indexed",
"errors": [
{
"name": "InvalidRequest"
},
{
"name": "ServiceUnavailable"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"pdsUrl": {
"description": "PDS endpoint URL to register",
"format": "uri",
"type": "string"
}
},
"required": [
"pdsUrl"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"message": {
"description": "Human-readable status message",
"type": "string"
},
"pdsUrl": {
"description": "The registered PDS URL",
"format": "uri",
"type": "string"
},
"registered": {
"description": "Whether the PDS was registered",
"type": "boolean"
},
"status": {
"description": "Registration status",
"knownValues": [
"pending",
"already_exists",
"scanned"
],
"type": "string"
}
},
"required": [
"pdsUrl",
"registered",
"status"
],
"type": "object"
}
},
"type": "procedure"
}