Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×I went to get the number of likes on confluence page. How can get using REST api
Community moderators have prevented the ability to post new answers.
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.