One of my colleagues tries to get read and write access to calendar entries (events) using the REST API as described on this page
REST API to create Team Calendar's events. | Confluence | Atlassian Documentation.
This explains in principle how this can be done (e.g. via 'curl').
The API also contains get/post/put methods that are based on the PYTHON-requests library. He has tried to implement the 'curl' call using these methods (especially get and put).
He would now like to use a call of the form xxx = wikipy.request(method=???,path='/rest/calendar-services/1.0/calendar/events.json',headers=????,data=????) which gives him read/write access to calendar events of a calendar with a given HEX-ID (and if necessary a given USER HEX-ID).
Can you help us with this?
The Team Calendars REST API described in older documentation only applies to Confluence Server and Data Center. In Confluence Cloud, Team Calendars is integrated into the Calendar view but does not expose a public REST API for creating or editing events. The `/rest/calendar-services/1.0/calendar/events.json` endpoint is specific to Confluence Server and will return errors or 404 responses in Cloud because it’s not implemented there. Atlassian’s Confluence Cloud REST API covers core content such as pages and spaces, but it doesn’t include calendar operations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.