place.hud.index.getStatus

Every collection HUD's index (`hud index`) has taken in, with how many of the repositories holding it have been read and whether all have, whether it is taken in whole or per author, and when it was last asked for; whether its backfills are paused; and while it moves an older file into its layout, how far that has come. No auth required.

Details · query
Kindquery
Authorityindex.hud.place
Commit rev3n3lweax6psju
Indexed

Showing version bafyreiainolvijpyxlbllvjr7njt5ouuca2la62v4zmtkccjqioj3umtui. Show the latest

cid bafyreiainolvijpyxlbllvjr7njt5ouuca2la62v4zmtkccjqioj3umtui

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "collection": {
      "description": "One collection the index holds.",
      "properties": {
        "collection": {
          "format": "nsid",
          "type": "string"
        },
        "complete": {
          "description": "Whether every repository holding it has been read.",
          "type": "boolean"
        },
        "indexed": {
          "description": "How it is taken in: whole, or per author, the repositories a spec names alone, held by too many repositories to take in whole. Absent from an index older than it.",
          "knownValues": [
            "whole",
            "perAuthor"
          ],
          "maxLength": 64,
          "type": "string"
        },
        "lastAsked": {
          "description": "When a spec last named it: one nobody names for as long as the operator keeps is dropped. Absent from an index older than it.",
          "format": "datetime",
          "type": "string"
        },
        "records": {
          "description": "How many of its records the index holds. Absent from an index older than it.",
          "minimum": 0,
          "type": "integer"
        },
        "repos": {
          "description": "How many repositories the relay lists with it, as far as listed; for one taken in per author, how many it had listed when it stopped.",
          "minimum": 0,
          "type": "integer"
        },
        "reposIn": {
          "description": "How many of them have been read; for one taken in per author, how many authors have.",
          "minimum": 0,
          "type": "integer"
        },
        "slow": {
          "description": "Whether it holds so many records its backfill goes behind every other's. Absent from an index older than it.",
          "type": "boolean"
        }
      },
      "required": [
        "collection",
        "complete",
        "repos",
        "reposIn"
      ],
      "type": "object"
    },
    "main": {
      "description": "Every collection HUD's index (`hud index`) has taken in, with how many of the repositories holding it have been read and whether all have, whether it is taken in whole or per author, and when it was last asked for; whether its backfills are paused; and while it moves an older file into its layout, how far that has come. No auth required.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "collections": {
              "items": {
                "ref": "#collection",
                "type": "ref"
              },
              "type": "array"
            },
            "migrating": {
              "ref": "#migrating",
              "type": "ref"
            },
            "paused": {
              "description": "Whether every backfill is paused, its disk running short of the space the operator keeps free: the live stream goes on, and answers say they are not complete. Absent from an index older than it.",
              "type": "boolean"
            }
          },
          "required": [
            "collections"
          ],
          "type": "object"
        }
      },
      "type": "query"
    },
    "migrating": {
      "description": "An index file of an older layout being moved into the index's, in place, while it answers: answers of a collection not yet moved are partial (partialReason migrating). Absent once it is done, and from an index older than it.",
      "properties": {
        "left": {
          "description": "How many records are left to move.",
          "minimum": 0,
          "type": "integer"
        },
        "moved": {
          "description": "How many records have been moved.",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "moved",
        "left"
      ],
      "type": "object"
    }
  },
  "description": "The collections HUD's index holds, and how far each has come in.",
  "id": "place.hud.index.getStatus",
  "lexicon": 1
}