Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
fe043398
Commit
fe043398
authored
Jul 27, 2016
by
Z.J. van de Weg
Committed by
Fatih Acet
Sep 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
API docs for award emoji on Snippets
[ci skip]
parent
7475f9d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
doc/api/award_emoji.md
doc/api/award_emoji.md
+10
-5
No files found.
doc/api/award_emoji.md
View file @
fe043398
# Award Emoji
# Award Emoji
> [Introduced][ce-4575] in GitLab 8.9.
> [Introduced][ce-4575] in GitLab 8.9, Snippet support in 8.11
An awarded emoji tells a thousand words, and can be awarded on issues, merge
An awarded emoji tells a thousand words, and can be awarded on issues, merge
requests
and notes/comments. Issues, merge requests
and notes are further called
requests
, snippets, and notes/comments. Issues, merge requests, snippets,
and notes are further called
`awardables`
.
`awardables`
.
## Issues
and merge reques
ts
## Issues
, merge requests, and snippe
ts
### List an awardable's award emoji
### List an awardable's award emoji
...
@@ -15,6 +16,7 @@ Gets a list of all award emoji
...
@@ -15,6 +16,7 @@ Gets a list of all award emoji
```
```
GET /projects/:id/issues/:issue_id/award_emoji
GET /projects/:id/issues/:issue_id/award_emoji
GET /projects/:id/merge_requests/:merge_request_id/award_emoji
GET /projects/:id/merge_requests/:merge_request_id/award_emoji
GET /projects/:id/snippets/:snippet_id/award_emoji
```
```
Parameters:
Parameters:
...
@@ -69,11 +71,12 @@ Example Response:
...
@@ -69,11 +71,12 @@ Example Response:
### Get single award emoji
### Get single award emoji
Gets a single award emoji from an issue or merge request.
Gets a single award emoji from an issue
, snippet,
or merge request.
```
```
GET /projects/:id/issues/:issue_id/award_emoji/:award_id
GET /projects/:id/issues/:issue_id/award_emoji/:award_id
GET /projects/:id/merge_requests/:merge_request_id/award_emoji/:award_id
GET /projects/:id/merge_requests/:merge_request_id/award_emoji/:award_id
GET /projects/:id/snippets/:snippets_id/award_emoji/:award_id
```
```
Parameters:
Parameters:
...
@@ -116,6 +119,7 @@ This end point creates an award emoji on the specified resource
...
@@ -116,6 +119,7 @@ This end point creates an award emoji on the specified resource
```
```
POST /projects/:id/issues/:issue_id/award_emoji
POST /projects/:id/issues/:issue_id/award_emoji
POST /projects/:id/merge_requests/:merge_request_id/award_emoji
POST /projects/:id/merge_requests/:merge_request_id/award_emoji
POST /projects/:id/snippets/:snippets_id/award_emoji
```
```
Parameters:
Parameters:
...
@@ -159,6 +163,7 @@ admins or the author of the award. Status code 200 on success, 401 if unauthoriz
...
@@ -159,6 +163,7 @@ admins or the author of the award. Status code 200 on success, 401 if unauthoriz
```
```
DELETE /projects/:id/issues/:issue_id/award_emoji/:award_id
DELETE /projects/:id/issues/:issue_id/award_emoji/:award_id
DELETE /projects/:id/merge_requests/:merge_request_id/award_emoji/:award_id
DELETE /projects/:id/merge_requests/:merge_request_id/award_emoji/:award_id
DELETE /projects/:id/snippets/:snippet_id/award_emoji/:award_id
```
```
Parameters:
Parameters:
...
@@ -197,7 +202,7 @@ Example Response:
...
@@ -197,7 +202,7 @@ Example Response:
## Award Emoji on Notes
## Award Emoji on Notes
The endpoints documented above are available for Notes as well. Notes
The endpoints documented above are available for Notes as well. Notes
are a sub-resource of Issues
and Merge Reques
ts. The examples below
are a sub-resource of Issues
, Merge Requests, or Snippe
ts. The examples below
describe working with Award Emoji on notes for an Issue, but can be
describe working with Award Emoji on notes for an Issue, but can be
easily adapted for notes on a Merge Request.
easily adapted for notes on a Merge Request.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment