Skip to content

Latest commit

 

History

History
73 lines (46 loc) · 1.6 KB

calendar.md

File metadata and controls

73 lines (46 loc) · 1.6 KB

Calendar

Get Events

GET /calendarevents.json

tw.calendar.getEvents(query_string)

Get an Event

GET /calendarevents/{event_id}.json

tw.calendar.getEvent(event_id)

Create Event / Recurring Event

POST /calendarevents.json

tw.calendar.createEvent(body)

Edit an event

PUT /calendarevents/{event_id}.json

tw.calendar.updateEvent(event_id, body)

Delete an Event

DELETE /calendarevents/{event_id}.json

tw.calendar.deleteEvent(event_id)

Get Event Types

GET /calendareventtypes.json

tw.calendar.getEventTypes()

Create an Event Type

POST /eventtypes.json

tw.calendar.createEventType(body)

Delete Event Type

DELETE /eventtypes/{event_type_id}.json

tw.calendar.deleteEventType(event_type_id)

Update Event type

PUT /eventtypes/{event_type_id}.json

tw.calendar.updateEventType(event_type_id, body)