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

I went to get the number of likes on page. How can get using REST api

I went to get the number of likes on confluence page. How can get using REST api

2 answers

1 accepted

1 vote
Answer accepted

Hi, 

use GET /rest/likes/1.0/content/{id}/likes, where id is the numerous pageId.

Thank you it works..

Suppose I want to get just the total count of likes for page is there api for this. 

Hello everybody and @Aleksandr Zuevich ,

 

Any idea how to like a page on user's behalf?

 

When I use the API above with my API token it works, when I try to do it using the Connect App - no auth error :(

 

Thanks,

Leo

Hi Leo,

Have you read about Authorization for Connect apps?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

3,140 views 4 6
Join discussion

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