io.atcr.sailor.webhook

atcr.io

Documentation

Public webhook metadata stored in the user's PDS. Links to a private io.atcr.hold.webhook record on the hold where URL and secret are stored. Part of a two-record split: this record is visible via ATProto (Jetstream), the hold record is not.

main record

Public webhook metadata stored in the user's PDS. Links to a private io.atcr.hold.webhook record on the hold where URL and secret are stored. Part of a two-record split: this record is visible via ATProto (Jetstream), the hold record is not.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

RFC3339 timestamp of when the webhook was created

holdDid string did Required

DID of the hold where the webhook is configured

privateCid string Required

CID of the corresponding io.atcr.hold.webhook record on the hold

maxLength: 128 bytes
triggers integer Required

Bitmask of trigger events: 0x01=scan:first, 0x02=scan:all, 0x04=scan:changed

minimum: 0
updatedAt string datetime Optional

RFC3339 timestamp of when the webhook was last updated

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "holdDid",
      "triggers",
      "privateCid",
      "createdAt"
    ],
    "properties": {
      "holdDid": {
        "type": "string",
        "format": "did",
        "description": "DID of the hold where the webhook is configured"
      },
      "triggers": {
        "type": "integer",
        "minimum": 0,
        "description": "Bitmask of trigger events: 0x01=scan:first, 0x02=scan:all, 0x04=scan:changed"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "RFC3339 timestamp of when the webhook was created"
      },
      "updatedAt": {
        "type": "string",
        "format": "datetime",
        "description": "RFC3339 timestamp of when the webhook was last updated"
      },
      "privateCid": {
        "type": "string",
        "maxLength": 128,
        "description": "CID of the corresponding io.atcr.hold.webhook record on the hold"
      }
    }
  },
  "description": "Public webhook metadata stored in the user's PDS. Links to a private io.atcr.hold.webhook record on the hold where URL and secret are stored. Part of a two-record split: this record is visible via ATProto (Jetstream), the hold record is not."
}

Lexicon Garden

@