diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-27 09:09:01 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-27 09:09:01 +0000 |
commit | c72e5ebe9938d315ec598197873e71a80168d40a (patch) | |
tree | 439bf5c40aaf774e5a301825af517cb52726f450 /doc/api/group_labels.md | |
parent | ffc43b862df32a590eae874bcbb11109b46dc8be (diff) | |
download | gitlab-ce-c72e5ebe9938d315ec598197873e71a80168d40a.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/group_labels.md')
-rw-r--r-- | doc/api/group_labels.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/api/group_labels.md b/doc/api/group_labels.md index c9c084c6d11..37ab2fe48f1 100644 --- a/doc/api/group_labels.md +++ b/doc/api/group_labels.md @@ -11,7 +11,7 @@ The `description_html` - was added to response JSON in [GitLab 12.7](https://git Get all labels for a given group. -``` +```plaintext GET /groups/:id/labels ``` @@ -60,7 +60,7 @@ Example response: Get a single label for a given group. -``` +```plaintext GET /groups/:id/labels/:label_id ``` @@ -95,7 +95,7 @@ Example response: Create a new group label for a given group. -``` +```plaintext POST /groups/:id/labels ``` @@ -131,7 +131,7 @@ Example response: Updates an existing group label. At least one parameter is required, to update the group label. -``` +```plaintext PUT /groups/:id/labels/:label_id ``` @@ -170,7 +170,7 @@ NOTE: **Note:** An older endpoint `PUT /groups/:id/labels` with `name` in the pa Deletes a group label with a given name. -``` +```plaintext DELETE /groups/:id/labels/:label_id ``` @@ -190,7 +190,7 @@ NOTE: **Note:** An older endpoint `DELETE /groups/:id/labels` with `name` in the Subscribes the authenticated user to a group label to receive notifications. If the user is already subscribed to the label, the status code `304` is returned. -``` +```plaintext POST /groups/:id/labels/:label_id/subscribe ``` @@ -226,7 +226,7 @@ Unsubscribes the authenticated user from a group label to not receive notifications from it. If the user is not subscribed to the label, the status code `304` is returned. -``` +```plaintext POST /groups/:id/labels/:label_id/unsubscribe ``` |