-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: Collaboration - Emojis and reactions
-
None
-
Severity 3 - Minor
-
1
Issue Summary
The Confluence Cloud REST API endpoints for likes (/wiki/api/v2/pages/{id}/likes/count, /likes/users, and blog post equivalents) return count: 0 / empty results even when a 👍 reaction is clearly visible on the page/blog post in the UI. (Affected API).
GET /wiki/api/v2/pages/{id}/likes/count
GET /wiki/api/v2/pages/{id}/likes/users
GET /wiki/api/v2/blogposts/{id}/likes/count
GET /wiki/api/v2/blogposts/{id}/likes/users
GET /wiki/rest/api/search?cql=type=blogpost%20and%20id={blogId}&expand=content.metadata.likes
Note: These API were returning the results as expected, but it is broken now.
Steps to Reproduce
- Create a Confluence page or blogpost; add a like or thumbs up to it.
- Use the above REST endpoint to get the list of counts for likes or users likes the page.
https://abc.atlassian.net/wiki/api/v2/pages/72384529/likes/count { "count": 0 }
Expected Results
API should return the accurate results not the 0.
Actual Results
REST API returning the empty/0 results.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available.