us.off-the-clock.admin.getSpace

One registered pair, with its content space's record counts by collection. Effective admins and the community identity only.

Details · query
Kindquery
Authorityadmin.off-the-clock.us
Indexed
cid bafyreifianpprpvylwkz7yg4yrb53n3e5vjal4wvnu7tj4ez5kiirmt5ze

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One registered pair, with its content space's record counts by collection. Effective admins and the community identity only.",
      "errors": [
        {
          "name": "NotAdmin"
        },
        {
          "name": "InvalidRequest"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "collections": {
              "items": {
                "ref": "us.off-the-clock.admin.defs#collectionCount",
                "type": "ref"
              },
              "type": "array"
            },
            "pair": {
              "ref": "us.off-the-clock.admin.defs#pair",
              "type": "ref"
            }
          },
          "required": [
            "pair",
            "collections"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "space": {
            "description": "A registered pair's content space: its TID or <space-type>/<space-id>.",
            "maxLength": 512,
            "type": "string"
          }
        },
        "required": [
          "space"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "us.off-the-clock.admin.getSpace",
  "lexicon": 1
}