PATCH /api/database/views/sort/{view_sort_id}/

Updates the existing sort if the authorized user has access to the related database's workspace.

Servers

Path parameters

Name Type Required Description
view_sort_id Integer Yes

Updates the view sort related to the provided value.

Request headers

Name Type Required Description
ClientSessionId String No

An optional header that marks the action performed by this request as having occurred in a particular client session. Then using the undo/redo endpoints with the same ClientSessionId header this action can be undone/redone.

Content-Type String Yes The media type of the request body.

Default value: "application/json"

ClientUndoRedoActionGroupId String No

An optional header that marks the action performed by this request as having occurred in a particular action group.Then calling the undo/redo endpoint with the same ClientSessionId header, all the actions belonging to the same action group can be undone/redone together in a single API call.

Request body fields

Name Type Required Description
field Integer No

The field that must be sorted on.

order String No

Indicates the sort order direction. ASC (Ascending) is from A to Z and DESC (Descending) is from Z to A.

  • ASC - Ascending
  • DESC - Descending

Possible values:

  • "DESC"
  • "ASC"
type String No

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

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.