From
bafyreig2t4rmuob5nxdzbbo34ybpagb4e2tfc3e5jzltes67unbxrogfye
indexed 2026-12-01 04:56 UTC
View this version
To
bafyreiasju6n2v2373hmdjb6iox3hjv7nmgrrnrgzyqolymtec2f7ism44
indexed 2026-12-01 09:23 UTC
View this version
Compatibility
breaking 1 breaking change, 0 non-breaking changes.
Breaking changes (1)
- ConstraintTightened ConstraintTightened { vertex_id: "place.hud.index.query:output.partialReason", sort: "knownValues", old_value: "[\"filling\",\"deadline\",\"perAuthor\"]", new_value: "[\"filling\",\"deadline\",\"perAuthor\",\"migrating\"]" }
Migration guidance
Constraint changes
- ConstraintTightened ConstraintTightened { vertex_id: "place.hud.index.query:output.partialReason", sort: "knownValues", old_value: "[\"filling\",\"deadline\",\"perAuthor\"]", new_value: "[\"filling\",\"deadline\",\"perAuthor\",\"migrating\"]" }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"group": {55
"description": "One value at the spec's group path, and how many records hold it.",66
"properties": {77
"count": {88
"minimum": 1,99
"type": "integer"1010
},1111
"key": {1212
"description": "The value, as text: a number written out in decimal.",1313
"maxLength": 8192,1414
"type": "string"1515
}1616
},1717
"required": [1818
"key",1919
"count"2020
],2121
"type": "object"2222
},2323
"main": {2424
"description": "The records a spec asks for, or their counts grouped by a field, from HUD's index of public records (`hud index`). A collection the index has not seen is backfilled from that moment: its first answer holds what came in by the time asked to wait, and says it is not complete. The authors a spec names come in first. A collection held by too many repositories to take in whole is taken in per author: only the authors specs name are read, and a spec naming none answers from those, partial. No auth required.",2525
"errors": [2626
{2727
"description": "spec is missing, wait is not a number, or the cursor is not one this spec's pages give.",2828
"name": "InvalidRequest"2929
},3030
{3131
"description": "The spec is not one the index takes; the message says why.",3232
"name": "InvalidSpec"3333
},3434
{3535
"description": "The index could not read its store.",3636
"name": "IndexUnavailable"3737
}3838
],3939
"output": {4040
"encoding": "application/json",4141
"schema": {4242
"properties": {4343
"complete": {4444
"description": "Whether every repository holding the collection has been read into the index.",4545
"type": "boolean"4646
},4747
"cursor": {4848
"description": "Where the next page starts; absent on the last.",4949
"maxLength": 512,5050
"type": "string"5151
},5252
"finding": {5353
"description": "Whether the relay is still listing the repositories holding the collection: repos is then how many it listed so far, not their total. Absent from an index older than it.",5454
"type": "boolean"5555
},5656
"groups": {5757
"description": "The values at the spec's group path with their counts, most first: empty for a spec that does not group.",5858
"items": {5959
"ref": "#group",6060
"type": "ref"6161
},6262
"type": "array"6363
},6464
"partial": {6565
"description": "Whether the answer may miss records the index holds, or would hold: partialReason says why.",6666
"type": "boolean"6767
},6868
"partialReason": {69
"description": "Why the answer is partial: filling, a field the spec reads is still being indexed, newest first, and this answer reached as far as it has come; deadline, the answer ran out of time and holds nothing, so ask again; perAuthor, the collection is held by too many repositories to take in whole, so it is taken in per author and a spec naming no authors (by) answers from those read in so far. Absent where the answer is not partial, and from an index older than it.",69
"description": "Why the answer is partial: filling, a field the spec reads is still being indexed, newest first, and this answer reached as far as it has come; deadline, the answer ran out of time and holds nothing, so ask again; perAuthor, the collection is held by too many repositories to take in whole, so it is taken in per author and a spec naming no authors (by) answers from those read in so far; migrating, the index is moving an older file's records into its layout, newest first, and this answer reached as far as that has come. Absent where the answer is not partial, and from an index older than it.",7070
"knownValues": [7171
"filling",7272
"deadline",73
"perAuthor"73
"perAuthor",74
"migrating"7475
],7576
"maxLength": 64,7677
"type": "string"7778
},7879
"records": {7980
"description": "The records, in the spec's order: empty for a spec that groups.",8081
"items": {8182
"ref": "#record",8283
"type": "ref"8384
},8485
"type": "array"8586
},8687
"repos": {8788
"description": "How many repositories the relay lists with the collection: while finding, how many it listed so far.",8889
"minimum": 0,8990
"type": "integer"9091
},9192
"reposIn": {9293
"description": "How many of them have been read into the index.",9394
"minimum": 0,9495
"type": "integer"9596
},9697
"version": {9798
"description": "A mark of what the answer read, which changes whenever that could have changed (a record of the collection written or deleted, or the follow graph a spec of follows reads): the same spec asked again with the same version answers the same. Opaque; absent from an index older than it.",9899
"maxLength": 128,99100
"type": "string"100101
}101102
},102103
"required": [103104
"records",104105
"groups",105106
"complete",106107
"repos",107108
"reposIn",108109
"partial"109110
],110111
"type": "object"111112
}112113
},113114
"parameters": {114115
"properties": {115116
"cursor": {116117
"description": "Where the last page ended, as its answer's cursor said.",117118
"maxLength": 512,118119
"type": "string"119120
},120121
"spec": {121122
"description": "The spec, as JSON: collection, and optionally by, where, since, sort, group and limit.",122123
"maxLength": 4096,123124
"type": "string"124125
},125126
"wait": {126127
"default": 800,127128
"description": "How many milliseconds to wait for the spec's authors' records still coming in before answering.",128129
"maximum": 5000,129130
"minimum": 0,130131
"type": "integer"131132
}132133
},133134
"required": [134135
"spec"135136
],136137
"type": "params"137138
},138139
"type": "query"139140
},140141
"record": {141142
"description": "A record, as its repository holds it.",142143
"properties": {143144
"cid": {144145
"format": "cid",145146
"type": "string"146147
},147148
"uri": {148149
"format": "at-uri",149150
"type": "string"150151
},151152
"value": {152153
"type": "unknown"153154
}154155
},155156
"required": [156157
"uri",157158
"cid",158159
"value"159160
],160161
"type": "object"161162
}162163
},163164
"description": "Records of any collection, as a query spec asks for them, from HUD's index.",164165
"id": "place.hud.index.query",165166
"lexicon": 1166167
}