Collection

Get available sorting options

Returns list of available sorting options with default value

get/v1/collection/sorting-options

Request

  • Base URL
    https://api.miaai.chat (the document declares no server; this is the origin it was published from)
  • URL
    https://api.miaai.chat/v1/collection/sorting-options
  • Auth
    HTTP bearer

Response

Sorting options retrieved successfully

default'newest_first' | 'oldest_first' required

Example response

{
  "options": [
    {
      "label": "Newest first",
      "queryValue": "newest_first"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.