Community articleRetrieving community event comments
Added by IBM contributorIBM on March 14, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Get a list of comments, related with the given community event instance
Tags: commapi


Get a list of comments, related with the given community event instance.

This method returns the Atom document that contains a list of community event comments.

Request parameters

You can use one or more of the input parameters to limit the number of comments returned in the feed. Separate multiple parameters with an ampersand (&).

Note: This request will return a list of comments, related with the given community event instances, in their created date ascending order.

Input

None.

Output

An Atom feed document containing the community event comment atom entries.

Input
Method URI Description
GET /communities/calendar/atom/calendar/event/comment Value of href attribute of the <collection title="Event Comments"> element of each entry in the community event instances feed.
Name Type Optional Description
page
int Yes Page number. Specifies the page to be returned. The default value is 1, which returns the first page.
ps
int Yes Page size. Specifies the number of comments to return per page. The default value is 10. The maximum value you can specify is 100.
eventInstUuid
string No The uuid of event instance that you want to query about. This is a mandatory parameter.
Output
Content Type: application/atom+xml
Code Description
200
Indicates that the community event comments were successfully found and returned. If an error occurs, this header will contain one of the error codes below.
400
Bad Request.
401
Unauthorized.
403
Forbidden.
404
Not Found.