Interface: SearchSortsRequest
@kortexya/reasoninglayer / SearchSortsRequest
Interface: SearchSortsRequest
Section titled “Interface: SearchSortsRequest”Defined in: src/types/sorts.ts:2067
Find sorts by name or label — GET /api/v1/sorts/search.
Properties
Section titled “Properties”
optionalby?:SearchSortsBy
Defined in: src/types/sorts.ts:2074
name (default) matches a substring of the sort name; label matches a
SKOS prefLabel / altLabel / hiddenLabel exactly, case-insensitively.
optionallang?:string
Defined in: src/types/sorts.ts:2083
With by: 'label' only: a preferred language (BCP 47). Every matching
sort is still answered; sorts whose matched label is in this language
(RFC 4647 lookup: fr-CA, then fr) come first, then those sharing its
primary language, then the others. A malformed tag is refused 400.
limit?
Section titled “limit?”
optionallimit?:number
Defined in: src/types/sorts.ts:2076
Max results. Default 20, capped at 100.
q:
string
Defined in: src/types/sorts.ts:2069
A name substring, or an exact label when by is label.