Meals API

Authentication

You can read all data anonymously.

List meals of a day

GET /canteens/:canteen_id/days/:day_date/meals

Response

Status: 200 OK
[
  {
    "id": 260,
    "name": "Gemüse-Couscouspfanne mit Joghurt-Ingwer-Dip, dazu bunter Blattsalat",
    "notes": [
      "ovo-lacto-vegetabil",
      "mensaVital"
    ],
    "prices": {
      "student": 2.3,
      "employee": 3.65,
      "other": 4.6
    },
    "category": "Alternativ-Angebot"
  },
  {
    "id": 10900,
    "name": "Hähnchenschnitzel mit Brötchen",
    "notes": [

    ],
    "prices": {
      "pupil": 2.4,
      "other": 4.3
    },
    "category": "Cafeteria Heiße Theke"
  }
]

Get a single meal

GET /canteens/:canteen_id/days/:day_date/meals/:id

Response

Status: 200 OK
{
  "id": 260,
  "name": "Gemüse-Couscouspfanne mit Joghurt-Ingwer-Dip, dazu bunter Blattsalat",
  "notes": [
    "ovo-lacto-vegetabil",
    "mensaVital"
  ],
  "prices": {
    "student": 2.3,
    "employee": 3.65,
    "other": 4.6
  },
  "category": "Alternativ-Angebot"
}