Skip to main content
POST
/
category
/
autocomplete
Gets a list of categories which match the input text.
curl --request POST \
  --url https://api.example.com/category/autocomplete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "typedText": "<string>",
  "editionId": 123,
  "languageId": null,
  "page": 1,
  "pagesize": 10
}
'
{
  "success": true,
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Input model for autocomplete API to get a list of categories which match the typed text. Supports paging

typedText
string
required

Category text that user has typed

Minimum string length: 1
editionId
integer<int32> | null
languageId
integer<int32> | null

For future use

page
integer<int32>
default:1
pagesize
integer<int32>
default:10

Response

Success

success
boolean
data
unknown