Community articleLiking a wiki page
Added by IBM contributorRajmeet S Bal on January 8, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Like a wiki page programmatically
Input
Method URI Description
POST /wikis/{auth-type}/api/wiki/{wiki-id}/page/{page-id}/feed
Content Type: application/atom+xml
Sample Request:
<entry xmlns="http://www.w3.org/2005/Atom"><category term="recommendation" label="recommendation" scheme="tag:ibm.com,2006:td/type"></category></entry>
Name Type Optional Description
auth-type
string No auth-type is basic or oauth
wiki-id
string No wiki's id or label
page-id
string No wiki page's id or label
Output
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 could not be found.