Closed Arsnael closed 5 months ago
Based on #949 , add a JMAP method that will tell maybe to a calendar invitation and will reply back to the sender with the correct output patched ics file event.
Note: the reply will be a default hardcoded template for the time being.
This request:
{ "using": ["urn:ietf:params:jmap:core", "com:linagora:params:calendar:event"], "methodCalls": [ [ "CalendarEvent/maybe", { "accountId": "29883977c13473ae7cb7678ef767cbfbaffc8a44a6e463d971d23a65c1dc4af6", "blobIds": ["0f9f65ab-dc7b-4146-850f-6e4881093965"] }, "c1"] ] }
should answer:
[ "CalendarEvent/maybe", { "accountId": "29883977c13473ae7cb7678ef767cbfbaffc8a44a6e463d971d23a65c1dc4af6", "maybe": { "0f9f65ab-dc7b-4146-850f-6e4881093965": { } }, "notFound": [] }, "c1"] ]
DoD: JMAP Integration tests
pr https://github.com/linagora/tmail-backend/pull/962
Based on #949 , add a JMAP method that will tell maybe to a calendar invitation and will reply back to the sender with the correct output patched ics file event.
Note: the reply will be a default hardcoded template for the time being.
This request:
should answer:
DoD: JMAP Integration tests