-
Notifications
You must be signed in to change notification settings - Fork 4
Use webcal instead of API requests #31
Copy link
Copy link
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Description
myx supports webcal.
use
❯ curl -X PATCH "https://school.myx.nl/api/Settings" \
-H "Authorization: Bearer eyJhbGciOiJo......" \
--data-raw '[{"op":"add","path":"/feeds/<uiid>","value":{"name":"<name>","ids":[<classid>]}}]' can be a generated uiid.
Is the name it shows up in the settings page. Probably best to do xrooster-
is the id of the class
using this will give you a url like this: webcal://school.myx.nl/api/InternetCalendar/feed/<some other uiid>/<uiid>
when turned into https://school.myx.nl/api/InternetCalendar/feed/<some other uiid>/<uiid> it will download a .ics file
the response for this request doesn't return the other uiid, idk yet how to get that one. Still looking into it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request