pub.techne.draft.commons.getSidecars
The records about one record: every visible record the index links to it. That is a record whose indexed `subject_uri` names it (a sidecar's `subject`; for other record types, the reference the index keeps there, such as an event config's `event` or a claim's `origin`), a pair assertion's `other` (sameAs, distinctFrom), or a pub.techne.draft.containedIn's `container`. Other fields that name a record are not matched, unless `field` is given: then the match is every visible record that names the record in that top-level field, or in any field with `field` = `*` (a funding receipt's `to`, a relationship's `place`, a derivation's `inputs`). By default only trusted sidecars; see pub.techne.draft.commons.defs#sidecarView for what trusted means. Trusted sidecars come first, then by collection and AT-URI. At most 1000 are returned and there is no cursor: when there were more, `truncated` is true (narrow with `collection`). Anonymous.
Details · query
| Kind | query |
|---|---|
| Authority | commons.draft.techne.pub |
| Commit rev | 3n3iob3dcvo2u |
| Indexed |
Query
query · GETParameters
query stringcollection
string · nsidOnly sidecars of this collection.
field
stringMatch records that name the subject in this top-level field (at any depth inside it), or in any field with `*`, instead of the three references above.
maxLength: 64
includeUntrusted
booleanAlso return sidecars no endorsed rule vouches for, marked `trusted: false`.
default: false
Output
application/jsontruncated
booleanPresent and true when more than 1000 sidecars matched and the rest were left out.
Errors
InvalidRequest
No description in schema.