diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-26 18:06:29 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-26 18:06:29 +0000 |
commit | e66d6781ef36e39d15b1b9bc84cc30e87969edad (patch) | |
tree | 0165ff173dee501a55115d605dd8fa8a09f8d313 /doc/api | |
parent | 4e9f718e190a944c39fda2a178eb8b901e7e6ec7 (diff) | |
download | gitlab-ce-e66d6781ef36e39d15b1b9bc84cc30e87969edad.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/group_labels.md | 1 | ||||
-rw-r--r-- | doc/api/labels.md | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/group_labels.md b/doc/api/group_labels.md index 5030bba3159..9563f967a2a 100644 --- a/doc/api/group_labels.md +++ b/doc/api/group_labels.md @@ -16,6 +16,7 @@ GET /groups/:id/labels | --------- | ---- | -------- | ----------- | | `id` | integer/string | yes | The ID or [URL-encoded path of the group](README.md#namespaced-path-encoding) owned by the authenticated user. | | `with_counts` | boolean | no | Whether or not to include issue and merge request counts. Defaults to `false`. _([Introduced in GitLab 12.2](https://gitlab.com/gitlab-org/gitlab-foss/merge_requests/31543))_ | +| `include_ancestor_groups` | boolean | no | Include ancestor groups. Defaults to `true`. | ```bash curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/groups/5/labels?with_counts=true diff --git a/doc/api/labels.md b/doc/api/labels.md index 93833fd81cb..f29c0a28cdf 100644 --- a/doc/api/labels.md +++ b/doc/api/labels.md @@ -12,6 +12,7 @@ GET /projects/:id/labels | --------- | ------- | -------- | --------------------- | | `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user | | `with_counts` | boolean | no | Whether or not to include issue and merge request counts. Defaults to `false`. _([Introduced in GitLab 12.2](https://gitlab.com/gitlab-org/gitlab-foss/merge_requests/31543))_ | +| `include_ancestor_groups` | boolean | no | Include ancestor groups. Defaults to `true`. | ```bash curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/projects/1/labels?with_counts=true |