Skip to main content

Set view sort

Use this API to set / unset sorting for a view

Request Body REQUIRED
askribeKey string

Your secret Askribe key. Can be obtained from your org's settings dashboard

tableId string

The tableId of your table. It looks like TXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

viewId string

The viewId of your view. It looks like VXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

sortConfig object

New Sort configuration for the view. Send null if you want to reset the sort configuration.

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