GET /v1/calendar/feeds/{id}

Gets a feed with the given id. The user must be the owner of the feed.

URL:

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

Supported Format: JSON

Parameters:

  • Required (path parameters):

Parameter Description
id The title of the feed.
  • Optional (query parameters):

Parameter Description
fields Comma-separated list of selective feed attributes to be returned. All returned if not specified.
expand Used to ask for more attributes of a sub-resource, instead of its link only. This is a comma-separated list of attribute names. For example: expand=calendar,categories. In case of collections, you can specify offset (default: 0), limit (default: querylimit ). For example, expand=categories(1,5). Instead of: { "id": "...", "calendar": "http://localhost:8080/rest/private/v1/calendar/calendars/demo-defaultCalendarId" ... } It returns: { "id": "...", "calendar": { "id": "...", "name":"demo-defaultId", ... } ... }
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/feeds/feed123?fields=id,name

Response:

 {
   "calendars": [
     "http://localhost:8080/rest/private/v1/calendar/calendars/john-defaultCalendarId"
   ],
   "calendarIds": [
     "john-defaultCalendarId"
   ],
   "rss": "/v1/calendar/feeds/Calendar_Feed/rss",
   "name": "Calendar_Feed",
   "href": "http://localhost:8080/rest/private/v1/calendar/feeds/Calendar_Feed",
   "id": "Calendar_Feed"
 }

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