Languages

GET /api/v1/languages

List of supported ISO-639-1 language codes.

Response JSON Array of Objects:
 
  • code (string) – ISO-639-1 code of the language
  • name (string) – localized name of language

Request:

GET /api/v1/languages HTTP/1.1
Host: account.emailicious.com
Accept: application/json

Response:

HTTP/1.1 200 OK
Vary: Accept
Allow: GET, HEAD, OPTIONS
Content-Type: application/json

{
    "count": 96,
    "next": "/api/v1/languages?page=2",
    "previous": null,
    "results": [
        {
            "code": "ab",
            "name": "Abkhazian"
        },
        {
            "code": "af",
            "name": "Afrikaans"
        },
        {
            "code": "an",
            "name": "Aragonese"
        },
        {
            "code": "ar",
            "name": "Arabic"
        }
    ]
}