REST APITranslations

Get available languages

GET
/languages

Get all enabled translation languages. Use the returned codes with the /categories/:slug/translations endpoint.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key authentication via the x-api-key header.

Response Body

application/json; charset=utf-8
  1. response

Response for GET /v1/languages

success*boolean
data*array<>
Example Request
curl -X GET 'https://api.predict.fun/v1/languages'
Example Response
{  "success": true,  "data": [    {      "code": "string",      "name": "string"    }  ]}