Is there a way to Like a page or blog entry from the JSON-RPC API?

Frank Kmiec November 21, 2012

I don't see it in the docs, but I've found several things that are inconsistent with the docs, for instance removing a blog entry can only be done with removePage, rather than the documented removeBlogEntry method.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 16, 2012

I think you need to do this using the REST API from the Like plugin. The Like plugin's REST API is accessible @ ${confluence.url}/rest/likes/1.0/content

For example, a POST to http://localhost:1990/confluence/rest/likes/1.0/content/123456/likes

Would add a new Like for the current user on the page that has an ID of 123456

You can use the REST API Browser included in the Atlassian Plugin SDK to browse the available functionality of the API.

TAGS
AUG Leaders

Atlassian Community Events