full diff

io.atcr.hold.stats

From
bafyreieslim3xwnekf365z2sdrli24tzhy27badelazvuhop56enuinra4 indexed 2026-09-06 01:26 UTC View this version
To
bafyreieslim3xwnekf365z2sdrli24tzhy27badelazvuhop56enuinra4 indexed 2026-09-06 01:26 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "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]).",
66 "key": "any",
77 "record": {
88 "properties": {
99 "lastPull": {
1010 "description": "RFC3339 timestamp of last pull",
1111 "format": "datetime",
1212 "type": "string"
1313 },
1414 "lastPush": {
1515 "description": "RFC3339 timestamp of last push",
1616 "format": "datetime",
1717 "type": "string"
1818 },
1919 "ownerDid": {
2020 "description": "DID of the image owner (e.g., did:plc:xyz123)",
2121 "format": "did",
2222 "type": "string"
2323 },
2424 "pullCount": {
2525 "description": "Number of manifest downloads",
2626 "minimum": 0,
2727 "type": "integer"
2828 },
2929 "pushCount": {
3030 "description": "Number of manifest uploads",
3131 "minimum": 0,
3232 "type": "integer"
3333 },
3434 "repository": {
3535 "description": "Repository name (e.g., myapp)",
3636 "maxLength": 256,
3737 "type": "string"
3838 },
3939 "updatedAt": {
4040 "description": "RFC3339 timestamp of when this record was last updated",
4141 "format": "datetime",
4242 "type": "string"
4343 }
4444 },
4545 "required": [
4646 "ownerDid",
4747 "repository",
4848 "pullCount",
4949 "pushCount",
5050 "updatedAt"
5151 ],
5252 "type": "object"
5353 },
5454 "type": "record"
5555 }
5656 },
5757 "id": "io.atcr.hold.stats",
5858 "lexicon": 1
5959}