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
{
"description": "Index a record from PDS (owner or admin only)",
"errors": [
{
"name": "InvalidRequest"
},
{
"name": "AuthenticationRequired"
},
{
"name": "NotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"uri": {
"description": "AT-URI of the record to index",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"description": "CID of the indexed record (if successful)",
"format": "cid",
"type": "string"
},
"error": {
"description": "Error message (if failed)",
"type": "string"
},
"indexed": {
"description": "Whether indexing succeeded",
"type": "boolean"
},
"uri": {
"description": "AT-URI of the indexed record",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"indexed"
],
"type": "object"
}
},
"type": "procedure"
}