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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
e153469f
Commit
e153469f
authored
Mar 23, 2014
by
Ábner Silva de Oliveira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed doc comment for get labels of a project
parent
85b5812b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
lib/api/projects.rb
lib/api/projects.rb
+4
-2
No files found.
lib/api/projects.rb
View file @
e153469f
...
...
@@ -216,10 +216,12 @@ module API
present
@users
,
with:
Entities
::
User
end
# Get a
labels list
# Get a
project labels
#
# Parameters:
# id (required) - The ID of a project
# Example Request:
#
GET /user
s
#
GET /projects/:id/label
s
get
':id/labels'
do
@labels
=
user_project
.
issues_labels
present
@labels
,
with:
Entities
::
Label
...
...
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