GET /v1/calendar/invitations/{id}

Returns an invitation with specified id if one of conditions: The authenticated user is the participant of the invitation, OR the user has edit permission on the calendar of the event of the invitation.

URL:

http://{domain_name}/{rest_context_name}/private/v1/calendar/invitations/{id}

Supported Format: JSON

Parameters:

  • Required (path parameters):

Parameter Description
id Identity of the invitation.
  • Optional (query parameters):

Parameter Description
fields Comma-separated list of selective invitation attributes to be returned. All returned if not specified.
jsonp The name of a JavaScript function to be used as the JSONP callback. If not specified, only JSON object is returned.
expand Use expand=event to get more event attributes instead of only link.

Request example:

 GET: http://localhost:8080/rest/private/v1/calendar/invitations/evt123:root

Response:

 {
   "participant": "root",
   "event": "http://localhost:8080/rest/private/v1/calendar/events/Event9b014f9e7f00010166296f35cf2af06b",
   "status": "",
   "href": "http://localhost:8080/rest/private/v1/calendar/invitations/Event9b014f9e7f00010166296f35cf2af06b:root",
   "id": "Event9b014f9e7f00010166296f35cf2af06b:root"
 }

Copyright ©2018. All rights reserved. eXo Platform SAS
blog comments powered byDisqus