diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-12 03:08:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-12 03:08:51 +0300 |
commit | 98a00b024553a603e16380b93fc3f89a169bf438 (patch) | |
tree | 4a6dade546a6857bffc21df2126b113528d746d9 /doc/api | |
parent | c53e365d68ee800702befb15adfdfac708d5de6f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/graphql/reference/index.md | 1 | ||||
-rw-r--r-- | doc/api/namespaces.md | 12 |
2 files changed, 9 insertions, 4 deletions
diff --git a/doc/api/graphql/reference/index.md b/doc/api/graphql/reference/index.md index 767ceb154a7..22cb7531a87 100644 --- a/doc/api/graphql/reference/index.md +++ b/doc/api/graphql/reference/index.md @@ -16855,6 +16855,7 @@ The currently authenticated GitLab user. | <a id="currentusercreatedat"></a>`createdAt` | [`Time`](#time) | Timestamp of when the user was created. | | <a id="currentuserdiscord"></a>`discord` | [`String`](#string) | Discord ID of the user. | | <a id="currentuserduochatavailable"></a>`duoChatAvailable` **{warning-solid}** | [`Boolean!`](#boolean) | **Introduced** in 16.8. This feature is an Experiment. It can be changed or removed at any time. User access to AI chat feature. | +| <a id="currentuserduocodesuggestionsavailable"></a>`duoCodeSuggestionsAvailable` **{warning-solid}** | [`Boolean!`](#boolean) | **Introduced** in 16.8. This feature is an Experiment. It can be changed or removed at any time. User access to code suggestions feature. | | <a id="currentuseremail"></a>`email` **{warning-solid}** | [`String`](#string) | **Deprecated** in 13.7. This was renamed. Use: [`User.publicEmail`](#userpublicemail). | | <a id="currentuseremails"></a>`emails` | [`EmailConnection`](#emailconnection) | User's email addresses. (see [Connections](#connections)) | | <a id="currentusergitpodenabled"></a>`gitpodEnabled` | [`Boolean`](#boolean) | Whether Gitpod is enabled at the user level. | diff --git a/doc/api/namespaces.md b/doc/api/namespaces.md index 4e285cde975..6d5e15934e9 100644 --- a/doc/api/namespaces.md +++ b/doc/api/namespaces.md @@ -18,6 +18,8 @@ You might also want to view documentation for: ## List namespaces +> `top_level_only` [introduced](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/7600) in GitLab 16.8. + Get a list of the namespaces of the authenticated user. If the user is an administrator, a list of all namespaces in the GitLab instance is shown. @@ -25,12 +27,14 @@ administrator, a list of all namespaces in the GitLab instance is shown. GET /namespaces GET /namespaces?search=foobar GET /namespaces?owned_only=true +GET /namespaces?top_level_only=true ``` -| Attribute | Type | Required | Description | -| ------------ | ------- | -------- | ----------- | -| `search` | string | no | Returns a list of namespaces the user is authorized to view based on the search criteria | -| `owned_only` | boolean | no | In GitLab 14.2 and later, returns a list of owned namespaces only | +| Attribute | Type | Required | Description | +| ---------------- | ------- | -------- | ----------- | +| `search` | string | no | Returns a list of namespaces the user is authorized to view based on the search criteria | +| `owned_only` | boolean | no | In GitLab 14.2 and later, returns a list of owned namespaces only | +| `top_level_only` | boolean | no | In GitLab 16.8 and later, returns a list of top level namespaces only | Example request: |