Event

Description: The event represents a single event. (Note:recurring events are not yet supported but is on the board).

Fields#


id
unique id optionally assigned during createOrUpdateEvent.

calendar
the calendar that created this event using createOrUpdateCalendar

title

body
the size of the body will be limited soon. ( we don't aim to be a storage service ) . an appropriate usage might be a short text or link to where you actually want to store it.

startAt

endAt

linkedCalendars
This list of calendars which were either invited | accepted | declined | unInvited using any of the mutations below

acceptedCalendars
This list of calendars which accepted the invite using acceptInvite

declinedCalendars
This list of calendars which declined the invitation using declineInvite

invitedCalendars
This list of calendars which were invited to this event using inviteToEvent

attendeeHistory

state
(calendarId)
Returns the latest action taken by the specified calendar regarding this event. [ BELONGS_TO | ACCEPTED | DECLINED | INVITED ]

Associated Mutations#

Examples#

return all events from all calendars where the state of each is relevant to a specific calendar
query{
Event{
id
title
state(calendarId:$calendarId)
startAt{
formatted
}
endAt{
year
month
day
hour
minute
}
}
}