place.hud.index.query
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.
Details · query
| Kind | query |
|---|---|
| Authority | index.hud.place |
| Commit rev | 3n3lweaxl6oju |
| Indexed |
Showing version bafyreiasju6n2v2373hmdjb6iox3hjv7nmgrrnrgzyqolymtec2f7ism44. Show the latest
Query
query · GETParameters
query stringcursor
stringWhere the last page ended, as its answer's cursor said.
maxLength: 512
The spec, as JSON: collection, and optionally by, where, since, sort, group and limit.
maxLength: 4096
wait
integerHow many milliseconds to wait for the spec's authors' records still coming in before answering.
minimum: 0maximum: 5000default: 800
Output
application/jsonWhether every repository holding the collection has been read into the index.
cursor
stringWhere the next page starts; absent on the last.
maxLength: 512
finding
booleanWhether 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.
The values at the spec's group path with their counts, most first: empty for a spec that does not group.
Whether the answer may miss records the index holds, or would hold: partialReason says why.
partialReason
stringWhy 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.
maxLength: 64knownValues: filling | deadline | perAuthor | migrating
The records, in the spec's order: empty for a spec that groups.
How many repositories the relay lists with the collection: while finding, how many it listed so far.
minimum: 0
How many of them have been read into the index.
minimum: 0
version
stringA 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.
maxLength: 128
Errors
InvalidRequest
spec is missing, wait is not a number, or the cursor is not one this spec's pages give.
InvalidSpec
The spec is not one the index takes; the message says why.
IndexUnavailable
The index could not read its store.
#group
objectOne value at the spec's group path, and how many records hold it.
#record
objectA record, as its repository holds it.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
place.hud.listAppRecords
queryAnyone's public records of a collection a frame app reads.
-
The collections HUD's index holds, and how far each has come in.
-
The platform's generic list query: one page of the records a pub.techne.draft.query names, in its order. Every record is read through the platform's one read path, whatever the query says: no record of a hidden or suspended account is answered, nor, to a signed-in caller, another's record across a block either way (the caller blocked its author, or its author blocked the caller); a public record also leaves out anything moderation holds back (a trusted verdict or `!takedown`); a permissioned rec
-
Records of one collection from the host's index, newest first. Without `repo`, a collection the group's site declares it reads, from the group (answered to anyone) or its members (members only). With `repo`, that one account's records — the group's or a member's — of any collection, kept on demand once asked for; members only. `field` and `equals` keep only records whose field (a name, or a path like subject.uri) equals that value. With `from: "network"`, everyone's records of the collection, fr