icon picker
Filterting & Sorting

This GoKart API supports flexible filtering and sorting options to help refine and order results based on your requirements.

Sorting:

orderby (string, query parameter):
Specifies the property by which the results should be sorted.
Example: ?orderby=launchDate will sort the results by the launchDate property.
order_asc (boolean, query parameter):
Determines the direction of the sorting.
Set to true for ascending order and false for descending order.
Example: ?orderby=launchDate&order_asc=true will sort the results by launchDate in ascending order.

Filtering:

General Structure

Filters are typically specified in the format filter.{FieldName}, where {FieldName} corresponds to the specific property you want to filter by. The field names are predefined based on the resource you are querying.

Supported Filter Types:

String Filtering:
Allows filtering by string fields such as name and headline.
Example: ?filter.search=SpecialOffer filters results that match the given name.
UUID Filtering:
Filters based on unique identifiers like offer IDs, category IDs, etc.
Example: ?filter.categoryId=123e4567-e89b-12d3-a456-426614174000 filters results by a specific offer.
Enum Filtering:
Filters based on enum values, such as progress states or device types.
Example: ?filter.Progress=InProgress filters results based on their progress status.

Multiple Filters:

You can apply multiple filters in a single query to narrow down results further.
Example: ?filter.Progress=InProgress&filter.categoryId=123e4567-e89b-12d3-a456-426614174000 filters results that are both in progress and belong to a specific category.

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.