io.atcr.hold.stats

Repository statistics stored in the hold's embedded PDS. Tracks pull/push counts per owner+repository combination. Record key is deterministic: base32(sha256(ownerDID + "/" + repository)[:16]).

Repository did:web:lexicon.atcr.io namespace authority
Details · record, key any
Kindrecord
Record keyany
Authorityhold.atcr.io
Indexed

Showing version bafyreieslim3xwnekf365z2sdrli24tzhy27badelazvuhop56enuinra4. Show the latest

cid bafyreieslim3xwnekf365z2sdrli24tzhy27badelazvuhop56enuinra4

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Repository statistics stored in the hold's embedded PDS. Tracks pull/push counts per owner+repository combination. Record key is deterministic: base32(sha256(ownerDID + \"/\" + repository)[:16]).",
      "key": "any",
      "record": {
        "properties": {
          "lastPull": {
            "description": "RFC3339 timestamp of last pull",
            "format": "datetime",
            "type": "string"
          },
          "lastPush": {
            "description": "RFC3339 timestamp of last push",
            "format": "datetime",
            "type": "string"
          },
          "ownerDid": {
            "description": "DID of the image owner (e.g., did:plc:xyz123)",
            "format": "did",
            "type": "string"
          },
          "pullCount": {
            "description": "Number of manifest downloads",
            "minimum": 0,
            "type": "integer"
          },
          "pushCount": {
            "description": "Number of manifest uploads",
            "minimum": 0,
            "type": "integer"
          },
          "repository": {
            "description": "Repository name (e.g., myapp)",
            "maxLength": 256,
            "type": "string"
          },
          "updatedAt": {
            "description": "RFC3339 timestamp of when this record was last updated",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "ownerDid",
          "repository",
          "pullCount",
          "pushCount",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "io.atcr.hold.stats",
  "lexicon": 1
}