You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I went to get the number of likes on confluence page. How can get using REST api
Hi,
use GET /rest/likes/1.0/content/{id}/likes, where id is the numerous pageId.
Hi,
I am trying below
https://cgchetan.atlassian.net/wiki/rest/api/space/TES/likes/content/196610
but its not working
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Suppose I want to get just the total count of likes for page is there api for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry to necro this thread, but: how on earth did you find this api? The solution you've given still works some five years later (2022) and yet it's neither documented by Atlassian nor incorporated into their supported REST API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also a bit necro...
Was googling for an answer on how to find likes and found this (thanks @Aleksandr Zuevich), but in answer to @Richard Cross the next method I use when I can't find answers or documentation is to open the web dev tools in my browser, select the network tab, reload the page, and then look to see if I can find the relevant request.
Then I hack it around, guessing at the URLs the developers of the api might have come up with, to try and work out what it can and can't do.
This won't always work - it depends how the website devs have built the pages.
I can also try more specific google searches once I have the URL (wrapping the URL in speech marks in google).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Leo,
Have you read about Authorization for Connect apps?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.