mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-07-16 09:38:49 +02:00
feat:#74 added readme and updated api documentation
This commit is contained in:
@ -35,6 +35,14 @@ htwkalender-demo
|
||||
|
||||
Execute the following api calls to fetch data manually from HTWK and store it in the database:
|
||||
|
||||
Both api calls need a token to be executed.
|
||||
You can get a token by logging in to the admin ui and copy the token from the local storage.
|
||||
Add this attribute to the request header of the api call:
|
||||
|
||||
```
|
||||
Authorization : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MDE3MDA3ODQsImlkIjoicnA0Ym54YXNyczM5emR4IiwidHlwZSI6ImFkbWluIn0.j7Bt3-uaZ8CoNt8D9Oxjk7ZwvHDGZJy1xe3aq4BID3w
|
||||
```
|
||||
|
||||
The first command will fetch all groups and store them in the database.
|
||||
This should be done quick in a few seconds (0-5s).
|
||||
When you execute the command again, it will update the groups in the
|
||||
|
Reference in New Issue
Block a user