Filters
Array Filter
Any field indicating support for the array filter will accept the field name in an array format in order to allow for filtering by one or more values at the same time. For example, if the field name is id
you will be able to structure your query in the following format:
?id[]=123&id[]=234&id[]=345
Range Filter
Some resource filters support the range type input. This input type enables the following query formats
Format | Description |
---|---|
field[between]=1..10 | Filter field between two given values |
field[gt]=1 | Filter field greater than a given value |
field[gte]=1 | Filter field greater than or equal to a value |
field[lt]=10 | Filter field less than a value |
field[lte]=10 | Filter field less than or equal to a valu |