{
"id": "lol.dids.manage.reindex",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"uri"
],
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "The record to reindex, public or space form."
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "RecordNotFound",
"description": "Bard knows no record at that URI."
},
{
"name": "NoLiveCredential",
"description": "The URI names a space and bard holds no live credential for it."
},
{
"name": "RateLimitExceeded",
"description": "Too many reindex requests."
},
{
"name": "NotOwner",
"description": "The caller is not the repo the URI names, nor the authority of the space it names."
},
{
"name": "SpaceNotFound",
"description": "The URI is in the space form and names a space bard does not serve, or one the caller cannot be placed in. One answer for both, so membership is not an oracle."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"jobId"
],
"properties": {
"jobId": {
"type": "string"
}
}
},
"encoding": "application/json"
},
"description": "Re-read the record from its repository and re-run the pipeline. Recovers from a missed firehose event or a transient blob-fetch failure. For a space-form URI it re-pulls the authority's repo, which needs a live credential. Rate-limited."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}