Using the language endpoint

Here, languages for events are listed. In the event endpoint, the event languages may be shown in the in_language field, if known.

Also, event data may have translations in the languages which have translation_available set to true. Currently, translations in fi, sv, en, ru, zh_hans, and ar are supported.

Events organized in or translated to a specific language can be found at the event endpoint using the query parameter language.

GET /linkedevents/v1/language/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json ;utf-8
Vary: Accept

{
    "meta": {
        "count": 12,
        "next": null,
        "previous": null
    },
    "data": [
        {
            "id": "en",
            "translation_available": true,
            "name": {
                "fi": "englanti"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/language/en/",
            "@context": "http://schema.org",
            "@type": "Language"
        },
        {
            "id": "sv",
            "translation_available": true,
            "name": {
                "fi": "ruotsi"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/language/sv/",
            "@context": "http://schema.org",
            "@type": "Language"
        },
        {
            "id": "fi",
            "translation_available": true,
            "name": {
                "fi": "suomi"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/language/fi/",
            "@context": "http://schema.org",
            "@type": "Language"
        },
        {
            "id": "ru",
            "translation_available": true,
            "name": {
                "fi": "venäjä"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/language/ru/",
            "@context": "http://schema.org",
            "@type": "Language"
        },
        {
            "id": "et",
            "translation_available": false,
            "name": {
                "fi": "viro"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/language/et/",
            "@context": "http://schema.org",
            "@type": "Language"
        },
        {
            "id": "fr",
            "translation_available": false,
            "name": {
                "fi": "ranska"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/language/fr/",
            "@context": "http://schema.org",
            "@type": "Language"
        },
        {
            "id": "so",
            "translation_available": false,
            "name": {
                "fi": "somali"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/language/so/",
            "@context": "http://schema.org",
            "@type": "Language"
        },
        {
            "id": "es",
            "translation_available": false,
            "name": {
                "fi": "espanja"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/language/es/",
            "@context": "http://schema.org",
            "@type": "Language"
        },
        {
            "id": "tr",
            "translation_available": false,
            "name": {
                "fi": "turkki"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/language/tr/",
            "@context": "http://schema.org",
            "@type": "Language"
        },
        {
            "id": "fa",
            "translation_available": false,
            "name": {
                "fi": "persia"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/language/fa/",
            "@context": "http://schema.org",
            "@type": "Language"
        },
        {
            "id": "ar",
            "translation_available": true,
            "name": {
                "fi": "arabia"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/language/ar/",
            "@context": "http://schema.org",
            "@type": "Language"
        },
        {
            "id": "zh_hans",
            "translation_available": true,
            "name": {
                "fi": "kiina"
            },
            "@id": "http://api.hel.fi/linkedevents/v1/language/zh_hans/",
            "@context": "http://schema.org",
            "@type": "Language"
        }
    ]
}