Returns a collection of events that are visible to the authenticated user. Use the search query to refine your search. Available parameters are:
{
"continued-at":"/calendars/events?page=2",
"events":[
{
"id":"94832146",
"subject":"An event",
...
},
{
"id":"83411557",
"subject":"Another event",
...
},
...
]
}
Returns a collection of recurrent events that are visible to the authenticated user. Use the search query to refine your search. Available parameters are:
{
"continued-at":"/calendars/events/recurrent?page=2",
"events":[
{
"id":"94832146",
"subject":"An event",
...
},
{
"id":"83411557",
"subject":"Another event",
...
},
...
]
}
Returns a single event record identified by its integer ID.
{
"event":{
"id":"94832146",
"subject":"An event",
...
}
}
Creates a new event.
{
"event":{
"subject":"Meet up",
"location":"New York",
"start":"2012-11-05 10:30:00",
"end":"2012-11-05 13:30:00",
"allday-flag":"0",
"notes":"Important",
"privacy-type":"public",
"recur-type":"weekly",
"recur-start":"2012-11-05",
"recur-end":"2013-04-23",
"recur-interval":"2",
"recur-days-of-week":"monday,friday"
}
}
Returns HTTP status code 201 (“Created”) on success. The response contain the new event ID. On failure, a non-200 status code will be returned, possibly with error information in JSON format as the response's content.
{
"event-id":"9056560"
}
Updates an existing event.
{
"event":{
"subject":"Updated event",
"privacy-type":"private"
}
}
Returns HTTP status code 200 on success, or any other code (and possibly error information in JSON format) on error.
Destroys the given event.
Returns HTTP status code 200 on success, or any other code (and possibly error information in JSON format) on error.