app.didpic.admin.stats

System status snapshot.

Details · query
Kindquery
Authorityadmin.didpic.app
Indexed
cid bafyreiajj7zkutklplcnqeyb2kolaqvynwxevcdyn3nxqq3pg5ece2e4qu

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "cursorState": {
      "properties": {
        "ageSeconds": {
          "minimum": 0,
          "type": "integer"
        },
        "sourceId": {
          "type": "string"
        },
        "updatedAt": {
          "format": "datetime",
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "sourceId",
        "value",
        "updatedAt",
        "ageSeconds"
      ],
      "type": "object"
    },
    "main": {
      "description": "System status snapshot.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "actors": {
              "minimum": 0,
              "type": "integer"
            },
            "cursors": {
              "items": {
                "ref": "#cursorState",
                "type": "ref"
              },
              "type": "array"
            },
            "env": {
              "type": "string"
            },
            "moderation": {
              "properties": {
                "openAppeals": {
                  "minimum": 0,
                  "type": "integer"
                },
                "openReports": {
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "required": [
                "openReports",
                "openAppeals"
              ],
              "type": "object"
            },
            "push": {
              "ref": "#queueStats",
              "type": "ref"
            },
            "resync": {
              "ref": "#queueStats",
              "type": "ref"
            },
            "scan": {
              "ref": "#queueStats",
              "type": "ref"
            },
            "service": {
              "type": "string"
            }
          },
          "required": [
            "service",
            "env",
            "cursors",
            "actors",
            "resync",
            "scan",
            "push",
            "moderation"
          ],
          "type": "object"
        }
      },
      "type": "query"
    },
    "queueStats": {
      "properties": {
        "failed": {
          "minimum": 0,
          "type": "integer"
        },
        "inProgress": {
          "minimum": 0,
          "type": "integer"
        },
        "pending": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "pending",
        "inProgress",
        "failed"
      ],
      "type": "object"
    }
  },
  "id": "app.didpic.admin.stats",
  "lexicon": 1
}