Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get likes and comments for a Page using Rest API?

Venkat P May 18, 2020

I would like to get a list of users who liked a specific confluence wiki page. Would also like to retrieve any comments made on that page. How do I do that using the REST API?

1 answer

0 votes
Jarrod
Contributor
December 3, 2020

Hey Venkat_P,

I'm sure you figured this out by now, but here's what I found:

This is for a whole space:

https://[yourinstance]/rest/api/space/[spacekey]/content/page?limit=100&start=1&expand=children.comment

This is for a page:

https://[yourinstance]/rest/api/content/[pageId]?expand=body.storage,body.view,body.export_view,children.comment

You can find all Atlassians Confluence code docs here:

https://docs.atlassian.com/ConfluenceServer/rest/7.9.1/#api/content/{id}/child-commentsOfContent

 

I'm looking for how to retrieve the likes, can't seem to find anything.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events