API
आमंत्रण का जवाब दें
आमंत्रण स्वीकार, अस्वीकार या अस्थायी रूप से स्वीकार करता है, और आयोजक को बताता है।
POST/calendar/events/{id}/respond
असली कॉल आपके वर्कस्पेस पर चलाता है।
POST /calendar/events/{id}/respond
आमंत्रण स्वीकार, अस्वीकार या अस्थायी रूप से स्वीकार करता है, और आयोजक को बताता है।
उदाहरण
calendar:write और emails:send चाहिए। response ACCEPTED, DECLINED या TENTATIVE है।
curl -X POST "$OE/calendar/events/cal_7b2e4d9a1c6f30e85d2a7b41/respond" -H "$AUTH" -H 'content-type: application/json' -d '{ "response": "ACCEPTED" }'{ "object": "calendar_event", "id": "cal_7b2e4d9a1c6f30e85d2a7b41", "summary": "Quarterly review", "organizer": { "email": "[email protected]", "name": "Lin" }, "isOrganizer": false, "attendees": [ { "object": "calendar_attendee", "email": "[email protected]", "name": null, "partstat": "ACCEPTED", "role": "REQ-PARTICIPANT", "rsvp": true, "cutype": null, "respondedAt": "2026-10-02T14:20:05.000Z" } ]}जवाब उस आमंत्रित पते से ईमेल पर जाता है जिससे कुंजी भेज सकती है। जब आमंत्रण आपके एक से ज़्यादा पतों पर आया हो, तो respondingAs उनमें से एक चुनता है, और जिस इवेंट ने इनमें से किसी को आमंत्रित नहीं किया वह 403 not_invited है।
रद्द मीटिंग 409 event_cancelled है, और जब आयोजक तक पहुँचा नहीं जा सकता तो कुछ नहीं बदलता और कॉल 409 reply_not_sent होती है।