Translations

The Translation Object

Key-Value Object. Where Key is Translation ID and Value is Translated Content

Dictionary of key string and value string .

THE TRANSLATION OBJECT


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

Retrieve all Translations by 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.

Parameters

  • Name
    spaceId
    Type
    Required string in path
    Description

    Unique identifier for the Space object.

  • Name
    locale
    Type
    Required string in path
    Description

    Locale unique identifier (ISO 639-1).

  • Name
    cv
    Type
    Optional string in query
    Description

    Cache version.

Returns

  • Description

    Return the Translations Object if the request succeeded.

Response

© Copyright 2024 Lessify Rights Reserved. Build with Localess