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
| Kind | procedure |
|---|---|
| Authority | activity.chive.pub |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.actionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.categoryNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.collectionNo maxLength, maxGraphemes or format limits this string.large-stringdefs.main.input.schema.properties.recordSnapshotmaxLength is over 20 KB. Use a blob for content that large.unlimited-stringdefs.main.input.schema.properties.rkeyNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.activityIdNo maxLength, maxGraphemes or format limits this string.
{
"$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
}