Skip to content

List all emoji reactions for a snippet comment

GET
/api/v4/projects/{id}/snippets/{snippet_id}/notes/{note_id}/award_emoji

Lists all emoji reactions for a specified comment on a snippet. This endpoint can be accessed without authentication if the comment is publicly accessible.

id
required
One of:
string

The ID or URL-encoded path of the project

Example
1
snippet_id
required
integer

The ID of a project snippet

note_id
required
page
integer
default: 1 nullable

Current page number

Example
1
per_page
integer
default: 20 nullable

Number of items per page

Example
20

OK

Media type application/json
object
id
integer format: int64
name
string
user
object
id
integer format: int64
username
string
public_email
string
name
string
state
string
locked
boolean
avatar_url
string
avatar_path
string
custom_attributes
Array<object>
object
key
string
value
string
web_url
string
created_at
string format: date-time
updated_at
string format: date-time
awardable_id
integer format: int64
awardable_type
string
url
string
Example
{
"id": 1,
"name": "lizard",
"user": {
"id": 1,
"username": "admin",
"public_email": "john@example.com",
"name": "Administrator",
"state": "active",
"avatar_url": "https://gravatar.com/avatar/1",
"avatar_path": "/user/avatar/28/The-Big-Lebowski-400-400.png",
"custom_attributes": [
{
"key": "foo",
"value": "bar"
}
],
"web_url": "https://gitlab.example.com/root"
},
"created_at": "2019-01-10T13:39:08Z",
"updated_at": "2020-06-28T10:52:04Z",
"awardable_id": 42,
"awardable_type": "Issue",
"url": "https://example.com/emojis/example.gif"
}

Bad Request

Not Found