API‐Calls (Moses) - avinotec/Stundenplaner.FHE_EAH GitHub Wiki
API Calls (Moses)
(WIP) NEW API to fetch study programs, semester and study groups
General scheme:
# Paste the following lines in your terminal application or see down below for another option.
curl \
-X GET "https://stundenplan.eah-jena.de/moses/api/v1/[ENDPOINT]" \
-H "Content-Type: application/json" \
-H "Authorization: [API_TOKEN]"
You have to replace [API_TOKEN]
to authenticate yourself and [ENDPOINT]
with the actual endpoint and to receive resources (both without square brackets).
For testing with the API we recommend using something like Postman.
The pixelated bit is where you have to place your [API_TOKEN]
.
Endpoints
Currently known:
# base path (append an endpoint to this url)
https://stundenplan.eah-jena.de/moses/api/v1/
# endpoints:
calveranstaltung/
gebaeude/
raum/
studiengang?name=Commerce
stupo/
verlaufsplanzuordnung/
buchungsgruppe/
buchung/
fachsemesterzuordnung/