pub.chive.activity.log

Log a user-initiated write action before performing PDS write. The activity is stored with status='pending' until the firehose event is received and correlated.

Repository @lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh not from the namespace authority
Details · procedure
Kindprocedure
Authorityactivity.chive.pub
Indexed
cid bafyreige6lpkbpwm7orygfb7rvm7gcnaxrv4egalcuexibzzj6x5mnb5ru

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Log a user-initiated write action before performing PDS write. The activity is stored with status='pending' until the firehose event is received and correlated.",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "InvalidRequest"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "action": {
              "description": "Action type",
              "knownValues": [
                "create",
                "update",
                "delete"
              ],
              "type": "string"
            },
            "category": {
              "description": "Semantic activity category",
              "knownValues": [
                "eprint_submit",
                "eprint_update",
                "eprint_delete",
                "review_create",
                "review_update",
                "review_delete",
                "endorsement_create",
                "endorsement_delete",
                "tag_create",
                "tag_delete",
                "profile_update",
                "proposal_create",
                "vote_create"
              ],
              "type": "string"
            },
            "collection": {
              "description": "NSID of the record collection",
              "type": "string"
            },
            "recordSnapshot": {
              "description": "Snapshot of record data being written as JSON string",
              "maxLength": 50000,
              "type": "string"
            },
            "rkey": {
              "description": "Record key (TID)",
              "type": "string"
            },
            "spanId": {
              "description": "OpenTelemetry span ID",
              "maxLength": 16,
              "minLength": 16,
              "type": "string"
            },
            "targetTitle": {
              "description": "Target record title for display",
              "maxLength": 500,
              "type": "string"
            },
            "targetUri": {
              "description": "Target record URI (e.g., the eprint being reviewed)",
              "format": "at-uri",
              "type": "string"
            },
            "traceId": {
              "description": "OpenTelemetry trace ID",
              "maxLength": 32,
              "minLength": 32,
              "type": "string"
            },
            "uiContext": {
              "description": "UI context metadata as JSON string",
              "maxLength": 10000,
              "type": "string"
            }
          },
          "required": [
            "collection",
            "rkey",
            "action",
            "category"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "activityId": {
              "description": "Created activity ID (UUID)",
              "type": "string"
            }
          },
          "required": [
            "activityId"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "pub.chive.activity.log",
  "lexicon": 1,
  "revision": 1
}