We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Events API currently has a shareable property with a full URL to the event on the web.
shareable
Example:
{ "events": [ { "id": "6245", "caldaily_id": "9300", "title": "Shift to Pedalpalooza Ride", ... "shareable": "https://shift2bikes.org/calendar/event-9300", } ] }
(see API docs)
To export the event to an ICS file (vCalendar format), you have to know the API URL. Currently our front-end client builds the URL itself:
shift-docs/site/themes/s2b_hugo_theme/assets/js/cal/main.js
Line 54 in 6d64d50
If each event object included its own export URL clients could simply use that as-is, e.g.
{ "events": [ { "id": "6245", "caldaily_id": "9300", "title": "Shift to Pedalpalooza Ride", ... "shareable": "https://shift2bikes.org/calendar/event-9300", "export": "https://shift2bikes.org/api/ics.php?id=6245", } ] }
(Note that ICS export currently uses the calevent ID aka listing ID, which exports all occurrences.)
calevent
See also #735.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The Events API currently has a
shareable
property with a full URL to the event on the web.Example:
(see API docs)
To export the event to an ICS file (vCalendar format), you have to know the API URL. Currently our front-end client builds the URL itself:
shift-docs/site/themes/s2b_hugo_theme/assets/js/cal/main.js
Line 54 in 6d64d50
If each event object included its own export URL clients could simply use that as-is, e.g.
(Note that ICS export currently uses the
calevent
ID aka listing ID, which exports all occurrences.)See also #735.
The text was updated successfully, but these errors were encountered: