summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorÁbner Silva de Oliveira <abner.silva@gmail.com>2014-03-23 19:07:18 -0300
committerÁbner Silva de Oliveira <abner.silva@gmail.com>2014-03-23 19:07:18 -0300
commite153469f31db106d0720e357a5e22431635f2b9e (patch)
tree7d3830828419db2669b44e2d93452e59689f4699 /lib
parent85b5812bc21623c6a11ed92f482ac8282ec12fc1 (diff)
downloadgitlab-ce-e153469f31db106d0720e357a5e22431635f2b9e.tar.gz
changed doc comment for get labels of a project
Diffstat (limited to 'lib')
-rw-r--r--lib/api/projects.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb
index 40b5ce86c93..9d290c75ba9 100644
--- a/lib/api/projects.rb
+++ b/lib/api/projects.rb
@@ -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 /users
+ # GET /projects/:id/labels
get ':id/labels' do
@labels = user_project.issues_labels
present @labels, with: Entities::Label