Use this API to manage emoji reactions.
GitLab objects that accept emoji reactions are called awardables. You can react with emoji on the following resources:
List all emoji reactions for an issue
GET /api/v4/projects/{id}/issues/{issue_iid}/award_emoji
Lists all emoji reactions for a specified issue. This endpoint can be accessed without authentication if the issue is publicly accessible.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
issue_Path, | Integer | ID (iid for merge requests/id for snippets) of an awardable |
pageQuery | Integer | Current page number Default: 1Example: 1 |
per_Query | Integer | Number of items per page Default: 20Example: 20 |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Add an emoji reaction to an issue
POST /api/v4/projects/{id}/issues/{issue_iid}/award_emoji
Adds an emoji reaction to an issue.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
issue_Path, | Integer | The internal ID of an issuable |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
nameRequired | String | Name of the emoji without colons |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Retrieve an emoji reaction from an issue
GET /api/v4/projects/{id}/issues/{issue_iid}/award_emoji/{award_id}
Retrieves a specified emoji reaction from an issue. This endpoint can be accessed without authentication if the issue is publicly accessible.
Parameters
| Name | Type | Description |
|---|---|---|
award_Path, | Integer | ID of the emoji reaction |
idPath, | String or integer | The ID or URL- Example: 11 |
issue_Path, | Integer | The internal ID of an issuable |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Delete an emoji reaction from an issue
DELETE /api/v4/projects/{id}/issues/{issue_iid}/award_emoji/{award_id}
Deletes a specified emoji reaction from an issue. Only an administrator or the user who added the reaction can delete it.
Parameters
| Name | Type | Description |
|---|---|---|
award_Path, | Integer | ID of an emoji reaction |
idPath, | String or integer | The ID or URL- Example: 11 |
issue_Path, | Integer | The internal ID of an issuable |
Responses
| Code | Description | Schema |
|---|---|---|
204 | No Content | — |
400 | Bad Request | — |
401 | Unauthorized | — |
404 | Not Found | — |
List all emoji reactions for an issue comment
GET /api/v4/projects/{id}/issues/{issue_iid}/notes/{note_id}/award_emoji
Lists all emoji reactions for a specified comment on an issue. This endpoint can be accessed without authentication if the comment is publicly accessible.
Parameters
| Name | Type | Description |
|---|---|---|
note_Path, | Integer | The ID of a note |
pageQuery | Integer | Current page number Default: 1Example: 1 |
per_Query | Integer | Number of items per page Default: 20Example: 20 |
idPath, | String or integer | The ID or URL- Example: 11 |
issue_Path, | Integer | The internal ID of an issuable |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Add an emoji reaction to an issue comment
POST /api/v4/projects/{id}/issues/{issue_iid}/notes/{note_id}/award_emoji
Adds an emoji reaction to a comment on an issue.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
issue_Path, | Integer | The internal ID of an issuable |
note_Path, | Integer | The ID of a note |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
nameRequired | String | Name of the emoji without colons |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Retrieve an emoji reaction from an issue comment
GET /api/v4/projects/{id}/issues/{issue_iid}/notes/{note_id}/award_emoji/{award_id}
Retrieves a specified emoji reaction from a comment on an issue. This endpoint can be accessed without authentication if the comment is publicly accessible.
Parameters
| Name | Type | Description |
|---|---|---|
award_Path, | Integer | ID of the emoji reaction |
idPath, | String or integer | The ID or URL- Example: 11 |
issue_Path, | Integer | The internal ID of an issuable |
note_Path, | Integer | The ID of a note |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Delete an emoji reaction from an issue comment
DELETE /api/v4/projects/{id}/issues/{issue_iid}/notes/{note_id}/award_emoji/{award_id}
Deletes a specified emoji reaction from a comment on an issue. Only an administrator or the user who added the reaction can delete it.
Parameters
| Name | Type | Description |
|---|---|---|
award_Path, | Integer | ID of an emoji reaction |
idPath, | String or integer | The ID or URL- Example: 11 |
issue_Path, | Integer | The internal ID of an issuable |
note_Path, | Integer | The ID of a note |
Responses
| Code | Description | Schema |
|---|---|---|
204 | No Content | — |
400 | Bad Request | — |
401 | Unauthorized | — |
404 | Not Found | — |
List all emoji reactions for a merge request
GET /api/v4/projects/{id}/merge_requests/{merge_request_iid}/award_emoji
Lists all emoji reactions for a specified merge request. This endpoint can be accessed without authentication if the merge request is publicly accessible.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
merge_Path, | Integer | ID (iid for merge requests/id for snippets) of an awardable |
pageQuery | Integer | Current page number Default: 1Example: 1 |
per_Query | Integer | Number of items per page Default: 20Example: 20 |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Add an emoji reaction to a merge request
POST /api/v4/projects/{id}/merge_requests/{merge_request_iid}/award_emoji
Adds an emoji reaction to a merge request.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
merge_Path, | Integer | The internal ID of an issuable |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
nameRequired | String | Name of the emoji without colons |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Retrieve an emoji reaction from a merge request
GET /api/v4/projects/{id}/merge_requests/{merge_request_iid}/award_emoji/{award_id}
Retrieves a specified emoji reaction from a merge request. This endpoint can be accessed without authentication if the merge request is publicly accessible.
Parameters
| Name | Type | Description |
|---|---|---|
award_Path, | Integer | ID of the emoji reaction |
idPath, | String or integer | The ID or URL- Example: 11 |
merge_Path, | Integer | The internal ID of an issuable |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Delete an emoji reaction from a merge request
DELETE /api/v4/projects/{id}/merge_requests/{merge_request_iid}/award_emoji/{award_id}
Deletes a specified emoji reaction from a merge request. Only an administrator or the user who added the reaction can delete it.
Parameters
| Name | Type | Description |
|---|---|---|
award_Path, | Integer | ID of an emoji reaction |
idPath, | String or integer | The ID or URL- Example: 11 |
merge_Path, | Integer | The internal ID of an issuable |
Responses
| Code | Description | Schema |
|---|---|---|
204 | No Content | — |
400 | Bad Request | — |
401 | Unauthorized | — |
404 | Not Found | — |
List all emoji reactions for a merge request comment
GET /api/v4/projects/{id}/merge_requests/{merge_request_iid}/notes/{note_id}/award_emoji
Lists all emoji reactions for a specified comment on a merge request. This endpoint can be accessed without authentication if the comment is publicly accessible.
Parameters
| Name | Type | Description |
|---|---|---|
note_Path, | Integer | The ID of a note |
pageQuery | Integer | Current page number Default: 1Example: 1 |
per_Query | Integer | Number of items per page Default: 20Example: 20 |
idPath, | String or integer | The ID or URL- Example: 11 |
merge_Path, | Integer | The internal ID of an issuable |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Add an emoji reaction to a merge request comment
POST /api/v4/projects/{id}/merge_requests/{merge_request_iid}/notes/{note_id}/award_emoji
Adds an emoji reaction to a comment on a merge request.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
merge_Path, | Integer | The internal ID of an issuable |
note_Path, | Integer | The ID of a note |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
nameRequired | String | Name of the emoji without colons |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Retrieve an emoji reaction from a merge request comment
GET /api/v4/projects/{id}/merge_requests/{merge_request_iid}/notes/{note_id}/award_emoji/{award_id}
Retrieves a specified emoji reaction from a comment on a merge request. This endpoint can be accessed without authentication if the comment is publicly accessible.
Parameters
| Name | Type | Description |
|---|---|---|
award_Path, | Integer | ID of the emoji reaction |
idPath, | String or integer | The ID or URL- Example: 11 |
merge_Path, | Integer | The internal ID of an issuable |
note_Path, | Integer | The ID of a note |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Delete an emoji reaction from a merge request comment
DELETE /api/v4/projects/{id}/merge_requests/{merge_request_iid}/notes/{note_id}/award_emoji/{award_id}
Deletes a specified emoji reaction from a comment on a merge request. Only an administrator or the user who added the reaction can delete it.
Parameters
| Name | Type | Description |
|---|---|---|
award_Path, | Integer | ID of an emoji reaction |
idPath, | String or integer | The ID or URL- Example: 11 |
merge_Path, | Integer | The internal ID of an issuable |
note_Path, | Integer | The ID of a note |
Responses
| Code | Description | Schema |
|---|---|---|
204 | No Content | — |
400 | Bad Request | — |
401 | Unauthorized | — |
404 | Not Found | — |
List all emoji reactions for a snippet
GET /api/v4/projects/{id}/snippets/{snippet_id}/award_emoji
Lists all emoji reactions for a specified snippet. This endpoint can be accessed without authentication if the snippet is publicly accessible.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
snippet_Path, | Integer | ID (iid for merge requests/id for snippets) of an awardable |
pageQuery | Integer | Current page number Default: 1Example: 1 |
per_Query | Integer | Number of items per page Default: 20Example: 20 |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Add an emoji reaction to a snippet
POST /api/v4/projects/{id}/snippets/{snippet_id}/award_emoji
Adds an emoji reaction to a snippet.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
snippet_Path, | Integer | The ID of a project snippet |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
nameRequired | String | Name of the emoji without colons |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Retrieve an emoji reaction from a snippet
GET /api/v4/projects/{id}/snippets/{snippet_id}/award_emoji/{award_id}
Retrieves a specified emoji reaction from a snippet. This endpoint can be accessed without authentication if the snippet is publicly accessible.
Parameters
| Name | Type | Description |
|---|---|---|
award_Path, | Integer | ID of the emoji reaction |
idPath, | String or integer | The ID or URL- Example: 11 |
snippet_Path, | Integer | The ID of a project snippet |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Delete an emoji reaction from a snippet
DELETE /api/v4/projects/{id}/snippets/{snippet_id}/award_emoji/{award_id}
Deletes a specified emoji reaction from a snippet. Only an administrator or the user who added the reaction can delete it.
Parameters
| Name | Type | Description |
|---|---|---|
award_Path, | Integer | ID of an emoji reaction |
idPath, | String or integer | The ID or URL- Example: 11 |
snippet_Path, | Integer | The ID of a project snippet |
Responses
| Code | Description | Schema |
|---|---|---|
204 | No Content | — |
400 | Bad Request | — |
401 | Unauthorized | — |
404 | Not Found | — |
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.
Parameters
| Name | Type | Description |
|---|---|---|
note_Path, | Integer | The ID of a note |
pageQuery | Integer | Current page number Default: 1Example: 1 |
per_Query | Integer | Number of items per page Default: 20Example: 20 |
idPath, | String or integer | The ID or URL- Example: 11 |
snippet_Path, | Integer | The ID of a project snippet |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Add an emoji reaction to a snippet comment
POST /api/v4/projects/{id}/snippets/{snippet_id}/notes/{note_id}/award_emoji
Adds an emoji reaction to a comment on a snippet.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- Example: 11 |
snippet_Path, | Integer | The ID of a project snippet |
note_Path, | Integer | The ID of a note |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
nameRequired | String | Name of the emoji without colons |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Retrieve an emoji reaction from a snippet comment
GET /api/v4/projects/{id}/snippets/{snippet_id}/notes/{note_id}/award_emoji/{award_id}
Retrieves a specified emoji reaction from a comment on a snippet. This endpoint can be accessed without authentication if the comment is publicly accessible.
Parameters
| Name | Type | Description |
|---|---|---|
award_Path, | Integer | ID of the emoji reaction |
idPath, | String or integer | The ID or URL- Example: 11 |
snippet_Path, | Integer | The ID of a project snippet |
note_Path, | Integer | The ID of a note |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Delete an emoji reaction from a snippet comment
DELETE /api/v4/projects/{id}/snippets/{snippet_id}/notes/{note_id}/award_emoji/{award_id}
Deletes a specified emoji reaction from a comment on a snippet. Only an administrator or the user who added the reaction can delete it.
Parameters
| Name | Type | Description |
|---|---|---|
award_Path, | Integer | ID of an emoji reaction |
idPath, | String or integer | The ID or URL- Example: 11 |
snippet_Path, | Integer | The ID of a project snippet |
note_Path, | Integer | The ID of a note |
Responses
| Code | Description | Schema |
|---|---|---|
204 | No Content | — |
400 | Bad Request | — |
401 | Unauthorized | — |
404 | Not Found | — |
Schemas
Objects returned by the operations above and objects nested in their request bodies.
APIEntitiesAwardEmoji
| Property | Type | Description |
|---|---|---|
awardable_ | Integer (int64) | Example:42 |
awardable_ | String | Example:Issue |
created_ | String (date- | Example:2019- |
id | Integer (int64) | Example:1 |
name | String | Example:lizard |
updated_ | String (date- | Example:2020- |
url | String | Example:https: |
user | APIEntities | — |
APIEntitiesCustomAttribute
| Property | Type | Description |
|---|---|---|
key | String | Example:foo |
value | String | Example:bar |
APIEntitiesUserBasic
| Property | Type | Description |
|---|---|---|
avatar_ | String | Example:/ |
avatar_ | String | Example:https: |
custom_ | Array of APIEntities | — |
id | Integer (int64) | Example:1 |
locked | Boolean | — |
name | String | Example:Administrator |
public_ | String | Example:john@example. |
state | String | Example:active |
username | String | Example:admin |
web_ | String | Example:https: |