GET /v1/calendar/events/{id}/attachments

Returns attachments of an event specified by event id, in one of conditions: The calendar of the event is public, OR the authenticated user is the owner of the calendar, OR the user belongs to the group of the calendar, OR the user is a participant of the event, OR the calendar has been shared with the user or with a group of the user.



Supported Format: JSON


  • Required (path parameters):

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

Parameter Description
offset The starting point when paging the result. Default is 0.
limit Maximum number of attachments returned. If omitted or exceeds the query limit parameter configured for the class, query limit is used instead.
fields Comma-separated list of selective attachment 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.

Request example:

GET: http://localhost:8080/rest/private/v1/calendar/events/Event123/attachments


   "limit": 10,
   "data": [
       "mimeType": "image/jpeg",
       "weight": 31249,
       "name": "test.jpg",
       "href": "...",
       "id": "..."
   "size": 1,
   "offset": 0

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