v3

latestOpenAPI 3.0.3MIT2026-07-313881,2455.6 MB
Database table view sortings

Lists all sortings of the view related to the provided view_id if the user has access to the related database's workspace. A view can have multiple sortings. When all the rows are requested they will be in the desired order.

get/api/database/views/{view_id}/sortings/

Path parameters

view_idinteger required

Returns only sortings of the view related to the provided value.

Response

idinteger required
viewinteger required

The view to which the sort applies. Each view can have his own sortings.

fieldinteger required

The field that must be sorted on.

order'ASC' | 'DESC'
  • ASC - Ascending
  • DESC - Descending
typestring

Indicates the sort type. Will automatically fall back to default if incompatible with field type.

priorityinteger required

Position of this sorting in the ordering chain. The sorting with the lowest priority is applied first.