Skip to content

Instantly share code, notes, and snippets.

@juanpaulo
Last active April 8, 2016 03:58
Show Gist options
  • Save juanpaulo/cdc3a40a43c57eab12afd8abb406c5a5 to your computer and use it in GitHub Desktop.
Save juanpaulo/cdc3a40a43c57eab12afd8abb406c5a5 to your computer and use it in GitHub Desktop.
OPTIONS /rest/calendar-services/1.0/calendar/events HTTP/1.1
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<application xmlns="http://research.sun.com/wadl/2006/10">
<doc xmlns:jersey="http://jersey.java.net/" jersey:generatedBy="Jersey: 1.8-atlassian-16 03/23/2015 10:20 PM"/>
<resources base="https://{confluence domain}/rest/calendar-services/1.0/">
<resource path="calendar/events">
<method name="DELETE" id="deleteEvent">
<response>
<representation mediaType="application/json"/>
</response>
</method>
<method name="GET" id="getEvents">
<request>
<param xmlns:xs="http://www.w3.org/2001/XMLSchema" type="xs:string" style="query" name="subCalendarId"/>
<param xmlns:xs="http://www.w3.org/2001/XMLSchema" type="xs:string" style="query" name="userTimeZoneId"/>
<param xmlns:xs="http://www.w3.org/2001/XMLSchema" type="xs:string" style="query" name="start"/>
<param xmlns:xs="http://www.w3.org/2001/XMLSchema" type="xs:string" style="query" name="end"/>
</request>
<response>
<representation mediaType="application/json; charset=UTF-8"/>
</response>
</method>
<method name="PUT" id="updateEvent">
<response>
<representation mediaType="application/json"/>
</response>
</method>
</resource>
</resources>
</application>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment