diff options
author | Ábner Silva de Oliveira <abner.silva@gmail.com> | 2014-03-23 19:20:17 -0300 |
---|---|---|
committer | Ábner Silva de Oliveira <abner.silva@gmail.com> | 2014-03-23 19:20:17 -0300 |
commit | 19938156d89ea980596fd5b1d72856f3defb228a (patch) | |
tree | 480c3510b47786b65b9ea477df5a47641b49b8de /doc | |
parent | e153469f31db106d0720e357a5e22431635f2b9e (diff) | |
download | gitlab-ce-19938156d89ea980596fd5b1d72856f3defb228a.tar.gz |
documentation for api method which get labels of a project
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/projects.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md index 6e82ddd9903..54618d7c045 100644 --- a/doc/api/projects.md +++ b/doc/api/projects.md @@ -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" + } +] +``` |