Localess

Get Translations

GET
/api/v1/spaces/{spaceId}/translations/{locale}

The endpoint allows you to retrieve all translations by locale. In case Locale is not present in the Localess, it will return the default locale translations. In case cache version is not present, it will redirect to the latest version.

token<token>

In: query

Path Parameters

spaceId*string

Unique identifier for the Space object.

locale*string

Locale unique identifier (ISO 639-1).

Query Parameters

cv?string

Cache version.

version?"draft"

Translation version.

Value in

  • "draft"
token*string

Authentication Token.

Response Body

application/json

curl -X GET "https://example.com/api/v1/spaces/UdV5ygPZuOD1JMO9Qat9/translations/en?token=fb6oTcVjbnyLCMhO2iLY"
{  "login.form.email": "Email",  "login.form.password": "Password",  "login.form.login": "Login",  "login.form.cancel": "Cancel"}