summaryrefslogtreecommitdiff
path: root/doc/api/labels.md
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2017-02-20 19:34:24 +0100
committerRobert Schilling <rschilling@student.tugraz.at>2017-02-28 08:32:39 +0100
commitf2dd2604134ac62301db765ff0b14ff692e21bd6 (patch)
treecd08ac5661f529a2e1d25d2f4c258f90b6450c8d /doc/api/labels.md
parent86c58687b22f788ad7c821af55abece2f9d89d50 (diff)
downloadgitlab-ce-f2dd2604134ac62301db765ff0b14ff692e21bd6.tar.gz
Update documentation
Diffstat (limited to 'doc/api/labels.md')
-rw-r--r--doc/api/labels.md32
1 files changed, 0 insertions, 32 deletions
diff --git a/doc/api/labels.md b/doc/api/labels.md
index 8e0855fe9e2..85bd9647a7b 100644
--- a/doc/api/labels.md
+++ b/doc/api/labels.md
@@ -131,22 +131,6 @@ DELETE /projects/:id/labels
curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/labels?name=bug"
```
-Example response:
-
-```json
-{
- "id" : 1,
- "name" : "bug",
- "color" : "#d9534f",
- "description": "Bug reported by user",
- "open_issues_count": 1,
- "closed_issues_count": 0,
- "open_merge_requests_count": 1,
- "subscribed": false,
- "priority": null
-}
-```
-
## Edit an existing label
Updates an existing label with new name or new color. At least one parameter
@@ -239,19 +223,3 @@ POST /projects/:id/labels/:label_id/unsubscribe
```bash
curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/projects/5/labels/1/unsubscribe
```
-
-Example response:
-
-```json
-{
- "id" : 1,
- "name" : "bug",
- "color" : "#d9534f",
- "description": "Bug reported by user",
- "open_issues_count": 1,
- "closed_issues_count": 0,
- "open_merge_requests_count": 1,
- "subscribed": false,
- "priority": null
-}
-```