OptionalfacetsOptionalindexThe sorting method used for sorting search results.
The default is relevance.
OptionallimitThe number of results returned by the search.
The default is 10.
OptionaloffsetThe offset into the search. Skips this number of results.
OptionalqueryThe query to search for.
Facets are an essential concept for understanding how to filter our results.
In order to use facets, you need a value to filter by, as well as an operation to perform on this value. Join together a
type,operationandvalueand you have your string.Examples:
categories=adventureversions!=1.20.1You then join these strings together in arrays to signal
ANDandORoperators.OR:
All elements in a single array are considered to be joined by OR statements. For example:
[["versions=1.16.5","versions=1.17.1"]]translates to Projects that support 1.16.5OR1.17.1.AND:
Separate arrays are considered to be joined by AND statements. For example:
[["versions=1.16.5"],["project_type=modpack"]]translates to Projects that support 1.16.5ANDare modpacks.