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":"/events?page=2",
"events":[
{
"id":"94832146",
"title":"An event",
...
},
{
"id":"83411557",
"title":"Another event",
...
},
...
]
}
Returns a single event record identified by its integer ID.
{
"event":{
"id":"94832146",
"title":"An event",
...
}
}
Creates a new event.
{
"event":{
"title":"Meet up",
"location":"New York",
"start-date":"2016-11-05 10:30:00",
"end-date":"2016-11-05 13:30:00",
"all-day":"0",
"notes":"Important",
"privacy":"public",
"recurrence":"weekly"
}
}
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":{
"title":"Updated event",
"privacy":"for me"
}
}
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.
Destroys the given event series.
Please note: all instances of the event will be deleted!
Returns HTTP status code 200 on success, or any other code (and possibly error information in JSON format) on error.