full diff

pub.chive.activity.log

From
bafyreige6lpkbpwm7orygfb7rvm7gcnaxrv4egalcuexibzzj6x5mnb5ru indexed 2026-06-18 13:14 UTC View this version
To
bafyreige6lpkbpwm7orygfb7rvm7gcnaxrv4egalcuexibzzj6x5mnb5ru indexed 2026-06-18 13:14 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "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.",
66 "errors": [
77 {
88 "name": "AuthenticationRequired"
99 },
1010 {
1111 "name": "InvalidRequest"
1212 }
1313 ],
1414 "input": {
1515 "encoding": "application/json",
1616 "schema": {
1717 "properties": {
1818 "action": {
1919 "description": "Action type",
2020 "knownValues": [
2121 "create",
2222 "update",
2323 "delete"
2424 ],
2525 "type": "string"
2626 },
2727 "category": {
2828 "description": "Semantic activity category",
2929 "knownValues": [
3030 "eprint_submit",
3131 "eprint_update",
3232 "eprint_delete",
3333 "review_create",
3434 "review_update",
3535 "review_delete",
3636 "endorsement_create",
3737 "endorsement_delete",
3838 "tag_create",
3939 "tag_delete",
4040 "profile_update",
4141 "proposal_create",
4242 "vote_create"
4343 ],
4444 "type": "string"
4545 },
4646 "collection": {
4747 "description": "NSID of the record collection",
4848 "type": "string"
4949 },
5050 "recordSnapshot": {
5151 "description": "Snapshot of record data being written as JSON string",
5252 "maxLength": 50000,
5353 "type": "string"
5454 },
5555 "rkey": {
5656 "description": "Record key (TID)",
5757 "type": "string"
5858 },
5959 "spanId": {
6060 "description": "OpenTelemetry span ID",
6161 "maxLength": 16,
6262 "minLength": 16,
6363 "type": "string"
6464 },
6565 "targetTitle": {
6666 "description": "Target record title for display",
6767 "maxLength": 500,
6868 "type": "string"
6969 },
7070 "targetUri": {
7171 "description": "Target record URI (e.g., the eprint being reviewed)",
7272 "format": "at-uri",
7373 "type": "string"
7474 },
7575 "traceId": {
7676 "description": "OpenTelemetry trace ID",
7777 "maxLength": 32,
7878 "minLength": 32,
7979 "type": "string"
8080 },
8181 "uiContext": {
8282 "description": "UI context metadata as JSON string",
8383 "maxLength": 10000,
8484 "type": "string"
8585 }
8686 },
8787 "required": [
8888 "collection",
8989 "rkey",
9090 "action",
9191 "category"
9292 ],
9393 "type": "object"
9494 }
9595 },
9696 "output": {
9797 "encoding": "application/json",
9898 "schema": {
9999 "properties": {
100100 "activityId": {
101101 "description": "Created activity ID (UUID)",
102102 "type": "string"
103103 }
104104 },
105105 "required": [
106106 "activityId"
107107 ],
108108 "type": "object"
109109 }
110110 },
111111 "type": "procedure"
112112 }
113113 },
114114 "id": "pub.chive.activity.log",
115115 "lexicon": 1,
116116 "revision": 1
117117}