GET /api/:space/translations

Description:

Returns a list of supported languages. The languages are displayed with an ISO-639-1 code.

Resource URL:

https://<apphost>.competitionlabs.com/api/<your-space-name>/translations

Request headers

KeyValueRequired
X-API-KEY
Your unique API keyYes
Content-Type
application/jsonYes

Request URL parameters

Parameter
Type
Required
Description
space
StringYes

This is the space name which is linked to the account

EXAMPLE

Request
curl
--header "X-API-KEY: <your-api-key>"
--request GET https://app.competitionlabs.com/api/<your-space-name>/translations
Response
{
    "data": {
        "ab": "Abkhazian",
        "ace": "Achinese",
        "ach": "Acoli",
        "ada": "Adangme",
        "ady": "Adyghe",
        "aa": "Afar",
        "afh": "Afrihili",
        "af": "Afrikaans",
        "agq": "Aghem",
        "ain": "Ainu",
        "ak": "Akan",
        "akk": "Akkadian",
        "bss": "Akoose",
        "akz": "Alabama",
        "sq": "Albanian",
        "ale": "Aleut",
        "arq": "Algerian Arabic",
        "ase": "American Sign Language",
        "am": "Amharic",
        "egy": "Ancient Egyptian",
        "grc": "Ancient Greek",
...
}

ERROR CODES

CodeHTTP StatusDescriptionExample

404Inserting or removing the necessary information of the Request URL parameter
Error Response 404
{
    "status": 404
}