create token

This commit is contained in:
L_DA 2020-12-05 14:34:50 +01:00
parent ae94d42fdf
commit be422d0fef

View file

@ -34,6 +34,34 @@ If file content is changing, the moodle-database will be automatically updated.
You can also specify whether there are no classes on saturday. You can also specify whether there are no classes on saturday.
The minimum number of teaching hours displayed is also configurable. The minimum number of teaching hours displayed is also configurable.
## Update data via WebService ##
- create user
- Website-Administration - Users - Rechte ändern - Rollen verwalten
Add new role
Basisrolle: keine
Kurzbezeichnung: webservice-timetable
Kontexttype: User
add: update timetable data
webservice rest:use
webservice reatetoken
- Website-Administration - Users - timetable-user from step 1 - Einstellungen - rollen - Rollen relativ zu diesem Nutzerkonto zuweisen
- Website-Administration - Plugins - Webservice - Externe Webservices - Hinzufügen
Name: timetableupdate
Shortname: timetableupdate
x Aktiviert
x nur berechtigte Personen
Erweitert:
Notwendige Rechte: keine
Funktion hinzufügen: mod/timetable:update: update timetable data
Berechtigte Personen: add user from step 1
- Website-Administration - Plugins - Webservices - Token verwalten
username: user from step 1
service: timetableupdate
## License ## ## License ##
2020 Raphael Dannecker <raphael.dannecker@steinbeisschule-reutlingen.de> 2020 Raphael Dannecker <raphael.dannecker@steinbeisschule-reutlingen.de>