{
"id": "lol.dids.manage.getIndexStatus",
"defs": {
"main": {
"type": "query",
"errors": [
{
"name": "RecordNotFound",
"description": "Bard knows no record at that URI or domain."
},
{
"name": "NotOwner",
"description": "The record is not the caller's; for a tile URI the caller must be the tile's repo."
},
{
"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": [
"state",
"failed",
"errors"
],
"properties": {
"cid": {
"type": "string",
"format": "cid"
},
"rev": {
"type": "string",
"description": "The commit revision of the indexed record."
},
"state": {
"ref": "lol.dids.defs#indexState",
"type": "ref"
},
"errors": {
"type": "array",
"items": {
"ref": "lol.dids.defs#validationError",
"type": "ref"
}
},
"failed": {
"type": "array",
"items": {
"ref": "lol.dids.defs#blobFailure",
"type": "ref"
},
"description": "Blobs that could not be fetched; each carries sourceDid and role, so a BlobUnavailable on a tile blob says plainly that re-uploading will not fix it."
},
"fetched": {
"type": "integer",
"description": "Blobs fetched and CID-verified so far."
},
"pending": {
"type": "integer",
"description": "Blobs still to fetch."
},
"entryCount": {
"type": "integer"
},
"activatedAt": {
"type": "string",
"format": "datetime"
},
"preparation": {
"ref": "lol.dids.defs#preparationStatus",
"type": "ref",
"description": "A validated, prepared record awaiting its commit, when the domain is already serving an earlier revision."
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "The record's AT-URI, public or space form. Mutually exclusive with domain."
},
"domain": {
"type": "string",
"maxLength": 253,
"description": "The site's hostname. Mutually exclusive with uri."
}
}
},
"description": "Per-blob visibility into a publish in flight. Exactly one of uri and domain is given. When a domain serves one revision while a later record is prepared, the active revision is the top level and the preparation is reported in preparation; a prepared record with no active revision is reported at the top level."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}