award_emoji

Add an emoji reaction to an issue

Adds an emoji reaction to an issue.

post/api/v4/projects/{id}/issues/{issue_iid}/award_emoji

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idinteger required
issue_iidinteger required

Request body

namestring required

Name of the emoji without colons.

Response

Add an emoji reaction to an issue

idinteger required
namestring required
created_atstring date-time required
updated_atstring date-time required
awardable_idinteger required
awardable_typestring required
urlstring required

Example response

{
  "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"
}

Changes

No recorded changes to this operation across all 5 revisions of this API.