List all antonyms

List all antonyms

Returns a list of all antonym groups configured for the current instance. Antonyms suppress specific terms from appearing in search results when a related term is searched.

Requires authentication.

Request

GET /antonym

Headers

HeaderValue
AuthorizationBearer <token>

Response

Returns a JSON array of antonym objects.

Response Body

FieldTypeDescription
idintegerUnique identifier.
namestringDisplay name.
languagestringLanguage code this antonym group applies to (e.g. de, en).
antonymsstringComma-separated list of antonym terms.

Example Response

[
  {
    "id": 1,
    "name": "Color antonyms",
    "language": "de",
    "antonyms": "rot, blau, grün"
  }
]
Headers
string
required

Makaira Instance ID

Response
200

OK

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!