Index a record from PDS (owner or admin only)
Input
Encoding
application/jsonuri
stringat-uri
Required
AT-URI of the record to index
Output
Encoding
application/jsoncid
stringcid
Optional
CID of the indexed record (if successful)
error
string
Optional
Error message (if failed)
indexed
boolean
Required
Whether indexing succeeded
uri
stringat-uri
Required
AT-URI of the indexed record
Errors
InvalidRequest
AuthenticationRequired
NotFound
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"uri"
],
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the record to index"
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "InvalidRequest"
},
{
"name": "AuthenticationRequired"
},
{
"name": "NotFound"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"uri",
"indexed"
],
"properties": {
"cid": {
"type": "string",
"format": "cid",
"description": "CID of the indexed record (if successful)"
},
"uri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the indexed record"
},
"error": {
"type": "string",
"description": "Error message (if failed)"
},
"indexed": {
"type": "boolean",
"description": "Whether indexing succeeded"
}
}
},
"encoding": "application/json"
},
"description": "Index a record from PDS (owner or admin only)"
}