{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Per-blob progress of a publish. Give exactly one of uri or domain. The top level describes the active revision, or the prepared record if nothing is active yet. A newer record prepared while another is active appears under preparation.",
"errors": [
{
"description": "Bard has no record at that URI or domain.",
"name": "RecordNotFound"
},
{
"description": "The record does not belong to the caller. For a tile URI, the caller must be the tile's repo.",
"name": "NotOwner"
},
{
"description": "The URI is in space form and names a space bard does not serve, or one the caller is not in. Both cases get the same error, so it cannot be used to probe membership.",
"name": "SpaceNotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"activatedAt": {
"format": "datetime",
"type": "string"
},
"cid": {
"format": "cid",
"type": "string"
},
"edge": {
"description": "Whether the edge routes this site's hostname to bard. Present only for a domain-backed record. An active index state says nothing about routing: a fully indexed site can still have its requests answered by something else. Treat unknown as no opinion.",
"ref": "space.highport.defs#edgeReachability",
"type": "ref"
},
"entryCount": {
"type": "integer"
},
"errors": {
"items": {
"ref": "space.highport.defs#validationError",
"type": "ref"
},
"type": "array"
},
"failed": {
"description": "Blobs that could not be fetched. Each includes sourceDid and role, which makes it clear when re-uploading will not help, such as a BlobUnavailable on a tile blob.",
"items": {
"ref": "space.highport.defs#blobFailure",
"type": "ref"
},
"type": "array"
},
"fetched": {
"description": "Blobs fetched and checked against their CIDs so far.",
"type": "integer"
},
"pending": {
"description": "Blobs still to fetch.",
"type": "integer"
},
"preparation": {
"description": "A validated record waiting to be committed, while the domain still serves an earlier revision.",
"ref": "space.highport.defs#preparationStatus",
"type": "ref"
},
"rev": {
"description": "The commit revision of the indexed record.",
"type": "string"
},
"state": {
"ref": "space.highport.defs#indexState",
"type": "ref"
}
},
"required": [
"state",
"failed",
"errors"
],
"type": "object"
}
},
"parameters": {
"properties": {
"domain": {
"description": "The site's hostname. Mutually exclusive with uri.",
"maxLength": 253,
"type": "string"
},
"uri": {
"description": "The record's AT-URI, in public or space form. Mutually exclusive with domain.",
"format": "at-uri",
"type": "string"
}
},
"type": "params"
},
"type": "query"
}
},
"id": "space.highport.manage.getIndexStatus",
"lexicon": 1
}