Cafeterias API

This API is dropped and only documented for historic reasons!

Authentication

You can read all data anonymously.

List cafeterias

List all cafeterias:

GET /cafeterias

Response

Status: 200 OK
[
  {
    "cafeteria": {
      "id": 1,
      "name": "Mensa Jena, Ernst-Abbe-Platz",
      "address": "Ernst-Abbe-Platz 8, 07743 Jena, Germany",
      "meals": [
        {
          "meal": {
            "id": 260,
            "name": "Rührei mit Knackwurst",
            "description": "Paprika und Tomaten",
            "date": "2012-07-13T02:00:00+02:00"
          }
        }
      ]
    }
  }
]

Get a single cafeteria

GET /cafeterias/:id

Reponse

Status: 200 OK
{
  "cafeteria": {
    "id": 1,
    "name": "Mensa Jena, Ernst-Abbe-Platz",
    "address": "Ernst-Abbe-Platz 8, 07743 Jena, Germany",
    "meals": [
      {
        "meal": {
          "id": 260,
          "name": "Rührei mit Knackwurst",
          "description": "Paprika und Tomaten",
          "date": "2012-07-13T02:00:00+02:00"
        }
      }
    ]
  }
}