full diff

pub.chive.admin.triggerBackfill

From
bafyreiaa3unlpk5cdtl4uqepxep2u4keebi2fxr6dzjw6jwzflaudnckqq indexed 2026-06-18 13:14 UTC View this version
To
bafyreiaa3unlpk5cdtl4uqepxep2u4keebi2fxr6dzjw6jwzflaudnckqq 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 "backfillOperation": {
55 "description": "A backfill operation record",
66 "properties": {
77 "id": {
88 "description": "Operation ID",
99 "type": "string"
1010 },
1111 "recordsProcessed": {
1212 "description": "Number of records processed so far",
1313 "type": "integer"
1414 },
1515 "startedAt": {
1616 "description": "Operation start time",
1717 "format": "datetime",
1818 "type": "string"
1919 },
2020 "status": {
2121 "description": "Operation status",
2222 "knownValues": [
2323 "running",
2424 "completed",
2525 "failed",
2626 "cancelled"
2727 ],
2828 "type": "string"
2929 },
3030 "type": {
3131 "description": "Backfill operation type",
3232 "type": "string"
3333 }
3434 },
3535 "required": [
3636 "id",
3737 "type",
3838 "status",
3939 "startedAt",
4040 "recordsProcessed"
4141 ],
4242 "type": "object"
4343 },
4444 "main": {
4545 "description": "Trigger a backfill operation by type",
4646 "errors": [
4747 {
4848 "name": "AuthenticationRequired"
4949 },
5050 {
5151 "name": "AdminRequired"
5252 },
5353 {
5454 "name": "InvalidBackfillType"
5555 }
5656 ],
5757 "input": {
5858 "encoding": "application/json",
5959 "schema": {
6060 "properties": {
6161 "batchSize": {
6262 "description": "Batch size for fullReindex type",
6363 "type": "integer"
6464 },
6565 "did": {
6666 "description": "DID for didSync type",
6767 "format": "did",
6868 "type": "string"
6969 },
7070 "pdsUrl": {
7171 "description": "PDS URL for pdsScan type",
7272 "type": "string"
7373 },
7474 "type": {
7575 "description": "Backfill operation type to trigger",
7676 "knownValues": [
7777 "pdsScan",
7878 "freshnessScan",
7979 "citationExtraction",
8080 "fullReindex",
8181 "governanceSync",
8282 "didSync"
8383 ],
8484 "type": "string"
8585 },
8686 "uri": {
8787 "description": "Eprint URI for citationExtraction type",
8888 "format": "at-uri",
8989 "type": "string"
9090 }
9191 },
9292 "required": [
9393 "type"
9494 ],
9595 "type": "object"
9696 }
9797 },
9898 "output": {
9999 "encoding": "application/json",
100100 "schema": {
101101 "properties": {
102102 "operation": {
103103 "description": "The started backfill operation",
104104 "ref": "#backfillOperation",
105105 "type": "ref"
106106 }
107107 },
108108 "required": [
109109 "operation"
110110 ],
111111 "type": "object"
112112 }
113113 },
114114 "type": "procedure"
115115 }
116116 },
117117 "id": "pub.chive.admin.triggerBackfill",
118118 "lexicon": 1,
119119 "revision": 1
120120}