io.atcr.hold.setStats

atcr.io

{
  "id": "io.atcr.hold.setStats",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "ownerDid",
            "repository"
          ],
          "properties": {
            "lastPull": {
              "type": "string",
              "format": "datetime",
              "description": "RFC3339 timestamp of last pull"
            },
            "lastPush": {
              "type": "string",
              "format": "datetime",
              "description": "RFC3339 timestamp of last push"
            },
            "ownerDid": {
              "type": "string",
              "format": "did",
              "description": "DID of the repository owner"
            },
            "pullCount": {
              "type": "integer",
              "minimum": 0,
              "description": "Absolute pull count to set"
            },
            "pushCount": {
              "type": "integer",
              "minimum": 0,
              "description": "Absolute push count to set"
            },
            "repository": {
              "type": "string",
              "maxLength": 256,
              "description": "Repository name"
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "InvalidOwner"
        },
        {
          "name": "InvalidRepository"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "success"
          ],
          "properties": {
            "success": {
              "type": "boolean",
              "description": "Whether the stats were successfully updated"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Set absolute stats values for a repository. Used for migration/admin purposes to set specific pull/push counts."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against io.atcr.hold.setStats

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:wfj5kyialpmcv2fzk6uqwsln
CID
bafyreigdlevyabqlow4lc34tnilrmp3k4i66uzxe5c7nidvq7wo6vaprue
Indexed At
2026-01-16 11:16 UTC
AT-URI
at://did:plc:wfj5kyialpmcv2fzk6uqwsln/com.atproto.lexicon.schema/io.atcr.hold.setStats

Lexicon Garden

@