Common parameters
These parameters can be combined with GET request resources of Competition Labs. Below parameters can be used in any combination among themselves.
*some parameters can be used with POST request.
Parameter | Parameter Type | Description |
---|---|---|
_limit | Integer | Used for pagination. Setting the limit value will cause the system to limit the number of records returned to the specified number. |
_skip | Integer | Used for pagination. Setting the skip value will cause the system to return records from the specified position onwards. |
| ||
_sortByFields | String | Enables sorting of results based on fields and order specified.Syntax: sortByFields=<field-to-sort-on>:<order> Acceptable order: asc, desc
|
= == | String | Single '=' sign usage will work as a 'should/OR' action and '==' will work as a 'must/AND' action Single equals sign usage has two types of applications in formulating API queries:
|
<= <== *(extention to | Integer Double Float DateTime | Single '=' sign usage will work as a 'should/OR' action and '==' will work as a 'must/AND' action The less than equal filter can be used on fields with a data type of integer, long, double, float, date, time or date-time. The filter will return all matching records that are equal to or less than the specified field value.
|
>= >== *(extention to | Integer Double Float DateTime | Single '=' sign usage will work as a 'should/OR' action and '==' will work as a 'must/AND' action The greater than equal filter can be used on fields with a data type of integer, long, double, float, date, time or date-time. The filter will return all matching records that are equal to or greater than the specified field value.
|
_hasNoValuesFor | Enabled the usage of exists check agains fieldsSyntax: _hasNoValuesFor=<field-to-check>:<ternary-operator> Acceptable Ternary Operators: must, should Acceptable order: asc, desc
|