You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that #1326 is implemented (hopefully), and we have an internal API that manages event attendance status, we need a JMAP API that acts as a wrapper around that API.
How?
We would add one JMAP method for managing local user's event attendance status:
CalendarEventAttendance/get
We do not need to introduce a new capability and can use the exiting com:linagora:params:calendar:event capability to advertise that the server supports calling these new method.
CalendarEvent/accept, CalendarEvent/reject, and CalendarEvent/maybe would act as the setter for the event attendance status.
Below is the proposed API format:
We introduce the CalendarEventAttendance object:
id: Id. Must correspond to an id of an Email object.
evantAttendanceStatus: String. Represent the attendance status of the connected user to the event embedded as an attachment of the current email. Possible values:
Accepted
Declined
Tentative
NeedsAction
CalendarEventAttendance/get is a standard /get method.
It would return an error when called on an email that do not have an ICS attachment with method REQUEST (invalidArguments).
As we decided earlier, we only need to implement the getter for event attendance, we use the existing APIs CalendarEvent/accept, CalendarEvent/reject, and CalendarEvent/maybe as the setter.
Why?
Now that #1326 is implemented (hopefully), and we have an internal API that manages event attendance status, we need a JMAP API that acts as a wrapper around that API.
How?
We would add one JMAP method for managing local user's event attendance status:
We do not need to introduce a new capability and can use the exiting
com:linagora:params:calendar:event
capability to advertise that the server supports calling these new method.CalendarEvent/accept
,CalendarEvent/reject
, andCalendarEvent/maybe
would act as the setter for the event attendance status.Below is the proposed API format:
We introduce the
CalendarEventAttendance
object:id
: Id. Must correspond to an id of an Email object.evantAttendanceStatus
:String
. Represent the attendance status of the connected user to the event embedded as an attachment of the current email. Possible values:CalendarEventAttendance/get
is a standard/get
method.It would return an error when called on an email that do not have an ICS attachment with method
REQUEST
(invalidArguments).Examples:
DoD
The text was updated successfully, but these errors were encountered: