Skip to main content

Set view sort

Use this API to set / unset sorting for a view

Path Parameters
tableId string REQUIRED
viewId string REQUIRED
Request Body REQUIRED
sortConfig object
isAutoSort boolean

Should the table be sorted automatically? Default is true.

sortItems object[]

The sort items for the table.

columnId string

The columnId of the column you want to sort by. It looks like CXXXXXXXXXXXXXXXXXXXXXXXX

order string

Possible values: [ASCENDING, DESCENDING]

The order of the sort. Allowed values ASCENDING | DESCENDING

Responses
200

Returns the new sort config

Schema OPTIONAL
object