Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

198 views 0 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you