Skip to content
Snippets Groups Projects
Commit e153469f authored by Ábner Silva de Oliveira's avatar Ábner Silva de Oliveira
Browse files

changed doc comment for get labels of a project

parent 85b5812b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment