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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Where to find a list of emoticon names for reacting to PR comments via REST API?

Edited

I'm trying to use the REST API to react to PR comments in Bitbucket, following this documentation.

After some trial and error I've found that it's looking for a certain name for each emoticon. I can react via the web GUI then do a `GET` request on that comment and the emoticon and name shows up in the properties of the REST response. So "heart" adds a heart, "smile" adds a smile. But it's not always straight-forward--for instance, since "smile" works I'd think "laugh" would too, but instead it's "laughing".

All that to say, is there somewhere I can find a full list of every emoticon and the appropriate name to use? Otherwise I have to basically go through all the options and react on the GUI, do a `GET` request, etc. for every available emoticon.

I've found the `com.atlassian.bitbucket.emoticons` class where it says the EmoticonService.getEmoticons() method:

Provides a fully populated map of all available emoticons.

But I'm not sure how to actually invoke that method.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events