query
Query a domain's things by their standing values: one thing line per thing with the fields asked, each cell the standing value with its record's hash and three stamps (read, captured, in_force), clocked — the windows the clock read it by, each saying whether it holds the day the row answers for, opened_from where an edition opens it later and how it ends — and also_stated_by, the hashes of the records of its work that give the same value again, beside also_stated, the other values the records give it, each with its record; and unread_captures where its work also holds captures with no extracted text of about its document's size, any of which may be a later edition, so that the clock serves the value as in force on no day, counting the thing as held_back beside undeclared. In a paid domain the records a newer reading replaced ride neither list: a cell counts them as earlier, its earlier readings, which a key opens at the HTTP door. where holds the clauses — {"rate.max": "100 USD", "basis": "per ton"} — a bare field name meaning .eq, * meaning .is=any and none .is=none; columns adds cells; in_force and as_of are the clocks, and in a paid domain a past day on either is keyed, the key travelling in the Authorization header at the HTTP door. The first line is a view line; an empty answer says cause and instead; a refusal names its cause.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | A day, YYYY-MM-DD, or an RFC 3339 instant: what the index held at the end of that day. | |
| limit | No | Rows per page; the default is 20. | |
| scope | Yes | `/<domain>`, `/<domain>/<collection>/<publisher>` or `…/<work>`: the things the table selects among. The root has no fields. | |
| where | No | The clauses, every one holding of the same thing: keys `<field>`, `<field>.eq`, `<field>.min`, `<field>.max` or `<field>.is`; a bound's value is a number with its unit, `.is` takes `any` or `none`. | |
| cursor | No | A row's `cursor`, passed back as given: the page resumes after that row. | |
| columns | No | Fields to add as cells without selecting on them. | |
| in_force | No | A day, YYYY-MM-DD: the value in force that day by the publisher's own dates. | |
| with_undeclared | No | Under `in_force`, list the things whose values declare no window, marked. |