Adding a comment to a wiki page
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 POST method to add a comment to a wiki page.
Method URI Description
POST /wikis/{auth}/api/wiki/{wiki-id}/page/{page-id}/feed {page-id} is the id of the wiki page to which comment needs to be added.
{wiki-id} is the id of the wiki in which a page with {page-id} exists
Content Type: application/atom+xml
Sample Request:
<entry xmlns=""><category term="comment" scheme=",2006:td/type" label="comment"></category><content type="html">testcomment</content>
Name Type Optional Description
enumerated No The authorization protocol being used by your application to access Connections Cloud.
Authorized values:
  • basic
  • oauth
Name Type Optional Description
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(
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
Code Description
OK. Indicates that the request was received successfully.
Unauthorized. Returned when no authenticated user or no userid, email, or key parameter are provided on the request.
The URL could not be found.