documentation for api method which get labels of a project

This commit is contained in:
Ábner Silva de Oliveira 2014-03-23 19:20:17 -03:00
parent e153469f31
commit 19938156d8
1 changed files with 26 additions and 0 deletions

View File

@ -621,3 +621,29 @@ Parameters:
+ query (required) - A string contained in the project name
+ per_page (optional) - number of projects to return per page
+ page (optional) - the page to retrieve
## Labels
### List project labels
Get a list of project labels.
```
GET /projects/:id/labels
```
Parameters:
+ `id` (required) - The ID or NAMESPACE/PROJECT_NAME of a project
```json
[
{
"name":"featute"
},
{
"name": "bug"
}
]
```