Retrieving all wiki page comments
Added by IBM contributorRajmeet S Bal | Edited by Claudia R Elbourn on July 21, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

You can use the Wikis API with the GET method to retrieve list of all comments on all wiki pages.
Input
Method URI Description
GET wikis/form/api/wiki/{wiki-id}/page/{pagei-id}/feed {page-id} is the id of the wiki page for which comments need to be retrieved. {wiki-id} is the id of the wiki in which a page with {page-id} exists
Name Type Optional Description
wiki-id
string No id of the wiki which has that page for which comments need to be retrieved
page-id
string No id of the wiki page for which coments need to be retrieved
Name Type Optional Description
sO
string No sort order. possible values are asc and desc
ps
number No page size
Name Type Optional Description
Authorization
enumerated No The authentication mechanism selected by your application to access the API.
Basic is the Base64 encoding of the IBM Connections Cloud username and password: Base64(username:password). For example, Base64(twatson@us.ibm.com:password).
Bearer is the oauth 2.0 access token that is generated when the user grants your application access to IBM Connections Cloud services.
See the reference topic "OAuth 2.0 APIs for web server flow" for more information.
Authorized values:
  • bearer
  • basic
Output
Content Type: application/atom+xml
Code Description
200
OK. Indicates that the request was received successfully.
401
Unauthorized. Returned when no authenticated user or no userid, email, or key parameter are provided on the request.
404
The URL was not found.