Languages

Schema

Here's what each language object looks like:

{
    "id": 1,         // Integer
    "name": "Java"   // String
}

End-points

Retrieve all languages by calling GET /languages, that returns an array of languages. Here's an example response:

[
    {
        "id": 1,
        "name": "Java"
    },
    {
        "id": 2,
        "name": "C/C++"
    },
    {
        "id": 3,
        "name": "C#"
    },
    // and more of these..
]

You can also get a single language by its ID with GET /languages/{language_id}, for example GET /languages/1 returns:

{
    "id": 1,
    "name": "Java"
}