#############################################################################################
# This documentation is auto-generated by a script.                                         #
# Please do not edit this file directly.                                                    #
#                                                                                           #
# To edit the introductory text, modify `lib/tasks/gitlab/openapi/v3_document.rb`.          #
#                                                                                           #
# To edit a tag description, modify `tooling/docs/api/tags/<tag>.md`.                       #
#                                                                                           #
# Run `bin/rake gitlab:openapi:v3:generate`                                                 #
#############################################################################################

---
openapi: 3.0.0
info:
  title: GitLab REST API
  description: GitLab REST API used to interact with a GitLab installation.
  termsOfService: https://handbook.gitlab.com/handbook/legal/api-terms/
  version: '19.7'
  license:
    name: CC BY-SA 4.0
    url: https://gitlab.com/gitlab-org/gitlab/-/blob/master/LICENSE
    x-gitlab-description: The license applies to the OpenAPI specification document
      itself. For terms governing use of the GitLab API, see the termsOfService field.
tags:
- name: AI Catalog
  description: |-
    Use this API to seed the external agents that an instance offers in the
    [AI Catalog](https://docs.gitlab.com/user/duo_agent_platform/ai_catalog/).

    This endpoint requires administrator access to the instance.
  x-displayName: AI Catalog
  externalDocs:
    url: https://docs.gitlab.com/user/duo_agent_platform/ai_catalog/
- name: Access requests
  description: Use this API to interact with access requests for groups and projects.
  x-displayName: Access requests
  externalDocs:
    url: https://docs.gitlab.com/api/access_requests/
- name: Access tokens
  description: |-
    Use this API to interact with access tokens including:

    - [Personal access tokens](https://docs.gitlab.com/user/profile/personal_access_tokens/).
    - [Group access tokens](https://docs.gitlab.com/user/group/settings/group_access_tokens/).
    - [Project access tokens](https://docs.gitlab.com/user/project/settings/project_access_tokens/).
    - [Impersonation tokens](https://docs.gitlab.com/api/rest/authentication/#impersonation-tokens).

    To self-rotate a group or project access token, authenticate with that token and use the `self`
    keyword in the request URL, for example `POST /projects/:id/access_tokens/self/rotate`. The token
    must have the `api` or `self_rotate` scope.

    When you rotate a token, GitLab links the new token to the previous one. These connected tokens form
    a token family. If a rotation request authenticates with a token that was already revoked, all active
    tokens in the same token family are revoked.
  x-displayName: Access tokens
  externalDocs:
    url: https://docs.gitlab.com/api/personal_access_tokens/
- name: Active context
  description: |-
    Use this API to administer the ActiveContext indexing infrastructure, including its connections,
    collection options, the namespaces enabled for code indexing, and the dead queue.

    These endpoints require administrator access to the instance.
  x-displayName: Active context
- name: Advanced search rollout
  description: |-
    Use this API to control what percentage of namespaces are indexed for
    [advanced search](https://docs.gitlab.com/integration/advanced_search/elasticsearch/), rolling
    indexing forward or back.
  x-displayName: Advanced search rollout
- name: Agents
  description: Use this API to retrieve the [GitLab agents for Kubernetes](https://docs.gitlab.com/user/clusters/agent/)
    that a CI/CD job is authorized to access.
  x-displayName: Agents
  externalDocs:
    url: https://docs.gitlab.com/api/jobs/
- name: Ai agent audit events
  description: Operations related to ai agent audit events.
- name: Ai agent identities
  description: |-
    Use this API to register an external agent identity for a project, so that agent
    sessions can be attributed to a user and a machine. Registration returns the existing record if one
    already exists, or is rejected if the identity has been revoked.

    External agents are published through the
    [AI Catalog](https://docs.gitlab.com/user/duo_agent_platform/ai_catalog/), and act with a
    [composite identity](https://docs.gitlab.com/user/duo_agent_platform/composite_identity/) that
    combines a service account with the human user who initiated the request.
  x-displayName: AI agent identities
  externalDocs:
    url: https://docs.gitlab.com/user/duo_agent_platform/composite_identity/
- name: Ai agent sessions
  description: Operations related to ai agent sessions.
- name: Alert management
  description: |-
    Use this API to interact with metric images for [alerts](https://docs.gitlab.com/operations/incident_management/alerts/).

    Additional endpoints are available with the [GraphQL API](https://docs.gitlab.com/api/graphql/reference/objects/#alertmanagementalert).
  x-displayName: Alert management
  externalDocs:
    url: https://docs.gitlab.com/api/alert_management_alerts/
- name: Analytics
  description: |-
    Use this API to retrieve analytics about a group's activity, a project's deployment frequency, and
    product analytics data. For more information about the group metrics, see
    [group activity analytics](https://docs.gitlab.com/user/group/manage/#group-activity-analytics).
  x-displayName: Analytics
  externalDocs:
    url: https://docs.gitlab.com/api/group_activity_analytics/
- name: Applications
  description: |-
    Use this API to manage instance-wide OAuth applications that:

    - [Use GitLab as an authentication provider](https://docs.gitlab.com/integration/oauth_provider/).
    - [Allow access to GitLab resources on a user's behalf](https://docs.gitlab.com/api/oauth2/).

    > [!note]
    > You cannot use this API to manage group applications or individual user applications.

    The `/applications` endpoints require administrator access to the instance.
  x-displayName: Applications
  externalDocs:
    url: https://docs.gitlab.com/api/applications/
- name: Approval rules
  description: |-
    Use this API to manage the [merge request approval rules](https://docs.gitlab.com/user/project/merge_requests/approvals/rules/)
    defined for a project or a group, where the rules of a group apply to the projects it contains.

    All endpoints require authentication. To manage the approval rules of an individual merge request,
    use the [merge request approvals API](https://docs.gitlab.com/api/merge_request_approvals/).

    Group approval rules apply to all protected branches of projects in the group. The group approval
    rules endpoints are behind a feature flag named `approval_group_rules`, disabled by default.
  x-displayName: Approval rules
  externalDocs:
    url: https://docs.gitlab.com/api/merge_request_approvals/
- name: Attestations
  description: |-
    Use this API to retrieve and download [provenance attestations](https://docs.gitlab.com/ci/pipeline_security/slsa/level_3/provenance_v1/) for a project.

    Some endpoints return [Sigstore bundles](https://docs.sigstore.dev/about/bundle/) in the response.
    For attestations that use the `SIGSTORE` attestation method, you can verify these bundles with the
    GitLab CLI (`glab`) or `cosign`.

    > [!note]
    > The availability of these endpoints is controlled by a feature flag. They are available for
    > testing, but not ready for production use.
  x-displayName: Attestations
  externalDocs:
    url: https://docs.gitlab.com/api/attestations/
- name: Audit events
  description: |-
    Use this API to list and retrieve the
    [audit events](https://docs.gitlab.com/user/compliance/audit_events/) recorded for an instance or a group.

    > [!warning]
    > Offset-based pagination for the audit event list endpoints was
    > [deprecated](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/186194) in GitLab 17.8 and is
    > planned for removal in GitLab 20.0. Use keyset-based pagination instead. This change is a breaking change.

    Instance audit event endpoints require administrator access. Group audit event endpoints return the
    audit events of all users to users with the Owner role, and only the events of their own actions to
    users with the Developer or Maintainer role.

    Requests to these endpoints are subject to configurable rate limits: per user for instance audit
    events, and per user and group for group audit events.
  x-displayName: Audit events
  externalDocs:
    url: https://docs.gitlab.com/api/audit_events/
- name: Authn
  description: Operations related to authn.
- name: Avatars
  description: Use this API to retrieve and upload avatars for [users](https://docs.gitlab.com/user/profile/),
    [groups](https://docs.gitlab.com/user/group/), and [projects](https://docs.gitlab.com/user/project/).
  x-displayName: Avatars
  externalDocs:
    url: https://docs.gitlab.com/api/avatar/
- name: Award emoji
  description: |-
    Use this API to manage [emoji reactions](https://docs.gitlab.com/user/emoji_reactions/).

    GitLab objects that accept emoji reactions are called awardables.
    You can react with emoji on the following resources:

    - [Epics](https://docs.gitlab.com/user/group/epics/)
    - [Issues](https://docs.gitlab.com/user/project/issues/)
    - [Merge requests](https://docs.gitlab.com/user/project/merge_requests/)
    - [Snippets](https://docs.gitlab.com/user/snippets/)
    - [Comments](https://docs.gitlab.com/user/emoji_reactions/#emoji-reactions-for-comments)

    To react to a comment (also known as a note), use the emoji reaction endpoints for comments. They
    work the same way for issues, merge requests, and snippets: use `issue_iid`, `merge_request_iid`,
    or `snippet_id` in the path to identify the parent resource.
  x-displayName: Award emoji
  externalDocs:
    url: https://docs.gitlab.com/api/emoji_reactions/
- name: Badges
  description: |-
    Use this API to manage badges for [projects](https://docs.gitlab.com/user/project/badges/) and [groups](https://docs.gitlab.com/user/project/badges/#group-badges).

    ## Placeholders

    Badges support placeholders that are replaced in real time in both the link and image URL.
    The following placeholders are available:

    - `%{project_path}`: replaced by the project path.
    - `%{project_title}`: replaced by the project title.
    - `%{project_name}`: replaced by the project name.
    - `%{project_id}`: replaced by the project ID.
    - `%{project_namespace}`: replaced by the project's namespace full path.
    - `%{group_name}`: replaced by the project's top-level group name.
    - `%{gitlab_server}`: replaced by the project's server name.
    - `%{gitlab_pages_domain}`: replaced by the domain name hosting GitLab Pages.
    - `%{default_branch}`: replaced by the project default branch.
    - `%{commit_sha}`: replaced by the project's last commit SHA.
    - `%{latest_tag}`: replaced by the project's last tag.

    Group badge endpoints operate outside a project's context, so placeholder values are taken from the
    group's earliest-created project. If no projects exist in the group, the URL is returned unchanged.
  x-displayName: Badges
  externalDocs:
    url: https://docs.gitlab.com/api/group_badges/
- name: Batched background migrations
  description: |-
    Use this API to list, retrieve, pause, and resume the
    [batched background migrations](https://docs.gitlab.com/update/background_migrations/) running on an instance.

    These endpoints require administrator access to the instance.
  x-displayName: Batched background migrations
- name: Batched background operations
  description: |-
    Use this API to list, retrieve, restart, and stop the batched background operations running on an
    instance.

    These endpoints require administrator access to the instance.
  x-displayName: Batched background operations
- name: Boards
  description: |-
    Use this API to manage [issue boards](https://docs.gitlab.com/user/project/issue_board/) and their lists, for both projects and [groups](https://docs.gitlab.com/user/project/issue_board/#group-issue-boards).

    Every call to this API requires authentication. If the project or group is private and the
    authenticated user is not a member, a `GET` request results in a `404` status code.
  x-displayName: Boards
  externalDocs:
    url: https://docs.gitlab.com/api/boards/
- name: Branches
  description: |-
    Use this API to manage [Git branches](https://docs.gitlab.com/user/project/repository/branches/).

    To change the branch protections configured for a project, use the [protected branches API](https://docs.gitlab.com/api/protected_branches/).
  x-displayName: Branches
  externalDocs:
    url: https://docs.gitlab.com/api/branches/
- name: Broadcast messages
  description: |-
    Use this API to interact with banners and notifications displayed in the UI. For more information, see [broadcast messages](https://docs.gitlab.com/administration/broadcast_messages/).

    GET requests do not require authentication. All other broadcast message API endpoints are accessible only to administrators. Non-GET requests by:

    - Unauthenticated users result in `401 Unauthorized`.
    - Authenticated non-administrators result in `403 Forbidden`.
  x-displayName: Broadcast messages
  externalDocs:
    url: https://docs.gitlab.com/api/broadcast_messages/
- name: CI catalog
  description: |-
    Use this API to publish a release of a component project to the
    [CI/CD catalog](https://docs.gitlab.com/ci/components/).

    This endpoint is intended for CLI tooling and must be authenticated with a
    [job token](https://docs.gitlab.com/ci/jobs/ci_job_token/).
  x-displayName: CI catalog
- name: CI jobs
  description: |-
    Use this API to interact with [CI/CD jobs](https://docs.gitlab.com/ci/jobs/).

    A job response includes `artifacts_file` while the artifacts archive is downloadable, even after
    `artifacts_expire_at` has passed. Artifacts kept by the **Keep artifacts from most recent successful
    jobs** setting do not expire.

    The `status` field in job responses and the `scope` parameter for filtering jobs use these values:

    - `canceled`: Job was manually canceled or automatically aborted.
    - `canceling`: Job is being canceled but `after_script` is running.
    - `created`: Job has been created but not yet processed.
    - `failed`: Job execution failed.
    - `manual`: Job requires manual action to start.
    - `pending`: Job is in the queue waiting for a runner.
    - `preparing`: Runner is preparing the execution environment.
    - `running`: Job is executing on a runner.
    - `scheduled`: Job has been scheduled but execution has not started.
    - `skipped`: Job was skipped due to conditions or dependencies.
    - `success`: Job completed successfully.
    - `waiting_for_callback`: Job is waiting for a callback from an external service.
    - `waiting_for_resource`: Job is waiting for resources to become available.
  x-displayName: CI jobs
  externalDocs:
    url: https://docs.gitlab.com/api/jobs/
- name: CI lint
  description: |-
    Use this API to [validate a GitLab CI/CD configuration](https://docs.gitlab.com/ci/yaml/lint/).

    These endpoints take JSON-encoded YAML content. To preserve the formatting of your CI/CD
    configuration, it can help to escape and encode the YAML with a third-party tool such as
    [`jq`](https://jqlang.org/) before you make the request.
  x-displayName: CI lint
  externalDocs:
    url: https://docs.gitlab.com/api/lint/
- name: CI resource groups
  description: Use this API to interact with [resource groups](https://docs.gitlab.com/ci/resource_groups/).
  x-displayName: CI resource groups
  externalDocs:
    url: https://docs.gitlab.com/api/resource_groups/
- name: CI runners
  description: |-
    > [!warning]
    > Registering a runner with a registration token is
    > [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/380872) and disabled by default in
    > GitLab 17.0 and later.

    Use this API to register a [runner](https://docs.gitlab.com/ci/runners/) with an instance, verify its
    authentication, reset its authentication token, and unregister it. GitLab Runner uses these endpoints
    itself.

    To create a runner, or to manage runners that already exist, use the Runners endpoints.

    A runner uses two tokens:

    - A registration token (legacy) registers the runner. You get it from GitLab.
    - An authentication token authenticates the runner with GitLab. Registering a runner with a
      registration token returns its authentication token. You can also get one by creating a runner
      with `POST /user/runners`, or by resetting the runner's authentication token.

    After you register a runner, add its authentication token to the runner's configuration file.
  x-displayName: CI runners
  externalDocs:
    url: https://docs.gitlab.com/api/runners/
- name: CI triggers
  description: Use this API to [trigger pipelines](https://docs.gitlab.com/ci/triggers/).
  x-displayName: CI triggers
  externalDocs:
    url: https://docs.gitlab.com/api/pipeline_triggers/
- name: CI variables
  description: |-
    Use this API to manage CI/CD variables for a [project](https://docs.gitlab.com/ci/variables/#for-a-project),
    a [group](https://docs.gitlab.com/ci/variables/#for-a-group), or an
    [instance](https://docs.gitlab.com/ci/variables/#for-an-instance).

    Managing project variables requires the Maintainer role for the project.
    Managing group variables requires the Owner role for the group.
    Managing instance variables requires administrator access.
  x-displayName: CI variables
  externalDocs:
    url: https://docs.gitlab.com/api/project_level_variables/
- name: Cluster agents
  description: |-
    Use this API to interact with the [GitLab agent for Kubernetes](https://docs.gitlab.com/user/clusters/agent/).

    Receptive agents let GitLab connect to Kubernetes clusters that cannot connect to the GitLab
    instance. Receptive agents are available only on GitLab Ultimate for GitLab Self-Managed.
  x-displayName: Cluster agents
  externalDocs:
    url: https://docs.gitlab.com/api/cluster_agents/
- name: Clusters
  description: |-
    > [!warning]
    > These certificate-based cluster endpoints were [deprecated](https://gitlab.com/groups/gitlab-org/configure/-/work_items/8)
    > in GitLab 14.5.

    Use this API to manage and discover the certificate-based Kubernetes clusters of an
    [instance](https://docs.gitlab.com/user/instance/clusters/), a
    [group](https://docs.gitlab.com/user/group/clusters/), or a
    [project](https://docs.gitlab.com/user/project/clusters/). Connecting a cluster to a group or an
    instance lets you use the same cluster across multiple projects.

    Instance endpoints require administrator access. Group and project endpoints require the Maintainer
    or Owner role.
  x-displayName: Clusters
  externalDocs:
    url: https://docs.gitlab.com/api/instance_clusters/
- name: Code Suggestions
  description: Operations related to Code Suggestions.
- name: Code review analytics
  description: |-
    Use this API to retrieve
    [code review analytics](https://docs.gitlab.com/user/analytics/code_review_analytics/) for a project.
  x-displayName: Code review analytics
- name: Code search
  description: |-
    Use this API to administer the [Zoekt](https://docs.gitlab.com/integration/zoekt/) nodes that power
    [exact code search](https://docs.gitlab.com/user/search/exact_code_search/), including which
    namespaces each node indexes, replica overrides, and triggering indexing for a project.

    These endpoints require administrator access to the instance.
  x-displayName: Code search
- name: Commit statuses
  description: |-
    Use this API to list the statuses recorded against a
    [commit](https://docs.gitlab.com/user/project/repository/commits/), and to add or update the status
    that an external [CI/CD job](https://docs.gitlab.com/ci/jobs/) reports for a commit.
  x-displayName: Commit statuses
  externalDocs:
    url: https://docs.gitlab.com/api/commits/
- name: Commits
  description: |-
    Use this API to manage [Git commits](https://docs.gitlab.com/user/project/repository/commits/).

    The `created_at` field exists for consistency with other GitLab APIs, and is always identical to
    the `committed_date` field. The `committed_date` and `authored_date` fields come from different
    sources, and might not be identical.

    For performance reasons, the endpoints that list repository commits and the references a commit is
    pushed to do not return the `x-total` and `x-total-pages` pagination headers.
  x-displayName: Commits
  externalDocs:
    url: https://docs.gitlab.com/api/commits/
- name: Compliance policy settings
  description: |-
    Use this API to manage the security policy settings for an instance, and to set the status of
    compliance controls that are evaluated by an external service.

    Managing security policy settings requires administrator access to the instance, and security policies
    require the Ultimate tier.
    Setting the status of a compliance control requires HMAC, Timestamp, and Nonce authentication.

    External controls support periodic ping functionality. When ping is enabled, which is the default,
    GitLab resets the control status to `pending` every 12 hours. When ping is disabled, the control
    status changes only through API calls.
  x-displayName: Compliance policy settings
  externalDocs:
    url: https://docs.gitlab.com/api/compliance_policy_settings/
- name: Container registry
  description: |-
    Use this API to manage the [GitLab container registry](https://docs.gitlab.com/user/packages/container_registry/):
    list the registry repositories in a project or a group, retrieve or delete individual repositories and
    their tags, and receive registry events.

    To authenticate with these endpoints from a CI/CD job, pass the [`$CI_JOB_TOKEN`](https://docs.gitlab.com/ci/jobs/ci_job_token/)
    variable as the `JOB-TOKEN` header. The job token only has access to the container registry
    of the project that created the pipeline.

    When you delete tags in bulk with cURL, URL-encode any `+` character in a regular expression, for
    example with `--data-urlencode`. Otherwise, the `+` is not processed correctly.

    The container registry also has its own Docker Registry v2 endpoints, served by the registry and not
    under `/api/v4`. They use a registry token, not a personal, project, or group access token. To get a
    registry token, call `GET /jwt/auth?service=container_registry&scope=<scope>` on the GitLab instance.
    The `scope` names the resource and the actions the token needs, for example
    `repository:<project_path>:pull`, `push`, or `delete`. Pass the token to the registry in an
    `Authorization: Bearer <token>` header.

    - `DELETE /v2/<name>/manifests/<tag>` deletes an image tag by reference. A token requested with the
      `CI_REGISTRY_USER` and `CI_REGISTRY_PASSWORD` variables can delete tags only in the project that
      runs the job. The registry must have the `tag_delete` feature enabled. This endpoint was introduced
      in GitLab 16.4 and replaces the deprecated `DELETE /v2/<name>/tags/reference/<tag>` endpoint.
    - `GET /v2/_catalog` lists all container repositories on the instance. It requires a token with the
      `registry:catalog:*` scope, which only administrators can get.
  x-displayName: Container registry
  externalDocs:
    url: https://docs.gitlab.com/api/container_registry/
- name: Custom attributes
  description: |-
    Use this API to manage the custom attributes set on users, groups, and projects.

    These endpoints require administrator access to the instance.
  x-displayName: Custom attributes
  externalDocs:
    url: https://docs.gitlab.com/api/custom_attributes/
- name: DORA metrics
  description: |-
    Use this API to retrieve [DORA metrics](https://docs.gitlab.com/user/analytics/dora_metrics/) for
    groups and projects. Additional metrics are available through the
    [GraphQL API](https://docs.gitlab.com/api/graphql/reference/).

    These endpoints require the Reporter, Developer, Maintainer, or Owner role.

    The `value` field in the response depends on the `metric`:

    - `deployment_frequency`: The total number of successful deployments during the time period.
    - `change_failure_rate`: The number of incidents divided by the number of deployments during the
      time period. Available only for the production environment.
    - `lead_time_for_changes`: The median number of seconds between the merge of a merge request and the
      deployment of its commits, for all merge requests deployed during the time period.
    - `time_to_restore_service`: The median number of seconds an incident was open during the time
      period. Available only for the production environment.

    For the `monthly` and `all` intervals, the API calculates the median of the daily median values. This
    can introduce a slight inaccuracy in the returned data.
  x-displayName: DORA metrics
  externalDocs:
    url: https://docs.gitlab.com/api/dora/metrics/
- name: Data management
  description: |-
    > [!note]
    > These endpoints are an [experiment](https://docs.gitlab.com/policy/development_stages_support/).

    Use this API to inspect and checksum the records that an instance stores for a given model.

    These endpoints require administrator access to the instance.
  x-displayName: Data management
  externalDocs:
    url: https://docs.gitlab.com/api/admin/data_management/
- name: Database dictionary
  description: |-
    Use this API to list the tables in a GitLab database and retrieve the
    [database dictionary](https://docs.gitlab.com/development/database/database_dictionary/) entry for a
    single table.

    Retrieving the entry for a single table requires administrator access to the instance.
  x-displayName: Database dictionary
- name: Dependency firewall
  description: Operations related to dependency firewall.
- name: Dependency management
  description: |-
    Use this API to retrieve a project's dependencies and to export
    [dependency lists](https://docs.gitlab.com/user/application_security/dependency_list/) for a project,
    group, or pipeline.

    Every call to these endpoints requires authentication. To retrieve a project's dependencies, the user
    must be authorized to read the repository. To see vulnerabilities in a response, the user must also be
    authorized to read the [project security dashboard](https://docs.gitlab.com/user/application_security/security_dashboard/).
    To create or download a dependency list export, the user must have the `read_dependency` permission,
    and exports can be downloaded only by the user who created them.

    Exports can be requested in different file formats. Some formats are only available for certain objects:

    - `dependency_list`: A standard JSON object that lists the dependencies as key-value pairs. Available for projects.
    - `sbom`: A CycloneDX 1.4 bill of materials. Available for pipelines.
    - `cyclonedx_1_6_json`: A CycloneDX 1.6 bill of materials. Available for projects.
    - `json_array`: A flat JSON array that contains component objects. Available for groups.
    - `csv`: A comma-separated values (CSV) document. Available for projects and groups.
  x-displayName: Dependency management
  externalDocs:
    url: https://docs.gitlab.com/api/dependency_list_export/
- name: Dependency proxy
  description: |-
    Use this API to purge the cache of a group's
    [dependency proxy](https://docs.gitlab.com/user/packages/dependency_proxy/).
  x-displayName: Dependency proxy
  externalDocs:
    url: https://docs.gitlab.com/api/dependency_proxy/
- name: Deploy resources
  description: |-
    Use this API to manage [deploy keys](https://docs.gitlab.com/user/project/deploy_keys/),
    [deploy tokens](https://docs.gitlab.com/user/project/deploy_tokens/), and
    [code deployments](https://docs.gitlab.com/ci/environments/deployments/) to GitLab environments.

    Project deploy token endpoints require the Maintainer or Owner role for the project. Listing group
    deploy tokens requires the Maintainer or Owner role for the group. Creating and deleting group deploy
    tokens requires the Owner role for the group.

    Some deploy key endpoints return public key fingerprints. You can use these fingerprints with the
    keys API to identify the user that created the deploy key. These attributes contain the fingerprint:

    - `fingerprint`: Uses an MD5 hash. Not available on FIPS-enabled systems.
    - `fingerprint_sha256`: Uses a SHA256 hash. Returned without the `SHA256:` prefix. To look up a key
      by this fingerprint with the keys API, add the prefix.
  x-displayName: Deploy resources
  externalDocs:
    url: https://docs.gitlab.com/api/deploy_keys/
- name: Discussions
  description: |-
    Use this API to manage [discussions](https://docs.gitlab.com/user/discussions/). This includes
    [comments, threads](https://docs.gitlab.com/user/discussions/), and system notes about changes to an object
    (for example, when a milestone changes).

    To manage label notes, use the [resource label events API](https://docs.gitlab.com/api/resource_label_events/).

    > [!warning]
    > The epic discussion endpoints are part of the Epics REST API, which was
    > [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/460668) in GitLab 17.0 and is planned
    > for removal in v5 of the API. From GitLab 17.4 to 18.0, if the new look for epics is enabled, or in
    > GitLab 18.1 and later, use the Work Items API instead. This change is a breaking change.

    The API uses these note types:

    - Note: a comment on the root of an issue, merge request, commit, or snippet.
    - Discussion: a collection of discussion notes, often called a thread, in an issue, merge request,
      commit, or snippet.
    - Discussion note: an individual item in a discussion.

    GitLab might change a note body before it saves it. For example, it runs and then removes
    quick actions.

    To create a thread on a merge request diff:

    1. Get the latest merge request diff version. The latest version is listed first in the versions
       response.
    1. Use its `base_commit_sha`, `head_commit_sha`, and `start_commit_sha` as `position[base_sha]`,
       `position[head_sha]`, and `position[start_sha]`.
    1. Set `position[position_type]` to `text`.
    1. Set both `position[old_path]` and `position[new_path]` to the file path before and after the change.
    1. Set the line:
       - For an added line, use `position[new_line]` and do not include `position[old_line]`.
       - For a removed line, use `position[old_line]` and do not include `position[new_line]`.
       - For an unchanged line, include both `position[new_line]` and `position[old_line]`. They might
         differ if earlier changes in the file changed the line number.

    Incorrect `base_sha`, `head_sha`, or `start_sha` values can trigger the bug described in
    [issue 296829](https://gitlab.com/gitlab-org/gitlab/-/issues/296829).

    A line code has the form `<SHA>_<old>_<new>`, like `adc83b19e793491b1c6ea0fd8b46cd9f32e292fc_5_5`:

    - `<SHA>` is the SHA1 hash of the filename.
    - `<old>` is the line number before the change.
    - `<new>` is the line number after the change.
  x-displayName: Discussions
  externalDocs:
    url: https://docs.gitlab.com/api/discussions/
- name: Draft notes
  description: |-
    Use this API to manage draft notes. These notes are pending, unpublished comments on merge requests.
    Draft notes can start a discussion, or continue an existing discussion as a reply.

    Before publishing, draft notes are visible only to the author.

    When you publish a draft note, GitLab might change its body.
  x-displayName: Draft notes
  externalDocs:
    url: https://docs.gitlab.com/api/draft_notes/
- name: Enterprise users
  description: |-
    Use this API to manage the [enterprise users](https://docs.gitlab.com/user/enterprise_user/) of a
    top-level group, including disabling two-factor authentication for them.

    These endpoints work only for top-level groups, and require the Owner role for that group. The users
    themselves do not have to be members of the group.
  x-displayName: Enterprise users
  externalDocs:
    url: https://docs.gitlab.com/api/group_enterprise_users/
- name: Environments
  description: Use this API to interact with [GitLab environments](https://docs.gitlab.com/ci/environments/).
  x-displayName: Environments
  externalDocs:
    url: https://docs.gitlab.com/api/environments/
- name: Epics
  description: |-
    > [!warning]
    > The Epics REST API was [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/460668) in GitLab 17.0
    > and is planned for removal in v5 of the API. From GitLab 17.4 to 18.0, if
    > [the new look for epics](https://docs.gitlab.com/user/group/epics/#epics-as-work-items) is enabled,
    > or in GitLab 18.1 and later, use the Work Items API instead. For more information, see
    > [migrate epic APIs to work items](https://docs.gitlab.com/api/graphql/epic_work_items_api_migration_guide/).
    > This change is a breaking change.

    Use this API to manage [epics](https://docs.gitlab.com/user/group/epics/), the issues assigned to
    them, their child and [related epics](https://docs.gitlab.com/user/work_items/linked_items/), and
    [group epic boards](https://docs.gitlab.com/user/group/epics/epic_boards/).

    Every call to this API must be authenticated. If a user is not a member of a private group, a `GET`
    request on that group results in a `404` status code.

    Epics are available only in GitLab [Premium and Ultimate](https://about.gitlab.com/pricing/). If the
    Epics or Related Epics feature is not available, a `403` status code is returned.

    The legacy epic ID is not the same as the work item ID. Only the `iid` matches. Epic responses include
    `work_item_id`, the ID of the corresponding work item. In the Work Items GraphQL API, a `work_item_id`
    of `123` is the Global ID `gid://gitlab/WorkItem/123`.

    In epic responses, `end_date` is deprecated in favor of `due_date`, `start_date_from_milestones` in
    favor of `start_date_from_inherited_source`, and `due_date_from_milestones` in favor of
    `due_date_from_inherited_source`.
  x-displayName: Epics
  externalDocs:
    url: https://docs.gitlab.com/api/group_epic_boards/
- name: Error tracking
  description: |-
    Use this API to manage [error tracking](https://docs.gitlab.com/operations/error_tracking/) settings
    and client keys for a project.

    These endpoints require the Maintainer or Owner role.
  x-displayName: Error tracking
  externalDocs:
    url: https://docs.gitlab.com/api/error_tracking/
- name: Events
  description: |-
    Use this API to review event activity for a user, a project, or an instance. Events cover a wide
    range of actions, such as joining a project, commenting on an issue, pushing changes to a merge
    request, or closing an epic.

    Activity is subject to retention limits. For more information, see the
    [user activity time period limit](https://docs.gitlab.com/user/profile/contributions_calendar/#event-time-period-limit)
    and the [project activity time period limit](https://docs.gitlab.com/user/project/working_with_projects/#view-project-activity).

    These endpoints have some limitations:

    - Some epic features, such as child items, linked items, start dates, due dates, and health statuses, are not returned.
    - Some merge request notes use the `DiscussionNote` type instead, which is [not supported](https://docs.gitlab.com/api/discussions/#understand-note-types-in-the-api).
    - Bulk push events, created when a push exceeds the [push event activities limit](https://docs.gitlab.com/administration/settings/push_event_activities_limit/), are returned with limited details.
  x-displayName: Events
  externalDocs:
    url: https://docs.gitlab.com/api/events/
- name: Experiments
  description: |-
    Use this API to retrieve the A/B experiments running on an instance. This API is for internal use
    only, requires you to be a [GitLab team member](https://gitlab.com/groups/gitlab-com/-/group_members),
    and cannot be used with anonymous or unauthenticated users. For experiments involving anonymous users,
    use the [`glex_force` query parameter](https://docs.gitlab.com/development/experiment_guide/implementing_experiments/#client-side-glex_force-query-parameter)
    instead.

    Use the experiment assignment endpoints to force, read, and clear experiment variant assignments in
    the GLEX Redis cache. This is useful for backend-only experiments that run outside of a
    request/response cycle, where the `glex_force` query parameter is not available. The experiment must
    declare `context_keys` in its experiment class in `app/experiments`.
  x-displayName: Experiments
  externalDocs:
    url: https://docs.gitlab.com/api/experiments/
- name: External status checks
  description: |-
    Use this API to manage [external status checks](https://docs.gitlab.com/user/project/merge_requests/status_checks/).

    When you retry a failed status check, a successful request returns `202 Accepted`. If the status
    check is not failed, the request returns `422 Unprocessable Entity` with the message
    `External status check must be failed`.
  x-displayName: External status checks
  externalDocs:
    url: https://docs.gitlab.com/api/status_checks/
- name: Feature flags
  description: |-
    Use this API to manage a project's [feature flags](https://docs.gitlab.com/operations/feature_flags/)
    and the [user lists](https://docs.gitlab.com/operations/feature_flags/#user-list) that scope them to
    particular users.

    These endpoints require the Developer, Maintainer, or Owner role.
  x-displayName: Feature flags
  externalDocs:
    url: https://docs.gitlab.com/api/feature_flag_user_lists/
- name: Features
  description: |-
    Use this API to manage the Flipper-based feature flags used in the development of GitLab itself.

    These endpoints support boolean, percentage-of-time, and percentage-of-actors gate values, and require
    administrator authorization.

    To roll out a feature to a percentage of actors, set `key` to `percentage_of_actors` and `value` to
    the percentage when you create or update the feature flag.
  x-displayName: Features
  externalDocs:
    url: https://docs.gitlab.com/api/features/
- name: Files
  description: |-
    Use this API to manage [repository files](https://docs.gitlab.com/user/project/repository/).
    You can also [configure rate limits](https://docs.gitlab.com/administration/settings/files_api_rate_limits/)
    for this API.

    Personal access tokens with the `api` scope have read-write access to repository files. Tokens with
    the `read_api` or `read_repository` scope have read access.
  x-displayName: Files
  externalDocs:
    url: https://docs.gitlab.com/api/repository_files/
- name: Freeze periods
  description: Use this API to interact with deployment [freeze periods](https://docs.gitlab.com/user/project/releases/#prevent-unintentional-releases-by-setting-a-deploy-freeze).
  x-displayName: Freeze periods
  externalDocs:
    url: https://docs.gitlab.com/api/freeze_periods/
- name: GLQL
  description: |-
    Use this API to execute [GitLab Query Language (GLQL)](https://docs.gitlab.com/user/glql/) queries
    programmatically. GLQL provides a simplified query language to search and filter
    [GitLab resources](https://docs.gitlab.com/user/glql/#supported-areas) such as issues, merge requests,
    and epics across projects and groups.

    The group or project must allow access to its data. For private groups and projects, you must
    authenticate with a [personal access token](https://docs.gitlab.com/user/profile/personal_access_tokens/)
    that has the appropriate permissions.

    The `glql_yaml` parameter takes a GLQL query with optional YAML configuration. Set the `fields`
    configuration option to a comma-separated list of [available GLQL fields](https://docs.gitlab.com/user/glql/fields/).

    The GLQL API rate limits queries based on the SHA-256 hash of the query. Queries that time out are
    tracked. If a query that times out is run too often, it is temporarily blocked, and the API returns
    `429 Too Many Requests` with the error
    `Query temporarily blocked due to repeated timeouts. Please try again later or narrow your search scope.`

    `POST /glql` returns these status codes:

    - `200 OK`: the query ran successfully.
    - `400 Bad Request`: invalid query syntax, configuration that is not YAML key-value pairs, a `query`
      value that is not a string, missing required parameters, or input that exceeds the size limit.
      A project or group that does not exist or that you cannot access returns `400` with the error
      `Project does not exist or you do not have access to it` or
      `Group does not exist or you do not have access to it`. GraphQL bad request errors are passed
      through to the `error` field with the `400` code, when applicable.
    - `401 Unauthorized`: authentication is required or the credentials are invalid.
    - `403 Forbidden`: insufficient permissions or a missing OAuth scope.
    - `429 Too Many Requests`: the query rate limit is exceeded.
    - `500 Internal Server Error`: an unexpected server error. This response uses the `message` key
      instead of `error`.
    - `503 Service Unavailable`: the query timed out. Narrow the query scope, for example with more
      filters or a shorter time range, and try again.

    Limits:

    - The `glql_yaml` parameter has a maximum size of 10,000 bytes.
    - A request returns at most 100 results. The default is 100 results.
    - Only forward pagination is supported, with the `after` attribute set to the `endCursor` value
      from a previous response.
  x-displayName: GLQL
  externalDocs:
    url: https://docs.gitlab.com/api/glql/
- name: Geo
  description: |-
    Use this API to manage [Geo sites](https://docs.gitlab.com/administration/geo/). All of these
    endpoints require administrator access.

    > [!warning]
    > The Geo Nodes endpoints were [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/369140) in
    > GitLab 16.0 and are planned for removal in v5 of the API. Use the
    > [Geo Sites API](https://docs.gitlab.com/api/geo_sites/) instead. This change is a breaking change.

    In Geo node status responses, `health_status` is either `Healthy` or `Unhealthy`. `health` is empty,
    `Healthy`, or contains the error message.
  x-displayName: Geo
  externalDocs:
    url: https://docs.gitlab.com/api/geo_nodes/
- name: GitLab Duo
  description: |-
    Use this API to generate responses for [GitLab Duo Chat](https://docs.gitlab.com/user/gitlab_duo_chat/)
    and other GitLab Duo features.

    On GitLab.com, these endpoints are for internal use only. On GitLab Self-Managed, you can enable them
    [with a feature flag](https://docs.gitlab.com/administration/feature_flags/) named `access_rest_chat`.
    You must be a [GitLab team member](https://gitlab.com/groups/gitlab-com/-/group_members) to use these endpoints.
  x-displayName: GitLab Duo
  externalDocs:
    url: https://docs.gitlab.com/api/chat/
- name: GitLab Duo workflows
  description: |-
    Use this API to create and manage [flows](https://docs.gitlab.com/user/duo_agent_platform/flows/) in the
    [GitLab Duo Agent Platform](https://docs.gitlab.com/user/duo_agent_platform/).
    Flows are combinations of AI agents that work together to complete developer tasks,
    such as fixing bugs, writing code, or resolving vulnerabilities.

    To get an `ai_catalog_item_consumer_id`, use the GraphQL API to retrieve the ID from the AI Catalog.
    The item must already be enabled for the project:

    ```graphql
    query {
      aiCatalogConfiguredItems(projectId: "gid://gitlab/Project/<project_id>") {
        nodes {
          id
          item { name }
        }
      }
    }
    ```

    The `id` field is a Global ID in the format `gid://gitlab/AiCatalogItemConsumer/<numeric_id>`.
    Use the numeric suffix as the `ai_catalog_item_consumer_id` value.

    To check the status of a flow after you create it, use the `duoWorkflowWorkflows` GraphQL query,
    where `<flow_id>` is the `id` from the create response:

    ```graphql
    query {
      duoWorkflowWorkflows(workflowId: "gid://gitlab/Ai::DuoWorkflows::Workflow/<flow_id>") {
        nodes {
          status
          webUrl
        }
      }
    }
    ```

    When the flow ends, `status` is `FINISHED`, `FAILED`, or `STOPPED`. The statuses `PAUSED`,
    `INPUT_REQUIRED`, `PLAN_APPROVAL_REQUIRED`, and `TOOL_CALL_APPROVAL_REQUIRED` mean that the flow is
    waiting for a user.
  x-displayName: GitLab Duo workflows
  externalDocs:
    url: https://docs.gitlab.com/api/duo_agent_platform_flows/
- name: GitLab Pages
  description: |-
    Use this API to [administer](https://docs.gitlab.com/administration/pages/) and
    [use](https://docs.gitlab.com/user/project/pages/) GitLab Pages, including managing
    [custom domains](https://docs.gitlab.com/user/project/pages/custom_domains_ssl_tls_certification/).

    GitLab Pages must be enabled to use these endpoints.
  x-displayName: GitLab Pages
  externalDocs:
    url: https://docs.gitlab.com/api/pages_domains/
- name: Group applications
  description: Operations related to group applications.
- name: Group credentials inventory
  description: |-
    Use this API to manage the credentials that members of a top-level group hold, including their
    personal access tokens, resource access tokens, and SSH keys. You can list these credentials, revoke
    them, and rotate the tokens. For more information, see
    [credentials inventory](https://docs.gitlab.com/administration/credentials_inventory/).

    These endpoints are available on GitLab.com only. They cover the credentials of enterprise users and
    service accounts, and the group and project access tokens in the group. You must be an administrator
    or have the Owner role for the group.
  x-displayName: Group credentials inventory
  externalDocs:
    url: https://docs.gitlab.com/api/groups/
- name: Group import and export
  description: |-
    Use this API to [migrate a group structure](https://docs.gitlab.com/user/group/import/) by exporting
    and importing a file. When you use it with the
    [project import and export API](https://docs.gitlab.com/api/project_import_export/), you can
    preserve relationships that span the group, such as connections between project issues and group
    epics. Run the group export and import first, then import the project exports into the group
    structure.

    A group export includes group milestones, boards, labels, badges, members, events, wikis (Premium
    and Ultimate only), and subgroups. Each subgroup includes all of the same data.

    To preserve the member list and permissions of an imported group, make sure those users exist on the
    destination instance before you import.

    Because of [issue 405168](https://gitlab.com/gitlab-org/gitlab/-/issues/405168), imported groups have
    a `private` visibility level unless you import them into a parent group. By default, groups imported
    into a parent group inherit the visibility of the parent.

    The destination instance uses the group relations export endpoints during
    [group migration by direct transfer](https://docs.gitlab.com/user/group/import/). You don't
    usually need to call them yourself. In this context, a relation is an exportable item such as an
    epic, including any related items such as a label. These endpoints require your instance to meet certain
    [prerequisites](https://docs.gitlab.com/user/group/import/direct_transfer_migrations/#prerequisites),
    and can't be used with the file-based export and import endpoints.
  x-displayName: Group import and export
  externalDocs:
    url: https://docs.gitlab.com/api/group_import_export/
- name: Groups
  description: |-
    Use this API to view and manage [groups](https://docs.gitlab.com/user/group/) and the resources they contain, including:

    - Group settings, members, and security settings.
    - [Group issues](https://docs.gitlab.com/user/project/issues/) and issue statistics.
    - [Markdown uploads](https://docs.gitlab.com/security/user_file_uploads/) referenced in epics or wiki pages.
    - Bulk [reassignment of placeholder users](https://docs.gitlab.com/user/import/mapping/reassignment/#request-reassignment-by-using-a-csv-file) after an import.

    Endpoint responses might vary based on the [permissions](https://docs.gitlab.com/user/permissions/)
    of the authenticated user in the group. If a user isn't a member of a private group, requests to
    that group return a `404 Not Found` status code.

    Every call to the group security settings endpoints must be authenticated.

    For project members, use the [project members API](https://docs.gitlab.com/api/project_members/).

    Placeholder reassignment endpoints require the Owner role for the group. User contribution mapping is
    not supported when you import projects to a personal namespace. In that case, all contributions are
    assigned to the personal namespace owner and they cannot be reassigned.
  x-displayName: Groups
  externalDocs:
    url: https://docs.gitlab.com/api/groups/
- name: Hooks
  description: |-
    Use this API to manage the hooks that GitLab uses to notify external services about events:

    - [Project webhooks](https://docs.gitlab.com/user/project/integrations/webhooks/) are limited to a single project.
    - [Group webhooks](https://docs.gitlab.com/user/project/integrations/webhooks/#group-webhooks) apply to all projects and subgroups in a group.
    - [System hooks](https://docs.gitlab.com/administration/system_hooks/) apply to the entire instance.

    You can also test a hook, inspect its event log, resend an event, and manage its custom headers and
    URL variables.

    Managing project webhooks requires administrator access or the Maintainer or Owner role for the
    project. Managing group webhooks requires administrator access or the Owner role for the group.
    Managing system hooks requires administrator access.

    Each system hook belongs to one organization, and the `organization_id` attribute shows which one.
    System hook endpoints work only with the hooks of the current organization:

    - Lists return only hooks in the current organization.
    - New hooks are created in the current organization.
    - Requests for a hook in another organization return `404 Not Found`. These requests include
      retrieving, updating, deleting, and testing the hook and managing its URL variables and custom
      headers.
  x-displayName: Hooks
  externalDocs:
    url: https://docs.gitlab.com/api/group_webhooks/
- name: Imports
  description: |-
    Use this API to migrate groups and projects by using
    [direct transfer](https://docs.gitlab.com/user/group/import/direct_transfer_migrations/), and to
    [import repositories from external sources](https://docs.gitlab.com/user/import/).

    Before migrating by direct transfer, see the
    [prerequisites](https://docs.gitlab.com/user/group/import/direct_transfer_migrations/#prerequisites).

    > [!note]
    > User contribution mapping is not supported when you import projects to a
    > [personal namespace](https://docs.gitlab.com/user/namespace/#types-of-namespaces). All
    > contributions are assigned to the personal namespace owner and cannot be reassigned.
  x-displayName: Imports
  externalDocs:
    url: https://docs.gitlab.com/api/bulk_imports/
- name: Instance
  description: |-
    Use this API to manage an instance's
    [appearance](https://docs.gitlab.com/administration/appearance/) and
    [application settings](https://docs.gitlab.com/api/settings/#available-settings), and to retrieve
    statistics about the instance.

    Changes to application settings are subject to caching and might not take effect immediately. By
    default, GitLab caches application settings for 60 seconds. For more information, see
    [application cache interval](https://docs.gitlab.com/administration/application_settings_cache/).

    All of these endpoints require administrator access to the instance.
  x-displayName: Instance
  externalDocs:
    url: https://docs.gitlab.com/api/appearance/
- name: Integrations
  description: |-
    Use this API to manage [integrations](https://docs.gitlab.com/user/project/integrations/) for a
    project, or for a group and its subgroups.

    Managing integrations requires the Maintainer or Owner role for the project or group.
  x-displayName: Integrations
  externalDocs:
    url: https://docs.gitlab.com/api/project_integrations/
- name: Internal operations
  description: Operations related to internal operations.
- name: Invitations
  description: Use this API to manage invitations and add users to a [group](https://docs.gitlab.com/user/group/#add-users-to-a-group)
    or [project](https://docs.gitlab.com/user/project/members/).
  x-displayName: Invitations
  externalDocs:
    url: https://docs.gitlab.com/api/invitations/
- name: Issues
  description: |-
    Use this API to manage [issues](https://docs.gitlab.com/user/project/issues/), their
    [links to related issues](https://docs.gitlab.com/user/work_items/linked_items/), and issue
    statistics. You can:

    - Create, update, and delete issues.
    - Manage issue metadata, like assignees, labels, milestones, and time tracking.
    - Cross-reference issues and merge requests.
    - Track issue movement and promotion between projects and epics.
    - Retrieve statistics about issues.

    If a user is not a member of a private project, a `GET` request on that project results in a `404`
    status code.

    To help avoid abuse, administrators can limit the number of requests each user can make each minute
    to create an issue.

    > [!note]
    > The `references.relative` attribute is relative to the group or project of the issue being requested.
    > When an issue is fetched from its project, the `relative` format is the same as the `short` format.
    > When requested across groups or projects, it's expected to be the same as the `full` format.
  x-displayName: Issues
  externalDocs:
    url: https://docs.gitlab.com/api/issues/
- name: Iterations
  description: |-
    Use this API to retrieve [iterations](https://docs.gitlab.com/user/group/iterations/) for a group or
    a project.

    Projects no longer have their own iterations, but you can use the project endpoint to retrieve the
    iterations of a project's ancestor groups.
  x-displayName: Iterations
  externalDocs:
    url: https://docs.gitlab.com/api/group_iterations/
- name: Jira Connect subscriptions
  description: |-
    Use this API to subscribe a namespace to an installation of the
    [GitLab for Jira Cloud app](https://docs.gitlab.com/integration/jira/connect-app/).
  x-displayName: Jira Connect subscriptions
- name: Jira forge installation
  description: |-
    Use this API to configure a GitLab for Jira (Forge) installation, by setting the GitLab instance URL
    it points to and registering the system token it uses to synchronize development information. For more
    information, see the [Jira integrations](https://docs.gitlab.com/integration/jira/).
  x-displayName: Jira Forge installation
- name: Jira forge subscriptions
  description: |-
    Use this API to list, create, and delete the namespace subscriptions of a GitLab for Jira (Forge)
    installation. For more information, see the [Jira integrations](https://docs.gitlab.com/integration/jira/).
  x-displayName: Jira Forge subscriptions
- name: Jira forge user delegation
  description: Operations related to jira forge user delegation.
- name: Job artifacts
  description: |-
    Use this API to download, keep, and delete [job artifacts](https://docs.gitlab.com/ci/jobs/job_artifacts/).

    Merge request pipelines run on `refs/merge-requests/:iid/head`, not on the source branch. To download
    artifacts from a merge request pipeline by reference name, use `refs/merge-requests/:iid/head` as the
    `ref_name`. In merge request pipelines, the merge request ID is available in the
    `$CI_MERGE_REQUEST_IID` variable and the full `ref_name` in the `$CI_MERGE_REQUEST_REF_PATH` variable.

    Report artifacts are not included in the artifacts archive by default. To download a report, set
    `file_type` when you download job artifacts by job ID, or add the report filename or
    `gl-*-report.json` to `artifacts:paths` so the report is included in the archive.
  x-displayName: Job artifacts
  externalDocs:
    url: https://docs.gitlab.com/api/job_artifacts/
- name: Jobs
  description: |-
    Use this API to run CI/CD jobs on a [runner](https://docs.gitlab.com/ci/runners/): request the next
    job, update its state, append to its log, and transfer its artifacts.

    GitLab Runner uses these endpoints itself.
  x-displayName: Jobs
- name: Keys
  description: |-
    Use this API to retrieve information about [SSH keys](https://docs.gitlab.com/user/ssh/), manage a
    user's SSH and [GPG keys](https://docs.gitlab.com/user/project/repository/signed_commits/gpg/),
    and manage SSH certificates for [top-level groups](https://docs.gitlab.com/user/group/ssh_certificates/)
    and [the instance](https://docs.gitlab.com/api/instance_ssh_certificates/).

    Queries about deploy key fingerprints also retrieve information about the projects using that key.
    If you use a SHA256 fingerprint in an API call, URL-encode the fingerprint.

    Managing group SSH certificates requires the Owner role for a top-level group.

    Managing instance SSH certificates requires administrator access.
  x-displayName: Keys
  externalDocs:
    url: https://docs.gitlab.com/api/user_keys/
- name: Knowledge graph
  description: |-
    Use this API to list the namespaces enabled for the knowledge graph, and to enable or disable an
    individual namespace.

    These endpoints require administrator access to the instance.
  x-displayName: Knowledge graph
- name: LDAP
  description: |-
    Use this API to search the LDAP groups available to an instance, and to
    [manage group memberships with LDAP](https://docs.gitlab.com/user/group/access_and_permissions/#manage-group-memberships-with-ldap)
    by managing a group's LDAP links and triggering an LDAP synchronization.
  x-displayName: LDAP
  externalDocs:
    url: https://docs.gitlab.com/api/group_ldap_links/
- name: Labels
  description: |-
    Use this API to manage [labels](https://docs.gitlab.com/user/project/labels/) for both projects and
    groups. For the difference between the two, see
    [types of labels](https://docs.gitlab.com/user/project/labels/#types-of-labels).
  x-displayName: Labels
  externalDocs:
    url: https://docs.gitlab.com/api/labels/
- name: Licenses
  description: |-
    Use this API to add, retrieve, and delete the license that
    [activates GitLab Enterprise Edition](https://docs.gitlab.com/administration/license_file/).

    These endpoints require administrator access to the instance.
  x-displayName: Licenses
  externalDocs:
    url: https://docs.gitlab.com/api/license/
- name: MCP
  description: Use this API to connect Model Context Protocol (MCP) clients to the
    GitLab MCP server.
  x-displayName: MCP
- name: ML Model Registry
  description: |-
    Use this API to upload and download the files attached to a version of a machine learning model in
    the [model registry](https://docs.gitlab.com/user/project/ml/model_registry/). To create models and model
    versions, use an [MLflow client](https://docs.gitlab.com/user/project/ml/experiment_tracking/mlflow_client/).
  x-displayName: ML Model Registry
  externalDocs:
    url: https://docs.gitlab.com/api/model_registry/
- name: MLOps
  description: |-
    Use this API to track machine learning experiments, runs, and metrics, and to manage the
    [model registry](https://docs.gitlab.com/user/project/ml/model_registry/). These endpoints implement
    the MLflow REST API, so you can point an
    [MLflow client](https://docs.gitlab.com/user/project/ml/experiment_tracking/mlflow_client/) at GitLab.
  x-displayName: MLOps
- name: Markdown
  description: |-
    Use this API to render [Markdown](https://docs.gitlab.com/user/markdown/) content as HTML.

    All requests to this API must be [authenticated](https://docs.gitlab.com/api/rest/authentication/).

    > [!note]
    > The availability of this feature is controlled by a feature flag.
    > This feature is available for testing, but not ready for production use.
  x-displayName: Markdown
  externalDocs:
    url: https://docs.gitlab.com/api/markdown/
- name: Member roles
  description: |-
    Use this API to interact with member roles for your GitLab.com groups or entire GitLab Self-Managed instance.

    Instance member role endpoints require administrator access. Group member role endpoints require the
    Owner role for the group.
  x-displayName: Member roles
  externalDocs:
    url: https://docs.gitlab.com/api/member_roles/
- name: Members
  description: |-
    Use this API to manage the [members](https://docs.gitlab.com/user/project/members/) of a group or a
    project, including inherited memberships, membership approvals, and the billable members of a group.

    Some member attributes are visible only to some users:

    - The `group_saml_identity` and `group_scim_identity` attributes are visible only to group owners
      for SSO-enabled groups.
    - The `email` attribute is visible only to group owners for enterprise users of the group, when the
      request is sent to the group itself, or to that group's subgroups or projects.
    - The `two_factor_enabled` attribute is visible only to group owners and administrators.
  x-displayName: Members
  externalDocs:
    url: https://docs.gitlab.com/api/group_members/
- name: Merge request approvals
  description: |-
    Use this API to manage [merge request approvals](https://docs.gitlab.com/user/project/merge_requests/approvals/)
    and the group and project [approval settings](https://docs.gitlab.com/user/project/merge_requests/approvals/settings/)
    that govern them. All endpoints require authentication.

    Endpoints to approve, unapprove, reset approvals, and retrieve approval state are available on all
    tiers, including Free. All other endpoints require Premium or Ultimate, and each one shows its tier.

    Group approval settings endpoints require the Owner role for the group. Project approval settings
    endpoints require the Maintainer or Owner role for the project.

    A project, group, or instance setting, or a merge request approval policy, can
    [prevent editing approval rules in merge requests](https://docs.gitlab.com/user/project/merge_requests/approvals/settings/#prevent-editing-approval-rules-in-merge-requests).
    When editing is prevented, open merge requests use the project approval rules instead of `regular`
    and `any_approver` rules defined on the merge request. Rules of type `code_owner` and
    `report_approver` on the merge request still apply. To get the rules that apply, use
    `GET /projects/:id/merge_requests/:merge_request_iid/approval_state`. Requests to list or retrieve
    the approval rules of a merge request return only rules stored on the merge request, such as
    `code_owner` rules. Requests to create, update, or delete an approval rule for the merge request
    return `403 Forbidden`.

    > [!note]
    > The `merge_request_iid` and `id` path parameters must each be a single value.
    > Passing multiple space-separated values (for example, `451 454 458`) is not
    > supported and returns `400 Bad Request`. To act on multiple merge requests,
    > make one request per merge request IID.
  x-displayName: Merge request approvals
  externalDocs:
    url: https://docs.gitlab.com/api/merge_request_approvals/
- name: Merge requests
  description: |-
    Use this API to manage [merge requests](https://docs.gitlab.com/user/project/merge_requests/) in a
    project, and to list the merge requests across a group or an entire instance. You can:

    - Automate any part of the code review process.
    - Connect code changes to external tools.
    - Send merge request information to non-GitLab systems in your preferred format.
    - Update, approve, merge, or block merge requests based on data from external systems.
    - Add [commits from previous merge requests](https://docs.gitlab.com/user/project/merge_requests/commits/#show-commits-from-previous-merge-requests) to a merge request for more context.

    All API calls to non-public information require authentication.

    The `approvals_before_merge` attribute is deprecated and is scheduled for removal in API v5. Use the
    merge request approvals API instead.

    The mergeability (`merge_status`) of a merge request is checked asynchronously when you retrieve the
    merge request. Poll the endpoint to get the updated status. The `has_conflicts` attribute depends on
    `merge_status`, and is `false` unless `merge_status` is `cannot_be_merged`. Use
    `detailed_merge_status` instead of `merge_status` to account for all potential statuses.

    Listing merge requests might not update `merge_status` and `has_conflicts`, because the check is
    expensive. To get current values from a list endpoint, set `with_merge_status_recheck` to `true`.

    When you create a merge request, the `diff_refs` and `changes_count` attributes are empty. They
    populate asynchronously after the merge request is created.
  x-displayName: Merge requests
  externalDocs:
    url: https://docs.gitlab.com/api/merge_requests/
- name: Merge trains
  description: |-
    Use this API to retrieve the [merge trains](https://docs.gitlab.com/ci/pipelines/merge_trains/) of a
    project. These endpoints require the Developer, Maintainer, or Owner role, and support
    [offset-based pagination](https://docs.gitlab.com/api/rest/#offset-based-pagination).

    Each object in a response represents one merge request in a train, not an entire train. Requesting
    merge trains without a target branch can return entries from more than one train in the project.

    Responses do not include an explicit queue position, and return merge requests as a flat list rather
    than grouped by train:

    - For an exact queue position, sort by `id` in ascending order, or use the GraphQL API
      [`MergeTrainCar.index`](https://docs.gitlab.com/api/graphql/reference/objects/#mergetraincar) field.
    - To group merge requests by train, use the `target_branch` attribute, or query the GraphQL API
      [`Project.mergeTrains`](https://docs.gitlab.com/api/graphql/reference/objects/#project) and
      [`MergeTrain.cars`](https://docs.gitlab.com/api/graphql/reference/objects/#mergetrain) fields.

    To remove a merge request from a merge train, use the
    `POST /projects/:id/merge_requests/:merge_request_iid/cancel_auto_merge` endpoint.
  x-displayName: Merge trains
  externalDocs:
    url: https://docs.gitlab.com/api/merge_trains/
- name: Metadata
  description: |-
    Use this API to retrieve metadata about a GitLab instance, including its version, its revision,
    whether it is Enterprise Edition, and the configuration of the
    [GitLab agent server for Kubernetes (KAS)](https://docs.gitlab.com/administration/clusters/kas/).
  x-displayName: Metadata
  externalDocs:
    url: https://docs.gitlab.com/api/metadata/
- name: Metric images
  description: |-
    Use this API to upload, list, update, and delete the metric images attached to an issue, such as the
    charts attached to an [incident](https://docs.gitlab.com/operations/incident_management/incidents/).

    The metric image endpoints are available only for incidents.
  x-displayName: Metric images
  externalDocs:
    url: https://docs.gitlab.com/api/issues/
- name: Metrics
  description: |-
    Use this API to retrieve the definitions of the metrics that GitLab collects for
    [Service Ping](https://docs.gitlab.com/development/internal_analytics/service_ping/).
  x-displayName: Metrics
  externalDocs:
    url: https://docs.gitlab.com/api/usage_data/
- name: Migrations
  description: |-
    Use this API to mark GitLab database migrations as successful, so that a deployment can proceed
    without re-running them.

    These endpoints are available for GitLab Self-Managed and require administrator access to the instance.
  x-displayName: Migrations
  externalDocs:
    url: https://docs.gitlab.com/api/database_migrations/
- name: Milestones
  description: |-
    Use this API to manage [milestones](https://docs.gitlab.com/user/project/milestones/) for both
    projects and groups.
  x-displayName: Milestones
  externalDocs:
    url: https://docs.gitlab.com/api/milestones/
- name: Mobile push subscriptions
  description: Operations related to mobile push subscriptions.
- name: Namespaces
  description: |-
    Use this API to interact with namespaces, a special resource category used to organize users and groups. For more information, see [namespaces](https://docs.gitlab.com/user/namespace/).

    This API uses [pagination](https://docs.gitlab.com/api/rest/#pagination) to filter results.
  x-displayName: Namespaces
  externalDocs:
    url: https://docs.gitlab.com/api/namespaces/
- name: Notes
  description: |-
    Use this API to manage the comments and system records attached to GitLab content. You can:

    - Create and modify comments on issues, merge requests, epics, snippets, commits, and wiki pages.
    - Retrieve [system-generated notes](https://docs.gitlab.com/user/project/system_notes/) about object changes.
    - Control visibility with confidential and internal flags.

    Note creation is rate limited for each user. Administrators set the number of `Create` requests
    allowed each minute with the `notes_create_limit` application setting. Default is `300`.

    When you create or update a note on an issue, merge request, epic, or commit, GitLab normalizes the
    body before it saves it. This applies to notes sent through any API, including the Discussions,
    Draft notes, and Commits APIs. GitLab:

    - Runs and then removes any quick actions.
    - Removes carriage return characters (`\r`).
    - Removes trailing whitespace, including trailing newlines.

    As a result, the `body` returned by later requests might not match the `body` you sent. Notes on
    snippets and wiki pages are saved as sent.

    > [!warning]
    > The epic notes endpoints are part of the Epics REST API, which was
    > [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/460668) in GitLab 17.0 and is planned
    > for removal in v5 of the API. From GitLab 17.4 to 18.0, if the new look for epics is enabled, or in
    > GitLab 18.1 and later, use the Work Items API instead. This change is a breaking change.

    Some system-generated notes are tracked as separate resource events instead, including
    [label](https://docs.gitlab.com/api/resource_label_events/),
    [state](https://docs.gitlab.com/api/resource_state_events/),
    [milestone](https://docs.gitlab.com/api/resource_milestone_events/),
    [weight](https://docs.gitlab.com/api/resource_weight_events/), and
    [iteration](https://docs.gitlab.com/api/resource_iteration_events/) events.

    By default, `GET` requests return 20 results at a time, because the results are
    [paginated](https://docs.gitlab.com/api/rest/#pagination).
  x-displayName: Notes
  externalDocs:
    url: https://docs.gitlab.com/api/notes/
- name: Notification settings
  description: |-
    Use this API to retrieve and update [notification settings](https://docs.gitlab.com/user/profile/notifications/)
    globally for your account, or for an individual group or project, which overrides the global setting.

    These notification levels are recognized:

    - `disabled`: Turn off all notifications.
    - `participating`: Receive notifications for threads you have participated in.
    - `watch`: Receive notifications for most activity.
    - `global`: Use your global notification settings.
    - `mention`: Receive notifications when you are mentioned in a comment.
    - `custom`: Receive notifications for selected events.

    If you use the `custom` level, you can control specific email events. These events are recognized:

    | Event                           | Description |
    | ------------------------------- | ----------- |
    | `approver`                      | A merge request you're eligible to approve is created. |
    | `change_reviewer_merge_request` | A merge request's reviewer is changed. |
    | `close_issue`                   | An issue is closed. |
    | `close_merge_request`           | A merge request is closed. |
    | `failed_pipeline`               | A pipeline fails. |
    | `fixed_pipeline`                | A previously failed pipeline is fixed. |
    | `issue_due`                     | An issue is due tomorrow. |
    | `merge_merge_request`           | A merge request is merged. |
    | `merge_when_pipeline_succeeds`  | A merge request is set to auto-merge. |
    | `moved_project`                 | A project is moved. |
    | `new_epic`                      | A new epic is created. Premium and Ultimate only. |
    | `new_issue`                     | A new issue is created. |
    | `new_merge_request`             | A new merge request is created. |
    | `new_note`                      | Someone adds a comment. |
    | `new_release`                   | A new release is published. |
    | `push_to_merge_request`         | Someone pushes to a merge request. |
    | `reassign_issue`                | An issue is reassigned. |
    | `reassign_merge_request`        | A merge request is reassigned. |
    | `reopen_issue`                  | An issue is reopened. |
    | `reopen_merge_request`          | A merge request is reopened. |
    | `success_pipeline`              | A pipeline completes successfully. |
  x-displayName: Notification settings
  externalDocs:
    url: https://docs.gitlab.com/api/notification_settings/
- name: Offline transfers
  description: |-
    Use this API to start and track offline transfer exports and imports, which migrate data between
    GitLab instances that cannot reach each other over a network.
  x-displayName: Offline transfers
- name: Orbit
  description: |-
    Use this API to query [GitLab Orbit](https://docs.gitlab.com/orbit/),
    which indexes a group's software development lifecycle.
    It runs queries and named queries, searches for entities, and retrieves entity context and skills.
    This reference does not include `GET /orbit/grep` or `POST /orbit/mcp`.

    ## Rate limits

    The Orbit query rate limit allows 60 requests per minute for each user by default.
    Administrators can change the limit and exclude users.

    These requests count toward the limit:

    - `GET /orbit/grep`
    - `POST /orbit/context`
    - `POST /orbit/query`
    - `POST /orbit/query/:name`
    - `GET /orbit/skills`, `GET /orbit/skills/:name`, and `GET /orbit/skills/:name/*path`, including `HEAD` requests
    - The `query_graph` command on the MCP endpoint `POST /orbit/mcp`

    When you exceed the limit, the endpoint returns `429 Too Many Requests` with a `Retry-After` header.

    ## Endpoint status

    Each endpoint has its own status. Experiment endpoints can change or be removed without notice.
    `GET /orbit/grep` and `POST /orbit/context` are experiments. The query and skills endpoints are generally available.

    ## Query errors

    `POST /orbit/query` and `POST /orbit/query/:name` can return these errors.
    When Orbit reports a query error, the body is JSON with `code` and `message`.

    - `400 Bad Request`: The request is not valid, or the query does not compile or fails validation.
      For a query error, `code` is `compile_error`, `validation_error`, or `invalid_request`.
    - `401 Unauthorized`: The request has no valid token.
    - `402 Payment Required`: Your Orbit credits are used up. The JSON body has `code` `quota_exhausted`,
      `message`, and `reason` `GITLAB_CREDITS_EXHAUSTED`.
    - `403 Forbidden`: Orbit is not available for you, or you have no Orbit-enabled group.
    - `404 Not Found`: Orbit is not configured on the instance.
    - `422 Unprocessable Entity`: On GitLab.com, you must select a default group for Orbit billing.
      The JSON body has `code` `billing_namespace_required`, `message`, `deep_link` to your preferences,
      and `candidates`, the groups you can select.
    - `429 Too Many Requests`: You exceeded the Orbit query rate limit.
    - `502 Bad Gateway`: Orbit could not run the query, or the connection to Orbit failed. The body is JSON
      with `code` `execution_error` or `internal_error`, or plain text when the connection failed.
    - `504 Gateway Timeout`: The query did not finish in time. `code` is `timeout` when Orbit reports it.

    ## Skills

    Skill endpoints require authentication with the `read_api` or `ai_workflows` scope.
    They do not check the Orbit license, so unavailable skills return `404 Not Found` instead of `403 Forbidden`.
    The response is `404 Not Found` with the message `Skills are not available` when:

    - The Orbit service is an older version without skill RPCs.
    - The Orbit service is not configured on the instance. On GitLab Self-Managed, this is
      controlled by `orbit.enabled` in `gitlab.yml`.
    - The current user does not have at least the Reporter role in a group whose top-level group has Orbit
      turned on. Administrators in Admin Mode and auditors are exempt from this role requirement.

    In these cases, the Orbit CLI uses its embedded local skill.

    A skill name must start with a lowercase letter or digit, and contain only lowercase letters, digits, and hyphens.
    Other values return `400 Bad Request`.
  x-displayName: Orbit
  externalDocs:
    url: https://docs.gitlab.com/api/orbit/
- name: Organizations
  description: Use this API to interact with GitLab organizations. For more information,
    see [organizations](https://docs.gitlab.com/user/organization/).
  x-displayName: Organizations
  externalDocs:
    url: https://docs.gitlab.com/api/organizations/
- name: Packages
  description: |-
    Use this API to manage the [packages](https://docs.gitlab.com/user/packages/package_registry/) stored
    in a project or a group.
  x-displayName: Packages
  externalDocs:
    url: https://docs.gitlab.com/api/packages/
- name: 'Packages: Cargo'
  description: |-
    Use this API to interact with the Cargo package registry, including its sparse index, registry
    configuration, and crate downloads. Generally these endpoints are used by Cargo itself and are not
    meant for manual consumption. For more information, see the
    [package registry](https://docs.gitlab.com/user/packages/package_registry/).
  x-displayName: 'Packages: Cargo'
- name: 'Packages: Composer'
  description: |-
    Use this API to interact with the [Composer package manager client](https://docs.gitlab.com/user/packages/composer_repository/).

    > [!warning]
    > This API is used by the [Composer package manager client](https://getcomposer.org/)
    > and is generally not meant for manual consumption.

    These endpoints do not adhere to the standard API authentication methods.
    See the [Composer package registry documentation](https://docs.gitlab.com/user/packages/composer_repository/)
    for details on which headers and token types are supported. Undocumented authentication methods might be removed in the future.

    The V1 package metadata endpoint takes the package name and SHA in one path segment, in the format
    `<package_name>$<sha>`. You might need to URL-encode the `$` symbol as `%24`.
  x-displayName: 'Packages: Composer'
  externalDocs:
    url: https://docs.gitlab.com/api/packages/composer/
- name: 'Packages: Conan'
  description: |-
    > [!warning]
    > The Conan registry is not FIPS compliant and is disabled when FIPS mode is enabled. These
    > endpoints all return `404 Not Found`.

    Use this API to interact with the Conan package manager for
    [v1](https://docs.gitlab.com/user/packages/conan_1_repository/) and
    [v2](https://docs.gitlab.com/user/packages/conan_2_repository/) repositories. The v1 endpoints work
    for both projects and instances, and the availability of the v2 endpoints is controlled by a feature
    flag. Generally these endpoints are used by the Conan package manager client and are not meant for
    manual consumption.

    > [!note]
    > These endpoints do not adhere to the standard API authentication methods. See each route for
    > details on how credentials are expected to be passed. Undocumented authentication methods might be
    > removed in the future.
  x-displayName: 'Packages: Conan'
  externalDocs:
    url: https://docs.gitlab.com/api/packages/conan_v1/
- name: 'Packages: Debian'
  description: |-
    > [!warning]
    > These endpoints are under development and are not ready for production use due to limited
    > functionality. The package endpoints are used by Debian package clients such as
    > [dput](https://manpages.debian.org/stable/dput-ng/dput.1.en.html) and
    > [apt-get](https://manpages.debian.org/stable/apt/apt-get.8.en.html), and are generally not meant
    > for manual consumption.

    Use this API to manage [Debian distributions](https://docs.gitlab.com/user/packages/debian_repository/)
    for groups and projects, and to publish and retrieve Debian packages. The distribution and package
    endpoints are behind feature flags that are disabled by default. Debian group repository support is
    still a work in progress. To use the endpoints, a GitLab administrator with access to the GitLab
    Rails console must enable the
    [group](https://docs.gitlab.com/api/packages/debian_group_distributions/#enable-the-debian-group-api) or
    [project](https://docs.gitlab.com/api/packages/debian_project_distributions/#enable-the-debian-api)
    Debian API.

    The Release file and package index endpoints have identical routes at two levels. Use the
    project-level prefix `/projects/:id/packages/debian` to make requests in a single project's scope,
    and the group-level prefix `/groups/:id/-/packages/debian` to make requests in a single group's
    scope.

    > [!note]
    > These endpoints do not adhere to the standard API authentication methods. For the supported headers
    > and token types, see the [Debian registry documentation](https://docs.gitlab.com/user/packages/debian_repository/).
    > Undocumented authentication methods might be removed in the future.
  x-displayName: 'Packages: Debian'
  externalDocs:
    url: https://docs.gitlab.com/api/packages/debian_group_distributions/
- name: 'Packages: Helm'
  description: |-
    Use this API to interact with [Helm package clients](https://docs.gitlab.com/user/packages/helm_repository/).

    > [!warning]
    > This API is used by the Helm-related package clients such as [Helm](https://helm.sh/)
    > and [`helm-push`](https://github.com/chartmuseum/helm-push/#readme),
    > and is generally not meant for manual consumption.

    These endpoints do not adhere to the standard API authentication methods.
    See the [Helm registry documentation](https://docs.gitlab.com/user/packages/helm_repository/)
    for details on which headers and token types are supported. Undocumented authentication methods might be removed in the future.
  x-displayName: 'Packages: Helm'
  externalDocs:
    url: https://docs.gitlab.com/api/packages/helm/
- name: 'Packages: NPM'
  description: |-
    Use this API to interact with the [npm package manager client](https://docs.gitlab.com/user/packages/npm_registry/).

    > [!warning]
    > This API is used by the [npm package manager client](https://docs.npmjs.com/)
    > and is not meant for manual consumption.

    These endpoints do not adhere to the standard API authentication methods.
    See the [npm package registry documentation](https://docs.gitlab.com/user/packages/npm_registry/)
    for details on which headers and token types are supported. Undocumented authentication methods might be removed in the future.
  x-displayName: 'Packages: NPM'
  externalDocs:
    url: https://docs.gitlab.com/api/packages/npm/
- name: 'Packages: NuGet'
  description: |-
    Use this API to interact with the [NuGet package manager client](https://docs.gitlab.com/user/packages/nuget_repository/).

    > [!warning]
    > This API is used by the [NuGet package manager client](https://www.nuget.org/)
    > and is generally not meant for manual consumption.

    These endpoints do not adhere to the standard API authentication methods.
    See the [NuGet package registry documentation](https://docs.gitlab.com/user/packages/nuget_repository/)
    for details on which headers and token types are supported. Undocumented authentication methods might be removed in the future.

    Most endpoints exist at two route prefixes. Use the group-level prefix `/groups/:id/-/packages/nuget`
    to make requests in a group's scope, and the project-level prefix `/projects/:id/packages/nuget` to
    make requests in a single project's scope.
  x-displayName: 'Packages: NuGet'
  externalDocs:
    url: https://docs.gitlab.com/api/packages/nuget/
- name: 'Packages: PyPi'
  description: |-
    Use this API to interact with the [PyPI package manager client](https://docs.gitlab.com/user/packages/pypi_repository/).

    > [!warning]
    > This API is used by the [PyPI package manager client](https://pypi.org/)
    > and is generally not meant for manual consumption.

    These endpoints do not adhere to the standard API authentication methods.
    See the [PyPI package registry documentation](https://docs.gitlab.com/user/packages/pypi_repository/)
    for details on which headers and token types are supported. Undocumented authentication methods might be removed in the future.

    > [!note]
    > [Twine 3.4.2](https://twine.readthedocs.io/en/stable/changelog.html?highlight=FIPS#id28) or greater
    > is recommended when FIPS mode is enabled.
  x-displayName: 'Packages: PyPi'
  externalDocs:
    url: https://docs.gitlab.com/api/packages/pypi/
- name: 'Packages: RPM'
  description: |-
    Use this API to upload RPM packages to the
    [package registry](https://docs.gitlab.com/user/packages/package_registry/).
  x-displayName: 'Packages: RPM'
- name: 'Packages: RubyGem'
  description: |-
    Use this API to interact with the [Ruby gems and Bundler package manager clients](https://docs.gitlab.com/user/packages/rubygems_registry/).

    > [!warning]
    > This API is used by the Ruby gems and Bundler package manager clients and is generally not meant
    > for manual consumption. This API is under development and is not ready for production use due to
    > limited functionality.

    These endpoints do not adhere to the standard API authentication methods.
    See the [Ruby gems registry documentation](https://docs.gitlab.com/user/packages/rubygems_registry/)
    for details on which headers and token types are supported. Undocumented authentication methods might be removed in the future.

    These endpoints are behind a feature flag named `rubygem_packages`, disabled by default. GitLab
    administrators with access to the GitLab Rails console can enable or disable the flag for the
    instance, or for specific projects.
  x-displayName: 'Packages: RubyGem'
  externalDocs:
    url: https://docs.gitlab.com/api/packages/rubygems/
- name: Pipeline schedules
  description: |-
    Use this API to interact with [pipeline schedules](https://docs.gitlab.com/ci/pipelines/schedules/).

    The API cannot automatically expand a short `ref` to a full `ref` when:

    - Both a branch and a tag exist with the same name as the short `ref`.
    - No branch or tag exists with that name.

    To resolve this issue, provide the full `ref`, for example `refs/heads/main` or `refs/tags/main`.
  x-displayName: Pipeline schedules
  externalDocs:
    url: https://docs.gitlab.com/api/pipeline_schedules/
- name: Pipelines
  description: |-
    Use this API to manage [CI/CD pipelines](https://docs.gitlab.com/ci/pipelines/) and the
    [jobs](https://docs.gitlab.com/ci/jobs/) they run.
  x-displayName: Pipelines
  externalDocs:
    url: https://docs.gitlab.com/api/pipelines/
- name: Plan limits
  description: |-
    Use this API to retrieve and change the application limits of a subscription plan.

    The available plans depend on the GitLab edition. In the Community Edition, only the `default` plan
    exists. The Enterprise Edition has additional plans.

    These endpoints require administrator access to the instance.
  x-displayName: Plan limits
  externalDocs:
    url: https://docs.gitlab.com/api/plan_limits/
- name: Policy store
  description: Operations related to policy store.
- name: Project Google Cloud integration
  description: Use this API to interact with the Google Cloud integration. For more
    information, see [GitLab and Google Cloud integration](https://docs.gitlab.com/ci/gitlab_google_cloud_integration/).
  x-displayName: Project Google Cloud integration
  externalDocs:
    url: https://docs.gitlab.com/api/google_cloud_integration/
- name: Project alias
  description: |-
    Use this API to manage [project aliases](https://docs.gitlab.com/user/project/working_with_projects/#project-aliases).
    After you create an alias for a project, users can clone the repository with that alias, which can be
    helpful when migrating repositories.

    All endpoints require administrator authorization.
  x-displayName: Project alias
  externalDocs:
    url: https://docs.gitlab.com/api/project_aliases/
- name: Project approvals
  description: |-
    Use this API to retrieve and change a project's
    [merge request approval configuration](https://docs.gitlab.com/user/project/merge_requests/approvals/settings/),
    such as the number of approvals a merge request requires.

    All endpoints require authentication.
  x-displayName: Project approvals
  externalDocs:
    url: https://docs.gitlab.com/api/merge_request_approvals/
- name: Project import
  description: |-
    Use this API to [import repositories from external sources](https://docs.gitlab.com/user/import/)
    and to [migrate a project](https://docs.gitlab.com/user/project/settings/import_export/) between
    GitLab instances.

    If you first migrate the parent group structure with the
    [group import and export API](https://docs.gitlab.com/api/group_import_export/), you can preserve
    relationships that span the group, such as connections between project issues and group epics.
    After an import, use the [project-level CI/CD variables API](https://docs.gitlab.com/api/project_level_variables/)
    to restore CI/CD variables. You must still migrate your
    [container registry](https://docs.gitlab.com/user/packages/container_registry/) over a series of
    Docker pulls and pushes, and re-run any CI/CD pipelines to retrieve build artifacts.

    The project relations export endpoints are used by the destination instance during
    [group migration by direct transfer](https://docs.gitlab.com/user/group/import/) to migrate a
    project structure, and you don't usually need to call them yourself. In this context, a relation is
    an exportable item such as a merge request, including any related items such as a label.

    > [!note]
    > User contribution mapping is not supported when you import projects to a
    > [personal namespace](https://docs.gitlab.com/user/namespace/#types-of-namespaces). All
    > contributions are assigned to the personal namespace owner and cannot be reassigned.
  x-displayName: Project import
  externalDocs:
    url: https://docs.gitlab.com/api/project_import_export/
- name: Project mirrors
  description: |-
    Use this API to manage project [pull mirroring](https://docs.gitlab.com/user/project/repository/mirror/pull/).

    > [!warning]
    > Configuring pull mirroring with the `mirror` and `import_url` attributes of the projects API was
    > deprecated in GitLab 17.6 and is planned for removal in v5 of the API. Use the endpoint that
    > updates project pull mirroring settings instead. This change is a breaking change.

    With the deprecated method, if the remote repository is publicly accessible or uses
    `username:token` authentication, configure pull mirroring when you create or update a project.
    To enable pull mirroring, set `mirror` to `true` and set `import_url` to the URL of the remote
    repository. To disable it, set `mirror` to `false`. If your HTTP repository is not publicly
    accessible, add the authentication information to the URL, for example
    `https://username:token@gitlab.company.com/group/project.git`, where `token` is a personal access
    token with the `api` scope enabled.
  x-displayName: Project mirrors
  externalDocs:
    url: https://docs.gitlab.com/api/project_pull_mirroring/
- name: Project snapshots
  description: |-
    Use this API to download a snapshot of a project's repository, for use in salvaging a corrupt
    repository.

    These endpoints require administrator access to the instance.
  x-displayName: Project snapshots
  externalDocs:
    url: https://docs.gitlab.com/api/projects/
- name: Project templates
  description: |-
    Use this API to retrieve project-specific templates, in addition to the templates common to the
    entire instance:

    - [Dockerfile templates](https://docs.gitlab.com/api/templates/dockerfiles/)
    - [Gitignore templates](https://docs.gitlab.com/api/templates/gitignores/)
    - [GitLab CI/CD configuration templates](https://docs.gitlab.com/api/templates/gitlab_ci_ymls/)
    - [Open source license templates](https://docs.gitlab.com/api/templates/licenses/)
    - [Issue and merge request templates](https://docs.gitlab.com/user/project/description_templates/)

    These endpoints supersede the instance template endpoints, which are scheduled for removal
    in API version 5. [File templates for groups](https://docs.gitlab.com/user/group/manage/#group-file-templates)
    are also supported.
  x-displayName: Project templates
  externalDocs:
    url: https://docs.gitlab.com/api/project_templates/
- name: Project topics
  description: |-
    Use this API to interact with project topics. For more information, see [project topics](https://docs.gitlab.com/user/project/project_topics/).

    To remove a topic avatar, set `avatar` to a blank value when you update the topic.
  x-displayName: Project topics
  externalDocs:
    url: https://docs.gitlab.com/api/topics/
- name: Projects
  description: |-
    Use this API to manage [projects](https://docs.gitlab.com/user/project/) and the resources they contain, including:

    - Project settings, visibility, access permissions, and security settings.
    - Archiving, transferring, [forking](https://docs.gitlab.com/user/project/repository/forking_workflow/), and [starring](https://docs.gitlab.com/user/project/working_with_projects/) projects.
    - Project [issues](https://docs.gitlab.com/user/project/issues/), issue statistics, and project statistics.
    - [Markdown uploads](https://docs.gitlab.com/security/user_file_uploads/) referenced in issues, merge requests, snippets, or wiki pages.
    - Protection rules for [container image tags](https://docs.gitlab.com/user/packages/container_registry/protected_container_tags/), container repositories, and [packages](https://docs.gitlab.com/user/packages/package_registry/package_protection_rules/).

    If a user is not a member of a private project, a `GET` request on that project results in a
    `404` status code.

    To read the properties of a private project, you need any default role on the project. To edit project
    properties, you need the Maintainer or Owner role on each project you change.

    A project has one of three visibility levels: `private`, `internal`, or `public`. The fields returned in
    responses vary based on the permissions of the authenticated user.

    Each project feature access level setting is defined independently and accepts these values:

    - `disabled`: Turns off the feature.
    - `private`: Turns on the feature for project members only.
    - `enabled`: Turns on the feature for everyone with access to the project.
    - `public`: Turns on the feature for everyone. Available only for `pages_access_level`.

    If Pages access control is turned on, private projects accept `disabled`, `private`, and `public` for
    `pages_access_level`, internal projects accept all four values, and public projects accept `disabled`,
    `private`, and `enabled`. `public` is also rejected when public access to Pages is turned off for the
    instance or the group.

    New projects have Service Desk turned on by default. To turn off Service Desk for several projects, update
    each project and set `service_desk_enabled` to `false`.

    To remove a project avatar, update the project with a blank value for `avatar`.

    The returned `restrict_user_defined_variables` value is derived from
    `ci_pipeline_variables_minimum_override_role`, which takes priority when you set both. It is `false` only
    when the minimum override role is `developer`. For example, setting `restrict_user_defined_variables` to
    `true` and `ci_pipeline_variables_minimum_override_role` to `developer` returns
    `restrict_user_defined_variables: false`. Setting `restrict_user_defined_variables` to `false` and
    `ci_pipeline_variables_minimum_override_role` to `maintainer` returns `restrict_user_defined_variables: true`.

    Every call to the project statistics and project security settings endpoints must be authenticated.
    Project statistics count the number of times the project is cloned or pulled over HTTP. SSH fetches
    are not included.
  x-displayName: Projects
  externalDocs:
    url: https://docs.gitlab.com/api/projects/
- name: Projects job token scope
  description: |-
    Use this API to interact with [CI/CD job token](https://docs.gitlab.com/ci/jobs/ci_job_token/) scopes.

    > [!note]
    > All requests to the CI/CD job token scope API endpoint must be [authenticated](https://docs.gitlab.com/api/rest/authentication/).
    > The authenticated user must have the Maintainer or Owner role for the project.
  x-displayName: Projects job token scope
  externalDocs:
    url: https://docs.gitlab.com/api/project_job_token_scopes/
- name: Protected branches
  description: |-
    Use this API to manage [protected branches](https://docs.gitlab.com/user/project/repository/branches/protected/)
    for a project, and the [protected branch settings](https://docs.gitlab.com/user/project/repository/branches/protected/#in-a-group)
    that all projects in a group inherit.

    GitLab Premium and GitLab Ultimate support more granular protections for pushing to branches.
    Administrators can grant permission to modify and push to protected branches only to deploy keys,
    instead of specific users.

    > [!warning]
    > Group protected branch settings are restricted to top-level groups. They support only
    > [valid access levels](https://docs.gitlab.com/api/group_protected_branches/#valid-access-levels)
    > and, on GitLab Ultimate, custom roles (`member_role_id`). They cannot name individual users or groups.
    > The custom role must belong to the same top-level group as the protected branch.

    Valid access levels are:

    - `0`: No access. Valid for push and merge access levels only, not for unprotect access levels.
    - `30`: Developer.
    - `40`: Maintainer.
    - `60`: Administrator. Valid for GitLab Self-Managed only.

    On project protected branches, you can also assign access by:

    - User (`user_id`): Valid for push, merge, and unprotect access levels. The user must have access to
      the project.
    - Group (`group_id`): Valid for push, merge, and unprotect access levels. The group must have the
      project shared with it, with the Developer, Maintainer, or Owner role.
    - Deploy key (`deploy_key_id`): Valid for push access levels only. The deploy key must be enabled
      for the project and have write access to the project repository.

    Each element in the `allowed_to_push`, `allowed_to_merge`, and `allowed_to_unprotect` arrays takes
    the form `{user_id: integer}`, `{group_id: integer}`, `{deploy_key_id: integer}`,
    `{member_role_id: integer}`, or `{access_level: integer}`. `user_id`, `group_id`, and `access_level`
    are available only on GitLab Premium and Ultimate. `member_role_id` is available only on GitLab
    Ultimate. `deploy_key_id` is valid only in `allowed_to_push`.

    On GitLab Premium and Ultimate, to update a project protected branch, you must be included in its `allowed_to_unprotect` configuration.
    To modify an existing access level record, include its `id`. To remove an access level, include its
    `id` and set `_destroy` to `true`.

    > [!note]
    > To avoid permanently locking protection settings for a branch, ensure at least one user or group
    > retains unprotect permissions for the branch at all times.
  x-displayName: Protected branches
  externalDocs:
    url: https://docs.gitlab.com/api/protected_branches/
- name: Protected environments
  description: |-
    Use this API to manage [protected environments](https://docs.gitlab.com/ci/environments/protected_environments/)
    for a project, and [protected environments for a group](https://docs.gitlab.com/ci/environments/protected_environments/#protected-environments-for-groups)
    for a group.

    > [!note]
    > The project endpoints require CI/CD to be turned on for the project. If
    > [CI/CD is turned off](https://docs.gitlab.com/user/project/settings/#turn-off-cicd-for-a-project),
    > requests return `403 Forbidden`, even for users who otherwise have permission to manage protected
    > environments.
  x-displayName: Protected environments
  externalDocs:
    url: https://docs.gitlab.com/api/protected_environments/
- name: Protected tags
  description: |-
    Use this API to manage [protected tags](https://docs.gitlab.com/user/project/protected_tags/).

    These access levels are recognized: `0` (No access), `30` (Developer role), `40` (Maintainer role),
    and `60` (administrator). `60` is not available on GitLab.com.

    Elements in the `allowed_to_create` array take the form `{user_id: integer}`, `{group_id: integer}`,
    `{deploy_key_id: integer}`, or `{access_level: integer}`. `user_id`, `group_id`, and `access_level`
    are available only on GitLab Premium and Ultimate. Each user must be a member of the project, and
    the project must be shared with each group with at least the Developer role.
  x-displayName: Protected tags
  externalDocs:
    url: https://docs.gitlab.com/api/protected_tags/
- name: Provider identities
  description: |-
    Use this API to manage the SAML and SCIM identities linked to users in a group.

    Prerequisites for the SCIM endpoints:

    - You must enable [group SSO](https://docs.gitlab.com/user/group/saml_sso/).
    - You must enable [SCIM for group SSO](https://docs.gitlab.com/user/group/saml_sso/scim_setup/).
    - You must authenticate with a [personal access token](https://docs.gitlab.com/user/profile/personal_access_tokens/)
      or [group access token](https://docs.gitlab.com/user/group/settings/group_access_tokens/) that has the correct scope.

    These endpoints get, check, update, and delete SCIM identities in groups, and do not implement
    the [RFC7644 protocol](https://www.rfc-editor.org/rfc/rfc7644). They differ from the
    [internal group SCIM API](https://docs.gitlab.com/development/internal_api/#group-scim-api) and the
    [internal instance SCIM API](https://docs.gitlab.com/development/internal_api/#instance-scim-api),
    which implement RFC7644 for SCIM provider integration and require a SCIM token.
  x-displayName: Provider identities
  externalDocs:
    url: https://docs.gitlab.com/api/saml/
- name: Push rules
  description: |-
    Use this API to manage [push rules](https://docs.gitlab.com/user/project/repository/push_rules/) for
    a project, and [group push rules](https://docs.gitlab.com/user/project/repository/push_rules/#group-push-rules)
    that apply to newly created projects in a group.

    Managing group push rules requires the Owner role for the group, or administrator access to the
    instance.

    > [!note]
    > GitLab uses [RE2 syntax](https://github.com/google/re2/wiki/Syntax) for all regular expressions in push rules.
  x-displayName: Push rules
  externalDocs:
    url: https://docs.gitlab.com/api/group_push_rules/
- name: Releases
  description: |-
    Use this API to manage [releases](https://docs.gitlab.com/user/project/releases/) for a project,
    list the releases across a group, and manage the asset links attached to a release.

    Asset links support the `http`, `https`, and `ftp` protocols.

    For authentication, the Releases API accepts either a personal access token in the `PRIVATE-TOKEN`
    header, or the CI/CD job token `$CI_JOB_TOKEN` in the `JOB-TOKEN` header.

    When you create or update a release, the `milestones` and `milestone_ids` parameters accept group
    milestones only from the project's group. Specifying a milestone of an ancestor group returns an error.

    In release responses, `upcoming_release` is `true` when `released_at` is set to a future date.
  x-displayName: Releases
  externalDocs:
    url: https://docs.gitlab.com/api/releases/
- name: Remote mirrors
  description: |-
    Use this API to manage [remote mirrors](https://docs.gitlab.com/user/project/repository/mirror/push/).
    You can query and modify the state of these mirrors.

    For security reasons, the `url` attribute in the API response is always scrubbed of username
    and password information.

    > [!note]
    > [Pull mirrors](https://docs.gitlab.com/user/project/repository/mirror/pull/) use
    > [a different API endpoint](https://docs.gitlab.com/api/project_pull_mirroring/#update-project-pull-mirroring-settings) to
    > display and update them.
  x-displayName: Remote mirrors
  externalDocs:
    url: https://docs.gitlab.com/api/remote_mirrors/
- name: Repositories
  description: |-
    Use this API to manage [Git repositories](https://docs.gitlab.com/user/project/repository/).

    When the add changelog data operation adds to an existing changelog file, it places the new section by
    the version headers already in the file. A version header must have the form `## X.Y.Z`. If the file
    uses another form, such as `## vX.Y.Z`, new sections are appended to the end of the file. Migrate a
    manually-managed changelog file to this format before you use the API.
  x-displayName: Repositories
  externalDocs:
    url: https://docs.gitlab.com/api/repositories/
- name: Resource events
  description: |-
    Use this API to retrieve the events that track changes to issues, merge requests, and epics:

    - [Label](https://docs.gitlab.com/user/project/labels/) events record who added or removed a label, and when.
    - [Iteration](https://docs.gitlab.com/user/group/iterations/) events record iteration changes for issues.
    - Milestone events record milestone changes for issues and merge requests.
    - State events record state changes for issues, merge requests, and epics.
    - Weight events record weight changes for issues.

    State events do not track the initial state (`created` or `opened`) of a resource. For a resource
    that was never closed or reopened, an empty list is returned.

    > [!warning]
    > The epic endpoints in this API are part of the Epics REST API, which was
    > [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/460668) in GitLab 17.0 and is planned
    > for removal in v5 of the API. From GitLab 17.4 to 18.0, if the new look for epics is enabled, or in
    > GitLab 18.1 and later, use the Work Items API instead. This change is a breaking change.
  x-displayName: Resource events
  externalDocs:
    url: https://docs.gitlab.com/api/resource_label_events/
- name: Resource subscriptions
  description: |-
    Use this API to subscribe to and unsubscribe from [issues](https://docs.gitlab.com/user/project/issues/),
    [merge requests](https://docs.gitlab.com/user/project/merge_requests/), and
    [labels](https://docs.gitlab.com/user/project/labels/) in projects and groups.

    All API calls to non-public information require authentication.
  x-displayName: Resource subscriptions
- name: Rollouts
  description: Operations related to rollouts.
- name: Runner controller tokens
  description: |-
    Use this API to create, list, rotate, and revoke the authentication tokens that runner controllers
    use to authenticate with a GitLab instance and manage runners.

    These endpoints require administrator access to the instance.

    > [!note]
    > The availability of these endpoints is controlled by a feature flag. They are available for
    > testing, but not ready for production use.
  x-displayName: Runner controller tokens
  externalDocs:
    url: https://docs.gitlab.com/api/runner_controller_tokens/
- name: Runner controllers
  description: |-
    Use this API to manage the runner controllers that handle CI/CD job admission control, and the scopes
    assigned to them. Runner controllers connect to the job router and evaluate jobs against custom
    policies, deciding whether to admit or reject them.

    Runner controller scopes define which jobs a runner controller evaluates for admission control. A
    runner controller must have at least one scope to receive admission requests. Without a scope, the
    controller remains inactive even when its state is `enabled` or `dry_run`.

    These endpoints require administrator access to the instance.

    > [!note]
    > The availability of these endpoints is controlled by a feature flag. They are available for
    > testing, but not ready for production use.
  x-displayName: Runner controllers
  externalDocs:
    url: https://docs.gitlab.com/api/runner_controllers/
- name: Runners
  description: |-
    Use this API to manage the [runners](https://docs.gitlab.com/ci/runners/) already registered to an
    instance, group, or project.

    To create a runner, use the
    [`POST /user/runners`](https://docs.gitlab.com/api/users/#create-a-runner-linked-to-a-user) endpoint
    instead.
  x-displayName: Runners
  externalDocs:
    url: https://docs.gitlab.com/api/runners/
- name: SAML group links
  description: |-
    Use this API to manage the [SAML group links](https://docs.gitlab.com/user/group/saml_sso/group_sync/)
    that map a group in your identity provider to a GitLab group, and to the role its members receive.
  x-displayName: SAML group links
  externalDocs:
    url: https://docs.gitlab.com/api/saml/
- name: Search
  description: |-
    Use this API to [search across GitLab](https://docs.gitlab.com/user/search/) in an instance, a group,
    or a project, and to retrieve information about
    [advanced search migrations](https://docs.gitlab.com/integration/advanced_search/elasticsearch/#advanced-search-migrations).

    Every call to this API requires authentication. Retrieving advanced search migrations requires
    administrator access.

    Some scopes are available for [basic search](https://docs.gitlab.com/user/search/#available-scopes).
    When [advanced search](https://docs.gitlab.com/user/search/advanced_search/#available-scopes) or
    [exact code search](https://docs.gitlab.com/user/search/exact_code_search/#available-scopes) is
    enabled, additional scopes become available. To use basic search instead, see
    [specify a search type](https://docs.gitlab.com/user/search/#specify-a-search-type).

    These endpoints support [offset-based pagination](https://docs.gitlab.com/api/rest/#offset-based-pagination).

    With advanced search, at most 10,000 results (`page` multiplied by `per_page`) can be retrieved.
    Requests past that limit return an empty page with no `next` link. Basic search and exact code
    search are not affected. Raising `index.max_result_window` on the Elasticsearch cluster does not
    increase the limit.
  x-displayName: Search
  externalDocs:
    url: https://docs.gitlab.com/api/search/
- name: Secrets manager
  description: Operations related to secrets manager.
- name: Secure files
  description: Use this API to manage [secure files](https://docs.gitlab.com/ci/secure_files/)
    for a project.
  x-displayName: Secure files
  externalDocs:
    url: https://docs.gitlab.com/api/secure_files/
- name: Security scans
  description: |-
    Use this API to scan a single file for vulnerabilities and return the
    [SAST](https://docs.gitlab.com/user/application_security/sast/) results in real time.
  x-displayName: Security scans
  externalDocs:
    url: https://docs.gitlab.com/api/projects/
- name: Service accounts
  description: |-
    Use this API to interact with [service accounts](https://docs.gitlab.com/user/profile/service_accounts/).

    The number of service accounts you can create depends on your subscription and offering:

    - On GitLab Premium and Ultimate, you can create an unlimited number of service accounts for all offerings.
    - On GitLab Free, limits vary by offering:
      - For GitLab.com, you can create up to 100 service accounts for each top-level group.
        This includes service accounts created in subgroups or projects.
      - For GitLab Self-Managed, you can create up to 100 service accounts for the entire instance.
        This includes service accounts created for the instance, a group, or a project.

    You can also interact with service accounts through the [users API](https://docs.gitlab.com/api/users/).
    To manage SSH keys for service accounts, use the [user SSH and GPG keys API](https://docs.gitlab.com/api/user_keys/).

    Instance service accounts are available to an entire GitLab instance, but must still be added to
    groups and projects like a human user. Managing instance service accounts requires administrator
    access to the instance.

    Group service accounts are owned by a specific group. A service account created in a top-level group
    can be invited to any group or project on the instance. A service account created in a subgroup can
    be invited only to that subgroup and its descendant subgroups or projects. To manage group service
    accounts:

    - On GitLab.com, you must have the Owner role for the group.
    - On GitLab Self-Managed or GitLab Dedicated, you must either be an administrator for the instance,
      or have the Owner role in a group and be allowed to create service accounts.

    Project service accounts are owned by a specific project and are available only to their
    associated project. To manage project service accounts:

    - On GitLab.com, you must have the Maintainer or Owner role for the project.
    - On GitLab Self-Managed or GitLab Dedicated, you must either be an administrator for the instance,
      or have the Maintainer or Owner role in the project.
  x-displayName: Service accounts
  externalDocs:
    url: https://docs.gitlab.com/api/service_accounts/
- name: Sidekiq
  description: |-
    Use this API to retrieve information about the current state of Sidekiq, including its jobs, queues,
    and processes, and to delete jobs from a queue.
  x-displayName: Sidekiq
  externalDocs:
    url: https://docs.gitlab.com/api/sidekiq_metrics/
- name: Snippets
  description: |-
    Use this API to manage personal and project [snippets](https://docs.gitlab.com/user/snippets/).

    To move snippets between storages, use the
    [snippet repository storage moves API](https://docs.gitlab.com/api/snippet_repository_storage_moves/).
  x-displayName: Snippets
  externalDocs:
    url: https://docs.gitlab.com/api/snippets/
- name: Software composition analysis
  description: |-
    Use this API to upload the SBOM produced by a CI/CD job, download the resulting scan, and reuse a
    scan that already exists for the same SBOM.
  x-displayName: Software composition analysis
- name: Storage moves
  description: |-
    Use this API to schedule and track [repository storage moves](https://docs.gitlab.com/administration/operations/moving_repositories/)
    for groups, projects, and snippets. Project moves cover wiki and design repositories, and group
    moves cover [group wikis](https://docs.gitlab.com/user/project/wiki/group/). Moving repositories
    can help you [migrate to Gitaly Cluster (Praefect)](https://docs.gitlab.com/administration/gitaly/praefect/#migrate-to-gitaly-cluster-praefect).

    To ensure data integrity, GitLab places the group, project, or snippet in a temporary read-only
    state for the duration of the move. During this time, users receive this message if they try to
    push new commits:

    ```plaintext
    The repository is temporarily read-only. Please try again later.
    ```

    This API requires you to [authenticate yourself](https://docs.gitlab.com/api/rest/authentication/) as an administrator.

    ## States

    As GitLab processes a storage move, it transitions through different states. Values of `state` are:

    - `initial`: The record has been created, but the background job has not yet been scheduled.
    - `scheduled`: The background job has been scheduled.
    - `started`: The repositories are being copied to the destination storage.
    - `replicated`: The repositories have been moved.
    - `failed`: The repositories failed to copy, or the checksums did not match.
    - `finished`: The repositories have been moved, and the repositories on the source storage have been deleted.
    - `cleanup failed`: The repositories have been moved, but the repositories on the source storage could not be deleted.
  x-displayName: Storage moves
  externalDocs:
    url: https://docs.gitlab.com/api/group_repository_storage_moves/
- name: Submodules
  description: Use this API to update [Git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules).
  x-displayName: Submodules
  externalDocs:
    url: https://docs.gitlab.com/api/repository_submodules/
- name: Suggestions
  description: |-
    Use this API to manage [code suggestions](https://docs.gitlab.com/user/project/merge_requests/reviews/suggestions/).

    Suggestions provide a way to propose specific changes that can be directly applied to the code.
    You can programmatically create and apply code suggestions in merge request discussions with
    this API. Every API call to suggestions must be authenticated.

    To create a suggestion, use the Discussions API to create a new thread in the merge request diff.
  x-displayName: Suggestions
  externalDocs:
    url: https://docs.gitlab.com/api/suggestions/
- name: Tags
  description: |-
    Use this API to manage [Git tags](https://docs.gitlab.com/user/project/repository/tags/). This API also returns X.509
    signature information from signed tags.
  x-displayName: Tags
  externalDocs:
    url: https://docs.gitlab.com/api/tags/
- name: Templates
  description: |-
    Use this API to retrieve the file templates available to an entire instance:

    - [Dockerfile templates](https://gitlab.com/gitlab-org/gitlab-foss/-/tree/master/vendor/Dockerfile)
    - [`.gitignore` templates](https://git-scm.com/docs/gitignore)
    - [CI/CD configuration templates](https://gitlab.com/gitlab-org/gitlab/-/tree/master/lib/gitlab/ci/templates)
    - [Open source license templates](https://choosealicense.com/)

    On GitLab Premium and Ultimate, instance administrators can override the Dockerfile templates in
    the **Admin** area.

    Custom CI/CD templates are not available from these endpoints. For templates specific to a project,
    use the [project templates API](https://docs.gitlab.com/api/project_templates/).

    Users with the Guest role can't access these templates. For more information, see
    [project and group visibility](https://docs.gitlab.com/user/public_access/).
  x-displayName: Templates
  externalDocs:
    url: https://docs.gitlab.com/api/templates/dockerfiles/
- name: Terraform
  description: |-
    Use this API to interact with the [Terraform CLI](https://docs.gitlab.com/user/packages/terraform_module_registry/).

    > [!warning]
    > This API is used by the [Terraform CLI](https://developer.hashicorp.com/terraform)
    > and is generally not meant for manual consumption. Undocumented authentication methods might be removed in the future.
  x-displayName: Terraform
  externalDocs:
    url: https://docs.gitlab.com/api/packages/terraform-modules/
- name: Test balancing
  description: Operations related to test balancing.
- name: To-dos
  description: |-
    Use this API to list [to-do items](https://docs.gitlab.com/user/todos/), mark them as done, and
    create a to-do item for an issue or a merge request.
  x-displayName: To-dos
  externalDocs:
    url: https://docs.gitlab.com/api/todos/
- name: Token exchange
  description: |-
    Use this API to exchange a token for a short-lived JWT that is scoped to a single GitLab service
    audience.
  x-displayName: Token exchange
- name: Unleash
  description: |-
    Use this API to serve [feature flags](https://docs.gitlab.com/operations/feature_flags/) to an
    Unleash-compatible client, and to register that client and receive its metrics. Generally these
    endpoints are used by an Unleash client and are not meant for manual consumption.
  x-displayName: Unleash
- name: Usage data
  description: |-
    Use this API to track internal events and to retrieve the
    [Service Ping](https://docs.gitlab.com/development/internal_analytics/service_ping/) payload that
    GitLab collects, including its non-SQL metrics and the queries behind it.

    The Service Ping payload includes `schema_inconsistencies_metric`. Database schema inconsistencies are
    expected, and are unlikely to indicate a problem with your instance. This metric is only for
    troubleshooting ongoing issues, and should not be used as a regular health check. Interpret it only with
    the guidance of GitLab Support. The metric reports the same database schema inconsistencies as the
    database schema checker Rake task.
  x-displayName: Usage data
  externalDocs:
    url: https://docs.gitlab.com/api/usage_data/
- name: Users
  description: |-
    Use this API to interact with user accounts on GitLab. These endpoints can help manage
    [your account](https://docs.gitlab.com/user/profile/), manage
    [accounts for other users](https://docs.gitlab.com/administration/administer_users/),
    [moderate user accounts](https://docs.gitlab.com/administration/moderate_users/),
    [perform follower actions](https://docs.gitlab.com/user/profile/#follow-users), and
    [interact with email addresses for user accounts](https://docs.gitlab.com/user/profile/).
  x-displayName: Users
  externalDocs:
    url: https://docs.gitlab.com/api/users/
- name: VSCode
  description: |-
    Use this API to synchronize Visual Studio Code settings, so that a user's editor preferences follow
    them between VS Code and the [Web IDE](https://docs.gitlab.com/user/project/web_ide/).
  x-displayName: VS Code
- name: Validity checks
  description: |-
    Use this API to check whether raw token values are still active.

    > [!note]
    > The availability of this feature is controlled by a feature flag.
    > While the feature flag is disabled, requests return `404 Not Found`.
    > This feature is available for testing, but not ready for production use.

    ## History

    - Endpoint to verify raw tokens introduced in GitLab 19.7
      [with a feature flag](https://docs.gitlab.com/administration/feature_flags/) named `validity_checks_raw_token_api`.
      Disabled by default.
  x-displayName: Validity checks
- name: Virtual registries
  description: |-
    Use this API to manage the Maven and npm
    [virtual registries](https://docs.gitlab.com/user/packages/virtual_registry/) of a group, along with
    the [upstream registries](https://docs.gitlab.com/user/packages/virtual_registry/#manage-upstream-registries)
    they proxy. You can test the connection to an upstream, inspect its
    [cache](https://docs.gitlab.com/user/packages/virtual_registry/#caching-system) entries, and purge
    the cache of a registry or an upstream.
  x-displayName: Virtual registries
  externalDocs:
    url: https://docs.gitlab.com/api/maven_virtual_registries/
- name: Vulnerabilities
  description: |-
    > [!warning]
    > These endpoints are in the process of being deprecated and are considered unstable.
    > The response payload may be subject to change or breakage across GitLab releases. Use the
    > [GraphQL API](https://docs.gitlab.com/api/graphql/reference/queries/#vulnerabilities) instead.
    > For more information, see [replace vulnerability REST API with GraphQL](https://docs.gitlab.com/api/vulnerabilities/#replace-vulnerability-rest-api-with-graphql).
    > For project vulnerability findings, use the `Pipeline.securityReportFindings` GraphQL field.

    Use this API to manage [vulnerabilities](https://docs.gitlab.com/user/application_security/vulnerabilities/),
    retrieve vulnerability findings, and export [vulnerability reports](https://docs.gitlab.com/user/application_security/vulnerability_report/)
    for a project, group, or instance.

    Every call to these endpoints must be [authenticated](https://docs.gitlab.com/api/rest/authentication/).
    If a user isn't a member of a private project, requests return a `404 Not Found` status code. If a
    user does not have permission to [view the vulnerability report](https://docs.gitlab.com/user/permissions/#project-application-security),
    requests return a `403 Forbidden` status code.

    > [!note]
    > The former Vulnerabilities API was renamed to the Vulnerability Findings API, and the
    > Vulnerabilities name now serves [vulnerability objects](https://gitlab.com/gitlab-org/gitlab/-/issues/13561).
    > To fix a broken integration with the former API, change the `vulnerabilities` URL part to
    > `vulnerability_findings`.

    To replace these REST endpoints with GraphQL, use `Query.vulnerability` to retrieve a vulnerability, and
    `Mutation.vulnerabilityConfirm`, `Mutation.vulnerabilityResolve`, `Mutation.vulnerabilityDismiss`, and
    `Mutation.vulnerabilityRevertToDetected` to change its state.
  x-displayName: Vulnerabilities
  externalDocs:
    url: https://docs.gitlab.com/api/vulnerabilities/
- name: Web commits
  description: |-
    Use this API to retrieve the public key that GitLab uses to sign the commits created with the
    [web editor](https://docs.gitlab.com/user/project/repository/web_editor/).
  x-displayName: Web commits
  externalDocs:
    url: https://docs.gitlab.com/api/web_commits/
- name: Wikis
  description: |-
    Use this API to manage [project wikis](https://docs.gitlab.com/user/project/wiki/) and
    [group wikis](https://docs.gitlab.com/user/project/wiki/group/).

    Comments on a wiki page are called `notes`. To interact with them, use the notes API for
    [project wikis](https://docs.gitlab.com/api/notes/#project-wikis) or [group wikis](https://docs.gitlab.com/api/notes/#group-wikis).

    A rate limit applies to unauthenticated requests that list or retrieve wiki pages. This rate limit is
    behind a feature flag named `wiki_read_unauthenticated_rate_limit_enforce`, disabled by default.
  x-displayName: Wikis
  externalDocs:
    url: https://docs.gitlab.com/api/group_wikis/
- name: Work items
  description: |-
    Use this API to manage [work items](https://docs.gitlab.com/user/work_items/) in a project, a group,
    or a namespace. Work items are the core elements for planning and tracking work, and cover
    [types](https://docs.gitlab.com/user/work_items/#work-item-types) such as issues, tasks, and epics.

    Alongside the work items themselves, you can retrieve their children, linked items, linked resources,
    notes, discussions, emoji reactions, email participants, and the current user's to-do items.

    By default, responses include only the `id`, `iid`, `global_id`, and `title` of each work item.
    Use the `fields` and `features` parameters to request more attributes.

    > [!note]
    > The availability of these endpoints is controlled by the `work_item_rest_api` feature flag.
    > They are available for testing, but not ready for production use. While the flag is disabled,
    > every endpoint except the list endpoints returns `404 Not Found`.

    ## History

    - Endpoints to list and get work items introduced in GitLab 18.10
      [with a feature flag](https://docs.gitlab.com/administration/feature_flags/) named `work_item_rest_api`.
      Disabled by default.
    - Endpoints to create and delete work items added in GitLab 18.11.
    - Endpoint to update work items added in GitLab 19.0.
    - Endpoint to list work items can also be enabled with the `work_item_rest_api_index` feature flag
      in GitLab 19.1. Disabled by default.
    - Endpoints to list emoji reactions, children, email participants, linked items, linked resources,
      and notes added in GitLab 19.1.
    - Endpoint to list work items no longer behind a feature flag in GitLab 19.2.
      Feature flag `work_item_rest_api_index` [removed](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/243015).
    - Endpoints to list the current user's to-do items and discussions added in GitLab 19.2.
    - Endpoints to add a child, and to list closing and related merge requests, added in GitLab 19.3.
    - Endpoints to remove and reorder children, get a discussion, get and create notes, and list related
      branches added in GitLab 19.4.
    - Endpoints to create and resolve discussions, and to manage the notes in a discussion, added in GitLab 19.5.
    - Endpoints to update and delete notes added in GitLab 19.6.
  x-displayName: Work items
  externalDocs:
    url: https://docs.gitlab.com/user/work_items/
servers:
- url: https://{hostname}
  description: GitLab REST API
  variables:
    hostname:
      default: gitlab.com
      description: Your GitLab instance hostname
paths:
  "/api/v4/rollouts/{id}":
    post:
      operationId: postApiV4RolloutsId
      summary: Ingest a rollout workflow event
      description: Reports flow-graph progress from the CD orchestrator (a Starlark
        workflow run by AutoFlow).
      tags:
      - Rollouts
      responses:
        '202':
          description: Accepted
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCdRollout"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: The ID of the rollout
        schema:
          type: integer
        in: path
        example: 1
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4RolloutsIdRequest"
  "/api/v4/orbit/query":
    post:
      operationId: postApiV4OrbitQuery
      summary: Execute a query
      description: Executes a query against the Orbit gRPC service. For `response_format`
        `llm` and `gql`, the response is `text/plain`.
      tags:
      - Orbit
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/OrbitQueryResponse"
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4OrbitQueryRequest"
      x-gitlab-tier: premium
  "/api/v4/orbit/query/{name}":
    post:
      operationId: postApiV4OrbitQueryName
      summary: Execute a named query
      description: 'Executes a server-defined named query against the Orbit gRPC service.
        Orbit defines its named queries on the server, so they stay in step with the
        query language and the schema. For programmatic use, this endpoint is preferred
        over `POST /orbit/query`. The GraphQL field `Query.orbit.queryTemplates` lists
        the named queries. Each query template has a `name`, a `description`, and
        the GQL `query` it runs. The `name` of a query template is passed as `:name`
        in the path. Requires a JSON request body: form encoding stringifies nested
        parameter values, which the per-query parameter schemas reject. This endpoint
        can return the same errors as `POST /orbit/query`.'
      tags:
      - Orbit
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/OrbitQueryResponse"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: name
        required: true
        description: Named query identifier
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4OrbitQueryNameRequest"
      x-gitlab-tier: premium
  "/api/v4/orbit/context":
    post:
      operationId: postApiV4OrbitContext
      summary: Get entity context
      description: 'Resolves one Orbit token to a PostgreSQL summary and, optionally,
        its graph neighborhood. The entity can be a merge request, work item, CI/CD
        job, CI/CD pipeline, branch, or commit. Requests that reach token resolution
        count against the orbit_query rate limit; with expand, they run at most one
        billable graph query. Requires a JSON request body. The request and response
        shape can change without notice. A `tokens` array that does not hold exactly
        one string, or an `expand` value that is not the JSON boolean `true` or `false`,
        returns `400 Bad Request`. With a fine-grained personal access token, the
        `read_orbit` permission is not enough. The token also needs `read_merge_request`
        or `read_work_item` on the project or group of the entity, `read_job` on the
        project for a job and for job logs, `read_pipeline` for pipelines, `read_pipeline_test_report`
        for failed tests, `read_pipeline_job` for pipeline jobs, `read_branch` or
        `read_commit` for a branch or commit, `read_commit_diff` and `read_commit_merge_request`
        for the changed files and merge requests of a commit, and `download_code`
        for the changed files of a merge request. Without them, the entity is returned
        as `not_found`. The pipeline status is `null`, and linked items the token
        cannot read are left out of the summary. Discussions need `read_merge_request_discussion`
        for a merge request, `read_epic_discussion` for an epic, and `read_issue_discussion`
        for other work items. Without them, `discussions` is `null`. The project scope
        of the token applies to the entity summary only. The graph expansion is filtered
        by the access of the user, the same as for named queries. Token forms are:
        `Type[id]`, for example `MergeRequest[123]`, where `id` is the global database
        ID; `gid://gitlab/<Type>/<id>`; a merge request, issue, work item, job, pipeline,
        or commit URL on this instance, including group work item URLs under `/groups/`;
        `path!iid` for a merge request, for example `gitlab-org/gitlab!42`; `path#iid`
        for a work item, for example `gitlab-org/gitlab#7`, where the path can also
        be a group; `Epic[id]`, `gid://gitlab/Epic/<id>`, an epic URL such as `/groups/gitlab-org/-/epics/5`,
        or `group&iid`, for example `gitlab-org&5`, where `id` is the epic ID; and
        `path@ref` for a branch of the project at `path`, or for a commit SHA when
        no branch has that name, for example `gitlab-org/gitlab@main`. The supported
        types are `MergeRequest`, `WorkItem`, `Job`, `Pipeline`, `Branch`, and `Commit`.
        `Issue` is an alias for `WorkItem`, and the response reports `WorkItem`. An
        epic resolves to its work item in the same way: the response reports `WorkItem`,
        the ID of the work item, and `work_item_type` `epic`, and the expansion runs
        for the work item. Other types return `unsupported_type`. Summaries include
        these fields. For a merge request: title, state, author, branches, head pipeline
        status, merge commit, reviewers, linked issues, description, changed files
        with their diffs, failed jobs, and discussions. For a work item: title, state,
        labels, assignees, milestone, linked merge requests, description, and discussions.
        For a job: name, status, stage, failure reason, ref, commit, pipeline, merge
        request, failed tests, and log. For a pipeline: status, ref, commit, source,
        merge request, jobs, and failed jobs. Jobs come from the pipeline itself,
        not from its child pipelines. For a branch: head commit, its open or latest
        merge request, and its latest pipeline with failed jobs. For a commit: title,
        description, author, its latest pipeline, the merge requests that contain
        it, and changed files. Failed tests come from the unit test report of the
        job. The log of a job is its job script output, followed by its `after_script`
        output, with lines longer than 500 characters cut. The log has a size limit
        of 40 KB for a requested job and 6 KB for each failed job of a merge request,
        pipeline, or branch, and `after_script` output gets at most a quarter of it.
        When a part does not fit, runs of five or more lines that differ only in numbers
        or hashes, such as progress output, are folded into their first and last line,
        and only the end of that part that fits is kept. `...` marks where lines were
        left out, and for a requested job `summary.truncated` then includes `log`.
        Changed line ranges use new-file line numbers, so a deletion is reported at
        the line after it, which can be one past the end of the file. A changed file
        has no `lines` when it was deleted or its diff could not be read, and empty
        `lines` when its diff has no text lines, such as for a binary or very large
        file. The `diff` of a changed file has its first 40 diff lines, with 200 lines
        shared across the merge request in file order. It is absent for deleted, generated,
        binary, and very large files, and for files after the budget ran out. A cut
        diff ends with `... N more diff lines`, and `summary.truncated` then includes
        `diffs`. Lists are limited and contain only records the user can read. `summary.truncated`
        is an array with the names of the lists that were cut, for example `["reviewers"]`.
        It is empty when no list was cut. A failed job of a merge request whose failed
        tests were cut has `truncated: ["failed_tests"]`. Entries in `linked_issues`
        and `linked_merge_requests` are ordered by ID and have `type`, `id` (a string),
        `token`, `relation` (`CLOSES`), `iid`, `project_path`, and `title`. Every
        failure after a lookup starts returns the same `not_found` error, whether
        the record is missing or the user cannot read it. With `expand`, the request
        runs at most one graph query, using the `context_for_review`, `context_for_issue`,
        or `context_for_job` named query. Other types return `expansion_unsupported_type`.
        A request that runs one query is billed as one query. A failure of the expansion
        never fails the summary. `expansion.query` has the `name` and `parameters`
        of the query. It is present on a result and on every error except `expansion_unsupported_type`,
        including when no query ran. After `outside_graph_scope`, a rerun is billed
        and returns nothing. `expansion.error.code` is one of: `expansion_unsupported_type`,
        when the type has no expansion query; `outside_graph_scope`, when the entity
        is outside the part of the graph the user can query, which is a group where
        the user is not at least a Reporter or a group where Orbit is not turned on,
        and no query runs and nothing is billed; `billing_namespace_required`, with
        `message`, `deep_link` to the preferences of the user, and `candidates`, the
        groups the user can select, matching the `422` response of `POST /api/v4/orbit/query/:name`;
        or `quota_exhausted`, `timeout`, or `execution_error`. If `pagination.truncated`
        in the graph result is `false`, a missing center node means the entity has
        no readable neighbors. Otherwise, the result is unknown. With `response_format=llm`,
        the response is `text/plain`. Each entity starts with its scalar fields, then
        its graph in TOON format under an indented `graph:` label, before longer blocks
        such as the description. A graph with no nodes is left out, and a failed expansion
        is a single `graph_error=<code>` line. When a list in an entity is cut, the
        entity includes a `truncated=` line right after its scalar fields that names
        the incomplete lists, for example `truncated=reviewers,changed_files`. A failed
        job whose failed tests were cut has its own `truncated=failed_tests` line.
        This feature was introduced in GitLab 19.6.'
      tags:
      - Orbit
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesOrbitContext"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4OrbitContextRequest"
      x-gitlab-tier: premium
      x-gitlab-lifecycle: experiment
  "/api/v4/orbit/skills":
    get:
      operationId: getApiV4OrbitSkills
      summary: List deployed Orbit skills
      description: Lists the Orbit skills deployed with the connected knowledge graph
        service. The response includes an `ETag` header derived from the sorted skill
        names and versions, and a `Cache-Control` header set to `private, max-age=0,
        must-revalidate`. Sending the `ETag` value in the `If-None-Match` request
        header revalidates the list. A matching value returns `304 Not Modified` with
        no response body. This feature was introduced in GitLab 19.5.
      tags:
      - Orbit
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesOrbitSkillCollection"
        '401':
          description: Unauthorized
        '404':
          description: Skills are not available
  "/api/v4/orbit/skills/{name}":
    get:
      operationId: getApiV4OrbitSkillsName
      summary: Retrieve a deployed Orbit skill
      description: Retrieves a complete deployed Orbit skill tree. HEAD requests retrieve
        only skill metadata. The response includes a `Cache-Control` header set to
        `private, max-age=0, must-revalidate`, and an `ETag` header set to `"<version>"`.
        Sending the current `ETag` value in the `If-None-Match` request header revalidates
        a cached skill tree. A matching value returns `304 Not Modified` with no response
        body. This feature was introduced in GitLab 19.5.
      tags:
      - Orbit
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesOrbitSkill"
        '401':
          description: Unauthorized
        '404':
          description: Skill not found or skills are not available
        '400':
          description: Bad Request
      parameters:
      - name: name
        required: true
        description: Deployed skill name
        schema:
          type: string
          pattern: "^[a-z0-9][a-z0-9\\-]*$"
        in: path
  "/api/v4/orbit/skills/{name}/{path}":
    get:
      operationId: getApiV4OrbitSkillsNamePath
      summary: Retrieve a deployed Orbit skill file
      description: Retrieves a UTF-8 file from a deployed Orbit skill as raw text.
        It fetches `SKILL.md` directly or follows relative links to files in the same
        skill tree. The response is the file content, not a JSON object. Markdown
        files (`.md`) have the content type `text/markdown; charset=utf-8`. Other
        files have the content type `text/plain; charset=utf-8`. The endpoint never
        returns a skill file as HTML. Only exact paths listed in the skill manifest
        are available. Unknown paths return `404 Not Found`. A path with a `.` segment
        returns `404 Not Found`. A path with a `..` segment returns `400 Bad Request`.
        Malformed paths can return `400 Bad Request`. API error responses are JSON,
        rather than raw file content. Requests blocked by path traversal middleware
        can return a plain-text error. The response includes a strong `ETag` from
        the SHA-256 of the file and a `Cache-Control` header set to `private, max-age=0,
        must-revalidate`. Sending the `ETag` in `If-None-Match` returns `304 Not Modified`
        when the file is unchanged. `HEAD` returns the same headers without a body.
        This feature was introduced in GitLab 19.5.
      tags:
      - Orbit
      responses:
        '200':
          description: OK
          content:
            text/markdown:
              schema:
                type: string
            text/plain:
              schema:
                type: string
        '401':
          description: Unauthorized
        '404':
          description: Skill file not found or skills are not available
        '400':
          description: Bad Request
      parameters:
      - name: name
        required: true
        description: Deployed skill name
        schema:
          type: string
          pattern: "^[a-z0-9][a-z0-9\\-]*$"
        in: path
      - name: path
        required: true
        description: File path relative to the skill root
        schema:
          type: string
          pattern: "^[^\\/]+(?:\\/[^\\/]+)*$"
        in: path
        example: references/usage.md
  "/api/v4/jobs/{id}/sbom_scans/authorize":
    post:
      operationId: postApiV4JobsIdSbomScansAuthorize
      summary: Authorize SBOM file upload
      description: Authorizes uploading an SBOM file to be scanned for a specified
        job.
      tags:
      - Software composition analysis
      responses:
        '200':
          description: SBOM Upload allowed
        '403':
          description: Forbidden
        '413':
          description: File too large
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4JobsIdSbomScansAuthorizeRequest"
      x-gitlab-tier: ultimate
  "/api/v4/jobs/{id}/sbom_scans":
    post:
      operationId: postApiV4JobsIdSbomScans
      summary: Upload an SBOM file
      description: Uploads an SBOM file to be scanned for a specified job.
      tags:
      - Software composition analysis
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSecurityVulnerabilityScanningSbomScan"
        '400':
          description: Bad request
        '403':
          description: Forbidden
        '413':
          description: File too large
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4JobsIdSbomScansRequest"
      x-gitlab-tier: ultimate
  "/api/v4/jobs/{id}/sbom_scans/{sbom_digest}":
    post:
      operationId: postApiV4JobsIdSbomScansSbomDigest
      summary: Reuse SBOM scan results
      description: Reuses existing SBOM scan results if scans for the specified digest
        already exist.
      tags:
      - Software composition analysis
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSecurityVulnerabilityScanningSbomScan"
        '400':
          description: Bad request
        '403':
          description: Forbidden
        '404':
          description: Not found
        '410':
          description: Result no longer available
      parameters:
      - name: id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
      - name: sbom_digest
        required: true
        description: SBOM digest that identifies an SBOM scan uniquely.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4JobsIdSbomScansSbomDigestRequest"
      x-gitlab-tier: ultimate
    get:
      operationId: getApiV4JobsIdSbomScansSbomScanId
      summary: Download an SBOM scan result
      description: Downloads an SBOM scan result file for a specified job.
      tags:
      - Software composition analysis
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesSecurityVulnerabilityScanningSbomScan"
        '202':
          description: Sbom Scan in progress
        '400':
          description: Bad request
        '403':
          description: Forbidden
        '410':
          description: Sbom Scan failed
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
      - name: sbom_scan_id
        required: true
        description: ID of the SBOM scan.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/projects/{id}/compliance_external_controls/{control_id}/status":
    patch:
      operationId: patchApiV4ProjectsIdComplianceExternalControlsControlIdStatus
      summary: Set status of an external control
      description: |
        Sets the status of a specified external control. Use this operation to inform GitLab that a control has
        passed, failed, or does not apply to the project. Controls with the `not_applicable` status do not count as
        passed or failed.

        Requests must use HMAC, timestamp, and nonce authentication, with these headers:

        | Header | Required | Description |
        |--------|----------|-------------|
        | `X-Gitlab-Timestamp` | Yes | Current Unix timestamp. Requests 15 seconds old or older are rejected. |
        | `X-Gitlab-Nonce` | Yes | Random string of exactly 32 characters, to prevent replay attacks. |
        | `X-Gitlab-Hmac-Sha256` | Yes | HMAC-SHA256 signature of the request. |

        To compute the HMAC-SHA256 signature:

        1. Concatenate these values in this order: the `X-Gitlab-Timestamp` value, the `X-Gitlab-Nonce` value,
           the entire path of the request, and the `status` value formatted as `status=<status>`.
        1. Compute the HMAC-SHA256 of the concatenated string with your secret key.

        This feature was introduced in GitLab 17.11.
      tags:
      - Compliance policy settings
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: control_id
        required: true
        description: ID of the control.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4ProjectsIdComplianceExternalControlsControlIdStatusRequest"
  "/api/v4/projects/{id}/security_scans/sast/{sast_endpoint}":
    post:
      operationId: postApiV4ProjectsIdSecurityScansSastSastEndpoint
      summary: Scan a file for vulnerabilities
      description: Scans a specified file for security vulnerabilities using SAST.
      tags:
      - Security scans
      responses:
        '200':
          description: OK
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: sast_endpoint
        required: true
        description: Name of the SAST scanner service endpoint to call.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdSecurityScansSastSastEndpointRequest"
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: ultimate
  "/api/v4/duo_code_review/evaluations":
    post:
      operationId: postApiV4DuoCodeReviewEvaluations
      summary: Evaluate code review
      description: Evaluates code changes using GitLab Duo code review
      tags:
      - GitLab Duo
      responses:
        '201':
          description: Created
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4DuoCodeReviewEvaluationsRequest"
  "/api/v4/chat/completions":
    post:
      operationId: postApiV4ChatCompletions
      summary: Generate a Chat response
      description: Generates a response for a GitLab Duo Chat question. Requests to
        this endpoint are proxied to the AI Gateway. This feature was introduced in
        GitLab 16.7.
      tags:
      - GitLab Duo
      responses:
        '201':
          description: Created
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ChatCompletionsRequest"
  "/api/v4/token_exchange":
    post:
      operationId: postApiV4TokenExchange
      summary: Issue a short-lived JWT for a single modular-service audience
      description: Issues a short-lived RS256 JWT scoped to one modular-service audience
        (such as the Artifact Registry). Claims include the requesting user id (sub),
        organization id, and deployment realm (saas / self-managed). When called with
        a CI/CD ID token, the claims also carry its build metadata, a target_audience
        claim in the ID token names the audience, and an ID token older than 15 minutes
        is refused. Presented to the corresponding backend and verified against the
        instance JWKS. The response uses the RFC 8693 names. token and access_token
        have the same value, with access_token preferred where possible. For an audience
        bound to a resource, such as gitlab-repositories, pass the resource and optionally
        a scope. The token then stores the grant in authorization_details (RFC 9396).
        The request is refused unless the caller and the credential allow every requested
        action. A resource that is missing, not visible to the caller or of the wrong
        type returns 400 with error set to invalid_target and an error_description
        (RFC 8693).
      tags:
      - Token exchange
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAuthnTokenExchange"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Conflict
        '429':
          description: Too many requests
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4TokenExchangeRequest"
      x-gitlab-lifecycle: experiment
  "/api/v4/code_suggestions/completions":
    post:
      operationId: postApiV4CodeSuggestionsCompletions
      summary: Generate code completions
      description: Generates code completions. Uses the AI abstraction layer to generate
        code completions. Requests to this endpoint are proxied to the AI Gateway.
        This endpoint has a rate limit of 60 requests per minute for each user.
      tags:
      - Code Suggestions
      responses:
        '200':
          description: OK
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '413':
          description: Payload too large
        '422':
          description: Unprocessable entity
        '429':
          description: Too many requests
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4CodeSuggestionsCompletionsRequest"
  "/api/v4/code_suggestions/direct_access":
    post:
      operationId: postApiV4CodeSuggestionsDirectAccess
      summary: Retrieve direct connection details for the AI Gateway
      description: Retrieves user-specific connection details which can be used by
        IDEs or clients to send `completion` requests to Code Suggestions directly
        through the AI Gateway. The response includes the headers that must be proxied
        to the AI Gateway and the required authentication token. This endpoint has
        a rate limit of 50 requests per minute for each user. This feature was introduced
        in GitLab 17.0 with a feature flag named `code_suggestions_direct_completions`,
        disabled by default, and made generally available in GitLab 17.2.
      tags:
      - Code Suggestions
      responses:
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
        '400':
          description: Bad Request
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4CodeSuggestionsDirectAccessRequest"
  "/api/v4/code_suggestions/enabled":
    post:
      operationId: postApiV4CodeSuggestionsEnabled
      summary: Validate status of Code Suggestions
      description: Validates the status Code Suggestions for a specified project.
        This checks if the project has `code_suggestions` enabled or if an ancestor
        group has the Code Suggestions add-on enabled.
      tags:
      - Code Suggestions
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: 403 Code Suggestions Disabled
        '404':
          description: Not found
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4CodeSuggestionsEnabledRequest"
  "/api/v4/code_suggestions/connection_details":
    post:
      operationId: postApiV4CodeSuggestionsConnectionDetails
      summary: Retrieve connection details
      description: Retrieves user-specific connection details which can be used by
        IDEs or clients for telemetry, including the instance ID, instance version,
        realm, global user ID, host name, feature enablement type, and the IDs of
        namespaces with GitLab Duo access (GitLab.com only, empty elsewhere). This
        endpoint has a rate limit of 10 requests per minute for each user. This feature
        was introduced in GitLab 18.3.
      tags:
      - Code Suggestions
      responses:
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
        '400':
          description: Bad Request
  "/api/v4/projects/{id}/(-/)search/semantic":
    get:
      operationId: getApiV4ProjectsIdDashSearchSemantic
      summary: Search project code using natural language
      description: |
        Introduced in GitLab 18.11.

        Searches indexed project code using semantic (meaning-based) similarity rather than
        keyword matching. Use this when you do not know the exact symbol or file name, or
        to discover how a behavior is implemented across the codebase.

        Primary use cases:
        - When you do not know the exact symbol or file path
        - To see how a behavior or feature is implemented across the codebase
        - To discover related implementations (clients, jobs, workers)

        How to use:
        - Provide a concise, specific query with concrete keywords
        - Use directory_path to narrow scope (e.g. "app/services/")
        - Prefer precise intent over broad terms

        Results are grouped by file. Each file includes merged line ranges with content
        and a relevance score (0.0-1.0). The response includes an overall confidence
        level (high/medium/low/unknown) based on score distribution. Results are
        filtered by Duo context exclusion settings.

        Requires semantic code search to be enabled and indexed for the project namespace.
      tags:
      - Search
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAiSemanticCodeResponse"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found - project not found or semantic code search unavailable
        '422':
          description: Unprocessable entity - project has no embeddings
        '429':
          description: Too many requests
        '503':
          description: Service unavailable - search backend timed out
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: q
        required: true
        description: Natural language search query, for example `authentication middleware`
          or `rate limiting logic`.
        schema:
          type: string
          minLength: 1
          maxLength: 1000
        in: query
      - name: directory_path
        required: false
        description: Restrict search to files under this directory path, for example
          `app/services/`. Must be a relative path with no leading slash and no `..`
          segments.
        schema:
          type: string
          nullable: true
          maxLength: 100
        in: query
      - name: knn
        required: false
        description: 'Number of nearest neighbours to retrieve internally (default:
          64). Higher values improve recall at the cost of latency.'
        schema:
          type: integer
          minimum: 1
          maximum: 100
          nullable: true
          default: 64
        in: query
      - name: limit
        required: false
        description: 'Maximum number of results to return (default: 20).'
        schema:
          type: integer
          minimum: 1
          maximum: 100
          nullable: true
          default: 20
        in: query
      x-gitlab-lifecycle: beta
  "/api/v4/ai/third_party_agents/direct_access":
    post:
      operationId: postApiV4AiThirdPartyAgentsDirectAccess
      summary: Get connection details for third party agents
      description: Returns connection details including tokens for accessing third-party
        agents.
      tags:
      - GitLab Duo
      responses:
        '201':
          description: Created
        '401':
          description: Unauthorized
        '402':
          description: Payment required
        '403':
          description: Forbidden
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '429':
          description: Too many requests
        '503':
          description: Service unavailable
        '400':
          description: Bad Request
      x-gitlab-lifecycle: experiment
  "/api/v4/projects/{id}/ai_agent/sessions":
    post:
      operationId: postApiV4ProjectsIdAiAgentSessions
      summary: Create an external agent session.
      description: Creates a new external agent session for the current user and project.
        Returns an existing record if an idempotency_key is provided and a matching
        session already exists.
      tags:
      - Projects
      - Ai agent sessions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAiExternalAgentsSession"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdAiAgentSessionsRequest"
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: premium
    get:
      operationId: getApiV4ProjectsIdAiAgentSessions
      summary: List external agent sessions for a project.
      description: Returns a paginated list of external agent sessions for the project.
      tags:
      - Projects
      - Ai agent sessions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAiExternalAgentsSession"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: agent_type
        required: false
        description: Filter by agent type.
        schema:
          type: string
          enum:
          - claude-code
          - opencode
          - cursor
          - codex
          nullable: true
        in: query
      - name: status
        required: false
        description: Filter by status.
        schema:
          type: string
          enum:
          - created
          - running
          - finished
          - failed
          - stopped
          nullable: true
        in: query
      - name: created_after
        required: false
        description: Filter sessions created after this time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: created_before
        required: false
        description: Filter sessions created before this time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/ai_agent/sessions/{session_id}":
    patch:
      operationId: patchApiV4ProjectsIdAiAgentSessionsSessionId
      summary: Complete or fail an external agent session.
      description: Marks a session as completed or failed. The authenticated user
        must be the creator of the session.
      tags:
      - Projects
      - Ai agent sessions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAiExternalAgentsSession"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: session_id
        required: true
        description: The session ID.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4ProjectsIdAiAgentSessionsSessionIdRequest"
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/ai_agent/identities":
    post:
      operationId: postApiV4ProjectsIdAiAgentIdentities
      summary: Register an external agent identity.
      description: Registers a new agent identity for the current user, project, agent
        type, and machine fingerprint combination. Returns an existing record if one
        already exists. Returns 403 if the identity has been revoked.
      tags:
      - Projects
      - Ai agent identities
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAiExternalAgentsIdentity"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdAiAgentIdentitiesRequest"
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/ai_agent/audit_events":
    post:
      operationId: postApiV4ProjectsIdAiAgentAuditEvents
      summary: Ingest external agent audit events.
      description: Accepts a batch of up to 500 audit events for an external agent
        session. Events are validated, deduplicated by cloud_event_id, and enqueued
        for storage.
      tags:
      - Projects
      - Ai agent audit events
      responses:
        '202':
          description: Accepted
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdAiAgentAuditEventsRequest"
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: premium
  "/api/v4/ai/duo_workflows/workflows/{id}/audit_events":
    post:
      operationId: postApiV4AiDuoWorkflowsWorkflowsIdAuditEvents
      summary: Ingest AI audit events from Duo Workflow Service
      tags:
      - GitLab Duo workflows
      - Internal operations
      responses:
        '202':
          description: Accepted
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: ID of the workflow.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4AiDuoWorkflowsWorkflowsIdAuditEventsRequest"
  "/api/v4/ai/duo_workflows/tools/risk_assessment/results":
    post:
      operationId: postApiV4AiDuoWorkflowsToolsRiskAssessmentResults
      summary: Submit risk assessment results for a merge request
      description: Submits the categorical claims and summary produced by the risk
        assessment tool.
      tags:
      - GitLab Duo workflows
      responses:
        '204':
          description: No Content
        '400':
          description: Validation failed
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4AiDuoWorkflowsToolsRiskAssessmentResultsRequest"
      x-gitlab-lifecycle: experiment
  "/api/v4/ai/duo_workflows/code_review/add_comments":
    post:
      operationId: postApiV4AiDuoWorkflowsCodeReviewAddComments
      summary: Add code review comments to a merge request
      description: Adds review comments generated by Duo Workflows to a merge request.
      tags:
      - GitLab Duo workflows
      responses:
        '200':
          description: OK
        '400':
          description: Validation failed
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4AiDuoWorkflowsCodeReviewAddCommentsRequest"
      x-gitlab-lifecycle: experiment
  "/api/v4/ai/duo_workflows/code_review/custom_instructions":
    get:
      operationId: getApiV4AiDuoWorkflowsCodeReviewCustomInstructions
      summary: Fetch the Duo Code Review custom instructions for a merge request
      description: Fetch all Duo Code Review custom instructions for a merge request.
      tags:
      - GitLab Duo workflows
      responses:
        '200':
          description: OK
        '400':
          description: Validation failed
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: project_id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
          nullable: true
        in: query
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
          nullable: true
        in: query
      x-gitlab-lifecycle: experiment
  "/api/v4/ai/duo_workflows/agent_workflows":
    post:
      operationId: postApiV4AiDuoWorkflowsAgentWorkflows
      summary: Create workflow persistence (agent-initiated, limited privileges)
      description: Accessible via ai_workflows scope token. Does not accept agent_privileges
        or pre_approved_agent_privileges.
      tags:
      - GitLab Duo workflows
      responses:
        '201':
          description: Created
        '400':
          description: Validation failed
        '401':
          description: Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4AiDuoWorkflowsAgentWorkflowsRequest"
      x-gitlab-lifecycle: experiment
  "/api/v4/ai/duo_workflows/workflows/{workflow_id}/capsules/authorize":
    post:
      operationId: postApiV4AiDuoWorkflowsWorkflowsWorkflowIdCapsulesAuthorize
      summary: Authorize a session capsule upload
      description: Workhorse calls this endpoint before it accepts the capsule file.
      tags:
      - GitLab Duo workflows
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '400':
          description: Bad Request
      parameters:
      - name: workflow_id
        required: true
        description: The ID of the session
        schema:
          type: integer
        in: path
        example: 1
      x-gitlab-lifecycle: experiment
  "/api/v4/ai/duo_workflows/workflows/{workflow_id}/capsules":
    post:
      operationId: postApiV4AiDuoWorkflowsWorkflowsWorkflowIdCapsules
      summary: Upload a session capsule
      description: Stores a tar of the session state that a CI job did not push, so
        the job that resumes the session can restore it.
      tags:
      - GitLab Duo workflows
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAiDuoWorkflowsSessionCapsule"
        '400':
          description: Validation failed
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: workflow_id
        required: true
        description: The ID of the session
        schema:
          type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4AiDuoWorkflowsWorkflowsWorkflowIdCapsulesRequest"
      x-gitlab-lifecycle: experiment
    get:
      operationId: getApiV4AiDuoWorkflowsWorkflowsWorkflowIdCapsules
      summary: List session capsules
      description: Lists the capsules of a session that have not expired, newest first.
      tags:
      - GitLab Duo workflows
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAiDuoWorkflowsSessionCapsule"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: workflow_id
        required: true
        description: The ID of the session
        schema:
          type: integer
        in: path
        example: 1
      - name: thread_ts
        required: false
        description: Return only capsules taken at this checkpoint thread
        schema:
          type: string
          nullable: true
          maxLength: 255
        in: query
        example: 1f0a3b2c-4d5e-6f70-8192-a3b4c5d6e7f8
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-lifecycle: experiment
  "/api/v4/ai/duo_workflows/workflows/{workflow_id}/capsules/{capsule_id}/download":
    get:
      operationId: getApiV4AiDuoWorkflowsWorkflowsWorkflowIdCapsulesCapsuleIdDownload
      summary: Download a session capsule
      description: Downloads the capsule tar file. Expired capsules are not found.
      tags:
      - GitLab Duo workflows
      responses:
        '200':
          description: OK
          content:
            application/x-tar:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: workflow_id
        required: true
        description: The ID of the session
        schema:
          type: integer
        in: path
        example: 1
      - name: capsule_id
        required: true
        description: The ID of the capsule, or `latest` for the newest capsule
        schema:
          type: string
          pattern: "^(?:latest|\\d+)$"
        in: path
        example: latest
      x-gitlab-lifecycle: experiment
  "/api/v4/ai/duo_workflows/revoke_token":
    post:
      operationId: postApiV4AiDuoWorkflowsRevokeToken
      summary: Revoke ai_workflows token
      description: Revokes an active Duo Workflows authentication token.
      tags:
      - GitLab Duo workflows
      - Internal operations
      responses:
        '200':
          description: OK
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '422':
          description: Unprocessable Entity
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4AiDuoWorkflowsRevokeTokenRequest"
  "/api/v4/ai/duo_workflows/workflows/{id}":
    get:
      operationId: getApiV4AiDuoWorkflowsWorkflowsId
      summary: Get workflow details
      description: Retrieves detailed information about a specific workflow by its
        ID.
      tags:
      - GitLab Duo workflows
      - Internal operations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAiDuoWorkflowsWorkflow"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID of the workflow.
        schema:
          type: integer
        in: path
        example: 1
    patch:
      operationId: patchApiV4AiDuoWorkflowsWorkflowsId
      summary: Update the workflow status
      description: Updates the execution status of a specified workflow.
      tags:
      - GitLab Duo workflows
      - Internal operations
      responses:
        '200':
          description: OK
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID of the workflow.
        schema:
          type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4AiDuoWorkflowsWorkflowsIdRequest"
  "/api/v4/ai/duo_workflows/workflows/{id}/catalog_items":
    get:
      operationId: getApiV4AiDuoWorkflowsWorkflowsIdCatalogItems
      summary: Get the AI Catalog item a workflow runs, with its sub-items
      description: Returns the saved AI Catalog item this session runs and its resolved
        subagents. A subagent the user cannot use has an error instead of a definition.
        When a setting turns subagents off, sub_items is empty and sub_items_skipped_reason
        says which setting.
      tags:
      - GitLab Duo workflows
      - Internal operations
      responses:
        '200':
          description: OK
        '404':
          description: The flow was not found or the user cannot read it
        '422':
          description: Workflow does not run a saved AI Catalog item
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The ID of the workflow
        schema:
          type: integer
        in: path
        example: 1
  "/api/v4/ai/duo_workflows/workflows/{id}/checkpoints":
    post:
      operationId: postApiV4AiDuoWorkflowsWorkflowsIdCheckpoints
      summary: Create workflow checkpoint
      description: Creates a new checkpoint state for an active workflow execution.
      tags:
      - GitLab Duo workflows
      - Internal operations
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAiDuoWorkflowsBasicCheckpoint"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID of the workflow.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4AiDuoWorkflowsWorkflowsIdCheckpointsRequest"
    get:
      operationId: getApiV4AiDuoWorkflowsWorkflowsIdCheckpoints
      summary: List all workflow checkpoints
      description: Lists all checkpoints associated with a specific workflow.
      tags:
      - GitLab Duo workflows
      - Internal operations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAiDuoWorkflowsCheckpoint"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID of the workflow.
        schema:
          type: integer
        in: path
      - name: accept_compressed
        required: false
        description: If `true`, returns compressed checkpoints.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: checkpoint_ns
        required: false
        description: 'Only return checkpoints belonging to this LangGraph checkpoint
          namespace (the flow''s own top-level lineage if omitted or blank). Unset
          (the default): return checkpoints from every lineage, unfiltered, preserving
          prior behavior.'
        schema:
          type: string
          nullable: true
          maxLength: 4096
        in: query
      - name: channels
        required: false
        description: Comma-separated channels to return in each checkpoint's channel_values,
          at most 100, each 1 to 255 characters. Omit to return every channel.
        schema:
          type: array
          items:
            type: string
        in: query
        style: form
        explode: false
  "/api/v4/ai/duo_workflows/workflows/{id}/checkpoints/by_thread_ts":
    get:
      operationId: getApiV4AiDuoWorkflowsWorkflowsIdCheckpointsByThreadTs
      summary: Get a workflow checkpoint reconstructed from incremental blobs
      description: Retrieves a full workflow checkpoint reconstructed from incremental
        data blobs.
      tags:
      - GitLab Duo workflows
      - Internal operations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAiDuoWorkflowsCheckpoint"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID of the workflow.
        schema:
          type: integer
        in: path
      - name: thread_ts
        required: true
        description: The langgraph thread_ts of the checkpoint
        schema:
          type: string
          nullable: true
        in: query
      - name: accept_compressed
        required: false
        description: If `true`, returns the compressed checkpoint.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
  "/api/v4/ai/duo_workflows/workflows/{id}/checkpoints/{checkpoint_id}":
    get:
      operationId: getApiV4AiDuoWorkflowsWorkflowsIdCheckpointsCheckpointId
      summary: Get details on a workflow checkpoint
      description: Retrieves detailed information about a specific workflow checkpoint.
      tags:
      - GitLab Duo workflows
      - Internal operations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAiDuoWorkflowsCheckpoint"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID of the workflow.
        schema:
          type: integer
        in: path
      - name: checkpoint_id
        required: true
        description: ID of the checkpoint.
        schema:
          type: integer
        in: path
        example: 1
      - name: accept_compressed
        required: false
        description: If `true`, returns the compressed checkpoint.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
  "/api/v4/ai/duo_workflows/workflows/{id}/checkpoint_writes_batch":
    post:
      operationId: postApiV4AiDuoWorkflowsWorkflowsIdCheckpointWritesBatch
      summary: Create multiple workflow checkpoint writes
      description: Writes multiple checkpoint entries for a workflow in a single request.
      tags:
      - GitLab Duo workflows
      - Internal operations
      responses:
        '200':
          description: OK
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID of the workflow.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4AiDuoWorkflowsWorkflowsIdCheckpointWritesBatchRequest"
  "/api/v4/ai/duo_workflows/workflows/{id}/events":
    post:
      operationId: postApiV4AiDuoWorkflowsWorkflowsIdEvents
      summary: Create workflow event
      description: Creates a new event for a specified workflow execution.
      tags:
      - GitLab Duo workflows
      - Internal operations
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAiDuoWorkflowsEvent"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID of the workflow.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4AiDuoWorkflowsWorkflowsIdEventsRequest"
    get:
      operationId: getApiV4AiDuoWorkflowsWorkflowsIdEvents
      summary: List all workflow events
      description: Retrieves a list of all events associated with a specific workflow.
      tags:
      - GitLab Duo workflows
      - Internal operations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAiDuoWorkflowsEvent"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID of the workflow.
        schema:
          type: integer
        in: path
  "/api/v4/ai/duo_workflows/workflows/{id}/events/{event_id}":
    put:
      operationId: putApiV4AiDuoWorkflowsWorkflowsIdEventsEventId
      summary: Update workflow event
      description: Updates an existing event for a specified workflow.
      tags:
      - GitLab Duo workflows
      - Internal operations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAiDuoWorkflowsEvent"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID of the workflow.
        schema:
          type: integer
        in: path
      - name: event_id
        required: true
        description: ID of the event.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4AiDuoWorkflowsWorkflowsIdEventsEventIdRequest"
  "/api/v4/ai/duo_workflows/direct_access":
    post:
      operationId: postApiV4AiDuoWorkflowsDirectAccess
      summary: Connection details for accessing Duo Agent Platform Service directly
      description: Returns connection details for direct access to the Duo Agent Platform
        Service.
      tags:
      - GitLab Duo workflows
      responses:
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
        '400':
          description: Bad Request
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4AiDuoWorkflowsDirectAccessRequest"
      x-gitlab-lifecycle: experiment
  "/api/v4/ai/duo_workflows/list_tools":
    get:
      operationId: getApiV4AiDuoWorkflowsListTools
      summary: List Duo Agent Platform tools
      description: Returns a list of all available Duo Agent Platform tools.
      tags:
      - GitLab Duo workflows
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
        '400':
          description: Bad Request
      parameters:
      - name: workflow_definition
        required: false
        description: workflow type based on its capability
        schema:
          type: string
          nullable: true
        in: query
        example: software_developer
      x-gitlab-lifecycle: experiment
  "/api/v4/ai/duo_workflows/ws":
    get:
      operationId: getApiV4AiDuoWorkflowsWs
      summary: Get Duo Workflows WebSocket connection details
      description: Retrieves WebSocket connection information to establish a session
        with Duo Workflows.
      tags:
      - GitLab Duo workflows
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
        '400':
          description: Bad Request
      parameters:
      - name: workflow_id
        required: false
        description: ID of the existing workflow. When provided and the workflow has
          a stored model selection, that selection is reused to ensure provider stickiness.
        schema:
          type: string
          nullable: true
        in: query
        example: '1'
      - name: environment
        required: false
        description: Environment the session runs in. Used to resolve tool governance
          when the client connects before sending workflow_id. Only `ide`, `chat`,
          and `chat_partial` affect tool governance. Any other value falls back to
          `web`.
        schema:
          type: string
          nullable: true
          maxLength: 255
        in: query
        example: ide
      x-gitlab-lifecycle: experiment
  "/api/v4/ai/duo_workflows/workflows/{workflow_id}/trace.jsonl":
    get:
      operationId: getApiV4AiDuoWorkflowsWorkflowsWorkflowIdTraceJsonl
      summary: Get workflow trace as JSONL
      description: Returns the trace of a workflow session as JSON Lines (JSONL),
        with the `application/x-ndjson` content type. The first line holds the session
        goal, if set. The other lines are entries from the `ui_chat_log`, `plan`,
        and `status` channels. Each line is a JSON object with a `channel` key. A
        `ui_chat_log` line also carries the fields of the entry, such as `message_type`,
        `content`, and `status`. For workflows that use incremental checkpoint storage,
        the default trace covers all threads of the session, including messages from
        before any context compaction. Returns `403 Forbidden` if the user must complete
        identity verification before using GitLab Duo Agent Platform.
      tags:
      - GitLab Duo workflows
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: workflow_id
        required: true
        description: ID of the workflow.
        schema:
          type: integer
        in: path
        example: 1
      - name: full
        required: false
        description: If `true`, includes internal channels such as conversation history
          and handover. Restricted to the workflow owner. Non-owners receive a `403`.
        schema:
          type: boolean
          nullable: true
        in: query
        example: false
      - name: thread
        required: false
        description: Thread to return. Omit for the full trace across all threads.
          Use `latest` for the most recent thread, or a thread ID for a specific thread.
          Has no effect on workflows that do not use incremental checkpoint storage.
        schema:
          type: string
          nullable: true
        in: query
        example: latest
      x-gitlab-lifecycle: experiment
  "/api/v4/ai/duo_workflows/workflows":
    post:
      operationId: postApiV4AiDuoWorkflowsWorkflows
      summary: Create a flow
      description: Creates and starts a flow. Returns `403 Forbidden` if the user
        must complete identity verification before using GitLab Duo Agent Platform.
        If `start_workflow` is `true` and the project has an empty repository, returns
        `422 Unprocessable entity` with `reason` set to `repository_empty`. If `start_workflow`
        is `true`, the flow must have a composite identity service account, either
        configured for the flow in the AI Catalog or behind the request's composite
        identity. This requirement is behind a feature flag named `enforce_composite_identity_for_api_started_workflows`,
        disabled by default.
      tags:
      - GitLab Duo workflows
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAiDuoWorkflowsWorkflow"
        '400':
          description: Validation failed
        '401':
          description: Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '429':
          description: Too many requests
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4AiDuoWorkflowsWorkflowsRequest"
  "/api/v4/ai/duo_workflows/workflows/agent_privileges":
    get:
      operationId: getApiV4AiDuoWorkflowsWorkflowsAgentPrivileges
      summary: List all agent privileges
      description: Lists all available agent privileges with their IDs, names, descriptions,
        and whether each is enabled by default. This endpoint has no supported attributes.
      tags:
      - GitLab Duo workflows
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAiDuoWorkflowsWorkflowAgentPrivileges"
        '401':
          description: Unauthorized
  "/api/v4/ai/duo_workflows/workflows/{workflow_id}/execute":
    post:
      operationId: postApiV4AiDuoWorkflowsWorkflowsWorkflowIdExecute
      summary: Request Duo Workflows server-side execution connection details
      description: Workhorse pre-authorization endpoint. Returns the connection details
        Workhorse needs to run the flow itself over gRPC and stream the actions it
        receives back to the caller, for callers that cannot execute actions of their
        own. Requests must arrive through Workhorse.
      tags:
      - GitLab Duo workflows
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
        '400':
          description: Bad Request
      parameters:
      - name: workflow_id
        required: true
        description: The ID of the workflow to execute
        schema:
          type: string
          pattern: "^\\d+$"
        in: path
        example: '1'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4AiDuoWorkflowsWorkflowsWorkflowIdExecuteRequest"
      x-gitlab-lifecycle: experiment
  "/api/v4/ai/duo_workflows/workflows/{workflow_id}/session_files/authorize":
    post:
      operationId: postApiV4AiDuoWorkflowsWorkflowsWorkflowIdSessionFilesAuthorize
      summary: Workhorse authorize a session file upload
      description: Workhorse pre-authorization endpoint for uploading a session file.
      tags:
      - GitLab Duo workflows
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: workflow_id
        required: true
        description: ID of the workflow.
        schema:
          type: string
        in: path
      x-gitlab-lifecycle: experiment
  "/api/v4/ai/duo_workflows/workflows/{workflow_id}/session_files":
    post:
      operationId: postApiV4AiDuoWorkflowsWorkflowsWorkflowIdSessionFiles
      summary: Upload a session file
      description: Uploads an image the user attached to the session.
      tags:
      - GitLab Duo workflows
      responses:
        '201':
          description: Created
        '400':
          description: Validation failed
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: workflow_id
        required: true
        description: ID of the workflow.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4AiDuoWorkflowsWorkflowsWorkflowIdSessionFilesRequest"
      x-gitlab-lifecycle: experiment
  "/api/v4/ai/duo_workflows/workflows/{workflow_id}/session_files/{file_id}":
    get:
      operationId: getApiV4AiDuoWorkflowsWorkflowsWorkflowIdSessionFilesFileId
      summary: Get a session file with its contents
      description: Returns a file the user attached to the session, with its contents
        base64 encoded.
      tags:
      - GitLab Duo workflows
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: workflow_id
        required: true
        description: ID of the workflow.
        schema:
          type: string
        in: path
      - name: file_id
        required: true
        description: ID of the session file.
        schema:
          type: integer
        in: path
        example: 1
      x-gitlab-lifecycle: experiment
  "/api/v4/ai/duo_workflows/workflows/{workflow_id}/session_files/{file_id}/raw":
    get:
      operationId: getApiV4AiDuoWorkflowsWorkflowsWorkflowIdSessionFilesFileIdRaw
      summary: Download a session file
      description: Returns the raw contents of a file the user attached to the session.
      tags:
      - GitLab Duo workflows
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: workflow_id
        required: true
        description: ID of the workflow.
        schema:
          type: string
        in: path
      - name: file_id
        required: true
        description: ID of the session file.
        schema:
          type: integer
        in: path
        example: 1
      x-gitlab-lifecycle: experiment
  "/api/v4/ai/duo_workflows/workflows/{workflow_id}/resume":
    post:
      operationId: postApiV4AiDuoWorkflowsWorkflowsWorkflowIdResume
      summary: Resume a paused workflow
      description: Resumes execution of a previously paused workflow.
      tags:
      - GitLab Duo workflows
      responses:
        '201':
          description: Created
        '400':
          description: Validation failed
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '429':
          description: Too many requests
      parameters:
      - name: workflow_id
        required: true
        description: ID of the workflow to resume.
        schema:
          type: string
        in: path
        example: '1'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4AiDuoWorkflowsWorkflowsWorkflowIdResumeRequest"
      x-gitlab-lifecycle: experiment
  "/api/v4/ai/duo_workflows/workflows/{workflow_id}/restart":
    post:
      operationId: postApiV4AiDuoWorkflowsWorkflowsWorkflowIdRestart
      summary: Restart a failed or stopped workflow as a new session
      description: Creates and starts a new session with the flow, goal, noteable,
        source, privileges and trigger of the given workflow. The new session runs
        from the beginning. The original workflow is not modified and keeps its `failed`
        or `stopped` status. Only project-level workflows with a `failed` or `stopped`
        status can be restarted. Other workflows return `403 Forbidden`. Restarting
        a workflow while a restart of it is in progress returns `409 Conflict`. The
        response describes the new session, so `id` is the ID of the new session.
      tags:
      - GitLab Duo workflows
      responses:
        '201':
          description: Created
        '400':
          description: Validation failed
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Conflict
        '422':
          description: Unprocessable entity
        '429':
          description: Too many requests
      parameters:
      - name: workflow_id
        required: true
        description: The ID of the workflow to restart
        schema:
          type: string
        in: path
        example: '1'
      x-gitlab-lifecycle: experiment
  "/api/v4/ai/llm/git_command":
    post:
      operationId: postApiV4AiLlmGitCommand
      summary: Generate Git commands from natural text
      description: Generates Git commands from natural language input
      tags:
      - GitLab Duo
      responses:
        '201':
          description: Created
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4AiLlmGitCommandRequest"
  "/api/v4/groups/{id}/enterprise_users":
    get:
      operationId: getApiV4GroupsIdEnterpriseUsers
      summary: List all enterprise users
      description: Lists all enterprise users for a specified top-level group. Use
        the `page` and `per_page` pagination parameters to filter the results. This
        feature was introduced in GitLab 17.7.
      tags:
      - Enterprise users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesUserPublic"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: username
        required: false
        description: Return a user with the given username.
        schema:
          type: string
          nullable: true
        in: query
      - name: search
        required: false
        description: Return users with a matching name, email, or username. Use partial
          values to increase results.
        schema:
          type: string
          nullable: true
        in: query
      - name: active
        required: false
        description: If `true`, returns only active users.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: blocked
        required: false
        description: If `true`, returns only blocked users.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: created_after
        required: false
        description: Return users created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: created_before
        required: false
        description: Return users created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: two_factor
        required: false
        description: Filter users by two-factor authentication (2FA). Filter values
          are `enabled` or `disabled`. By default it returns all users.
        schema:
          type: string
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/enterprise_users/{user_id}":
    get:
      operationId: getApiV4GroupsIdEnterpriseUsersUserId
      summary: Retrieve an enterprise user
      description: Retrieves a specified enterprise user of a top-level group. This
        feature was introduced in GitLab 17.9.
      tags:
      - Enterprise users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserPublic"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: user_id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
    patch:
      operationId: patchApiV4GroupsIdEnterpriseUsersUserId
      summary: Update an enterprise user
      description: Updates a specified enterprise user of a top-level group. This
        feature was introduced in GitLab 18.6.
      tags:
      - Enterprise users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserPublic"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: user_id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4GroupsIdEnterpriseUsersUserIdRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4GroupsIdEnterpriseUsersUserId
      summary: Delete an enterprise user
      description: Deletes a specified enterprise user of a top-level group. This
        feature was introduced in GitLab 18.3.
      tags:
      - Enterprise users
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: user_id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      - name: hard_delete
        required: false
        description: If `true`, deletes the user, their associated contributions,
          and any groups owned solely by the user. If `false`, deletes the user and
          moves their contributions to a [ghost user](https://docs.gitlab.com/user/profile/account/delete_account/#associated-records).
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/enterprise_users/{user_id}/disable_two_factor":
    patch:
      operationId: patchApiV4GroupsIdEnterpriseUsersUserIdDisableTwoFactor
      summary: Disable two-factor authentication for an enterprise user
      description: Disables two-factor authentication (2FA) for a specified enterprise
        user of a top-level group. This feature was introduced in GitLab 17.9.
      tags:
      - Enterprise users
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: user_id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/dependency_list_exports":
    post:
      operationId: postApiV4ProjectsIdDependencyListExports
      summary: Create a dependency list export
      description: Creates a CycloneDX JSON export for all the project dependencies
        detected in a pipeline. If an authenticated user does not have the read_dependency
        permission, this request returns a `403 Forbidden` status code. Only the author
        of an export can access it. The export is automatically deleted at the time
        specified in its `expires_at` field.
      tags:
      - Dependency management
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdDependencyListExportsRequest"
      x-gitlab-tier: ultimate
  "/api/v4/groups/{id}/dependency_list_exports":
    post:
      operationId: postApiV4GroupsIdDependencyListExports
      summary: Create a dependency list export
      description: Creates a CycloneDX JSON export for all the project dependencies
        detected in a pipeline. If an authenticated user does not have the read_dependency
        permission, this request returns a `403 Forbidden` status code. Only the author
        of an export can access it. The export is automatically deleted at the time
        specified in its `expires_at` field.
      tags:
      - Dependency management
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdDependencyListExportsRequest"
      x-gitlab-tier: ultimate
  "/api/v4/pipelines/{id}/dependency_list_exports":
    post:
      operationId: postApiV4PipelinesIdDependencyListExports
      summary: Create a dependency list export
      description: Creates a CycloneDX JSON export for all the project dependencies
        detected in a pipeline. If an authenticated user does not have the read_dependency
        permission, this request returns a `403 Forbidden` status code. Only the author
        of an export can access it. The export is automatically deleted at the time
        specified in its `expires_at` field.
      tags:
      - Dependency management
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the pipeline.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4PipelinesIdDependencyListExportsRequest"
      x-gitlab-tier: ultimate
  "/api/v4/dependency_list_exports/{export_id}":
    get:
      operationId: getApiV4DependencyListExportsExportId
      summary: Retrieve a single dependency list export
      description: Retrieves a dependency list export.
      tags:
      - Dependency management
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: export_id
        required: true
        description: ID of the dependency list export.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/dependency_list_exports/{export_id}/download":
    get:
      operationId: getApiV4DependencyListExportsExportIdDownload
      summary: Download dependency list export
      description: Downloads a dependency list export. In CycloneDX exports, a component
        with an SPDX license expression, for example `MIT AND Zlib`, has the full
        expression in `licenses[].license.name`, and that entry has no `id` field.
      tags:
      - Dependency management
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '404':
          description: Not Found
      parameters:
      - name: export_id
        required: true
        description: ID of the dependency list export.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/groups/{id}/protected_branches":
    get:
      operationId: getApiV4GroupsIdProtectedBranches
      summary: List all protected branches
      description: Lists all protected branches from a group. If a wildcard is set,
        it is returned instead of the exact name of the branches that match that wildcard.
      tags:
      - Protected branches
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesGroupProtectedBranch"
        '404':
          description: 404 Group Not Found
        '401':
          description: 401 Unauthorized
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: search
        required: false
        description: Name or part of the name of protected branches to search for.
        schema:
          type: string
          nullable: true
        in: query
        example: mai
      x-gitlab-tier: premium
    post:
      operationId: postApiV4GroupsIdProtectedBranches
      summary: Protect a repository branch
      description: Protects a specified repository branch. Protect multiple branches
        by using a wildcard in the `name`.
      tags:
      - Protected branches
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupProtectedBranch"
        '422':
          description: name is missing
        '409':
          description: Protected branch 'main' already exists
        '404':
          description: 404 Group Not Found
        '401':
          description: 401 Unauthorized
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdProtectedBranchesRequest"
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/protected_branches/{name}":
    get:
      operationId: getApiV4GroupsIdProtectedBranchesName
      summary: Retrieve a protected branch
      description: Retrieves a specified protected branch. Retrieve multiple branches
        by using a wildcard in the `name`.
      tags:
      - Protected branches
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupProtectedBranch"
        '404':
          description: 404 ProtectedBranch Not Found
        '401':
          description: 401 Unauthorized
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: name
        required: true
        description: Name of the branch or wildcard.
        schema:
          type: string
        in: path
        example: main
      x-gitlab-tier: premium
    patch:
      operationId: patchApiV4GroupsIdProtectedBranchesName
      summary: Update a protected branch
      description: 'Updates a protected branch for a specified group. Each element
        of `allowed_to_push`, `allowed_to_merge`, and `allowed_to_unprotect` takes
        the form `{access_level: integer}` or `{member_role_id: integer}`. Each access
        level must be a valid access level. The custom role referenced by `member_role_id`
        must belong to the same top-level group as the protected branch. To update
        an access level, include its `id` in the hash. To delete an access level,
        include its `id` and set `_destroy` to `true`.'
      tags:
      - Protected branches
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupProtectedBranch"
        '422':
          description: Push access levels access level has already been taken
        '404':
          description: 404 ProtectedBranch Not Found
        '401':
          description: 401 Unauthorized
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: name
        required: true
        description: Name of the branch or wildcard.
        schema:
          type: string
        in: path
        example: main
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4GroupsIdProtectedBranchesNameRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4GroupsIdProtectedBranchesName
      summary: Unprotect repository branches
      description: Unprotects a specified protected branch Unprotect multiple branches
        by using a wildcard in the `name`.
      tags:
      - Protected branches
      responses:
        '204':
          description: No Content
        '404':
          description: 404 ProtectedBranch Not Found
        '401':
          description: 401 Unauthorized
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: name
        required: true
        description: Name of the branch or wildcard.
        schema:
          type: string
        in: path
        example: main
      x-gitlab-tier: premium
  "/api/v4/group_repository_storage_moves":
    get:
      operationId: getApiV4GroupRepositoryStorageMoves
      summary: List all group repository storage moves
      description: Lists all group repository storage moves for an instance.
      tags:
      - Storage moves
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesGroupsRepositoryStorageMove"
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
    post:
      operationId: postApiV4GroupRepositoryStorageMoves
      summary: Create group repository storage moves for a storage shard
      description: Creates repository storage moves for all groups on a specified
        storage shard.
      tags:
      - Storage moves
      responses:
        '202':
          description: 202 Accepted
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupRepositoryStorageMovesRequest"
      x-gitlab-tier: premium
  "/api/v4/group_repository_storage_moves/{repository_storage_move_id}":
    get:
      operationId: getApiV4GroupRepositoryStorageMovesRepositoryStorageMoveId
      summary: Retrieve a group repository storage move
      description: Retrieves a specified group repository storage move. This feature
        was introduced in GitLab 13.9.
      tags:
      - Storage moves
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupsRepositoryStorageMove"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: repository_storage_move_id
        required: true
        description: ID of the group repository storage move.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/repository_storage_moves":
    get:
      operationId: getApiV4GroupsIdRepositoryStorageMoves
      summary: List all repository storage moves for a group
      description: Lists all repository storage moves for a specified group.
      tags:
      - Storage moves
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesGroupsRepositoryStorageMove"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
    post:
      operationId: postApiV4GroupsIdRepositoryStorageMoves
      summary: Create a group repository storage move
      description: Creates a group repository storage move for a specified group.
        This operation moves only group wiki repositories and does not move repositories
        for projects in a group.
      tags:
      - Storage moves
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupsRepositoryStorageMove"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdRepositoryStorageMovesRequest"
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/repository_storage_moves/{repository_storage_move_id}":
    get:
      operationId: getApiV4GroupsIdRepositoryStorageMovesRepositoryStorageMoveId
      summary: Retrieve a repository storage move for a group
      description: Retrieves a specified repository storage move for a group. This
        feature was introduced in GitLab 13.9.
      tags:
      - Storage moves
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupsRepositoryStorageMove"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: repository_storage_move_id
        required: true
        description: ID of the group repository storage move.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/iterations":
    get:
      operationId: getApiV4ProjectsIdIterations
      summary: List all project iterations
      description: Lists all iterations for a specified project. Iterations created
        by **Enable automatic scheduling** in iteration cadences return `null` for
        the `title` and `description` fields. This feature was introduced in GitLab
        13.5.
      tags:
      - Iterations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesIteration"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 5
      - name: state
        required: false
        description: Filter iterations by state. Filtering by `started` is deprecated.
          Use `current` instead.
        schema:
          type: string
          enum:
          - opened
          - upcoming
          - started
          - current
          - closed
          - all
          nullable: true
          default: all
        in: query
        example: opened
      - name: search
        required: false
        description: Return only iterations with a title matching the provided string.
        schema:
          type: string
          nullable: true
        in: query
        example: version
      - name: in
        required: false
        description: Fields to search with the `search` query. Possible values are
          `title` and `cadence_title`.
        schema:
          type: array
          items:
            type: string
            enum:
            - title
            - cadence_title
          nullable: true
          default:
          - title
        in: query
        example:
        - title
        - cadence_title
      - name: include_ancestors
        required: false
        description: If `true`, includes iterations for the parent group and its ancestors.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
        example: false
      - name: include_descendants
        required: false
        description: If `true`, includes iterations for the parent group and its descendants.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
        example: true
      - name: updated_before
        required: false
        description: 'Return milestones updated before the specified datetime. Format:
          ISO 8601 YYYY-MM-DDTHH:MM:SSZ'
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2023-02-28T21:22:12Z'
      - name: updated_after
        required: false
        description: 'Return milestones updated after the specified datetime. Format:
          ISO 8601 YYYY-MM-DDTHH:MM:SSZ'
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2023-02-28T21:22:12Z'
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/iterations":
    get:
      operationId: getApiV4GroupsIdIterations
      summary: List all group iterations
      description: Lists all iterations for a specified group. Iterations created
        by **Enable automatic scheduling** in iteration cadences return `null` for
        the `title` and `description` fields. This feature was introduced in GitLab
        13.5.
      tags:
      - Iterations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesIteration"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
        example: '5'
      - name: state
        required: false
        description: Filter iterations by state. Filtering by `started` is deprecated.
          Use `current` instead.
        schema:
          type: string
          enum:
          - opened
          - upcoming
          - started
          - current
          - closed
          - all
          nullable: true
          default: all
        in: query
        example: opened
      - name: search
        required: false
        description: Return only iterations with a title matching the provided string.
        schema:
          type: string
          nullable: true
        in: query
        example: version
      - name: in
        required: false
        description: Fields to search with the `search` query. Possible values are
          `title` and `cadence_title`.
        schema:
          type: array
          items:
            type: string
            enum:
            - title
            - cadence_title
          nullable: true
          default:
          - title
        in: query
        example:
        - title
        - cadence_title
      - name: include_ancestors
        required: false
        description: If `true`, includes iterations for the parent group and its ancestors.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
        example: false
      - name: include_descendants
        required: false
        description: If `true`, includes iterations for the parent group and its descendants.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
        example: true
      - name: updated_before
        required: false
        description: 'Return milestones updated before the specified datetime. Format:
          ISO 8601 YYYY-MM-DDTHH:MM:SSZ'
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2023-02-28T21:22:12Z'
      - name: updated_after
        required: false
        description: 'Return milestones updated after the specified datetime. Format:
          ISO 8601 YYYY-MM-DDTHH:MM:SSZ'
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2023-02-28T21:22:12Z'
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
  "/api/v4/occurrences/vulnerabilities":
    get:
      operationId: getApiV4OccurrencesVulnerabilities
      summary: Get vulnerabilities
      description: Returns vulnerabilities related to an occurrence.
      tags:
      - Dependency management
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDependenciesVulnerabilities"
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the occurrence.
        schema:
          type: string
          nullable: true
        in: query
      x-gitlab-tier: ultimate
  "/api/v4/groups/{id}/saml_group_links":
    get:
      operationId: getApiV4GroupsIdSamlGroupLinks
      summary: Lists SAML group links
      description: Get SAML group links for a group
      tags:
      - SAML group links
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesSamlGroupLink"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: premium
    post:
      operationId: postApiV4GroupsIdSamlGroupLinks
      summary: Add SAML group link
      description: Add a SAML group link for a group
      tags:
      - SAML group links
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSamlGroupLink"
        '400':
          description: Validation error
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdSamlGroupLinksRequest"
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/saml_group_links/{saml_group_name}":
    get:
      operationId: getApiV4GroupsIdSamlGroupLinksSamlGroupName
      summary: Get SAML group link
      description: Get a SAML group link for the group
      tags:
      - SAML group links
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSamlGroupLink"
        '404':
          description: Not found
        '422':
          description: Multiple links found, provider parameter required
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: saml_group_name
        required: true
        description: Name of the SAML group.
        schema:
          type: string
        in: path
      - name: provider
        required: false
        description: Unique [provider name](https://docs.gitlab.com/integration/saml/#configure-saml-support-in-gitlab)
          used to disambiguate when multiple links exist with the same name. Required
          when multiple links exist with the same `saml_group_name`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/548725)
          in GitLab 18.2.
        schema:
          type: string
          nullable: true
        in: query
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4GroupsIdSamlGroupLinksSamlGroupName
      summary: Delete SAML group link
      description: Deletes a SAML group link for the group
      tags:
      - SAML group links
      responses:
        '204':
          description: No Content
        '400':
          description: Failed to delete SamlGroupLink record
        '404':
          description: Not found
        '422':
          description: Multiple links found, provider parameter required
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: saml_group_name
        required: true
        description: Name of the SAML group.
        schema:
          type: string
        in: path
      - name: provider
        required: false
        description: Unique [provider name](https://docs.gitlab.com/integration/saml/#configure-saml-support-in-gitlab)
          used to disambiguate when multiple links exist with the same name. Required
          when multiple links exist with the same `saml_group_name`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/548725)
          in GitLab 18.2.
        schema:
          type: string
          nullable: true
        in: query
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/issues/{eventable_id}/resource_iteration_events":
    get:
      operationId: getApiV4ProjectsIdIssuesEventableIdResourceIterationEvents
      summary: List all issue iteration events
      description: Lists all iteration events for a specified issue.
      tags:
      - Resource events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesResourceIterationEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: eventable_id
        required: true
        description: ID of the eventable.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/issues/{eventable_id}/resource_iteration_events/{event_id}":
    get:
      operationId: getApiV4ProjectsIdIssuesEventableIdResourceIterationEventsEventId
      summary: Retrieve an issue iteration event
      description: Retrieves an iteration event for a specified issue.
      tags:
      - Resource events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesResourceIterationEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: event_id
        required: true
        description: ID of the resource iteration event.
        schema:
          type: string
        in: path
      - name: eventable_id
        required: true
        description: ID of the eventable.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/issues/{eventable_id}/resource_weight_events":
    get:
      operationId: getApiV4ProjectsIdIssuesEventableIdResourceWeightEvents
      summary: List all project issue weight events
      description: Lists all weight events for a specified issue.
      tags:
      - Resource events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesResourceWeightEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: eventable_id
        required: true
        description: ID of the eventable.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/issues/{eventable_id}/resource_weight_events/{event_id}":
    get:
      operationId: getApiV4ProjectsIdIssuesEventableIdResourceWeightEventsEventId
      summary: Retrieve single issue weight event
      description: Retrieves a single weight event for a specified project issue.
      tags:
      - Resource events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesResourceWeightEvent"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: event_id
        required: true
        description: ID of the resource weight event.
        schema:
          type: string
        in: path
      - name: eventable_id
        required: true
        description: ID of the eventable.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/protected_environments":
    get:
      operationId: getApiV4ProjectsIdProtectedEnvironments
      summary: List all protected environments for a project
      description: Lists all protected environments for a specified project.
      tags:
      - Protected environments
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProtectedEnvironment"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
    post:
      operationId: postApiV4ProjectsIdProtectedEnvironments
      summary: Protect an environment for a project
      description: Protects a specified environment for a project. Each `user_id`
        must belong to a user with at least the Developer role for the project. Each
        `group_id` must belong to a group the project is shared with.
      tags:
      - Protected environments
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProtectedEnvironment"
        '409':
          description: Conflict
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdProtectedEnvironmentsRequest"
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/protected_environments/{name}":
    get:
      operationId: getApiV4ProjectsIdProtectedEnvironmentsName
      summary: Retrieve a protected environment for a project
      description: Retrieves a specified protected environment for a project.
      tags:
      - Protected environments
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProtectedEnvironment"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: name
        required: true
        description: Name of the protected environment.
        schema:
          type: string
        in: path
      x-gitlab-tier: premium
    put:
      operationId: putApiV4ProjectsIdProtectedEnvironmentsName
      summary: Update a protected environment for a project
      description: Updates a specified protected environment for a project. Each `user_id`
        must belong to a user with at least the Developer role for the project. Each
        `group_id` must belong to a group the project is shared with. To update an
        existing entry, pass its `id` in the `deploy_access_levels` or `approval_rules`
        hash.
      tags:
      - Protected environments
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProtectedEnvironment"
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: name
        required: true
        description: Name of the environment.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdProtectedEnvironmentsNameRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4ProjectsIdProtectedEnvironmentsName
      summary: Unprotect a protected environment for a project
      description: Unprotects a specified protected environment for a project.
      tags:
      - Protected environments
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: name
        required: true
        description: Name of the protected environment.
        schema:
          type: string
        in: path
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/protected_environments":
    get:
      operationId: getApiV4GroupsIdProtectedEnvironments
      summary: List all protected environments for a group
      description: Lists all protected environments for a specified group.
      tags:
      - Protected environments
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProtectedEnvironment"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of a group maintained by the authenticated
          user.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
    post:
      operationId: postApiV4GroupsIdProtectedEnvironments
      summary: Protect an environment for a group
      description: Protects a specified environment for a group. Each `user_id` must
        belong to a user with at least the Maintainer role for the group. Each `group_id`
        must belong to the group, one of its subgroups, or a group it is shared with.
      tags:
      - Protected environments
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProtectedEnvironment"
        '400':
          description: Bad request
        '409':
          description: Conflict
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of a group maintained by the authenticated
          user.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdProtectedEnvironmentsRequest"
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/protected_environments/{name}":
    get:
      operationId: getApiV4GroupsIdProtectedEnvironmentsName
      summary: Retrieve a protected environment for a group
      description: Retrieves a specified protected environment for a group.
      tags:
      - Protected environments
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProtectedEnvironment"
        '400':
          description: Bad request
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of a group maintained by the authenticated
          user.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: name
        required: true
        description: The deployment tier of the protected environment.
        schema:
          type: string
          enum:
          - production
          - staging
          - testing
          - development
          - other
          minLength: 1
        in: path
      x-gitlab-tier: premium
    put:
      operationId: putApiV4GroupsIdProtectedEnvironmentsName
      summary: Update a protected environment for a group
      description: Updates a specified protected environment for a group. Each `user_id`
        must belong to a user with at least the Maintainer role for the group. Each
        `group_id` must belong to the group, one of its subgroups, or a group it is
        shared with. To update an existing entry, pass its `id` in the `deploy_access_levels`
        or `approval_rules` hash.
      tags:
      - Protected environments
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProtectedEnvironment"
        '400':
          description: Bad request
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of a group maintained by the authenticated
          user.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: name
        required: true
        description: The deployment tier of the protected environment.
        schema:
          type: string
          enum:
          - production
          - staging
          - testing
          - development
          - other
          minLength: 1
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdProtectedEnvironmentsNameRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4GroupsIdProtectedEnvironmentsName
      summary: Unprotect a group environment
      description: Unprotects a specified protected environment for a group.
      tags:
      - Protected environments
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of a group maintained by the authenticated
          user.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: name
        required: true
        description: "[Deployment tier](https://docs.gitlab.com/ci/environments/#deployment-tier-of-environments)
          of the protected environment. Possible values are `production`, `staging`,
          `testing`, `development`, and `other`."
        schema:
          type: string
        in: path
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/analytics/deployment_frequency":
    get:
      operationId: getApiV4ProjectsIdAnalyticsDeploymentFrequency
      summary: List deployment frequencies for the project
      description: Retrieves deployment frequency analytics data for a specific project.
      tags:
      - Analytics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAnalyticsDeploymentFrequency"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: environment
        required: true
        description: Name of the environment to filter by.
        schema:
          type: string
          nullable: true
        in: query
      - name: from
        required: true
        description: Datetime to start from, inclusive.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: to
        required: false
        description: Datetime to end at, exclusive. If omitted, defaults to the current
          time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: interval
        required: false
        description: Interval to roll up data by. If omitted, defaults to `all`.
        schema:
          type: string
          enum:
          - all
          - monthly
          - daily
          nullable: true
        in: query
      x-gitlab-tier: ultimate
  "/api/v4/analytics/group_activity/issues_count":
    get:
      operationId: getApiV4AnalyticsGroupActivityIssuesCount
      summary: Retrieve count of recently created issues for a group
      description: Retrieves the count of recently created issues for a specified
        group.
      tags:
      - Analytics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAnalyticsGroupActivityIssuesCount"
        '400':
          description: Bad Request
      parameters:
      - name: group_path
        required: true
        description: Group path.
        schema:
          type: string
          nullable: true
        in: query
      x-gitlab-tier: premium
  "/api/v4/analytics/group_activity/merge_requests_count":
    get:
      operationId: getApiV4AnalyticsGroupActivityMergeRequestsCount
      summary: Retrieve count of recently created merge requests for a group
      description: Retrieves the count of recently created merge requests for a specified
        group.
      tags:
      - Analytics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAnalyticsGroupActivityMergeRequestsCount"
        '400':
          description: Bad Request
      parameters:
      - name: group_path
        required: true
        description: Group path.
        schema:
          type: string
          nullable: true
        in: query
      x-gitlab-tier: premium
  "/api/v4/analytics/group_activity/new_members_count":
    get:
      operationId: getApiV4AnalyticsGroupActivityNewMembersCount
      summary: Retrieve count of members recently added to a group
      description: Retrieves the count of members recently added to a specified group.
      tags:
      - Analytics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAnalyticsGroupActivityNewMembersCount"
        '400':
          description: Bad Request
      parameters:
      - name: group_path
        required: true
        description: Group path.
        schema:
          type: string
          nullable: true
        in: query
      x-gitlab-tier: premium
  "/api/v4/analytics/code_review":
    get:
      operationId: getApiV4AnalyticsCodeReview
      summary: List code review information about project
      description: Retrieves code review analytics data for a specific project.
      tags:
      - Code review analytics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAnalyticsCodeReviewMergeRequest"
        '400':
          description: Bad Request
      parameters:
      - name: project_id
        required: true
        description: ID of the project.
        schema:
          type: integer
          nullable: true
        in: query
      - name: label_name
        required: false
        description: Array of label names to filter by
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        example:
        - feature
        - bug
        style: form
        explode: false
      - name: milestone_title
        required: false
        description: Milestone title to filter by
        schema:
          type: string
          nullable: true
        in: query
        example: '1.6'
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: not
        required: false
        description: Return merge requests that do not match the specified parameters.
        schema:
          type: object
          nullable: true
        in: query
      - name: not[label_name]
        required: false
        description: Array of label names to filter by
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        example:
        - feature
        - bug
      - name: not[milestone_title]
        required: false
        description: Milestone title to filter by
        schema:
          type: string
          nullable: true
        in: query
        example: '1.6'
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/dependencies":
    get:
      operationId: getApiV4ProjectsIdDependencies
      summary: List all project dependencies
      description: Lists all dependencies for a specified project. This operation
        partially mirrors the dependency list feature, which is available only for
        languages and package managers supported by Gemnasium. Responses are paginated
        and return 20 results by default.
      tags:
      - Dependency management
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDependency"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_manager
        required: false
        description: Filter results by the specified package manager.
        schema:
          type: array
          items:
            type: string
            enum:
            - bundler
            - yarn
            - npm
            - pnpm
            - bun
            - maven
            - composer
            - pip
            - conan
            - go
            - nuget
            - sbt
            - gradle
            - pipenv
            - poetry
            - setuptools
            - apk
            - conda
            - pub
            - cargo
          nullable: true
        in: query
        example:
        - maven
        - yarn
        style: form
        explode: false
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: ultimate
  "/api/v4/project_aliases":
    get:
      operationId: getApiV4ProjectAliases
      summary: List all project aliases
      description: Lists all project aliases for the instance.
      tags:
      - Project alias
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProjectAlias"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
    post:
      operationId: postApiV4ProjectAliases
      summary: Create a project alias
      description: Creates a project alias.
      tags:
      - Project alias
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectAlias"
        '400':
          description: Bad request
        '403':
          description: Forbidden
        '404':
          description: Not found
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectAliasesRequest"
      x-gitlab-tier: premium
  "/api/v4/project_aliases/{name}":
    get:
      operationId: getApiV4ProjectAliasesName
      summary: Retrieve a project alias
      description: Retrieves details of a specified project alias.
      tags:
      - Project alias
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectAlias"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: name
        required: true
        description: Name of the alias. Must be unique.
        schema:
          type: string
        in: path
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4ProjectAliasesName
      summary: Delete a project alias
      description: Deletes a specified project alias. Administrators only.
      tags:
      - Project alias
      responses:
        '204':
          description: No Content
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: name
        required: true
        description: Name of the alias. Must be unique.
        schema:
          type: string
        in: path
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/approval_rules":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidApprovalRules
      summary: List all approval rules for a merge request
      description: Lists all approval rules and any associated details for a specified
        merge request. Use the `page` and `per_page` pagination parameters to restrict
        the list of approval rules.
      tags:
      - Merge request approvals
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMergeRequestApprovalRule"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidApprovalRules
      summary: Create an approval rule for a merge request
      description: Creates an approval rule for a specified merge request. If `approval_project_rule_id`
        is set with the ID of an existing approval rule from the project, this endpoint
        copies the values for `name`, `users`, and `groups` from the project rule,
        and uses the `approvals_required` value you specify.
      tags:
      - Merge request approvals
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequestApprovalRule"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMergeRequestsMergeRequestIidApprovalRulesRequest"
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/approval_rules/{approval_rule_id}":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidApprovalRulesApprovalRuleId
      summary: Retrieve an approval rule for a specific merge request
      description: Retrieves information about an approval rule for a specified merge
        request.
      tags:
      - Merge request approvals
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequestApprovalRule"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      - name: approval_rule_id
        required: true
        description: ID of the merge request approval rule.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
    put:
      operationId: putApiV4ProjectsIdMergeRequestsMergeRequestIidApprovalRulesApprovalRuleId
      summary: Update an approval rule for a merge request
      description: Updates a specified approval rule for a merge request. This endpoint
        removes any approvers and groups not included in the `group_ids`, `user_ids`,
        or `usernames` attributes. The `report_approver` or `code_owner` rules are
        system-generated, and you cannot edit them.
      tags:
      - Merge request approvals
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequestApprovalRule"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      - name: approval_rule_id
        required: true
        description: ID of the merge request approval rule.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdMergeRequestsMergeRequestIidApprovalRulesApprovalRuleIdRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4ProjectsIdMergeRequestsMergeRequestIidApprovalRulesApprovalRuleId
      summary: Delete an approval rule for a merge request
      description: Deletes a specified approval rule for a merge request. The `report_approver`
        or `code_owner` rules are system-generated, and you cannot edit them.
      tags:
      - Merge request approvals
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      - name: approval_rule_id
        required: true
        description: ID of the merge request approval rule.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/security/projects/{id}/vulnerability_exports":
    post:
      operationId: postApiV4SecurityProjectsIdVulnerabilityExports
      summary: Create a project-level vulnerability export
      description: Creates a vulnerability export for a project. Returns status code
        `403` if the authenticated user does not have permission to create a vulnerability.
        Each user can create only one vulnerability export at a time for a specific
        project. Only the author of an export can access it. The created vulnerability
        export is automatically deleted at the time specified in the `expires_at`
        field.
      tags:
      - Vulnerabilities
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesVulnerabilityExport"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4SecurityProjectsIdVulnerabilityExportsRequest"
      x-gitlab-tier: ultimate
  "/api/v4/security/groups/{id}/vulnerability_exports":
    post:
      operationId: postApiV4SecurityGroupsIdVulnerabilityExports
      summary: Create a group-level vulnerability export
      description: Creates a vulnerability export for a group. Returns status code
        `403` if the authenticated user does not have permission to create a vulnerability.
        Each user can create only one vulnerability export at a time for a specific
        group. Only the author of an export can access it. The created vulnerability
        export is automatically deleted at the time specified in the `expires_at`
        field.
      tags:
      - Vulnerabilities
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesVulnerabilityExport"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4SecurityGroupsIdVulnerabilityExportsRequest"
      x-gitlab-tier: ultimate
  "/api/v4/security/vulnerability_exports":
    post:
      operationId: postApiV4SecurityVulnerabilityExports
      summary: Create an instance-level vulnerability export
      description: Creates a vulnerability export for the projects of the user selected
        in the Security Dashboard. The created vulnerability export is automatically
        deleted at the time specified in the `expires_at` field.
      tags:
      - Vulnerabilities
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesVulnerabilityExport"
        '400':
          description: Bad Request
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4SecurityVulnerabilityExportsRequest"
      x-gitlab-tier: ultimate
  "/api/v4/security/vulnerability_exports/{id}":
    get:
      operationId: getApiV4SecurityVulnerabilityExportsId
      summary: Retrieve a vulnerability export
      description: Retrieves a specified vulnerability export.
      tags:
      - Vulnerabilities
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesVulnerabilityExport"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the vulnerability export.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/security/vulnerability_exports/{id}/download":
    get:
      operationId: getApiV4SecurityVulnerabilityExportsIdDownload
      summary: Download a vulnerability export
      description: 'Downloads a specified vulnerability export. A CSV export has these
        columns: Group Name, Project Name, Tool, Scanner Name, Status, Vulnerability,
        Details, Additional Info, Severity, CVE, CWE, Other Identifiers, Detected
        At, Location, Activity, Comments, Full Path, CVSS Vectors, Dismissal Reason,
        Vulnerability ID, and Tracked Context Name.'
      tags:
      - Vulnerabilities
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the vulnerability export.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/security/projects/{id}/vulnerability_archive_exports":
    post:
      operationId: postApiV4SecurityProjectsIdVulnerabilityArchiveExports
      summary: Create an export for archived vulnerabilities
      description: Creates an export for archived vulnerabilities in a specified project.
        If an authenticated user does not have permission to read vulnerabilities,
        returns a `403 Forbidden` status code. The export file is deleted 24 hours
        after the export finishes.
      tags:
      - Vulnerabilities
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesVulnerabilityArchiveExport"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4SecurityProjectsIdVulnerabilityArchiveExportsRequest"
      x-gitlab-tier: ultimate
  "/api/v4/security/vulnerability_archive_exports/{id}":
    get:
      operationId: getApiV4SecurityVulnerabilityArchiveExportsId
      summary: Retrieve a vulnerability archive export
      description: 'Retrieves the attributes for a specified vulnerability archive
        export. You can use this endpoint to poll the export status until it is `finished`.
        Clients should use the `Poll-Interval` response header to determine how long
        to wait before sending the next poll. The `Poll-Interval` represents the time
        in milliseconds. The `status` is one of: `created` (the export has not started
        running yet), `running` (the export is being generated), `finished` (the export
        is available for download), `failed` (there was an error while generating
        the export and it could not be completed), or `purged` (the export is queued
        for deletion and the file is no longer available for download).'
      tags:
      - Vulnerabilities
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesVulnerabilityArchiveExport"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the vulnerability archive export.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/security/vulnerability_archive_exports/{id}/download":
    get:
      operationId: getApiV4SecurityVulnerabilityArchiveExportsIdDownload
      summary: Download a vulnerability archive export
      description: Downloads a vulnerability archive export. The export must have
        the status `finished`. Before you call this endpoint, verify the export status
        with the retrieve endpoint.
      tags:
      - Vulnerabilities
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the vulnerability archive export.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/vulnerabilities/{id}/issue_links":
    get:
      operationId: getApiV4VulnerabilitiesIdIssueLinks
      summary: Get related issues for a vulnerability
      description: Lists related issues for a vulnerability.
      tags:
      - Vulnerabilities
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesVulnerabilityRelatedIssue"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the vulnerability.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
    post:
      operationId: postApiV4VulnerabilitiesIdIssueLinks
      summary: Relate an issue to a vulnerability
      description: Relates an issue to a vulnerability.
      tags:
      - Vulnerabilities
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesVulnerabilityIssueLink"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the vulnerability.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4VulnerabilitiesIdIssueLinksRequest"
      x-gitlab-tier: ultimate
  "/api/v4/vulnerabilities/{id}/issue_links/{issue_link_id}":
    delete:
      operationId: deleteApiV4VulnerabilitiesIdIssueLinksIssueLinkId
      summary: Delete a link between an issue and a vulnerability
      description: Deletes a link between an issue and a vulnerability.
      tags:
      - Vulnerabilities
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesVulnerabilityIssueLink"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the vulnerability.
        schema:
          type: integer
        in: path
      - name: issue_link_id
        required: true
        description: ID of the vulnerability-issue link.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/projects/{id}/vulnerability_findings":
    get:
      operationId: getApiV4ProjectsIdVulnerabilityFindings
      summary: List all project vulnerability findings
      description: Lists all vulnerability findings for a specified project. Responses
        are paginated and return 20 results by default.
      tags:
      - Vulnerabilities
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/VulnerabilitiesFindingEntity"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: report_type
        required: false
        description: Return vulnerability findings belonging to the specified report
          type, such as `sast`, `dast`, `dependency_scanning`, or `container_scanning`.
        schema:
          type: array
          items:
            type: string
            enum:
            - sast
            - dependency_scanning
            - container_scanning
            - dast
            - secret_detection
            - coverage_fuzzing
            - api_fuzzing
            - cluster_image_scanning
            - container_scanning_for_registry
            - sarif
            - generic
          nullable: true
          default:
          - sast
          - dependency_scanning
          - container_scanning
          - dast
          - secret_detection
          - coverage_fuzzing
          - api_fuzzing
          - cluster_image_scanning
          - container_scanning_for_registry
          - sarif
          - generic
        in: query
        style: form
        explode: false
      - name: scope
        required: false
        description: Return vulnerability findings for the given scope.
        schema:
          type: string
          enum:
          - all
          - dismissed
          nullable: true
          default: dismissed
        in: query
      - name: severity
        required: false
        description: 'Return vulnerability findings belonging to the specified severity
          level: `info`, `unknown`, `low`, `medium`, `high`, or `critical`.'
        schema:
          type: array
          items:
            type: string
            enum:
            - info
            - unknown
            - low
            - medium
            - high
            - critical
          nullable: true
          default:
          - info
          - unknown
          - low
          - medium
          - high
          - critical
        in: query
        style: form
        explode: false
      - name: pipeline_id
        required: false
        description: Filter vulnerability findings by pipeline.
        schema:
          type: string
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: ultimate
  "/api/v4/vulnerabilities/{vulnerability_id}/flags/ai_detection":
    post:
      operationId: postApiV4VulnerabilitiesVulnerabilityIdFlagsAiDetection
      summary: Update AI False Positive Detection results
      description: Updates the confidence score and explanation for AI-based False
        Positive Detection flows.
      tags:
      - Vulnerabilities
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: vulnerability_id
        required: true
        description: ID of the vulnerability.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4VulnerabilitiesVulnerabilityIdFlagsAiDetectionRequest"
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: ultimate
  "/api/v4/vulnerabilities/{id}":
    get:
      operationId: getApiV4VulnerabilitiesId
      summary: Retrieve a vulnerability
      description: Retrieves a specified vulnerability.
      tags:
      - Vulnerabilities
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesVulnerability"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the vulnerability.
        schema:
          type: string
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/vulnerabilities/{id}/resolve":
    post:
      operationId: postApiV4VulnerabilitiesIdResolve
      summary: Resolve a vulnerability
      description: Resolves a specified vulnerability. Returns status code `304` if
        the vulnerability is already resolved. Returns status code `403` if the authenticated
        user does not have permission to change the vulnerability status.
      tags:
      - Vulnerabilities
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesVulnerability"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the vulnerability.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4VulnerabilitiesIdResolveRequest"
      x-gitlab-tier: ultimate
  "/api/v4/vulnerabilities/{id}/dismiss":
    post:
      operationId: postApiV4VulnerabilitiesIdDismiss
      summary: Dismiss a vulnerability
      description: Dismisses a specified vulnerability. Returns status code `304`
        if the vulnerability is already dismissed. Returns status code `403` if the
        authenticated user does not have permission to change the vulnerability status.
      tags:
      - Vulnerabilities
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesVulnerability"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the vulnerability.
        schema:
          type: string
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/vulnerabilities/{id}/confirm":
    post:
      operationId: postApiV4VulnerabilitiesIdConfirm
      summary: Confirm a vulnerability
      description: Confirms a specified vulnerability, marking it as genuine and requiring
        action. Returns status code `304` if the vulnerability is already confirmed.
        Returns status code `403` if the authenticated user does not have permission
        to change the vulnerability status.
      tags:
      - Vulnerabilities
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesVulnerability"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the vulnerability.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4VulnerabilitiesIdConfirmRequest"
      x-gitlab-tier: ultimate
  "/api/v4/vulnerabilities/{id}/revert":
    post:
      operationId: postApiV4VulnerabilitiesIdRevert
      summary: Revert a vulnerability to detected state
      description: Reverts a specified vulnerability to detected state. Returns status
        code `304` if the vulnerability is already in detected state. Returns status
        code `403` if the authenticated user does not have permission to change vulnerability
        status.
      tags:
      - Vulnerabilities
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesVulnerability"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the vulnerability.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4VulnerabilitiesIdRevertRequest"
      x-gitlab-tier: ultimate
  "/api/v4/projects/{id}/vulnerabilities":
    get:
      operationId: getApiV4ProjectsIdVulnerabilities
      summary: List all project vulnerabilities
      description: Lists all vulnerabilities for a specified project.
      tags:
      - Vulnerabilities
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesVulnerability"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project. The authenticated user
          must be a member of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: ultimate
    post:
      operationId: postApiV4ProjectsIdVulnerabilities
      summary: Create a new vulnerability
      description: Creates a new vulnerability from a confirmed finding. The new vulnerability
        takes its `title` from the `name` of the finding, and its `severity` from
        the finding. Its author is the authenticated user. Returns status code `403`
        if the authenticated user does not have permission to create a vulnerability.
        Returns status code `400` if the finding is not found or is already attached
        to a vulnerability.
      tags:
      - Vulnerabilities
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesVulnerability"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project. The authenticated user
          must be a member of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdVulnerabilitiesRequest"
      x-gitlab-tier: ultimate
  "/api/v4/projects/{id}/google_cloud/setup/integrations.sh":
    get:
      operationId: getApiV4ProjectsIdGoogleCloudSetupIntegrationsSh
      summary: Retrieve setup script for Google Cloud integration
      description: Retrieves the setup script for Google Cloud integration. You must
        have the Maintainer or Owner role for the project. Only the Google Artifact
        Management integration is supported. The script creates IAM policies to access
        Google Artifact Registry. The Artifact Registry Reader role is granted to
        members with at least the Reporter role. The Artifact Registry Writer role
        is granted to members with at least the Developer role.
      tags:
      - Project Google Cloud integration
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: string
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: enable_google_cloud_artifact_registry
        required: false
        description: If `true`, indicates that the Google Artifact Management integration
          should be enabled.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: google_cloud_artifact_registry_project_id
        required: false
        description: Project ID for the Google Cloud Artifact Registry.
        schema:
          type: string
          pattern: "^[a-z][a-z0-9\\-]{5,28}[a-z0-9]$"
          nullable: true
        in: query
      x-gitlab-lifecycle: experiment
  "/api/v4/projects/{id}/google_cloud/setup/runner_deployment_project.sh":
    get:
      operationId: getApiV4ProjectsIdGoogleCloudSetupRunnerDeploymentProjectSh
      summary: Retrieve configuration script for Google Cloud runner provisioning
      description: Retrieves the configuration script for Google Cloud runner provisioning.
        You must have the Maintainer or Owner role for the project. The script enables
        required services in the specified Google Cloud project, and creates a `GRITProvisioner`
        role and a `grit-provisioner` service account.
      tags:
      - Project Google Cloud integration
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: string
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: google_cloud_project_id
        required: true
        description: ID of the Google Cloud project.
        schema:
          type: string
          pattern: "^[a-z][a-z0-9\\-]{5,28}[a-z0-9]$"
          nullable: true
        in: query
      x-gitlab-lifecycle: experiment
  "/api/v4/projects/{id}/approvals":
    get:
      operationId: getApiV4ProjectsIdApprovals
      summary: Retrieve approval configuration for a project
      description: Retrieves the approval configuration for a project.
      tags:
      - Project approvals
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesApprovalSettings"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: premium
    post:
      operationId: postApiV4ProjectsIdApprovals
      summary: Create or update approval configuration for a project
      description: Creates or updates the approval configuration for a project. The
        currently authenticated user must be an eligible approver.
      tags:
      - Project approvals
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesApprovalSettings"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdApprovalsRequest"
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/managed_licenses":
    get:
      operationId: getApiV4ProjectsIdManagedLicenses
      summary: List all software license policies
      description: Lists all software license policies for a specified project.
      tags:
      - Licenses
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesManagedLicense"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdManagedLicenses
      summary: Create a software license policy
      description: Creates a software license policy for a specified project.
      tags:
      - Licenses
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesManagedLicense"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdManagedLicensesRequest"
  "/api/v4/projects/{id}/managed_licenses/{managed_license_id}":
    get:
      operationId: getApiV4ProjectsIdManagedLicensesManagedLicenseId
      summary: Retrieve a software license policy
      description: Retrieves a specified software license policy from a project.
      tags:
      - Licenses
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesManagedLicense"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: managed_license_id
        required: true
        description: ID of the managed license.
        schema:
          type: string
        in: path
    patch:
      operationId: patchApiV4ProjectsIdManagedLicensesManagedLicenseId
      summary: Update a software license policy
      description: Updates a specified software license policy for a project.
      tags:
      - Licenses
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesManagedLicense"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: managed_license_id
        required: true
        description: ID of the managed license.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4ProjectsIdManagedLicensesManagedLicenseIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdManagedLicensesManagedLicenseId
      summary: Delete a software license policy
      description: Deletes a specified software license policy from a project.
      tags:
      - Licenses
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: managed_license_id
        required: true
        description: ID of the managed license.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/manage/personal_access_tokens":
    get:
      operationId: getApiV4GroupsIdManagePersonalAccessTokens
      summary: List all personal access tokens for a group
      description: Lists all personal access tokens associated with enterprise users
        in a top-level group. For tokens created with granular scopes, the response
        also includes a `granular_scopes` attribute. The `last_used_ips` attribute
        was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/250307)
        in GitLab 19.4. The `granular_scopes` attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/634390)
        in GitLab 19.6. This feature was introduced in GitLab 17.8.
      tags:
      - Group credentials inventory
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesPersonalAccessToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: revoked
        required: false
        description: If `true`, only returns revoked tokens. If `false`, only returns
          tokens that are not revoked.
        schema:
          type: boolean
          nullable: true
        in: query
        example: false
      - name: state
        required: false
        description: Return tokens with the specified state. `all` returns tokens
          in any state.
        schema:
          type: string
          enum:
          - all
          - active
          - inactive
          nullable: true
        in: query
        example: active
      - name: created_before
        required: false
        description: Return tokens created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2022-01-01T00:00:00Z'
      - name: created_after
        required: false
        description: Return tokens created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-01-01T00:00:00Z'
      - name: last_used_before
        required: false
        description: Return tokens last used on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-01-01T00:00:00Z'
      - name: last_used_after
        required: false
        description: Return tokens last used on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2022-01-01T00:00:00Z'
      - name: expires_before
        required: false
        description: Return tokens that expire before the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
        example: '2022-01-01'
      - name: expires_after
        required: false
        description: Return tokens that expire on or after the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
        example: '2021-01-01'
      - name: search
        required: false
        description: Return tokens that include the specified value in their name.
        schema:
          type: string
          nullable: true
        in: query
        example: token
      - name: sort
        required: false
        description: Sort results by the specified field and direction. Possible values
          are `created_asc`, `created_desc`, `expires_asc`, `expires_desc`, `last_used_asc`,
          `last_used_desc`, `name_asc`, and `name_desc`.
        schema:
          type: string
          nullable: true
        in: query
        example: created_desc
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: ultimate
  "/api/v4/groups/{id}/manage/personal_access_tokens/{pat_id}":
    delete:
      operationId: deleteApiV4GroupsIdManagePersonalAccessTokensPatId
      summary: Revoke a personal access token for an enterprise user
      description: Revokes a specified personal access token for an enterprise user.
      tags:
      - Group credentials inventory
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: pat_id
        required: true
        description: ID of the personal access token.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/groups/{id}/manage/personal_access_tokens/{pat_id}/rotate":
    post:
      operationId: postApiV4GroupsIdManagePersonalAccessTokensPatIdRotate
      summary: Rotate a personal access token for an enterprise user
      description: Rotates a specified personal access token for an enterprise user
        associated with the top-level group. This revokes the previous token and creates
        a token that expires after one week. Rotating a token with granular scopes
        returns those scopes in a `granular_scopes` attribute on the new token. The
        `last_used_ips` attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/250307)
        in GitLab 19.4. The `granular_scopes` attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/632314)
        in GitLab 19.5.
      tags:
      - Group credentials inventory
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPersonalAccessTokenWithToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: pat_id
        required: true
        description: ID of the personal access token.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdManagePersonalAccessTokensPatIdRotateRequest"
      x-gitlab-tier: ultimate
  "/api/v4/groups/{id}/manage/resource_access_tokens":
    get:
      operationId: getApiV4GroupsIdManageResourceAccessTokens
      summary: List all group and project access tokens for a group
      description: Lists all group and project access tokens associated with a top-level-group.
        This feature was introduced in GitLab 17.10.
      tags:
      - Group credentials inventory
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesResourceAccessToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: revoked
        required: false
        description: If `true`, only returns revoked tokens. If `false`, only returns
          tokens that are not revoked.
        schema:
          type: boolean
          nullable: true
        in: query
        example: false
      - name: state
        required: false
        description: Return tokens with the specified state. `all` returns tokens
          in any state.
        schema:
          type: string
          enum:
          - all
          - active
          - inactive
          nullable: true
        in: query
        example: active
      - name: created_before
        required: false
        description: Return tokens created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2022-01-01T00:00:00Z'
      - name: created_after
        required: false
        description: Return tokens created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-01-01T00:00:00Z'
      - name: last_used_before
        required: false
        description: Return tokens last used on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-01-01T00:00:00Z'
      - name: last_used_after
        required: false
        description: Return tokens last used on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2022-01-01T00:00:00Z'
      - name: expires_before
        required: false
        description: Return tokens that expire before the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
        example: '2022-01-01'
      - name: expires_after
        required: false
        description: Return tokens that expire on or after the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
        example: '2021-01-01'
      - name: search
        required: false
        description: Return tokens that include the specified value in their name.
        schema:
          type: string
          nullable: true
        in: query
        example: token
      - name: sort
        required: false
        description: Sort results by the specified field and direction. Possible values
          are `created_asc`, `created_desc`, `expires_asc`, `expires_desc`, `last_used_asc`,
          `last_used_desc`, `name_asc`, and `name_desc`.
        schema:
          type: string
          nullable: true
        in: query
        example: created_desc
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: ultimate
  "/api/v4/groups/{id}/manage/resource_access_tokens/{prat_id}":
    delete:
      operationId: deleteApiV4GroupsIdManageResourceAccessTokensPratId
      summary: Revoke a group or project access token for a group
      description: Revokes a specified group or project access token associated with
        a top-level group.
      tags:
      - Group credentials inventory
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: prat_id
        required: true
        description: ID of the resource access token.
        schema:
          type: integer
        in: path
      - name: expires_at
        required: false
        description: Date when the access token expires. If omitted, the new token
          expires one week after rotation when [token expiry is enforced](https://docs.gitlab.com/user/profile/personal_access_tokens/#access-token-expiration),
          and does not expire otherwise. When expiry is enforced, the date must be
          no more than one year after rotation.
        schema:
          type: string
          format: date
          nullable: true
        in: query
        example: '2021-01-31'
      x-gitlab-tier: ultimate
  "/api/v4/groups/{id}/manage/resource_access_tokens/{prat_id}/rotate":
    post:
      operationId: postApiV4GroupsIdManageResourceAccessTokensPratIdRotate
      summary: Rotate a group or project access token for a group
      description: Rotates a specified group or project access token associated with
        a top-level group. This revokes the previous token and creates a new token.
      tags:
      - Group credentials inventory
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: prat_id
        required: true
        description: ID of the resource access token.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdManageResourceAccessTokensPratIdRotateRequest"
      x-gitlab-tier: ultimate
  "/api/v4/groups/{id}/manage/ssh_keys":
    get:
      operationId: getApiV4GroupsIdManageSshKeys
      summary: List all SSH keys for a group
      description: Lists all SSH public keys associated with enterprise users in a
        top-level-group. This feature was introduced in GitLab 17.9.
      tags:
      - Group credentials inventory
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesSshKeyWithUserId"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: created_before
        required: false
        description: Return SSH keys created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2022-01-01T00:00:00Z'
      - name: created_after
        required: false
        description: Return SSH keys created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-01-01T00:00:00Z'
      - name: expires_before
        required: false
        description: Return SSH keys that expire on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2022-01-01T00:00:00Z'
      - name: expires_after
        required: false
        description: Return SSH keys that expire on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-01-01T00:00:00Z'
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: ultimate
  "/api/v4/groups/{id}/manage/ssh_keys/{key_id}":
    delete:
      operationId: deleteApiV4GroupsIdManageSshKeysKeyId
      summary: Delete an SSH key for an enterprise user
      description: Deletes a specified SSH public key for an enterprise user associated
        with the top-level group.
      tags:
      - Group credentials inventory
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: key_id
        required: true
        description: ID of the SSH key.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/blocks":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidBlocks
      summary: List all dependencies for a merge request
      description: List all merge request dependencies for a specified merge request.
        Dependencies must be resolved before the merge request can merge. If the user
        does not have access to a blocking merge request, the `blocking_merge_request`
        attribute is not returned.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMergeRequestDependency"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidBlocks
      summary: Create a merge request dependency
      description: Creates a merge request dependency between two merge requests.
        The merge request is blocked until the dependency merges.
      tags:
      - Merge requests
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request to be blocked.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMergeRequestsMergeRequestIidBlocksRequest"
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/blocks/{block_id}":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidBlocksBlockId
      summary: Retrieve a merge request dependency
      description: Retrieves a specified merge request dependency.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      - name: block_id
        required: true
        description: ID of the merge request block.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdMergeRequestsMergeRequestIidBlocksBlockId
      summary: Remove a merge request dependency
      description: Removes a merge request dependency.
      tags:
      - Merge requests
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      - name: block_id
        required: true
        description: ID of the merge request block.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/blockees":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidBlockees
      summary: Retrieve blocked merge requests
      description: Retrieves merge requests blocked by a specified merge request.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMergeRequestDependency"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/merge_request_approval_setting":
    get:
      operationId: getApiV4ProjectsIdMergeRequestApprovalSetting
      summary: Retrieve MR approval settings for a project
      description: Retrieves the merge request approval settings for a specified project.
      tags:
      - Merge request approvals
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequestApprovalSetting"
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: premium
    put:
      operationId: putApiV4ProjectsIdMergeRequestApprovalSetting
      summary: Update MR approval settings for a project
      description: Updates the merge request approval settings for a specified project.
      tags:
      - Merge request approvals
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequestApprovalSetting"
        '400':
          description: Validation error
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdMergeRequestApprovalSettingRequest"
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/merge_request_approval_setting":
    get:
      operationId: getApiV4GroupsIdMergeRequestApprovalSetting
      summary: Retrieve MR approval settings for a group
      description: Retrieves the merge request approval settings for a specified group.
      tags:
      - Merge request approvals
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequestApprovalSetting"
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      x-gitlab-tier: premium
    put:
      operationId: putApiV4GroupsIdMergeRequestApprovalSetting
      summary: Update MR approval settings for a group
      description: Updates the merge request approval settings for a specified group.
      tags:
      - Merge request approvals
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequestApprovalSetting"
        '400':
          description: Validation error
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdMergeRequestApprovalSettingRequest"
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/hooks":
    get:
      operationId: getApiV4GroupsIdHooks
      summary: List all group hooks
      description: Lists all group hooks.
      tags:
      - Hooks
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesGroupHook"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
    post:
      operationId: postApiV4GroupsIdHooks
      summary: Create a group hook
      description: Creates a hook for a specified group. This endpoint has a rate
        limit of 10 requests per minute for each authenticated user for a given group.
        On GitLab Self-Managed and GitLab Dedicated, an administrator can change this
        limit in the application settings. Setting `duo_flow_callback_enabled` to
        `false` is always accepted.
      tags:
      - Hooks
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupHook"
        '400':
          description: Validation error
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdHooksRequest"
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/hooks/{hook_id}":
    get:
      operationId: getApiV4GroupsIdHooksHookId
      summary: Retrieve a group hook
      description: Retrieves a specified group hook.
      tags:
      - Hooks
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupHook"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: hook_id
        required: true
        description: ID of the group webhook.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
    put:
      operationId: putApiV4GroupsIdHooksHookId
      summary: Update a group hook
      description: Updates a hook for a specified group. Setting `duo_flow_callback_enabled`
        to `false` is always accepted.
      tags:
      - Hooks
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupHook"
        '400':
          description: Validation error
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: hook_id
        required: true
        description: ID of the group webhook.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdHooksHookIdRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4GroupsIdHooksHookId
      summary: Delete a group hook
      description: Deletes a hook from a group. This is an idempotent method and can
        be called multiple times. Either the hook is available or not.
      tags:
      - Hooks
      responses:
        '204':
          description: No Content
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: hook_id
        required: true
        description: ID of the group webhook.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/hooks/{hook_id}/events":
    get:
      operationId: getApiV4GroupsIdHooksHookIdEvents
      summary: List all events
      description: Lists all events from the past seven days for a specified webhook.
        This feature was introduced in GitLab 17.3.
      tags:
      - Hooks
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesWebHookLog"
        '400':
          description: Bad request
        '404':
          description: Not found
        '403':
          description: Forbidden
      parameters:
      - name: status
        required: false
        description: 'Response status code of the events, for example `200` or `500`.
          You can search by status category: `successful` (200-299), `client_failure`
          (400-499), and `server_failure` (500-599).'
        schema:
          type: array
          items:
            type: string
            enum:
            - '100'
            - '101'
            - '102'
            - '103'
            - '200'
            - '201'
            - '202'
            - '203'
            - '204'
            - '205'
            - '206'
            - '207'
            - '208'
            - '226'
            - '300'
            - '301'
            - '302'
            - '303'
            - '304'
            - '305'
            - '306'
            - '307'
            - '308'
            - '400'
            - '401'
            - '402'
            - '403'
            - '404'
            - '405'
            - '406'
            - '407'
            - '408'
            - '409'
            - '410'
            - '411'
            - '412'
            - '413'
            - '414'
            - '415'
            - '416'
            - '417'
            - '421'
            - '422'
            - '423'
            - '424'
            - '425'
            - '426'
            - '428'
            - '429'
            - '431'
            - '451'
            - '500'
            - '501'
            - '502'
            - '503'
            - '504'
            - '505'
            - '506'
            - '507'
            - '508'
            - '509'
            - '510'
            - '511'
            - successful
            - client_failure
            - server_failure
          nullable: true
        in: query
        style: form
        explode: false
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          minimum: 1
          maximum: 20
          nullable: true
          default: 20
        in: query
        example: 20
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: hook_id
        required: true
        description: ID of the group webhook.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/hooks/{hook_id}/url_variables/{key}":
    put:
      operationId: putApiV4GroupsIdHooksHookIdUrlVariablesKey
      summary: Update a URL variable
      description: Updates a URL variable for a specified webhook. Setting the value
        does not replace a literal value in the existing webhook URL with the placeholder.
        To use the variable, also update the webhook URL to include the `{key}` placeholder.
      tags:
      - Hooks
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: hook_id
        required: true
        description: ID of the hook.
        schema:
          type: integer
        in: path
      - name: key
        required: true
        description: Key of the URL variable.
        schema:
          type: string
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdHooksHookIdUrlVariablesKeyRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4GroupsIdHooksHookIdUrlVariablesKey
      summary: Delete a URL variable
      description: Deletes a URL variable from a specified webhook.
      tags:
      - Hooks
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: hook_id
        required: true
        description: ID of the hook.
        schema:
          type: integer
        in: path
      - name: key
        required: true
        description: Key of the URL variable.
        schema:
          type: string
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/hooks/{hook_id}/custom_headers/{key}":
    put:
      operationId: putApiV4GroupsIdHooksHookIdCustomHeadersKey
      summary: Update a custom header
      description: Updates a custom header for a specified webhook. This feature was
        introduced in GitLab 17.1.
      tags:
      - Hooks
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: hook_id
        required: true
        description: ID of the hook.
        schema:
          type: integer
        in: path
      - name: key
        required: true
        description: Name of the custom header.
        schema:
          type: string
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdHooksHookIdCustomHeadersKeyRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4GroupsIdHooksHookIdCustomHeadersKey
      summary: Delete a custom header
      description: Deletes a custom header from a specified webhook. This feature
        was introduced in GitLab 17.1.
      tags:
      - Hooks
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: hook_id
        required: true
        description: ID of the hook.
        schema:
          type: integer
        in: path
      - name: key
        required: true
        description: Name of the custom header.
        schema:
          type: string
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/hooks/{hook_id}/test/{trigger}":
    post:
      operationId: postApiV4GroupsIdHooksHookIdTestTrigger
      summary: Trigger a test webhook
      description: Triggers a test webhook. This endpoint has a rate limit of five
        requests per minute for each authenticated user for a given project or group.
        On GitLab Self-Managed and GitLab Dedicated, an administrator can change this
        limit in the application settings. This feature was introduced in GitLab 16.11
        for project hooks and GitLab 17.1 for group hooks.
      tags:
      - Hooks
      responses:
        '201':
          description: Created
        '400':
          description: Bad request
        '403':
          description: Forbidden
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '429':
          description: Too many requests
      parameters:
      - name: hook_id
        required: true
        description: ID of the hook.
        schema:
          type: integer
        in: path
      - name: trigger
        required: true
        description: Type of webhook event to test.
        schema:
          type: string
          enum:
          - confidential_issues_events
          - confidential_note_events
          - deployment_events
          - emoji_events
          - feature_flag_events
          - issues_events
          - job_events
          - merge_requests_events
          - milestone_events
          - note_events
          - pipeline_events
          - push_events
          - releases_events
          - resource_access_token_events
          - resource_deploy_token_events
          - tag_push_events
          - wiki_page_events
          - vulnerability_events
          minLength: 1
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/hooks/{hook_id}/events/{hook_log_id}/resend":
    post:
      operationId: postApiV4GroupsIdHooksHookIdEventsHookLogIdResend
      summary: Resend a webhook event
      description: Resends a webhook event. This endpoint has a rate limit of five
        requests per minute for each authenticated user for a given project or group.
        All webhooks in the same project or group share the limit. On GitLab Self-Managed
        and GitLab Dedicated, an administrator can change this limit in the application
        settings. This feature was introduced in GitLab 17.4.
      tags:
      - Hooks
      responses:
        '201':
          description: Created
        '422':
          description: Unprocessable entity
        '404':
          description: Not found
        '429':
          description: Too many requests
        '400':
          description: Bad Request
      parameters:
      - name: hook_id
        required: true
        description: ID of the hook.
        schema:
          type: integer
        in: path
      - name: hook_log_id
        required: true
        description: ID of the hook log entry.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/saml/identities":
    get:
      operationId: getApiV4GroupsIdSamlIdentities
      summary: Retrieve SAML identities for a group
      description: Retrieves SAML identities for a group.
      tags:
      - Provider identities
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesIdentityDetail"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/saml/{uid}":
    get:
      operationId: getApiV4GroupsIdSamlUid
      summary: Retrieve a SAML identity
      description: Retrieves a specified SAML identity.
      tags:
      - Provider identities
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIdentityDetail"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: uid
        required: true
        description: External UID of the user.
        schema:
          type: string
        in: path
      x-gitlab-tier: premium
    patch:
      operationId: patchApiV4GroupsIdSamlUid
      summary: Update `extern_uid` field for a SAML identity
      description: Updates the `extern_uid` field for a specified SAML identity.
      tags:
      - Provider identities
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIdentityDetail"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: uid
        required: true
        description: External UID of the user.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4GroupsIdSamlUidRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4GroupsIdSamlUid
      summary: Delete a SAML identity
      description: Deletes a specified SAML identity.
      tags:
      - Provider identities
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIdentityDetail"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: uid
        required: true
        description: External UID of the user.
        schema:
          type: string
        in: path
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/scim/identities":
    get:
      operationId: getApiV4GroupsIdScimIdentities
      summary: Retrieve SCIM identities for a group
      description: Retrieves SCIM identities for a group.
      tags:
      - Provider identities
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesIdentityDetail"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/scim/{uid}":
    get:
      operationId: getApiV4GroupsIdScimUid
      summary: Retrieve a SCIM identity
      description: Retrieves a specified SCIM identity.
      tags:
      - Provider identities
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIdentityDetail"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: uid
        required: true
        description: External UID of the user.
        schema:
          type: string
        in: path
      x-gitlab-tier: premium
    patch:
      operationId: patchApiV4GroupsIdScimUid
      summary: Update `extern_uid` field for a SCIM identity
      description: Updates the `extern_uid` field for a specified SCIM identity.
      tags:
      - Provider identities
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIdentityDetail"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: uid
        required: true
        description: External UID of the user.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4GroupsIdScimUidRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4GroupsIdScimUid
      summary: Delete a SCIM identity
      description: Deletes a specified SCIM identity.
      tags:
      - Provider identities
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIdentityDetail"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: uid
        required: true
        description: External UID of the user.
        schema:
          type: string
        in: path
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/member_roles":
    get:
      operationId: getApiV4GroupsIdMemberRoles
      summary: List all group member roles
      description: Lists all member roles in a specified group.
      tags:
      - Member roles
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMemberRole"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: ultimate
    post:
      operationId: postApiV4GroupsIdMemberRoles
      summary: Add a member role to a group
      description: Adds a member role to a group. You can only add member roles at
        the root level of the group.
      tags:
      - Member roles
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMemberRole"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdMemberRolesRequest"
      x-gitlab-tier: ultimate
  "/api/v4/groups/{id}/member_roles/{member_role_id}":
    delete:
      operationId: deleteApiV4GroupsIdMemberRolesMemberRoleId
      summary: Remove member role of a group
      description: Removes a specified member role from a group.
      tags:
      - Member roles
      responses:
        '204':
          description: 204 No Content
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: 404 Member Role Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: member_role_id
        required: true
        description: ID of the member role.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/member_roles":
    get:
      operationId: getApiV4MemberRoles
      summary: List all instance member roles
      description: Lists all member roles for this GitLab instance.
      tags:
      - Member roles
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMemberRole"
        '401':
          description: Unauthorized
      x-gitlab-tier: ultimate
    post:
      operationId: postApiV4MemberRoles
      summary: Create an instance member role
      description: Creates an instance member role.
      tags:
      - Member roles
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMemberRole"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4MemberRolesRequest"
      x-gitlab-tier: ultimate
  "/api/v4/member_roles/{member_role_id}":
    delete:
      operationId: deleteApiV4MemberRolesMemberRoleId
      summary: Delete an instance member role
      description: Deletes an instance member role.
      tags:
      - Member roles
      responses:
        '204':
          description: 204 No Content
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: 404 Member Role Not Found
      parameters:
      - name: member_role_id
        required: true
        description: ID of the member role.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/projects/{id}/merge_trains":
    get:
      operationId: getApiV4ProjectsIdMergeTrains
      summary: List all merge trains for a project
      description: Lists all merge trains for a specified project.
      tags:
      - Merge trains
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMergeTrainsCar"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 11
      - name: scope
        required: false
        description: Filter merge trains by scope. `active` returns merge trains to
          be merged. `complete` returns merge trains that have been merged.
        schema:
          type: string
          enum:
          - active
          - complete
          nullable: true
        in: query
        example: active
      - name: sort
        required: false
        description: Sort results in ascending or descending order by `id`. A lower
          `id` value means the merge request was added to the train earlier.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/merge_trains/{target_branch}":
    get:
      operationId: getApiV4ProjectsIdMergeTrainsTargetBranch
      summary: List all merge requests in a merge train
      description: Lists all merge requests in a merge train for a target branch.
      tags:
      - Merge trains
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMergeTrainsCar"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 11
      - name: target_branch
        required: true
        description: Target branch of the merge train.
        schema:
          type: string
        in: path
        example: main
      - name: scope
        required: false
        description: Filter merge trains by scope. `active` returns merge trains to
          be merged. `complete` returns merge trains that have been merged.
        schema:
          type: string
          enum:
          - active
          - complete
          nullable: true
        in: query
        example: active
      - name: sort
        required: false
        description: Sort results in ascending or descending order by `id`. A lower
          `id` value means the merge request was added to the train earlier.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/merge_trains/merge_requests/{merge_request_iid}":
    get:
      operationId: getApiV4ProjectsIdMergeTrainsMergeRequestsMergeRequestIid
      summary: Retrieve merge train status
      description: Retrieves the merge train status of a specified merge request.
      tags:
      - Merge trains
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeTrainsCar"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 11
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
    post:
      operationId: postApiV4ProjectsIdMergeTrainsMergeRequestsMergeRequestIid
      summary: Add a merge request to a merge train
      description: Adds a specified merge request to a merge train.
      tags:
      - Merge trains
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMergeTrainsCar"
        '202':
          description: Accepted
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMergeTrainsCar"
        '400':
          description: Failed to merge
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '409':
          description: Conflict
        '403':
          description: Forbidden
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 11
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMergeTrainsMergeRequestsMergeRequestIidRequest"
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/push_rule":
    get:
      operationId: getApiV4GroupsIdPushRule
      summary: Retrieve the push rules of a group
      description: Retrieves the push rules of a specified group. When disabled, the
        `commit_committer_check`, `reject_unsigned_commits`, and `reject_non_dco_commits`
        attributes can return `null` instead of `false`.
      tags:
      - Push rules
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupPushRule"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      x-gitlab-tier: premium
    post:
      operationId: postApiV4GroupsIdPushRule
      summary: Add push rules to a group
      description: Adds push rules to a specified group. Use only if you have not
        defined any push rules so far.
      tags:
      - Push rules
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupPushRule"
        '400':
          description: Validation error
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdPushRuleRequest"
      x-gitlab-tier: premium
    put:
      operationId: putApiV4GroupsIdPushRule
      summary: Update push rules of a group
      description: Updates the push rules for a specified group.
      tags:
      - Push rules
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupPushRule"
        '400':
          description: Validation error
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdPushRuleRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4GroupsIdPushRule
      summary: Delete the push rules of a group
      description: Deletes all the push rules of a specified group.
      tags:
      - Push rules
      responses:
        '204':
          description: No Content
        '400':
          description: Validation error
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/push_rule":
    get:
      operationId: getApiV4ProjectsIdPushRule
      summary: Retrieve the push rules of a project
      description: Retrieves the push rules of a specified project. If push rules
        were never configured for the project, returns `200 OK` with the literal string
        `"null"` (4 characters) as the response body, not a JSON `null` value. If
        `commit_committer_check`, `reject_unsigned_commits`, or `reject_non_dco_commits`
        are disabled, they return `null` instead of `false`.
      tags:
      - Push rules
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectPushRule"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: premium
    post:
      operationId: postApiV4ProjectsIdPushRule
      summary: Add push rules to a project
      description: Adds push rules to a specified project.
      tags:
      - Push rules
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectPushRule"
        '400':
          description: Validation error
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdPushRuleRequest"
      x-gitlab-tier: premium
    put:
      operationId: putApiV4ProjectsIdPushRule
      summary: Update push rules of a project
      description: Updates the push rules for a specified project.
      tags:
      - Push rules
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectPushRule"
        '400':
          description: Validation error
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPushRuleRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4ProjectsIdPushRule
      summary: Delete the push rules of a project
      description: Deletes all the push rules of a specified project.
      tags:
      - Push rules
      responses:
        '204':
          description: No Content
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/mirror/pull":
    post:
      operationId: postApiV4ProjectsIdMirrorPull
      summary: Start the pull mirroring process for a project
      description: Starts the pull mirroring process for a specified project.
      tags:
      - Project mirrors
      responses:
        '200':
          description: OK
        '400':
          description: The project is not mirrored
        '403':
          description: Mirroring for the project is on pause
        '422':
          description: The pull request event is not processable
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMirrorPullRequest"
      x-gitlab-tier: premium
    put:
      operationId: putApiV4ProjectsIdMirrorPull
      summary: Update project pull mirroring settings
      description: Updates pull mirroring settings for a specified project. This feature
        was introduced in GitLab 17.5.
      tags:
      - Project mirrors
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPullMirror"
        '400':
          description: 'Url is blocked: Only allowed schemes are http, https, ssh,
            git'
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdMirrorPullRequest"
      x-gitlab-tier: premium
      x-gitlab-lifecycle: experiment
    get:
      operationId: getApiV4ProjectsIdMirrorPull
      summary: Retrieve project pull mirror details
      description: Retrieves pull mirror details for a specified project.
      tags:
      - Project mirrors
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPullMirror"
        '400':
          description: The project is not mirrored
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/license":
    get:
      operationId: getApiV4License
      summary: Retrieve license information
      description: Retrieves information about the current license.
      tags:
      - Licenses
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGitlabLicenseWithActiveUsers"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
    post:
      operationId: postApiV4License
      summary: Create a license
      description: Creates a license.
      tags:
      - Licenses
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGitlabLicenseWithActiveUsers"
        '400':
          description: Bad request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4LicenseRequest"
  "/api/v4/license/usage_export":
    get:
      operationId: getApiV4LicenseUsageExport
      summary: Download license usage data
      description: Downloads usage data for the currently active license.
      tags:
      - Licenses
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
  "/api/v4/license/{id}":
    get:
      operationId: getApiV4LicenseId
      summary: Retrieve a license
      description: Retrieves information about a specified license.
      tags:
      - Licenses
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGitlabLicenseWithActiveUsers"
        '404':
          description: Not Found
        '403':
          description: Forbidden
        '401':
          description: Unauthorized
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the GitLab license.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4LicenseId
      summary: Delete a license
      description: Deletes a specified license.
      tags:
      - Licenses
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the GitLab license.
        schema:
          type: integer
        in: path
  "/api/v4/license/{id}/refresh_billable_users":
    put:
      operationId: putApiV4LicenseIdRefreshBillableUsers
      summary: Trigger recalculation of billable users
      description: Triggers recalculation of billable users for a specified license.
      tags:
      - Licenses
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBasicSuccess"
        '404':
          description: Not found
        '403':
          description: Forbidden
        '401':
          description: Unauthorized
        '429':
          description: Too many requests
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the GitLab license.
        schema:
          type: integer
        in: path
  "/api/v4/licenses":
    get:
      operationId: getApiV4Licenses
      summary: List all licenses
      description: Lists all information about all licenses.
      tags:
      - Licenses
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesGitlabLicense"
        '403':
          description: Forbidden
  "/api/v4/groups/{id}/ldap_group_links":
    get:
      operationId: getApiV4GroupsIdLdapGroupLinks
      summary: List all LDAP group links
      description: Lists all LDAP group links.
      tags:
      - LDAP
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesLdapGroupLink"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: premium
    post:
      operationId: postApiV4GroupsIdLdapGroupLinks
      summary: Add an LDAP group link with CN or filter
      description: Adds an LDAP group link using a CN or filter.
      tags:
      - LDAP
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesLdapGroupLink"
        '400':
          description: Validation error
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdLdapGroupLinksRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4GroupsIdLdapGroupLinks
      summary: Delete an LDAP group link with CN or filter
      description: Deletes an LDAP group link using a CN or filter.
      tags:
      - LDAP
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: cn
        required: false
        description: CN of an LDAP group. Exactly one of `cn`, `filter` must be provided.
        schema:
          type: string
          nullable: true
        in: query
      - name: filter
        required: false
        description: LDAP filter for the group. Exactly one of `cn`, `filter` must
          be provided.
        schema:
          type: string
          nullable: true
        in: query
      - name: provider
        required: true
        description: Name of the provider for the LDAP group link.
        schema:
          type: string
          nullable: true
        in: query
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/ldap_group_links/{cn}":
    delete:
      operationId: deleteApiV4GroupsIdLdapGroupLinksCn
      summary: Delete LDAP group link
      description: Deletes an LDAP group link. Deprecated. Scheduled for removal in
        a future release. Use `DELETE /groups/:id/ldap_group_links` instead.
      tags:
      - LDAP
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: cn
        required: true
        description: CN of an LDAP group.
        schema:
          type: string
        in: path
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/ldap_group_links/{provider}/{cn}":
    delete:
      operationId: deleteApiV4GroupsIdLdapGroupLinksProviderCn
      summary: Delete LDAP group link
      description: Deletes an LDAP group link for a specific LDAP provider. Deprecated.
        Scheduled for removal in a future release. Use `DELETE /groups/:id/ldap_group_links`
        instead.
      tags:
      - LDAP
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: cn
        required: true
        description: CN of an LDAP group.
        schema:
          type: string
        in: path
      - name: provider
        required: true
        description: Name of the provider for the LDAP group link.
        schema:
          type: string
        in: path
      x-gitlab-tier: premium
  "/api/v4/ldap/groups":
    get:
      operationId: getApiV4LdapGroups
      summary: List all LDAP groups
      description: Lists all LDAP groups on the GitLab instance. Limited to 20 results.
      tags:
      - LDAP
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesLdapGroup"
        '400':
          description: Bad Request
      parameters:
      - name: search
        required: false
        description: Search for a specific LDAP group.
        schema:
          type: string
          nullable: true
          default: ''
        in: query
  "/api/v4/ldap/{provider}/groups":
    get:
      operationId: getApiV4LdapProviderGroups
      summary: List all LDAP groups by provider
      description: Lists all LDAP groups for the specified provider. Limited to 20
        results.
      tags:
      - LDAP
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesLdapGroup"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: provider
        required: true
        description: Name of the LDAP provider.
        schema:
          type: string
        in: path
      - name: search
        required: false
        description: Search for a specific LDAP group.
        schema:
          type: string
          nullable: true
          default: ''
        in: query
  "/api/v4/geo_sites":
    post:
      operationId: postApiV4GeoSites
      summary: Create a Geo site
      description: Creates a Geo site.
      tags:
      - Geo
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGeoSite"
        '400':
          description: Validation error
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GeoSitesRequest"
      x-gitlab-tier: premium
    get:
      operationId: getApiV4GeoSites
      summary: List all Geo sites
      description: Lists all Geo sites for the instance.
      tags:
      - Geo
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesGeoSite"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
  "/api/v4/geo_sites/status":
    get:
      operationId: getApiV4GeoSitesStatus
      summary: List all Geo site statuses
      description: Lists all Geo site statuses. When the legacy `geo_upload_replication`
        and `geo_upload_force_primary_checksumming` feature flags are disabled, the
        `uploads_*` fields are the sum of the values for each upload type.
      tags:
      - Geo
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesGeoSiteStatus"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
  "/api/v4/geo_sites/{id}":
    get:
      operationId: getApiV4GeoSitesId
      summary: Retrieve a Geo site
      description: Retrieves a specified Geo site.
      tags:
      - Geo
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGeoSite"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 GeoSite Not Found
      parameters:
      - name: id
        required: true
        description: The ID of the site
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
    put:
      operationId: putApiV4GeoSitesId
      summary: Update a Geo site
      description: Updates a specified Geo site.
      tags:
      - Geo
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGeoSite"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 GeoSite Not Found
      parameters:
      - name: id
        required: true
        description: The ID of the site
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GeoSitesIdRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4GeoSitesId
      summary: Delete a Geo site
      description: Deletes a specified Geo site.
      tags:
      - Geo
      responses:
        '204':
          description: 204 No Content
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 GeoSite Not Found
      parameters:
      - name: id
        required: true
        description: The ID of the site
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/geo_sites/{id}/status":
    get:
      operationId: getApiV4GeoSitesIdStatus
      summary: Retrieve a Geo site status
      description: Retrieves the status for a specified Geo site. When the legacy
        `geo_upload_replication` and `geo_upload_force_primary_checksumming` feature
        flags are disabled, the `uploads_*` fields are the sum of the values for each
        upload type. The `health_status` field is either `Healthy` or `Unhealthy`.
        The `health` field can be empty, `Healthy`, or contain the actual error message.
      tags:
      - Geo
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGeoSiteStatus"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 GeoSite Not Found
      parameters:
      - name: id
        required: true
        description: The ID of the site
        schema:
          type: integer
        in: path
      - name: refresh
        required: false
        description: If `true`, fetches the latest status from the Geo site directly,
          ignoring the cache.
        schema:
          type: boolean
          nullable: true
        in: query
      x-gitlab-tier: premium
  "/api/v4/geo_sites/{id}/repair":
    post:
      operationId: postApiV4GeoSitesIdRepair
      summary: Repair a Geo site
      description: Repairs the OAuth authentication of a Geo site if there is an OAuth
        synchronization problem between the primary or secondary Geo sites. In that
        case, the message `There are no OAuth application defined for this Geo node.`
        might be displayed.
      tags:
      - Geo
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGeoSiteStatus"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 GeoSite Not Found
      parameters:
      - name: id
        required: true
        description: The ID of the site
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/geo_nodes":
    post:
      operationId: postApiV4GeoNodes
      summary: Create a Geo node
      description: Creates a Geo node.
      tags:
      - Geo
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGeoNode"
        '400':
          description: Validation error
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GeoNodesRequest"
      x-gitlab-tier: premium
    get:
      operationId: getApiV4GeoNodes
      summary: List all Geo nodes
      description: Lists all Geo nodes for the instance.
      tags:
      - Geo
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesGeoNode"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
  "/api/v4/geo_nodes/status":
    get:
      operationId: getApiV4GeoNodesStatus
      summary: List all Geo node statuses
      description: Lists all Geo node statuses.
      tags:
      - Geo
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesGeoNodeStatus"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
  "/api/v4/geo_nodes/{id}":
    get:
      operationId: getApiV4GeoNodesId
      summary: Retrieve a single Geo node
      description: Retrieves a single Geo Node.
      tags:
      - Geo
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGeoNode"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 GeoNode Not Found
      parameters:
      - name: id
        required: true
        description: The ID of the node
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
    put:
      operationId: putApiV4GeoNodesId
      summary: Update a Geo node
      description: Updates a specified Geo node.
      tags:
      - Geo
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGeoNode"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 GeoNode Not Found
      parameters:
      - name: id
        required: true
        description: The ID of the node
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GeoNodesIdRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4GeoNodesId
      summary: Delete a Geo node
      description: Deletes a specified Geo node.
      tags:
      - Geo
      responses:
        '204':
          description: 204 No Content
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 GeoNode Not Found
      parameters:
      - name: id
        required: true
        description: The ID of the node
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/geo_nodes/{id}/status":
    get:
      operationId: getApiV4GeoNodesIdStatus
      summary: Retrieve metrics for a Geo node
      description: Retrieves metrics for a specified Geo node.
      tags:
      - Geo
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGeoNodeStatus"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 GeoNode Not Found
      parameters:
      - name: id
        required: true
        description: The ID of the node
        schema:
          type: integer
        in: path
      - name: refresh
        required: false
        description: If `true`, fetches the latest status from the Geo node directly,
          ignoring the cache.
        schema:
          type: boolean
          nullable: true
        in: query
      x-gitlab-tier: premium
  "/api/v4/geo_nodes/{id}/repair":
    post:
      operationId: postApiV4GeoNodesIdRepair
      summary: Repair authentication of the Geo node
      description: Repairs the OAuth authentication of a primary Geo node.
      tags:
      - Geo
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGeoNodeStatus"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 GeoNode Not Found
      parameters:
      - name: id
        required: true
        description: The ID of the node
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/experiments":
    get:
      operationId: getApiV4Experiments
      summary: List all experiments
      description: 'Lists all experiments on the GitLab instance. Each experiment
        has an `enabled` status that indicates whether the experiment is enabled globally,
        or only in specific contexts. Each experiment also has a `context` array with
        the context keys the experiment declares: `user`, `namespace`, `project`,
        or `actor`. The array is empty for experiments that declare no context keys.
        Pass these keys when you force, read, or clear a variant assignment. For an
        `actor` key, pass the `context[user]` parameter, because the actor is resolved
        from the user.'
      tags:
      - Experiments
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesExperiment"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
  "/api/v4/experiments/{name}/cache":
    delete:
      operationId: deleteApiV4ExperimentsNameCache
      summary: Delete cached assignments for an experiment
      description: Removes all cached variant assignments for the experiment with
        the given cache key. Useful for cleaning up completed experiments whose code
        has been removed from the codebase. The `name` value is used directly as the
        cache key, so this endpoint clears any matching cache entry, even one that
        does not belong to a currently defined experiment.
      tags:
      - Experiments
      responses:
        '204':
          description: No Content
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: name
        required: true
        description: Cache key of the experiment to clear.
        schema:
          type: string
          minLength: 1
        in: path
  "/api/v4/experiments/{experiment_name}/assignments":
    get:
      operationId: getApiV4ExperimentsExperimentNameAssignments
      summary: Get current variant assignment for an experiment context
      description: Returns the currently cached variant assignment for the given experiment
        and context. Defaults to current user if no context is provided. If the experiment
        declares multiple context keys, pass every declared key. The fallback to the
        authenticated user applies only when you omit the `context` parameter, and
        only for the `user` and `actor` keys. The `namespace` and `project` keys must
        always be passed.
      tags:
      - Experiments
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesExperimentsAssignment"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: experiment_name
        required: true
        description: The experiment name
        schema:
          type: string
        in: path
      - name: context
        required: false
        description: Context parameters (user, namespace, project). Pass every key
          the experiment declares in `context_keys`. Experiments can declare multiple
          keys. An actor context is resolved from the user. The user defaults to the
          current user.
        schema:
          type: object
          nullable: true
        in: query
    post:
      operationId: postApiV4ExperimentsExperimentNameAssignments
      summary: Force a variant assignment for an experiment context
      description: Forces a specific variant assignment for the given experiment and
        context. The assignment is stored in Redis cache and will persist until overwritten.
        Defaults to current user if no context is provided.
      tags:
      - Experiments
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesExperimentsAssignment"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: experiment_name
        required: true
        description: The experiment name
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ExperimentsExperimentNameAssignmentsRequest"
    delete:
      operationId: deleteApiV4ExperimentsExperimentNameAssignments
      summary: Clear a variant assignment for an experiment context
      description: Removes the cached variant assignment for the given experiment
        and context, returning the actor to normal rollout assignment. Defaults to
        current user if no context is provided.
      tags:
      - Experiments
      responses:
        '204':
          description: No Content
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: experiment_name
        required: true
        description: The experiment name
        schema:
          type: string
        in: path
      - name: context
        required: false
        description: Context parameters (user, namespace, project). An actor context
          is resolved from the user. Defaults to current user.
        schema:
          type: object
          nullable: true
        in: query
  "/api/v4/elasticsearch_indexed_namespaces/rollout":
    put:
      operationId: putApiV4ElasticsearchIndexedNamespacesRollout
      summary: Rollout namespaces to be indexed up to n%
      description: |
        This feature was introduced in GitLab 12.7.

        **DEPRECATED**: This endpoint is deprecated and for GitLab.com use only.

        This will only ever increase the number of indexed namespaces. Providing a value lower than the current rolled out percentage will have no effect.

        This percentage is never persisted but is used to calculate the number of new namespaces to rollout.

        If the same percentage is applied again at a later time, due to possible new namespaces being created during the period, some of them will also be indexed. Therefore you may expect that setting this to 10%, then waiting a month and setting to 10% again will trigger new namespaces to be added (i.e. 10% of the number of newly created namespaces in the last month within the given plan).
      tags:
      - Advanced search rollout
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ElasticsearchIndexedNamespacesRolloutRequest"
  "/api/v4/elasticsearch_indexed_namespaces/rollback":
    put:
      operationId: putApiV4ElasticsearchIndexedNamespacesRollback
      summary: Rollback namespaces to be indexed down to n%
      description: |
        This feature was introduced in GitLab 12.7.

        **DEPRECATED**: This endpoint is deprecated and for GitLab.com use only.

        This will only ever decrease the number of indexed namespaces. Providing a value higher than the current rolled out percentage will have no effect.

        This percentage is never persisted but is used to calculate the number of namespaces to rollback.
      tags:
      - Advanced search rollout
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ElasticsearchIndexedNamespacesRollbackRequest"
  "/api/v4/groups/{id}/related_epic_links":
    get:
      operationId: getApiV4GroupsIdRelatedEpicLinks
      summary: List all related epic links for a group
      description: Lists all related epic links for a specified group and its subgroups.
        The user needs to have access to both the `source_epic` and `target_epic`
        to view the related epic link.
      tags:
      - Epics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesRelatedEpic"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
        example: '1'
      - name: updated_before
        required: false
        description: Return related epic links updated on or before the specified
          time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2016-01-19T09:05:50.355Z'
      - name: updated_after
        required: false
        description: Return related epic links updated on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2016-01-19T09:05:50.355Z'
      - name: created_before
        required: false
        description: Return related epic links created on or before the specified
          time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2016-01-19T09:05:50.355Z'
      - name: created_after
        required: false
        description: Return related epic links created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2016-01-19T09:05:50.355Z'
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/epics/{epic_iid}/related_epics":
    get:
      operationId: getApiV4GroupsIdEpicsEpicIidRelatedEpics
      summary: List all linked epics for an epic
      description: Lists all linked epics for a specified epic.
      tags:
      - Epics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesRelatedEpic"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
        example: '1'
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          type: integer
        in: path
        example: 1
      x-gitlab-tier: premium
    post:
      operationId: postApiV4GroupsIdEpicsEpicIidRelatedEpics
      summary: Create a related epic link
      description: Creates a two-way relation between two epics. The user must have
        the Guest, Planner, Reporter, Developer, Maintainer, or Owner role for both
        groups.
      tags:
      - Epics
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesRelatedEpicLink"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '409':
          description: Conflict
        '422':
          description: Unprocessable entity
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
        example: '1'
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdEpicsEpicIidRelatedEpicsRequest"
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/epics/{epic_iid}/related_epics/{related_epic_link_id}":
    delete:
      operationId: deleteApiV4GroupsIdEpicsEpicIidRelatedEpicsRelatedEpicLinkId
      summary: Delete a related epic link
      description: Deletes a two-way relation between two specified epics. The user
        must have the Guest, Planner, Reporter, Developer, Maintainer, or Owner role
        for both groups.
      tags:
      - Epics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesRelatedEpicLink"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
        example: '1'
      - name: related_epic_link_id
        required: true
        description: ID of the related epic link.
        schema:
          type: integer
        in: path
        example: 1
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          type: integer
        in: path
        example: 1
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/dependency_proxy/packages/npm/{package_name}/-/{file_name}":
    get:
      operationId: getApiV4ProjectsIdDependencyProxyPackagesNpmPackageNameDashFileName
      summary: Proxy the download of a NPM package tarball
      description: This feature was introduced in 16.11
      tags:
      - Dependency proxy
      responses:
        '200':
          description: OK
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Package name
        schema:
          type: string
          pattern: "^(?:@((?:(?:[a-zA-Z0-9_.][a-zA-Z0-9_\\-.]{0,254}[a-zA-Z0-9_\\-]|[a-zA-Z0-9_])(?:(?<!\\.git|\\.atom))))\\/)?[\\-+._a-zA-Z0-9]+$"
        in: path
      - name: file_name
        required: true
        description: Package file name
        schema:
          type: string
        in: path
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/dependency_proxy/packages/maven/{path}/{file_name}":
    get:
      operationId: getApiV4ProjectsIdDependencyProxyPackagesMavenPathFileName
      summary: Proxy the download of a maven package file at a project level
      description: This feature was introduced in GitLab 16.2
      tags:
      - Dependency proxy
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: file_name
        required: true
        description: Package file name
        schema:
          type: string
        in: path
        example: mypkg-1.0-SNAPSHOT.jar
      - name: path
        required: true
        description: Package path
        schema:
          type: string
        in: path
        example: foo/bar/mypkg/1.0-SNAPSHOT
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/epic_boards":
    get:
      operationId: getApiV4GroupsIdEpicBoards
      summary: List all epic boards in a group
      description: Lists all epic boards for a specified group. This feature was introduced
        in GitLab 15.9.
      tags:
      - Epics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesEpicBoard"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
        example: '1'
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/epic_boards/{board_id}":
    get:
      operationId: getApiV4GroupsIdEpicBoardsBoardId
      summary: Retrieve a group epic board
      description: Retrieves a specified group epic board. This feature was introduced
        in GitLab 15.9.
      tags:
      - Epics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEpicBoard"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
        example: '1'
      - name: board_id
        required: true
        description: ID of the epic board.
        schema:
          type: integer
        in: path
        example: 1
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/epic_boards/{board_id}/lists":
    get:
      operationId: getApiV4GroupsIdEpicBoardsBoardIdLists
      summary: List all group epic board lists
      description: Lists all group epic board lists for a specified board. Does not
        include `open` and `closed` lists. This feature was introduced in GitLab 15.9.
      tags:
      - Epics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesEpicBoardsList"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
        example: '1'
      - name: board_id
        required: true
        description: ID of the epic board.
        schema:
          type: integer
        in: path
        example: 1
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/epic_boards/{board_id}/lists/{list_id}":
    get:
      operationId: getApiV4GroupsIdEpicBoardsBoardIdListsListId
      summary: Retrieve a group epic board list
      description: Retrieves a specified group epic board list. This feature was introduced
        in GitLab 15.9.
      tags:
      - Epics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEpicBoardsList"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
        example: '1'
      - name: board_id
        required: true
        description: ID of the epic board.
        schema:
          type: integer
        in: path
        example: 1
      - name: list_id
        required: true
        description: ID of the epic board's list.
        schema:
          type: integer
        in: path
        example: 1
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/epics":
    get:
      operationId: getApiV4GroupsIdEpics
      summary: List all group epics
      description: Lists all epics for a specified group and its subgroups. Responses
        are paginated and return 20 results by default.
      tags:
      - Epics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesEpic"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - created_at
          - updated_at
          - title
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: search
        required: false
        description: Search epics for text present in the title or description.
        schema:
          type: string
          nullable: true
        in: query
        example: title search term
      - name: state
        required: false
        description: Filter epics by state.
        schema:
          type: string
          enum:
          - opened
          - closed
          - all
          nullable: true
          default: all
        in: query
      - name: author_id
        required: false
        description: Return epics authored by the user with the given ID. Mutually
          exclusive with `author_username`.
        schema:
          type: integer
          nullable: true
        in: query
        example: 7
      - name: author_username
        required: false
        description: Return epics authored by the given username. Mutually exclusive
          with `author_id`.
        schema:
          type: string
          nullable: true
        in: query
        example: root
      - name: labels
        required: false
        description: Comma-separated list of label names. Label names from the epic
          group or a parent group can be used.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        example:
        - bug
        - reproduced
        style: form
        explode: false
      - name: with_labels_details
        required: false
        description: 'If `true`, the response returns more details for each label
          in the labels field: `name`, `color`, `description`, `description_html`,
          `text_color`.'
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: created_after
        required: false
        description: Return epics created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: created_before
        required: false
        description: Return epics created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: updated_after
        required: false
        description: Return epics updated on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: updated_before
        required: false
        description: Return epics updated on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: include_ancestor_groups
        required: false
        description: If `true`, includes epics from the requested group's ancestors.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: include_descendant_groups
        required: false
        description: If `true`, includes epics from the requested group's descendants.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
      - name: my_reaction_emoji
        required: false
        description: Return epics reacted to by the authenticated user with the given
          emoji. `None` returns epics with no reaction and `Any` returns epics with
          at least one reaction.
        schema:
          type: string
          nullable: true
        in: query
        example: slight_frown
      - name: confidential
        required: false
        description: If `true`, returns only confidential epics. If `false`, returns
          only non-confidential epics.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: not
        required: false
        description: Return epics that do not match the specified parameters.
        schema:
          type: object
          nullable: true
        in: query
      - name: not[labels]
        required: false
        description: Comma-separated list of label names.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        example:
        - bug
        - reproduced
      - name: not[author_id]
        required: false
        description: Return epics not authored by the user with the given ID. Mutually
          exclusive with `not[author_username]`.
        schema:
          type: integer
          nullable: true
        in: query
        example: 7
      - name: not[author_username]
        required: false
        description: Return epics not authored by the given username. Mutually exclusive
          with `not[author_id]`.
        schema:
          type: string
          nullable: true
        in: query
        example: root
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/-/epics":
    get:
      operationId: getApiV4GroupsIdDashEpics
      summary: List all group epics
      description: Lists all epics for a specified group and its subgroups. Responses
        are paginated and return 20 results by default.
      tags:
      - Epics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesEpic"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - created_at
          - updated_at
          - title
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: search
        required: false
        description: Search epics for text present in the title or description.
        schema:
          type: string
          nullable: true
        in: query
        example: title search term
      - name: state
        required: false
        description: Filter epics by state.
        schema:
          type: string
          enum:
          - opened
          - closed
          - all
          nullable: true
          default: all
        in: query
      - name: author_id
        required: false
        description: Return epics authored by the user with the given ID. Mutually
          exclusive with `author_username`.
        schema:
          type: integer
          nullable: true
        in: query
        example: 7
      - name: author_username
        required: false
        description: Return epics authored by the given username. Mutually exclusive
          with `author_id`.
        schema:
          type: string
          nullable: true
        in: query
        example: root
      - name: labels
        required: false
        description: Comma-separated list of label names. Label names from the epic
          group or a parent group can be used.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        example:
        - bug
        - reproduced
        style: form
        explode: false
      - name: with_labels_details
        required: false
        description: 'If `true`, the response returns more details for each label
          in the labels field: `name`, `color`, `description`, `description_html`,
          `text_color`.'
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: created_after
        required: false
        description: Return epics created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: created_before
        required: false
        description: Return epics created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: updated_after
        required: false
        description: Return epics updated on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: updated_before
        required: false
        description: Return epics updated on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: include_ancestor_groups
        required: false
        description: If `true`, includes epics from the requested group's ancestors.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: include_descendant_groups
        required: false
        description: If `true`, includes epics from the requested group's descendants.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
      - name: my_reaction_emoji
        required: false
        description: Return epics reacted to by the authenticated user with the given
          emoji. `None` returns epics with no reaction and `Any` returns epics with
          at least one reaction.
        schema:
          type: string
          nullable: true
        in: query
        example: slight_frown
      - name: confidential
        required: false
        description: If `true`, returns only confidential epics. If `false`, returns
          only non-confidential epics.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: not
        required: false
        description: Return epics that do not match the specified parameters.
        schema:
          type: object
          nullable: true
        in: query
      - name: not[labels]
        required: false
        description: Comma-separated list of label names.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        example:
        - bug
        - reproduced
      - name: not[author_id]
        required: false
        description: Return epics not authored by the user with the given ID. Mutually
          exclusive with `not[author_username]`.
        schema:
          type: integer
          nullable: true
        in: query
        example: 7
      - name: not[author_username]
        required: false
        description: Return epics not authored by the given username. Mutually exclusive
          with `not[author_id]`.
        schema:
          type: string
          nullable: true
        in: query
        example: root
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/epics/{epic_iid}":
    get:
      operationId: getApiV4GroupsIdEpicsEpicIid
      summary: Get details of an epic
      description: Gets a single epic
      tags:
      - Epics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEpic"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          type: integer
        in: path
        example: 5
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/-/epics/{epic_iid}":
    get:
      operationId: getApiV4GroupsIdDashEpicsEpicIid
      summary: Get details of an epic
      description: Gets a single epic
      tags:
      - Epics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEpic"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          type: integer
        in: path
        example: 5
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/(-/)epics":
    post:
      operationId: postApiV4GroupsIdDashEpics
      summary: Create a new epic
      description: Creates a new epic
      tags:
      - Epics
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEpic"
        '400':
          description: Bad request
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdDashEpicsRequest"
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/(-/)epics/{epic_iid}":
    put:
      operationId: putApiV4GroupsIdDashEpicsEpicIid
      summary: Update an epic
      description: Updates an epic
      tags:
      - Epics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEpic"
        '400':
          description: Bad request
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          type: integer
        in: path
        example: 5
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdDashEpicsEpicIidRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4GroupsIdDashEpicsEpicIid
      summary: Destroy an epic
      description: Deletes an epic
      tags:
      - Epics
      responses:
        '204':
          description: No Content
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          type: integer
        in: path
        example: 5
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/(-/)epics/{epic_iid}/epics":
    get:
      operationId: getApiV4GroupsIdDashEpicsEpicIidEpics
      summary: Get related epics
      description: Lists all child epics of an epic.
      tags:
      - Epics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesEpic"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
        example: '1'
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          type: integer
        in: path
        example: 1
      x-gitlab-tier: ultimate
    post:
      operationId: postApiV4GroupsIdDashEpicsEpicIidEpics
      summary: Create and relate epic to a parent
      description: Creates a new epic and associates it with the provided parent epic.
      tags:
      - Epics
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEpic"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Conflict
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
        example: '1'
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdDashEpicsEpicIidEpicsRequest"
      x-gitlab-tier: ultimate
  "/api/v4/groups/{id}/(-/)epics/{epic_iid}/epics/{child_epic_id}":
    post:
      operationId: postApiV4GroupsIdDashEpicsEpicIidEpicsChildEpicId
      summary: Relate epics
      description: Creates an association between two epics, designating one as the
        parent epic and the other as the child epic.
      tags:
      - Epics
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEpic"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Conflict
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
        example: '1'
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          type: integer
        in: path
        example: 1
      - name: child_epic_id
        required: true
        description: Global ID of the child epic. The internal ID can't be used because
          internal IDs can conflict with epics from other groups.
        schema:
          type: integer
        in: path
        example: 1
      x-gitlab-tier: ultimate
    delete:
      operationId: deleteApiV4GroupsIdDashEpicsEpicIidEpicsChildEpicId
      summary: Remove epics relation
      description: Unassigns a child epic from a parent epic.
      tags:
      - Epics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEpic"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
        example: '1'
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          type: integer
        in: path
        example: 1
      - name: child_epic_id
        required: true
        description: Global ID of the child epic. The internal ID can't be used because
          internal IDs can conflict with epics from other groups.
        schema:
          type: integer
        in: path
        example: 1
      x-gitlab-tier: ultimate
    put:
      operationId: putApiV4GroupsIdDashEpicsEpicIidEpicsChildEpicId
      summary: Reorder child epics
      description: Reorders a child epic.
      tags:
      - Epics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEpic"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
        example: '1'
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          type: integer
        in: path
        example: 1
      - name: child_epic_id
        required: true
        description: Global ID of the child epic. The internal ID can't be used because
          internal IDs can conflict with epics from other groups.
        schema:
          type: integer
        in: path
        example: 1
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdDashEpicsEpicIidEpicsChildEpicIdRequest"
      x-gitlab-tier: ultimate
  "/api/v4/groups/{id}/(-/)epics/{epic_iid}/issues/{epic_issue_id}":
    put:
      operationId: putApiV4GroupsIdDashEpicsEpicIidIssuesEpicIssueId
      summary: Update a related epic link
      description: Updates the relation of a specified issue to an epic.
      tags:
      - Epics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesEpicIssue"
        '400':
          description: Issue could not be moved!
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
        example: '1'
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
        example: 5
      - name: epic_issue_id
        required: true
        description: ID of the epic-issue association to update.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
        example: 11
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdDashEpicsEpicIidIssuesEpicIssueIdRequest"
      x-gitlab-tier: premium
    post:
      operationId: postApiV4GroupsIdDashEpicsEpicIidIssuesIssueId
      summary: Add an issue to an epic
      description: Adds a specified issue to an epic. If the issue already belongs
        to another epic, it is removed from the original epic.
      tags:
      - Epics
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEpicIssueLink"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: No matching issue found
        '409':
          description: Issue already assigned
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
        example: '1'
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
        example: 5
      - name: issue_id
        required: true
        description: ID of the issue.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
        example: 55
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4GroupsIdDashEpicsEpicIidIssuesEpicIssueId
      summary: Remove an issue from the epic
      description: Removes an issue from the epic. Does not delete the issue.
      tags:
      - Epics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEpicIssueLink"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
        example: '1'
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
        example: 5
      - name: epic_issue_id
        required: true
        description: ID of the association.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
        example: 11
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/epics/{epic_iid}/issues":
    get:
      operationId: getApiV4GroupsIdEpicsEpicIidIssues
      summary: List all issues for an epic
      description: Lists all issues assigned to a specified epic that are available
        to the authenticated user. Responses are paginated and return 20 results by
        default.
      tags:
      - Epics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesEpicIssue"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
        example: '1'
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
        example: 5
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/-/epics/{epic_iid}/issues":
    get:
      operationId: getApiV4GroupsIdDashEpicsEpicIidIssues
      summary: List all issues for an epic
      description: Lists all issues assigned to a specified epic that are available
        to the authenticated user. Responses are paginated and return 20 results by
        default.
      tags:
      - Epics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesEpicIssue"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
        example: '1'
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
        example: 5
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/dora/metrics":
    get:
      operationId: getApiV4ProjectsIdDoraMetrics
      summary: Retrieve project-level DORA metrics
      description: Retrieves DORA metrics for a specified project.
      tags:
      - DORA metrics
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDoraMetric"
              examples:
                successfull_response:
                  value:
                  - date: '2021-03-01'
                    value: 3
                  - date: '2021-03-02'
                    value: 6
                  - date: '2021-03-03'
                    value: 0
                  - date: '2021-03-04'
                    value: 0
                  - date: '2021-03-05'
                    value: 0
                  - date: '2021-03-06'
                    value: 0
                  - date: '2021-03-07'
                    value: 0
                  - date: '2021-03-08'
                    value: 4
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: metric
        required: true
        description: The DORA metric to fetch.
        schema:
          type: string
          enum:
          - deployment_frequency
          - lead_time_for_changes
          - time_to_restore_service
          - change_failure_rate
          minLength: 1
        in: query
      - name: start_date
        required: false
        description: Start date of the date range. Defaults to 3 months ago.
        schema:
          type: string
          format: date
          nullable: true
        in: query
      - name: end_date
        required: false
        description: End date of the date range. Defaults to the current date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
      - name: interval
        required: false
        description: The bucketing interval.
        schema:
          type: string
          enum:
          - all
          - monthly
          - daily
          nullable: true
          default: daily
        in: query
      - name: environment_tiers
        required: false
        description: The tiers of the environments.
        schema:
          type: array
          items:
            type: string
            enum:
            - production
            - staging
            - testing
            - development
            - other
          nullable: true
          default:
          - production
        in: query
      x-gitlab-tier: ultimate
  "/api/v4/groups/{id}/dora/metrics":
    get:
      operationId: getApiV4GroupsIdDoraMetrics
      summary: Retrieve group-level DORA metrics
      description: Retrieves DORA metrics for a specified group.
      tags:
      - DORA metrics
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDoraMetric"
              examples:
                successfull_response:
                  value:
                  - date: '2021-03-01'
                    value: 3
                  - date: '2021-03-02'
                    value: 6
                  - date: '2021-03-03'
                    value: 0
                  - date: '2021-03-04'
                    value: 0
                  - date: '2021-03-05'
                    value: 0
                  - date: '2021-03-06'
                    value: 0
                  - date: '2021-03-07'
                    value: 0
                  - date: '2021-03-08'
                    value: 4
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: metric
        required: true
        description: The DORA metric to fetch.
        schema:
          type: string
          enum:
          - deployment_frequency
          - lead_time_for_changes
          - time_to_restore_service
          - change_failure_rate
          minLength: 1
        in: query
      - name: start_date
        required: false
        description: Start date of the date range. Defaults to 3 months ago.
        schema:
          type: string
          format: date
          nullable: true
        in: query
      - name: end_date
        required: false
        description: End date of the date range. Defaults to the current date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
      - name: interval
        required: false
        description: The bucketing interval.
        schema:
          type: string
          enum:
          - all
          - monthly
          - daily
          nullable: true
          default: daily
        in: query
      - name: environment_tiers
        required: false
        description: The tiers of the environments.
        schema:
          type: array
          items:
            type: string
            enum:
            - production
            - staging
            - testing
            - development
            - other
          nullable: true
          default:
          - production
        in: query
      x-gitlab-tier: ultimate
  "/api/v4/projects/{id}/approval_settings":
    get:
      operationId: getApiV4ProjectsIdApprovalSettings
      summary: Get all project approval rules
      description: Private API subject to change
      tags:
      - Approval rules
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectApprovalSettings"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: target_branch
        required: false
        description: Branch that scoped approval rules apply to.
        schema:
          type: string
          nullable: true
        in: query
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/approval_settings/rules":
    post:
      operationId: postApiV4ProjectsIdApprovalSettingsRules
      summary: Create new approval rule
      description: Private API subject to change
      tags:
      - Approval rules
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectApprovalSettingRule"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdApprovalSettingsRulesRequest"
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/approval_settings/rules/{approval_rule_id}":
    put:
      operationId: putApiV4ProjectsIdApprovalSettingsRulesApprovalRuleId
      summary: Update approval rule
      description: Private API subject to change
      tags:
      - Approval rules
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectApprovalSettingRule"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: approval_rule_id
        required: true
        description: ID of the approval rule.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdApprovalSettingsRulesApprovalRuleIdRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4ProjectsIdApprovalSettingsRulesApprovalRuleId
      summary: Delete an approval rule
      description: Private API subject to change
      tags:
      - Approval rules
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: approval_rule_id
        required: true
        description: ID of the approval rule.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/external_status_checks":
    post:
      operationId: postApiV4ProjectsIdExternalStatusChecks
      summary: Create external status check service
      description: Creates an external status check service for a specified project.
        External status checks send information about all applicable merge requests
        to the defined external service, including confidential merge requests.
      tags:
      - External status checks
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesExternalStatusCheck"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdExternalStatusChecksRequest"
      x-gitlab-tier: ultimate
    get:
      operationId: getApiV4ProjectsIdExternalStatusChecks
      summary: Retrieve project external status check services
      description: Retrieves information on external status check services for a project.
      tags:
      - External status checks
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesExternalStatusCheck"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: ultimate
  "/api/v4/projects/{id}/external_status_checks/{check_id}":
    put:
      operationId: putApiV4ProjectsIdExternalStatusChecksCheckId
      summary: Update external status check service
      description: Updates an existing external status check for a project.
      tags:
      - External status checks
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesExternalStatusCheck"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: check_id
        required: true
        description: ID of the external status check.
        schema:
          type: integer
        in: path
        example: 1
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdExternalStatusChecksCheckIdRequest"
      x-gitlab-tier: ultimate
    delete:
      operationId: deleteApiV4ProjectsIdExternalStatusChecksCheckId
      summary: Delete external status check service
      description: Deletes a specified external status check service for a project.
      tags:
      - External status checks
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: check_id
        required: true
        description: ID of the external status check.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/status_check_responses":
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidStatusCheckResponses
      summary: Update status of an external status check
      description: Updates the status of an external status check for a specified
        merge request, informing GitLab that a merge request has passed a check by
        an external service. To set the status of an external check, the personal
        access token used must belong to a user with the Developer, Maintainer, or
        Owner role on the target project of the merge request. Any user with permission
        to approve the merge request can use this operation.
      tags:
      - External status checks
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequestsStatusCheckResponse"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: '1'
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMergeRequestsMergeRequestIidStatusCheckResponsesRequest"
      x-gitlab-tier: ultimate
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/status_checks":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidStatusChecks
      summary: List all status checks for a merge request
      description: Lists all external status check services for a specified merge
        request and their status.
      tags:
      - External status checks
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMergeRequestsStatusCheck"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/status_checks/{external_status_check_id}/retry":
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidStatusChecksExternalStatusCheckIdRetry
      summary: Retry failed status check for a merge request
      description: Retries a specified failed external status check for a merge request.
        Even though the merge request has not changed, this endpoint resends the current
        state of merge request to the defined external service.
      tags:
      - External status checks
      responses:
        '202':
          description: Accepted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: '1'
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
        example: 1
      - name: external_status_check_id
        required: true
        description: ID of the failed external status check.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/groups/{id}/approval_rules":
    get:
      operationId: getApiV4GroupsIdApprovalRules
      summary: List all approval rules for a group
      description: Lists all approval rules and any associated details for a specified
        group. Restricted to group administrators. Use the `page` and `per_page` pagination
        parameters to restrict the list of approval rules. This feature was introduced
        in GitLab 16.10.
      tags:
      - Approval rules
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesGroupApprovalRule"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
    post:
      operationId: postApiV4GroupsIdApprovalRules
      summary: Create an approval rule for a group
      description: 'Creates an approval rule for a group. Restricted to group administrators.
        Do not use the `rule_type` field when building approval rules from the API.
        The field supports these rule types: `any_approver`, a pre-configured default
        rule with `approvals_required` set to `0`; `regular`, for regular merge request
        approval rules; and `report_approver`, used when GitLab creates an approval
        rule from configured and enabled merge request approval policies.'
      tags:
      - Approval rules
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupApprovalRule"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdApprovalRulesRequest"
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/approval_rules/{approval_rule_id}":
    put:
      operationId: putApiV4GroupsIdApprovalRulesApprovalRuleId
      summary: Update group approval rule
      description: 'Updates an approval rule for a group. Restricted to group administrators.
        Do not use the `rule_type` field when building approval rules from the API.
        The field supports these rule types: `any_approver`, a pre-configured default
        rule with `approvals_required` set to `0`; `regular`, for regular merge request
        approval rules; and `report_approver`, used when GitLab creates an approval
        rule from configured and enabled merge request approval policies. This feature
        was introduced in GitLab 16.10.'
      tags:
      - Approval rules
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupApprovalRule"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: approval_rule_id
        required: true
        description: ID of the group approval rule.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdApprovalRulesApprovalRuleIdRequest"
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/security_settings":
    put:
      operationId: putApiV4GroupsIdSecuritySettings
      summary: Update group security settings
      description: Updates group security settings for a specified group. You must
        have the Security Manager, Maintainer, or Owner role for the group. This feature
        was introduced in GitLab 17.7.
      tags:
      - Groups
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdSecuritySettingsRequest"
      x-gitlab-tier: ultimate
  "/api/v4/projects/{id}/security_settings":
    get:
      operationId: getApiV4ProjectsIdSecuritySettings
      summary: List all project security settings
      description: Lists all security settings for the project. You must have the
        Security Manager, Developer, Maintainer, or Owner role for the project.
      tags:
      - Projects
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: ultimate
    put:
      operationId: putApiV4ProjectsIdSecuritySettings
      summary: Update project security settings
      description: Updates project security settings for a specified project. You
        must have the Maintainer or Owner role for the project.
      tags:
      - Projects
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdSecuritySettingsRequest"
      x-gitlab-tier: ultimate
  "/api/v4/projects/{id}/approval_rules":
    get:
      operationId: getApiV4ProjectsIdApprovalRules
      summary: List all approval rules for a project
      description: Lists all approval rules and any associated details for a specified
        project. To restrict the list of approval rules, use the `page` and `per_page`
        pagination parameters. Each rule in the response includes `eligible_approvers`,
        the users who can approve a merge request the rule applies to. Eligible approvers
        depend on the rule configuration and on project and group membership.
      tags:
      - Approval rules
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProjectApprovalRule"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
    post:
      operationId: postApiV4ProjectsIdApprovalRules
      summary: Create an approval rule for a project
      description: 'Creates an approval rule for a specified project. The `rule_type`
        field supports these rule types: `any_approver`, a pre-configured default
        rule with `approvals_required` set to `0`; `regular`, for regular merge request
        approval rules; and `report_approver`, used when GitLab creates an approval
        rule from configured and enabled merge request approval policies. Do not use
        `report_approver` when creating approval rules with this API.'
      tags:
      - Approval rules
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectApprovalRule"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdApprovalRulesRequest"
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/approval_rules/{approval_rule_id}":
    get:
      operationId: getApiV4ProjectsIdApprovalRulesApprovalRuleId
      summary: Retrieve an approval rule for a project
      description: Retrieves information about a specified approval rule for a project.
      tags:
      - Approval rules
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectApprovalRule"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: approval_rule_id
        required: true
        description: ID of the approval rule.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
    put:
      operationId: putApiV4ProjectsIdApprovalRulesApprovalRuleId
      summary: Update an approval rule for a project
      description: Updates a specified approval rule for a project. This endpoint
        removes any approvers and groups not defined in the `group_ids`, `user_ids`,
        or `usernames` attributes. Hidden groups (private groups the user does not
        have permission to view) that are not in the `users` or `groups` parameters
        are preserved by default. To remove them, set `remove_hidden_groups` to `true`.
        This ensures hidden groups are not removed unintentionally when a user updates
        an approval rule.
      tags:
      - Approval rules
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectApprovalRule"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: approval_rule_id
        required: true
        description: ID of the approval rule.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdApprovalRulesApprovalRuleIdRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4ProjectsIdApprovalRulesApprovalRuleId
      summary: Delete an approval rule for a project
      description: Deletes an approval rule for a specified project.
      tags:
      - Approval rules
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: approval_rule_id
        required: true
        description: ID of the approval rule.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/cluster_agents/{agent_id}/url_configurations":
    get:
      operationId: getApiV4ProjectsIdClusterAgentsAgentIdUrlConfigurations
      summary: List all agent URL configurations
      description: Lists all agent URL configurations for a specified agent. You must
        have the Developer, Maintainer, or Owner role to use this endpoint. Either
        `public_key` or `client_cert` is set, but never both. This feature was introduced
        in GitLab 17.4.
      tags:
      - Cluster agents
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesClustersAgentUrlConfiguration"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: agent_id
        required: true
        description: ID of the agent.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
    post:
      operationId: postApiV4ProjectsIdClusterAgentsAgentIdUrlConfigurations
      summary: Create an agent URL configuration
      description: Creates an agent URL configuration. You must have the Maintainer
        or Owner role to use this endpoint. An agent can have only one URL configuration
        at the time. If `client_cert` and `client_key` are not provided, a private-public
        key pair is generated and JWT authentication is used instead of mTLS. This
        feature was introduced in GitLab 17.4.
      tags:
      - Cluster agents
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesClustersAgentUrlConfiguration"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: agent_id
        required: true
        description: ID of the agent.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdClusterAgentsAgentIdUrlConfigurationsRequest"
      x-gitlab-tier: ultimate
  "/api/v4/projects/{id}/cluster_agents/{agent_id}/url_configurations/{url_configuration_id}":
    get:
      operationId: getApiV4ProjectsIdClusterAgentsAgentIdUrlConfigurationsUrlConfigurationId
      summary: Retrieve an agent URL configuration
      description: Retrieves an agent URL configuration. You must have the Developer,
        Maintainer, or Owner role to use this endpoint. Either `public_key` or `client_cert`
        is set, but never both. This feature was introduced in GitLab 17.4.
      tags:
      - Cluster agents
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesClustersAgentUrlConfiguration"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: agent_id
        required: true
        description: ID of the agent.
        schema:
          type: integer
        in: path
      - name: url_configuration_id
        required: true
        description: ID of the agent URL configuration.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
    delete:
      operationId: deleteApiV4ProjectsIdClusterAgentsAgentIdUrlConfigurationsUrlConfigurationId
      summary: Delete an agent URL configuration
      description: Deletes an agent URL configuration. You must have the Maintainer
        or Owner role to use this endpoint. This feature was introduced in GitLab
        17.4.
      tags:
      - Cluster agents
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: agent_id
        required: true
        description: ID of the agent.
        schema:
          type: integer
        in: path
      - name: url_configuration_id
        required: true
        description: ID of the agent URL configuration.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/runner_controllers/{runner_controller_id}/tokens":
    get:
      operationId: getApiV4RunnerControllersRunnerControllerIdTokens
      summary: List all runner controller tokens
      description: Lists all runner controller tokens.
      tags:
      - Runner controller tokens
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiRunnerControllerToken"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: runner_controller_id
        required: true
        description: ID of the runner controller.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: ultimate
    post:
      operationId: postApiV4RunnerControllersRunnerControllerIdTokens
      summary: Create a runner controller token
      description: Creates a runner controller token.
      tags:
      - Runner controller tokens
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiRunnerControllerTokenWithToken"
        '403':
          description: Forbidden
        '400':
          description: Bad Request
        '404':
          description: Not found
      parameters:
      - name: runner_controller_id
        required: true
        description: ID of the runner controller.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4RunnerControllersRunnerControllerIdTokensRequest"
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: ultimate
  "/api/v4/runner_controllers/{runner_controller_id}/tokens/{id}":
    get:
      operationId: getApiV4RunnerControllersRunnerControllerIdTokensId
      summary: Retrieve a single runner controller token
      description: Retrieves details of a specified runner controller token by its
        ID.
      tags:
      - Runner controller tokens
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiRunnerControllerToken"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: runner_controller_id
        required: true
        description: ID of the runner controller.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID of the runner controller token.
        schema:
          type: integer
        in: path
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: ultimate
    delete:
      operationId: deleteApiV4RunnerControllersRunnerControllerIdTokensId
      summary: Revoke a runner controller token
      description: Revokes an existing runner controller token.
      tags:
      - Runner controller tokens
      responses:
        '204':
          description: No Content
        '403':
          description: Forbidden
        '400':
          description: Bad Request
        '404':
          description: Not found
      parameters:
      - name: runner_controller_id
        required: true
        description: ID of the runner controller.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID of the runner controller token.
        schema:
          type: integer
        in: path
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: ultimate
  "/api/v4/runner_controllers/{runner_controller_id}/tokens/{id}/rotate":
    post:
      operationId: postApiV4RunnerControllersRunnerControllerIdTokensIdRotate
      summary: Rotate a runner controller token
      description: Rotates an existing runner controller token.
      tags:
      - Runner controller tokens
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiRunnerControllerTokenWithToken"
        '403':
          description: Forbidden
        '400':
          description: Bad Request
        '404':
          description: Not found
      parameters:
      - name: runner_controller_id
        required: true
        description: ID of the runner controller.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID of the runner controller token.
        schema:
          type: integer
        in: path
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: ultimate
  "/api/v4/runner_controllers/{id}/scopes":
    get:
      operationId: getApiV4RunnerControllersIdScopes
      summary: List all scopes for a runner controller
      description: Lists all scopes for a runner controller.
      tags:
      - Runner controllers
      responses:
        '200':
          description: OK
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the runner controller.
        schema:
          type: integer
        in: path
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: ultimate
  "/api/v4/runner_controllers/{id}/scopes/instance":
    post:
      operationId: postApiV4RunnerControllersIdScopesInstance
      summary: Add instance scope
      description: Adds an instance scope to a runner controller. When added, the
        runner controller evaluates jobs for all runners in the GitLab instance. A
        runner controller can have only one instance scope. If an instance scope already
        exists, this operation returns an error.
      tags:
      - Runner controllers
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiRunnerControllerInstanceLevelScoping"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Conflict
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the runner controller.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
    delete:
      operationId: deleteApiV4RunnerControllersIdScopesInstance
      summary: Remove instance scope
      description: Removes an instance scope from a runner controller.
      tags:
      - Runner controllers
      responses:
        '204':
          description: No Content
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the runner controller.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/runner_controllers/{id}/scopes/runners/{runner_id}":
    post:
      operationId: postApiV4RunnerControllersIdScopesRunnersRunnerId
      summary: Add runner scope
      description: Adds a runner scope to a runner controller. When added, the runner
        controller evaluates jobs only for a specified runner. A runner controller
        with an instance scope cannot have runner scopes. Remove the instance scope
        before adding runner scopes. This feature was introduced in GitLab 18.10.
      tags:
      - Runner controllers
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiRunnerControllerRunnerLevelScoping"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Conflict
        '422':
          description: Unprocessable Entity
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the runner controller.
        schema:
          type: integer
        in: path
      - name: runner_id
        required: true
        description: ID of the runner. Must be an instance runner.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
    delete:
      operationId: deleteApiV4RunnerControllersIdScopesRunnersRunnerId
      summary: Remove runner scope
      description: Removes a runner scope from a runner controller. This feature was
        introduced in GitLab 18.10.
      tags:
      - Runner controllers
      responses:
        '204':
          description: No Content
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the runner controller.
        schema:
          type: integer
        in: path
      - name: runner_id
        required: true
        description: ID of the runner.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/runner_controllers":
    get:
      operationId: getApiV4RunnerControllers
      summary: List all runner controllers
      description: Lists all runner controllers.
      tags:
      - Runner controllers
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiRunnerController"
        '403':
          description: Forbidden
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: ultimate
    post:
      operationId: postApiV4RunnerControllers
      summary: Register a runner controller
      description: Registers a runner controller.
      tags:
      - Runner controllers
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiRunnerController"
        '403':
          description: Forbidden
        '400':
          description: Bad Request
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4RunnerControllersRequest"
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: ultimate
  "/api/v4/runner_controllers/{id}":
    get:
      operationId: getApiV4RunnerControllersId
      summary: Retrieve a single runner controller
      description: Retrieves details of a specified runner controller.
      tags:
      - Runner controllers
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiRunnerControllerDetail"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the runner controller.
        schema:
          type: integer
        in: path
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: ultimate
    put:
      operationId: putApiV4RunnerControllersId
      summary: Update a runner controller
      description: Updates the details of an existing runner controller by its ID.
      tags:
      - Runner controllers
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiRunnerController"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the runner controller.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4RunnerControllersIdRequest"
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: ultimate
    delete:
      operationId: deleteApiV4RunnerControllersId
      summary: Delete a runner controller
      description: Deletes a specified runner controller. Administrators only.
      tags:
      - Runner controllers
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiRunnerController"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the runner controller.
        schema:
          type: integer
        in: path
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: ultimate
  "/api/v4/audit_events":
    get:
      operationId: getApiV4AuditEvents
      summary: List all instance audit events
      description: Lists all available instance audit events, limited to a maximum
        of 30 days for each query. Offset-based pagination was deprecated in GitLab
        17.8 and is planned for removal in GitLab 20.0. Use keyset-based pagination
        instead. This change is a breaking change.
      tags:
      - Audit events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAuditEvent"
        '400':
          description: Bad Request
      parameters:
      - name: entity_type
        required: true
        description: Return audit events for the specified entity type.
        schema:
          type: string
          enum:
          - Project
          - User
          - Group
          - Gitlab::Audit::InstanceScope
          minLength: 1
        in: query
      - name: entity_id
        required: false
        description: Return audit events for the specified entity ID. Requires the
          `entity_type` attribute.
        schema:
          type: integer
          nullable: true
        in: query
      - name: created_after
        required: false
        description: Return audit events created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2016-01-19T09:05:50.355Z'
      - name: created_before
        required: false
        description: Return audit events created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2016-01-19T09:05:50.355Z'
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
  "/api/v4/audit_events/{id}":
    get:
      operationId: getApiV4AuditEventsId
      summary: Retrieve an instance audit event
      description: Retrieves a specified instance audit event.
      tags:
      - Audit events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAuditEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the audit event.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/suggested_reviewers":
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidSuggestedReviewers
      summary: Set the AI-recommended reviewers for a merge request
      description: Replaces the AI-recommended reviewers persisted for a specified
        merge request. Available only when the recommend reviewers flow is enabled
        for the project.
      tags:
      - GitLab Duo workflows
      - Internal operations
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAiSuggestedReviewer"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: The internal ID of the merge request.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMergeRequestsMergeRequestIidSuggestedReviewersRequest"
      x-gitlab-lifecycle: experiment
  "/api/v4/admin/data_management/{model_name}/{record_identifier}":
    get:
      operationId: getApiV4AdminDataManagementModelNameRecordIdentifier
      summary: Retrieve information about a model record
      description: Retrieves information about a specified model record. Only available
        to administrators.
      tags:
      - Data management
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAdminModel"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Model Not Found
      parameters:
      - name: model_name
        required: true
        description: See https://docs.gitlab.com/administration/admin_area/#data-management
          for the list of allowed values
        schema:
          type: string
          minLength: 1
        in: path
        example: uploads
      - name: record_identifier
        required: true
        description: Unique identifier of the record. Can be an integer or a Base64-encoded
          string, as returned by the list endpoint.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: premium
  "/api/v4/admin/data_management/{model_name}/{record_identifier}/checksum":
    put:
      operationId: putApiV4AdminDataManagementModelNameRecordIdentifierChecksum
      summary: Recalculate the checksum of a model record
      description: Recalculates the checksum of a specified model record. The checksum
        value is a representation of the queried model hashed with the md5 or sha256
        algorithm. Only available to administrators on primary Geo sites.
      tags:
      - Data management
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAdminModel"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Model Not Found
      parameters:
      - name: model_name
        required: true
        description: See https://docs.gitlab.com/administration/admin_area/#data-management
          for the list of allowed values
        schema:
          type: string
          minLength: 1
        in: path
        example: uploads
      - name: record_identifier
        required: true
        description: Unique identifier of the record, as returned by the list endpoint.
        schema:
          type: integer
        in: path
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: premium
  "/api/v4/admin/data_management/{model_name}":
    get:
      operationId: getApiV4AdminDataManagementModelName
      summary: Retrieve model information
      description: Retrieves information about a data model in an instance. Only available
        to administrators.
      tags:
      - Data management
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAdminModel"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Model Not Found
      parameters:
      - name: model_name
        required: true
        description: See https://docs.gitlab.com/administration/admin_area/#data-management
          for the list of allowed values
        schema:
          type: string
          minLength: 1
        in: path
        example: uploads
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: identifiers
        required: false
        description: Filter results with an array of unique identifiers of the requested
          model, which can be integers or base64 encoded strings.
        schema:
          oneOf:
          - type: array
            items:
              type: integer
            nullable: true
          - type: array
            items:
              type: string
            nullable: true
        in: query
      - name: checksum_state
        required: false
        description: Filter by checksum status.
        schema:
          type: string
          enum:
          - pending
          - started
          - succeeded
          - failed
          - disabled
          nullable: true
        in: query
      - name: cursor
        required: false
        description: Cursor for obtaining the next set of records.
        schema:
          type: string
          nullable: true
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: asc
        in: query
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: premium
  "/api/v4/admin/data_management/{model_name}/checksum":
    put:
      operationId: putApiV4AdminDataManagementModelNameChecksum
      summary: Recalculate checksums for model records
      description: Recalculates checksums for selected records of a specified model,
        filtered by `checksum_state` and `identifiers` parameters if provided. The
        request enqueues a background job to perform the recalculation. Only available
        to administrators on primary Geo sites.
      tags:
      - Data management
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAdminModel"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Model Not Found
      parameters:
      - name: model_name
        required: true
        description: See https://docs.gitlab.com/administration/admin_area/#data-management
          for the list of allowed values
        schema:
          type: string
          minLength: 1
        in: path
        example: uploads
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4AdminDataManagementModelNameChecksumRequest"
      x-gitlab-lifecycle: experiment
      x-gitlab-tier: premium
  "/api/v4/admin/security/compliance_policy_settings":
    get:
      operationId: getApiV4AdminSecurityCompliancePolicySettings
      summary: Retrieve security policy settings
      description: Retrieves the current security policy settings for this GitLab
        instance. This feature was introduced in GitLab 18.2.
      tags:
      - Compliance policy settings
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAdminSecurityPolicySetting"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '400':
          description: 400 Bad Request
      x-gitlab-tier: ultimate
    put:
      operationId: putApiV4AdminSecurityCompliancePolicySettings
      summary: Update security policy settings
      description: Updates the security policy settings for this GitLab instance.
        This feature was introduced in GitLab 18.2.
      tags:
      - Compliance policy settings
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAdminSecurityPolicySetting"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '400':
          description: 400 Bad Request
        '422':
          description: 422 Unprocessable Entity
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4AdminSecurityCompliancePolicySettingsRequest"
      x-gitlab-tier: ultimate
  "/api/v4/admin/knowledge_graph/namespaces":
    get:
      operationId: getApiV4AdminKnowledgeGraphNamespaces
      summary: Get all enabled namespaces for Knowledge Graph
      description: This endpoint retrieves all namespaces that have Knowledge Graph
        enabled
      tags:
      - Knowledge graph
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAnalyticsKnowledgeGraphEnabledNamespace"
        '400':
          description: 400 Bad Request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
      x-gitlab-tier: premium
  "/api/v4/admin/knowledge_graph/namespaces/{id}":
    put:
      operationId: putApiV4AdminKnowledgeGraphNamespacesId
      summary: Enable a namespace for Knowledge Graph
      description: This endpoint enables Knowledge Graph for a specific namespace
      tags:
      - Knowledge graph
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAnalyticsKnowledgeGraphEnabledNamespace"
        '400':
          description: 400 Bad Request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
        '503':
          description: 503 Service Unavailable
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the namespace.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4AdminKnowledgeGraphNamespacesId
      summary: Disable a namespace for Knowledge Graph
      description: This endpoint disables Knowledge Graph for a specific namespace
      tags:
      - Knowledge graph
      responses:
        '204':
          description: No Content
        '400':
          description: 400 Bad Request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the namespace.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/admin/search/migrations":
    get:
      operationId: getApiV4AdminSearchMigrations
      summary: List all advanced search migrations
      description: Lists all advanced search migrations for the GitLab instance.
      tags:
      - Search
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesSearchMigration"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
      x-gitlab-tier: premium
  "/api/v4/admin/search/migrations/{migration_id}":
    get:
      operationId: getApiV4AdminSearchMigrationsMigrationId
      summary: Retrieve an advanced search migration
      description: Retrieves a specified advanced search migration by migration version
        or name.
      tags:
      - Search
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSearchMigration"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
        '400':
          description: Bad Request
      parameters:
      - name: migration_id
        required: true
        description: Version or name of the search migration.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      x-gitlab-tier: premium
  "/api/v4/admin/zoekt/projects/{project_id}/index":
    put:
      operationId: putApiV4AdminZoektProjectsProjectIdIndex
      summary: Triggers indexing for the specified project
      description: Triggers background indexing of the specified project using the
        Zoekt search engine.
      tags:
      - Code search
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSearchZoektProjectIndexSuccess"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
        '400':
          description: Bad Request
      parameters:
      - name: project_id
        required: true
        description: ID of the project to index.
        schema:
          type: integer
        in: path
  "/api/v4/admin/zoekt/namespaces/{id}":
    patch:
      operationId: patchApiV4AdminZoektNamespacesId
      summary: Update the number of replicas override for an enabled namespace
      description: Updates the replication factor override for a namespace enabled
        in the Zoekt search engine.
      tags:
      - Code search
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSearchZoektIndexedNamespace"
        '400':
          description: 400 Bad Request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the namespace.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4AdminZoektNamespacesIdRequest"
  "/api/v4/admin/zoekt/shards":
    get:
      operationId: getApiV4AdminZoektShards
      summary: Get all the Zoekt nodes
      description: Returns a list of all Zoekt search nodes available in the instance.
      tags:
      - Code search
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesSearchZoektNode"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
  "/api/v4/admin/zoekt/shards/{node_id}/indexed_namespaces":
    get:
      operationId: getApiV4AdminZoektShardsNodeIdIndexedNamespaces
      summary: Get all the indexed namespaces for this node
      description: Retrieves all root namespaces indexed by the specified Zoekt search
        node.
      tags:
      - Code search
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesSearchZoektIndexedNamespace"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
        '400':
          description: Bad Request
      parameters:
      - name: node_id
        required: true
        description: ID of the Zoekt node.
        schema:
          type: integer
        in: path
  "/api/v4/admin/zoekt/shards/{node_id}/indexed_namespaces/{namespace_id}":
    put:
      operationId: putApiV4AdminZoektShardsNodeIdIndexedNamespacesNamespaceId
      summary: Add a namespace to a node for Zoekt indexing
      description: Enables and assigns a namespace to a specific Zoekt node for code
        search indexing.
      tags:
      - Code search
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSearchZoektIndexedNamespace"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
        '400':
          description: Bad Request
      parameters:
      - name: node_id
        required: true
        description: ID of the Zoekt node.
        schema:
          type: integer
        in: path
      - name: namespace_id
        required: true
        description: ID of the namespace to index on the node.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4AdminZoektShardsNodeIdIndexedNamespacesNamespaceIdRequest"
    delete:
      operationId: deleteApiV4AdminZoektShardsNodeIdIndexedNamespacesNamespaceId
      summary: Remove a namespace from a node for Zoekt indexing
      description: Removes a namespace from a Zoekt node, deleting its indexed data
        and disabling search.
      tags:
      - Code search
      responses:
        '204':
          description: No Content
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
        '400':
          description: Bad Request
      parameters:
      - name: node_id
        required: true
        description: ID of the Zoekt node.
        schema:
          type: integer
        in: path
      - name: namespace_id
        required: true
        description: ID of the namespace to remove from the node.
        schema:
          type: integer
        in: path
  "/api/v4/admin/active_context/connections":
    get:
      operationId: getApiV4AdminActiveContextConnections
      summary: Get all ActiveContext connections
      description: Returns every ActiveContext connection configured for this instance.
      tags:
      - Active context
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAiActiveContextConnection"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
  "/api/v4/admin/active_context/connections/activate":
    put:
      operationId: putApiV4AdminActiveContextConnectionsActivate
      summary: Activate an ActiveContext connection
      description: Activates the specified connection and deactivates the previously
        active connection, if any.
      tags:
      - Active context
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAiActiveContextConnection"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4AdminActiveContextConnectionsActivateRequest"
  "/api/v4/admin/active_context/connections/deactivate":
    put:
      operationId: putApiV4AdminActiveContextConnectionsDeactivate
      summary: Deactivate an ActiveContext connection
      description: Deactivates the specified connection. This asynchronously drops
        indexed data for the connection and deletes the connection record.
      tags:
      - Active context
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAiActiveContextConnection"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
        '400':
          description: Bad Request
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4AdminActiveContextConnectionsDeactivateRequest"
  "/api/v4/admin/active_context/collections/{id}":
    put:
      operationId: putApiV4AdminActiveContextCollectionsId
      summary: Update collection options
      description: Updates the queue shard count and/or queue shard limit for the
        specified collection.
      tags:
      - Active context
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAiActiveContextCollection"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
        '422':
          description: 422 Unprocessable entity
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: Name or ID of the collection.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4AdminActiveContextCollectionsIdRequest"
  "/api/v4/admin/active_context/dead_queue":
    delete:
      operationId: deleteApiV4AdminActiveContextDeadQueue
      summary: Clear the ActiveContext dead queue
      description: Removes all items from the dead queue and returns the number of
        items cleared.
      tags:
      - Active context
      responses:
        '200':
          description: OK
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
  "/api/v4/admin/active_context/dead_queue/replay":
    post:
      operationId: postApiV4AdminActiveContextDeadQueueReplay
      summary: Replay items from the dead queue into another queue
      description: Enqueues a background task that replays dead queue items into the
        specified target queue.
      tags:
      - Active context
      responses:
        '201':
          description: Created
        '400':
          description: 400 Bad Request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4AdminActiveContextDeadQueueReplayRequest"
  "/api/v4/admin/active_context/code/enabled_namespaces":
    put:
      operationId: putApiV4AdminActiveContextCodeEnabledNamespaces
      summary: Update enabled namespace state
      description: Transitions the indexing state of an enabled namespace to pending
        or ready.
      tags:
      - Active context
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAiActiveContextCodeEnabledNamespace"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4AdminActiveContextCodeEnabledNamespacesRequest"
  "/api/v4/admin_member_roles":
    get:
      operationId: getApiV4AdminMemberRoles
      summary: Get Admin Roles for this GitLab instance
      description: Retrieves all custom admin roles configured for the instance.
      tags:
      - Member roles
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMemberRole"
        '401':
          description: Unauthorized
      x-gitlab-tier: ultimate
    post:
      operationId: postApiV4AdminMemberRoles
      summary: Create Admin Role on the GitLab instance
      description: Creates a new custom admin role with specified permissions.
      tags:
      - Member roles
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMemberRole"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4AdminMemberRolesRequest"
      x-gitlab-tier: ultimate
  "/api/v4/admin_member_roles/{member_role_id}":
    delete:
      operationId: deleteApiV4AdminMemberRolesMemberRoleId
      summary: Delete Admin Role
      description: Deletes a specific custom admin role by its ID.
      tags:
      - Member roles
      responses:
        '204':
          description: 204 No Content
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: 404 Member Role Not Found
      parameters:
      - name: member_role_id
        required: true
        description: ID of the member role.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/groups/{id}/boards":
    post:
      operationId: postApiV4GroupsIdBoards
      summary: Create a group issue board
      description: Creates a group issue board for a specified group.
      tags:
      - Boards
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBoard"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdBoardsRequest"
      x-gitlab-tier: premium
    get:
      operationId: getApiV4GroupsIdBoards
      summary: List all group issue boards in a group
      description: Lists all group issue boards for a specified group.
      tags:
      - Boards
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBoard"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/groups/{id}/boards/{board_id}":
    delete:
      operationId: deleteApiV4GroupsIdBoardsBoardId
      summary: Delete a group issue board
      description: Deletes a specified group issue board.
      tags:
      - Boards
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBoard"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: board_id
        required: true
        description: ID of the board.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
    get:
      operationId: getApiV4GroupsIdBoardsBoardId
      summary: Retrieve a group issue board
      description: Retrieves a specified group issue board.
      tags:
      - Boards
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBoard"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: board_id
        required: true
        description: ID of the board.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4GroupsIdBoardsBoardId
      summary: Update a group issue board
      description: Updates a specified group issue board.
      tags:
      - Boards
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBoard"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: board_id
        required: true
        description: ID of the board.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdBoardsBoardIdRequest"
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow-artifacts/artifacts":
    get:
      operationId: getApiV4ProjectsIdMlMlflowApi20MlflowArtifactsArtifacts
      summary: MLflow artifact API
      description: MLflow artifacts mapping to GitLab artifacts
      tags:
      - MLOps
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: path
        required: false
        description: Model version ID, optionally followed by `/` and the path to
          the artifact, for example `15/MLmodel`.
        schema:
          type: string
          nullable: true
        in: query
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow-artifacts/artifacts/{model_version}/{file_path}":
    get:
      operationId: getApiV4ProjectsIdMlMlflowApi20MlflowArtifactsArtifactsModelVersionFilePath
      summary: Get MLflow artifact file
      description: Retrieves an MLflow artifact file
      tags:
      - MLOps
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: model_version
        required: true
        description: The model version
        schema:
          type: string
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: file_path
        required: true
        schema: {}
        in: path
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/registered-models/create":
    post:
      operationId: postApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsCreate
      summary: Creates a Registered Model.
      description: MLFlow Registered Models map to GitLab Models. https://mlflow.org/docs/2.19.0/rest-api.html#create-registeredmodel
      tags:
      - MLOps
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowRegisteredModel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsCreateRequest"
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/registered-models/get":
    get:
      operationId: getApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsGet
      summary: Fetch a Registered Model by Name
      description: https://www.mlflow.org/docs/2.19.0/rest-api.html#get-registeredmodel
      tags:
      - MLOps
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowRegisteredModel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: name
        required: false
        description: Name of the registered model.
        schema:
          type: string
          nullable: true
          default: ''
        in: query
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/registered-models/update":
    patch:
      operationId: patchApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsUpdate
      summary: Update a Registered Model by Name
      description: https://mlflow.org/docs/2.19.0/rest-api.html#update-registeredmodel
      tags:
      - MLOps
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowRegisteredModel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsUpdateRequest"
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/registered-models/get-latest-versions":
    post:
      operationId: postApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsGetLatestVersions
      summary: Fetch the latest Model Version for the given Registered Model Name
      description: https://mlflow.org/docs/2.19.0/rest-api.html#get-latest-modelversions
      tags:
      - MLOps
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowModelVersion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsGetLatestVersionsRequest"
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/registered-models/delete":
    delete:
      operationId: deleteApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsDelete
      summary: Delete a Registered Model by Name
      description: https://mlflow.org/docs/2.19.0/rest-api.html#delete-registeredmodel
      tags:
      - MLOps
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowRegisteredModel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: name
        required: false
        description: Name of the registered model.
        schema:
          type: string
          nullable: true
        in: query
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/registered-models/search":
    get:
      operationId: getApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsSearch
      summary: Search Registered Models within a project
      description: https://mlflow.org/docs/2.19.0/rest-api.html#search-registeredmodels
      tags:
      - MLOps
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowListRegisteredModels"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: filter
        required: false
        description: Filter for the model search, in the format `name='value'`. Only
          filtering by name is supported.
        schema:
          type: string
          nullable: true
        in: query
      - name: max_results
        required: false
        description: Maximum number of models to fetch in a page. The maximum is 1000.
        schema:
          type: integer
          nullable: true
          default: 200
        in: query
      - name: order_by
        required: false
        description: Column and direction to sort registered models by, for example
          `name`, `name DESC`, or `last_updated_timestamp DESC`. Supported columns
          are `name`, `created_at`, `updated_at`, `last_updated_timestamp` and `id`.
          A list uses its first entry. Sorting by model metadata is not supported.
        schema:
          oneOf:
          - type: string
            nullable: true
            default: name ASC
          - type: array
            items:
              type: string
            nullable: true
        in: query
      - name: page_token
        required: false
        description: Token for pagination.
        schema:
          type: string
          nullable: true
        in: query
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/registered-models/alias":
    get:
      operationId: getApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsAlias
      summary: Gets a Model Version by alias
      description: https://mlflow.org/docs/2.19.0/rest-api.html#get-model-version-by-alias
      tags:
      - MLOps
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: name
        required: false
        description: Name of the registered model.
        schema:
          type: string
          nullable: true
        in: query
      - name: alias
        required: false
        description: Alias of the model version, for example `1.0.0`.
        schema:
          type: string
          nullable: true
        in: query
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/runs/create":
    post:
      operationId: postApiV4ProjectsIdMlMlflowApi20MlflowRunsCreate
      summary: Creates a Run.
      description: MLFlow Runs map to GitLab Candidates. https://www.mlflow.org/docs/2.19.0/rest-api.html#create-run
      tags:
      - MLOps
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowRun"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMlMlflowApi20MlflowRunsCreateRequest"
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/runs/get":
    get:
      operationId: getApiV4ProjectsIdMlMlflowApi20MlflowRunsGet
      summary: Gets an MLFlow Run, which maps to GitLab Candidates
      description: https://www.mlflow.org/docs/1.28.0/rest-api.html#get-run
      tags:
      - MLOps
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowRun"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: run_id
        required: true
        description: UUID of the candidate.
        schema:
          type: string
          nullable: true
        in: query
      - name: run_uuid
        required: false
        description: Any value provided is ignored.
        schema:
          type: string
          nullable: true
        in: query
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/runs/search":
    post:
      operationId: postApiV4ProjectsIdMlMlflowApi20MlflowRunsSearch
      summary: Searches runs/candidates within a project
      description: https://www.mlflow.org/docs/2.19.0/rest-api.html#search-runsexperiment_ids
        supports only a single experiment ID.Introduced in GitLab 16.4
      tags:
      - MLOps
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowRun"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMlMlflowApi20MlflowRunsSearchRequest"
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/runs/update":
    post:
      operationId: postApiV4ProjectsIdMlMlflowApi20MlflowRunsUpdate
      summary: Updates a Run.
      description: MLFlow Runs map to GitLab Candidates. https://www.mlflow.org/docs/2.19.0/rest-api.html#update-run
      tags:
      - MLOps
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowUpdateRun"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMlMlflowApi20MlflowRunsUpdateRequest"
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/runs/log-metric":
    post:
      operationId: postApiV4ProjectsIdMlMlflowApi20MlflowRunsLogMetric
      summary: Logs a metric to a run.
      description: https://www.mlflow.org/docs/1.28.0/rest-api.html#log-metric
      tags:
      - MLOps
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMlMlflowApi20MlflowRunsLogMetricRequest"
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/runs/log-parameter":
    post:
      operationId: postApiV4ProjectsIdMlMlflowApi20MlflowRunsLogParameter
      summary: Logs a parameter to a run.
      description: https://www.mlflow.org/docs/2.19.0/rest-api.html#log-param
      tags:
      - MLOps
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMlMlflowApi20MlflowRunsLogParameterRequest"
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/runs/set-tag":
    post:
      operationId: postApiV4ProjectsIdMlMlflowApi20MlflowRunsSetTag
      summary: Sets a tag for a run.
      description: https://www.mlflow.org/docs/2.19.0/rest-api.html#set-tag
      tags:
      - MLOps
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMlMlflowApi20MlflowRunsSetTagRequest"
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/runs/log-batch":
    post:
      operationId: postApiV4ProjectsIdMlMlflowApi20MlflowRunsLogBatch
      summary: Logs multiple parameters and metrics.
      description: https://www.mlflow.org/docs/2.19.0/rest-api.html#log-param
      tags:
      - MLOps
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMlMlflowApi20MlflowRunsLogBatchRequest"
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/runs/delete":
    post:
      operationId: postApiV4ProjectsIdMlMlflowApi20MlflowRunsDelete
      summary: Delete a run.
      description: https://mlflow.org/docs/2.19.0/rest-api.html#delete-run
      tags:
      - MLOps
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMlMlflowApi20MlflowRunsDeleteRequest"
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/model-versions/create":
    post:
      operationId: postApiV4ProjectsIdMlMlflowApi20MlflowModelVersionsCreate
      summary: Creates a Model Version.
      description: MLFlow Model Versions map to GitLab Model Versions. https://mlflow.org/docs/2.19.0/rest-api.html#create-modelversion
      tags:
      - MLOps
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowModelVersion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMlMlflowApi20MlflowModelVersionsCreateRequest"
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/model-versions/get-download-uri":
    get:
      operationId: getApiV4ProjectsIdMlMlflowApi20MlflowModelVersionsGetDownloadUri
      summary: Fetch the download URI for the model version.
      description: Returns version in MLflow format "mlflow-artifacts:<version>" https://mlflow.org/docs/2.19.0/rest-api.html#get-download-uri-for-modelversion-artifacts
      tags:
      - MLOps
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowGetDownload"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: name
        required: true
        description: Name of the registered model.
        schema:
          type: string
          nullable: true
        in: query
      - name: version
        required: true
        description: ID of the model version.
        schema:
          type: integer
          nullable: true
        in: query
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/model-versions/get":
    get:
      operationId: getApiV4ProjectsIdMlMlflowApi20MlflowModelVersionsGet
      summary: Fetch model version by name and version
      description: https://mlflow.org/docs/2.19.0/rest-api.html#get-modelversion
      tags:
      - MLOps
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowModelVersion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: name
        required: true
        description: Name of the registered model.
        schema:
          type: string
          nullable: true
        in: query
      - name: version
        required: true
        description: Version of the model.
        schema:
          type: string
          nullable: true
        in: query
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/model-versions/update":
    patch:
      operationId: patchApiV4ProjectsIdMlMlflowApi20MlflowModelVersionsUpdate
      summary: Updates a Model Version.
      description: https://mlflow.org/docs/2.19.0/rest-api.html#update-modelversion
      tags:
      - MLOps
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowModelVersion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4ProjectsIdMlMlflowApi20MlflowModelVersionsUpdateRequest"
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/metrics/get-history":
    get:
      operationId: getApiV4ProjectsIdMlMlflowApi20MlflowMetricsGetHistory
      summary: Gets metric history for a run
      description: https://www.mlflow.org/docs/2.19.0/rest-api.html#get-metric-history
      tags:
      - MLOps
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowGetMetricHistory"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: run_id
        required: true
        description: UUID of the run.
        schema:
          type: string
          nullable: true
        in: query
      - name: metric_key
        required: true
        description: Name of the metric.
        schema:
          type: string
          nullable: true
        in: query
      - name: max_results
        required: false
        description: Maximum number of metrics to return.
        schema:
          type: integer
          nullable: true
          default: 1000
        in: query
      - name: page_token
        required: false
        description: Token for pagination.
        schema:
          type: string
          nullable: true
        in: query
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/experiments/get":
    get:
      operationId: getApiV4ProjectsIdMlMlflowApi20MlflowExperimentsGet
      summary: Fetch experiment by experiment_id
      description: https://www.mlflow.org/docs/2.19.0/rest-api.html#get-experiment
      tags:
      - MLOps
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowGetExperiment"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: experiment_id
        required: false
        description: ID of the experiment, relative to the project.
        schema:
          type: string
          nullable: true
          default: ''
        in: query
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/experiments/get-by-name":
    get:
      operationId: getApiV4ProjectsIdMlMlflowApi20MlflowExperimentsGetByName
      summary: Fetch experiment by experiment_name
      description: https://www.mlflow.org/docs/2.19.0/rest-api.html#get-experiment-by-name
      tags:
      - MLOps
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowGetExperiment"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: experiment_name
        required: false
        description: Name of the experiment.
        schema:
          type: string
          nullable: true
          default: ''
        in: query
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/experiments/list":
    get:
      operationId: getApiV4ProjectsIdMlMlflowApi20MlflowExperimentsList
      summary: List experiments
      description: https://mlflow.org/docs/1.28.0/rest-api.html#list-experiments
      tags:
      - MLOps
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowListExperiment"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: max_results
        required: false
        description: Maximum number of experiments to fetch in a page. The maximum
          is 1000.
        schema:
          type: integer
          nullable: true
          default: 1000
        in: query
      - name: page_token
        required: false
        description: Token for pagination.
        schema:
          type: string
          nullable: true
        in: query
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/experiments/search":
    post:
      operationId: postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsSearch
      summary: Search experiments
      description: https://www.mlflow.org/docs/2.19.0/rest-api.html#search-experiments
      tags:
      - MLOps
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowListExperiment"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsSearchRequest"
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/experiments/create":
    post:
      operationId: postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsCreate
      summary: Create experiment
      description: https://www.mlflow.org/docs/2.19.0/rest-api.html#create-experiment
      tags:
      - MLOps
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowNewExperiment"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsCreateRequest"
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/experiments/set-experiment-tag":
    post:
      operationId: postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsSetExperimentTag
      summary: Sets a tag for an experiment.
      description: https://www.mlflow.org/docs/2.19.0/rest-api.html#set-experiment-tag
      tags:
      - MLOps
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsSetExperimentTagRequest"
  "/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/experiments/delete":
    post:
      operationId: postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsDelete
      summary: Delete an experiment.
      description: https://mlflow.org/docs/2.19.0/rest-api.html#delete-experiment
      tags:
      - MLOps
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsDeleteRequest"
  "/api/v4/vscode/settings_sync/v1/manifest":
    get:
      operationId: getApiV4VscodeSettingsSyncV1Manifest
      summary: Retrieve the settings manifest for Settings Sync
      description: Retrieves the manifest of the settings stored for VS Code Settings
        Sync.
      tags:
      - VSCode
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIVsCodeSettingsEntitiesVsCodeManifest"
        '401':
          description: 401 Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
  "/api/v4/vscode/settings_sync/{settings_context_hash}/v1/manifest":
    get:
      operationId: getApiV4VscodeSettingsSyncSettingsContextHashV1Manifest
      summary: Retrieve the settings manifest for Settings Sync
      description: Retrieves the manifest of the settings stored for VS Code Settings
        Sync.
      tags:
      - VSCode
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIVsCodeSettingsEntitiesVsCodeManifest"
        '401':
          description: 401 Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: settings_context_hash
        required: true
        description: Settings context hash.
        schema:
          type: string
        in: path
  "/api/v4/vscode/settings_sync/v1/resource/{resource_name}/{id}":
    get:
      operationId: getApiV4VscodeSettingsSyncV1ResourceResourceNameId
      summary: Retrieve a specific setting resource
      description: Retrieves a single VS Code setting resource. Returns 204 when the
        resource does not exist.
      tags:
      - VSCode
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIVsCodeSettingsEntitiesVsCodeSetting"
        '204':
          description: No content
        '400':
          description: 400 bad request
        '401':
          description: 401 Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: resource_name
        required: true
        description: Name of the resource such as settings.
        schema:
          type: string
          enum:
          - settings
          - extensions
          - globalState
          - machines
          - keybindings
          - snippets
          - tasks
          - profiles
          minLength: 1
        in: path
      - name: id
        required: true
        description: ID of the resource to retrieve.
        schema:
          type: string
        in: path
  "/api/v4/vscode/settings_sync/{settings_context_hash}/v1/resource/{resource_name}/{id}":
    get:
      operationId: getApiV4VscodeSettingsSyncSettingsContextHashV1ResourceResourceNameId
      summary: Retrieve a specific setting resource
      description: Retrieves a single VS Code setting resource. Returns 204 when the
        resource does not exist.
      tags:
      - VSCode
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIVsCodeSettingsEntitiesVsCodeSetting"
        '204':
          description: No content
        '400':
          description: 400 bad request
        '401':
          description: 401 Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: settings_context_hash
        required: true
        description: Settings context hash.
        schema:
          type: string
        in: path
      - name: resource_name
        required: true
        description: Name of the resource such as settings.
        schema:
          type: string
          enum:
          - settings
          - extensions
          - globalState
          - machines
          - keybindings
          - snippets
          - tasks
          - profiles
          minLength: 1
        in: path
      - name: id
        required: true
        description: ID of the resource to retrieve.
        schema:
          type: string
        in: path
  "/api/v4/vscode/settings_sync/v1/resource/{resource_name}":
    get:
      operationId: getApiV4VscodeSettingsSyncV1ResourceResourceName
      summary: List all references to a VS Code setting resource
      description: Lists all references to the stored versions of a VS Code setting
        resource.
      tags:
      - VSCode
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIVsCodeSettingsEntitiesVsCodeSettingReference"
        '400':
          description: 400 bad request
        '401':
          description: 401 Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: resource_name
        required: true
        description: Name of the resource such as settings.
        schema:
          type: string
          enum:
          - settings
          - extensions
          - globalState
          - machines
          - keybindings
          - snippets
          - tasks
          - profiles
          minLength: 1
        in: path
    post:
      operationId: postApiV4VscodeSettingsSyncV1ResourceResourceName
      summary: Create or update a specific setting
      description: Creates a VS Code setting resource, or updates it if it already
        exists.
      tags:
      - VSCode
      responses:
        '200':
          description: OK
        '400':
          description: Bad request
        '401':
          description: 401 Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: resource_name
        required: true
        description: Name of the resource such as settings.
        schema:
          type: string
          enum:
          - settings
          - extensions
          - globalState
          - machines
          - keybindings
          - snippets
          - tasks
          - profiles
          minLength: 1
        in: path
  "/api/v4/vscode/settings_sync/{settings_context_hash}/v1/resource/{resource_name}":
    get:
      operationId: getApiV4VscodeSettingsSyncSettingsContextHashV1ResourceResourceName
      summary: List all references to a VS Code setting resource
      description: Lists all references to the stored versions of a VS Code setting
        resource.
      tags:
      - VSCode
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIVsCodeSettingsEntitiesVsCodeSettingReference"
        '400':
          description: 400 bad request
        '401':
          description: 401 Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: settings_context_hash
        required: true
        description: Settings context hash.
        schema:
          type: string
        in: path
      - name: resource_name
        required: true
        description: Name of the resource such as settings.
        schema:
          type: string
          enum:
          - settings
          - extensions
          - globalState
          - machines
          - keybindings
          - snippets
          - tasks
          - profiles
          minLength: 1
        in: path
    post:
      operationId: postApiV4VscodeSettingsSyncSettingsContextHashV1ResourceResourceName
      summary: Create or update a specific setting
      description: Creates a VS Code setting resource, or updates it if it already
        exists.
      tags:
      - VSCode
      responses:
        '200':
          description: OK
        '400':
          description: Bad request
        '401':
          description: 401 Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: settings_context_hash
        required: true
        description: Settings context hash.
        schema:
          type: string
        in: path
      - name: resource_name
        required: true
        description: Name of the resource such as settings.
        schema:
          type: string
          enum:
          - settings
          - extensions
          - globalState
          - machines
          - keybindings
          - snippets
          - tasks
          - profiles
          minLength: 1
        in: path
  "/api/v4/vscode/settings_sync/v1/collection":
    delete:
      operationId: deleteApiV4VscodeSettingsSyncV1Collection
      summary: Delete all VS Code setting resources for a user
      description: Deletes all VS Code setting resources of the current user.
      tags:
      - VSCode
      responses:
        '200':
          description: OK
        '401':
          description: 401 Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
  "/api/v4/vscode/settings_sync/{settings_context_hash}/v1/collection":
    delete:
      operationId: deleteApiV4VscodeSettingsSyncSettingsContextHashV1Collection
      summary: Delete all VS Code setting resources for a user
      description: Deletes all VS Code setting resources of the current user.
      tags:
      - VSCode
      responses:
        '200':
          description: OK
        '401':
          description: 401 Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: settings_context_hash
        required: true
        description: Settings context hash.
        schema:
          type: string
        in: path
  "/api/v4/users/{id}/custom_attributes":
    get:
      operationId: getApiV4UsersIdCustomAttributes
      summary: List all custom attributes for a user
      description: Lists all custom attributes for a specified user.
      tags:
      - Custom attributes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the user.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/users/{id}/custom_attributes/{key}":
    get:
      operationId: getApiV4UsersIdCustomAttributesKey
      summary: Retrieve a custom attribute for a user
      description: Retrieves a specified custom attribute for a user.
      tags:
      - Custom attributes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: key
        required: true
        description: Key of the custom attribute.
        schema:
          type: string
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the user.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
    put:
      operationId: putApiV4UsersIdCustomAttributesKey
      summary: Creates or updates a custom attribute for a user
      description: Creates or updates a custom attribute for a specified user. If
        the attribute already exists, it is updated, otherwise a new attribute is
        created.
      tags:
      - Custom attributes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: key
        required: true
        description: Key of the custom attribute.
        schema:
          type: string
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the user.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4UsersIdCustomAttributesKeyRequest"
    delete:
      operationId: deleteApiV4UsersIdCustomAttributesKey
      summary: Delete a custom attribute for a user
      description: Deletes a specified custom attribute for a user.
      tags:
      - Custom attributes
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: key
        required: true
        description: Key of the custom attribute.
        schema:
          type: string
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the user.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/users/{id}/support_pin":
    get:
      operationId: getApiV4UsersIdSupportPin
      summary: Retrieve a Support PIN for a user
      description: Retrieves a Support PIN for a specified user. GitLab Support may
        ask for this PIN to validate your identity. Administrators only. This feature
        was introduced in GitLab 17.8.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserSupportPin"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
  "/api/v4/users/{id}/support_pin/revoke":
    post:
      operationId: postApiV4UsersIdSupportPinRevoke
      summary: Revoke a Support PIN for a user
      description: Revokes a Support PIN for a specified user before its natural expiration.
        This immediately expires and removes the PIN. Administrators only. This feature
        was introduced in GitLab 17.11.
      tags:
      - Users
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
  "/api/v4/users":
    get:
      operationId: getApiV4Users
      summary: List all users
      description: Lists all users on the instance. This endpoint supports keyset
        pagination. By default, offset pagination is limited to 50,000 results. Use
        keyset pagination to retrieve more. Only administrators and auditors can use
        the `created_after`, `created_before`, `two_factor`, and `without_projects`
        parameters. For other users, these parameters are ignored.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesUserBasic"
        '400':
          description: Bad Request
      parameters:
      - name: username
        required: false
        description: Return a single user with the specified username. The match is
          case-insensitive.
        schema:
          type: string
          nullable: true
        in: query
      - name: extern_uid
        required: false
        description: Return a single user with the specified external authentication
          provider UID. Use with `provider`. Administrators only. All or none of `extern_uid`,
          `provider` must be provided.
        schema:
          type: string
          nullable: true
        in: query
      - name: public_email
        required: false
        description: Return a single user with the specified public email.
        schema:
          type: string
          nullable: true
        in: query
      - name: provider
        required: false
        description: Name of the external authentication provider. The `scim` provider
          is available in Premium and Ultimate only. All or none of `extern_uid`,
          `provider` must be provided.
        schema:
          type: string
          nullable: true
        in: query
      - name: search
        required: false
        description: Search for users by name, username, or public email. Administrators
          can also search private email addresses. Email matches must be exact. Name
          and username matches are fuzzy.
        schema:
          type: string
          nullable: true
        in: query
      - name: active
        required: false
        description: If `true`, returns only active users. `false` has no effect.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: humans
        required: false
        description: If `true`, returns only regular users that are not bot or internal
          users.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: external
        required: false
        description: If `true`, returns only external users. `false` has no effect.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: blocked
        required: false
        description: If `true`, returns only blocked users. `false` has no effect.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: created_after
        required: false
        description: Return users created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: created_before
        required: false
        description: Return users created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: without_projects
        required: false
        description: If `true`, returns only users that do not have any projects.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: without_project_bots
        required: false
        description: If `true`, excludes bot users for projects and groups from the
          results.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: admins
        required: false
        description: If `true`, returns only administrators.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: two_factor
        required: false
        description: Filter users by two-factor authentication. Possible values are
          `enabled` and `disabled`. By default, returns all users.
        schema:
          type: string
          nullable: true
        in: query
      - name: exclude_active
        required: false
        description: If `true`, returns only users that are not active.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: exclude_external
        required: false
        description: If `true`, returns only users that are not external.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: exclude_humans
        required: false
        description: If `true`, returns only bot or internal users.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: exclude_internal
        required: false
        description: If `true`, returns only users that are not internal. Internal
          users include the alert bot and the support bot. Bot users for projects
          and groups are not excluded.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: order_by
        required: false
        description: Sort results by the specified field. Default is `id`.
        schema:
          type: string
          enum:
          - id
          - name
          - username
          - created_at
          - updated_at
          nullable: true
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order. Default is `desc`.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: with_custom_attributes
        required: false
        description: If `true`, includes [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          in the response. Administrators only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: custom_attributes
        required: false
        description: Filter by [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          that match all of the specified key and value pairs. Administrators only.
        schema:
          type: object
          nullable: true
        in: query
      - name: skip_ldap
        required: false
        description: If `true`, excludes LDAP users from the results.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: auditors
        required: false
        description: If `true`, returns only auditor users. Premium and Ultimate only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
    post:
      operationId: postApiV4Users
      summary: Create a user
      description: Creates a user. If `private_profile` is not set, it defaults to
        the instance setting for new user profiles. If `bio` is not set, it defaults
        to an empty string. Administrators only.
      tags:
      - Users
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserWithAdmin"
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4UsersRequest"
  "/api/v4/users/{id}":
    get:
      operationId: getApiV4UsersId
      summary: Retrieve a user
      description: Retrieves a specified user. Requires authentication. Administrators
        and auditors see more attributes in the response.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserProfile"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      - name: with_custom_attributes
        required: false
        description: If `true`, includes [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          in the response. Administrators only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: custom_attributes
        required: false
        description: Filter by [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          that match all of the specified key and value pairs. Administrators only.
        schema:
          type: object
          nullable: true
        in: query
    put:
      operationId: putApiV4UsersId
      summary: Update a user
      description: Updates the details of a specified user. If an administrator updates
        the password of another user, that user must change it when they next sign
        in. Administrators only. If `email` is a confirmed secondary email address
        of the user, it becomes the primary email address at once. Any other address
        is stored as unconfirmed and becomes the primary email address only after
        the user confirms it, unless `skip_reconfirmation` is `true`.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserWithAdmin"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4UsersIdRequest"
    delete:
      operationId: deleteApiV4UsersId
      summary: Delete a user
      description: Deletes a user. Administrators only.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEmail"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      - name: hard_delete
        required: false
        description: If `true`, contributions that would usually be [moved to a ghost
          user](https://docs.gitlab.com/user/profile/account/delete_account/#associated-records)
          are deleted instead, along with groups owned solely by this user.
        schema:
          type: boolean
          nullable: true
        in: query
  "/api/v4/users/{user_id}/status":
    get:
      operationId: getApiV4UsersUserIdStatus
      summary: Retrieve the status of a user
      description: Retrieves the status of a user. You can access this endpoint without
        authentication.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserStatus"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: user_id
        required: true
        description: ID or username of the user.
        schema:
          type: string
        in: path
  "/api/v4/users/{id}/follow":
    post:
      operationId: postApiV4UsersIdFollow
      summary: Follow a user
      description: Follows a specified user account.
      tags:
      - Users
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUser"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
  "/api/v4/users/{id}/unfollow":
    post:
      operationId: postApiV4UsersIdUnfollow
      summary: Unfollow a user
      description: Unfollows a specified user account.
      tags:
      - Users
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUser"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
  "/api/v4/users/{id}/following":
    get:
      operationId: getApiV4UsersIdFollowing
      summary: List all accounts followed by a user
      description: Lists all user accounts being followed by a specified user.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesUserBasic"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/users/{id}/followers":
    get:
      operationId: getApiV4UsersIdFollowers
      summary: List all accounts that follow a user
      description: Lists all user accounts that follow a specified user.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesUserBasic"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/users/{id}/disable_two_factor":
    patch:
      operationId: patchApiV4UsersIdDisableTwoFactor
      summary: Disable two-factor authentication for a user
      description: Disables two-factor authentication for a specified user account.
        Two-factor authentication cannot be disabled for administrators, including
        your own account. Administrators only.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserWithAdmin"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
  "/api/v4/users/{id}/identities/{provider}":
    delete:
      operationId: deleteApiV4UsersIdIdentitiesProvider
      summary: Delete authentication identity from a user
      description: Deletes a user authentication identity using the provider name
        associated with that identity. Administrators only.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserWithAdmin"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      - name: provider
        required: true
        description: Name of the external authentication provider.
        schema:
          type: string
        in: path
  "/api/v4/users/{user_id}/project_deploy_keys":
    get:
      operationId: getApiV4UsersUserIdProjectDeployKeys
      summary: List all project deploy keys for a user
      description: Lists all project deploy keys accessible to a specified user. Only
        keys enabled in projects common to the specified user and the authenticated
        user are listed, where both have at least the Maintainer role.
      tags:
      - Deploy resources
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDeployKey"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: user_id
        required: true
        description: ID or username of the user.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/users/{user_id}/keys":
    post:
      operationId: postApiV4UsersUserIdKeys
      summary: Add an SSH key for a user
      description: Adds an SSH key for a specified user account. This also adds an
        audit event. If the key or its fingerprint is already in use, returns a validation
        error with the message `has already been taken`. Administrators only.
      tags:
      - Keys
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSSHKey"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: user_id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4UsersUserIdKeysRequest"
    get:
      operationId: getApiV4UsersUserIdKeys
      summary: List all SSH keys for a user
      description: Lists all SSH keys for a specified user account. This endpoint
        does not require authentication.
      tags:
      - Keys
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesSSHKey"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: user_id
        required: true
        description: ID or username of the user.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/users/{id}/keys/{key_id}":
    get:
      operationId: getApiV4UsersIdKeysKeyId
      summary: Retrieve an SSH key for a user
      description: Retrieves an SSH key for a specified user account. This endpoint
        does not require authentication.
      tags:
      - Keys
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSSHKey"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      - name: key_id
        required: true
        description: ID of the SSH key.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4UsersIdKeysKeyId
      summary: Delete an SSH key for a user
      description: Deletes an SSH key from a specified user account. Administrators
        only.
      tags:
      - Keys
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSSHKey"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      - name: key_id
        required: true
        description: ID of the SSH key.
        schema:
          type: integer
        in: path
  "/api/v4/users/{id}/gpg_keys":
    post:
      operationId: postApiV4UsersIdGpgKeys
      summary: Add a GPG key for a user
      description: Adds a GPG key for a specified user account. Administrators only.
      tags:
      - Keys
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGpgKey"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4UsersIdGpgKeysRequest"
    get:
      operationId: getApiV4UsersIdGpgKeys
      summary: List all GPG keys for a user
      description: Lists all GPG keys for a specified user account. This endpoint
        does not require authentication.
      tags:
      - Keys
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesGpgKey"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/users/{id}/gpg_keys/{key_id}":
    get:
      operationId: getApiV4UsersIdGpgKeysKeyId
      summary: Retrieve a GPG key for a user
      description: Retrieves a GPG key for a specified user account. This endpoint
        does not require authentication.
      tags:
      - Keys
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGpgKey"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      - name: key_id
        required: true
        description: ID of the GPG key.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4UsersIdGpgKeysKeyId
      summary: Delete a GPG key for a user
      description: Deletes a GPG key from a specified user account. Administrators
        only.
      tags:
      - Keys
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      - name: key_id
        required: true
        description: ID of the GPG key.
        schema:
          type: integer
        in: path
  "/api/v4/users/{id}/gpg_keys/{key_id}/revoke":
    post:
      operationId: postApiV4UsersIdGpgKeysKeyIdRevoke
      summary: Revoke a GPG key for a user.
      description: Deletes a GPG key from a specified user account. Administrators
        only.
      tags:
      - Keys
      responses:
        '202':
          description: Accepted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      - name: key_id
        required: true
        description: ID of the GPG key.
        schema:
          type: integer
        in: path
  "/api/v4/users/{id}/emails":
    post:
      operationId: postApiV4UsersIdEmails
      summary: Add an email address for a user
      description: Adds an email address for a specified user account. Administrators
        only.
      tags:
      - Users
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEmail"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4UsersIdEmailsRequest"
    get:
      operationId: getApiV4UsersIdEmails
      summary: List all email addresses for a user
      description: Lists all email addresses for a specified user account. Administrators
        only.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesEmail"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/users/{id}/emails/{email_id}":
    delete:
      operationId: deleteApiV4UsersIdEmailsEmailId
      summary: Delete an email address for a user
      description: Deletes a specified email address for a user account. You cannot
        delete a primary email address. Administrators only.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEmail"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      - name: email_id
        required: true
        description: ID of the email.
        schema:
          type: integer
        in: path
  "/api/v4/users/{id}/activate":
    post:
      operationId: postApiV4UsersIdActivate
      summary: Reactivate a user
      description: Reactivates a specified user account that was previously deactivated.
        Administrators only.
      tags:
      - Users
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
  "/api/v4/users/{id}/approve":
    post:
      operationId: postApiV4UsersIdApprove
      summary: Approve access to a user
      description: Approves access to a specified user account that is pending approval.
        If the user is not pending approval, returns the message `The user you are
        trying to approve is not pending approval`. Administrators only.
      tags:
      - Users
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
  "/api/v4/users/{id}/reject":
    post:
      operationId: postApiV4UsersIdReject
      summary: Reject access to a user
      description: Rejects access to a specified user account that is pending approval.
        If the user is not pending approval, returns the message `User does not have
        a pending request`. Administrators only.
      tags:
      - Users
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
  "/api/v4/users/{id}/deactivate":
    post:
      operationId: postApiV4UsersIdDeactivate
      summary: Deactivate a user
      description: Deactivates a specified user account. A user cannot be deactivated
        if they are blocked by an administrator or by LDAP synchronization, are banned
        or pending approval, are not dormant, or are an internal user. Administrators
        only.
      tags:
      - Users
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
  "/api/v4/users/{id}/block":
    post:
      operationId: postApiV4UsersIdBlock
      summary: Block access to a user
      description: Blocks a specified user account. A user cannot be blocked if they
        are blocked through LDAP, are an internal user, or are the user making the
        request. Administrators only.
      tags:
      - Users
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
  "/api/v4/users/{id}/unblock":
    post:
      operationId: postApiV4UsersIdUnblock
      summary: Unblock access to a user
      description: Unblocks a specified user account that was previously blocked.
        Administrators only.
      tags:
      - Users
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
  "/api/v4/users/{id}/ban":
    post:
      operationId: postApiV4UsersIdBan
      summary: Ban a user
      description: Bans a specified user account. Administrators only.
      tags:
      - Users
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
  "/api/v4/users/{id}/unban":
    post:
      operationId: postApiV4UsersIdUnban
      summary: Unban a user
      description: Unbans a specified user account that was previously banned. Administrators
        only.
      tags:
      - Users
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
  "/api/v4/users/{user_id}/memberships":
    get:
      operationId: getApiV4UsersUserIdMemberships
      summary: List all project and group memberships for a user
      description: Lists all project and group memberships for a specified user. Only
        direct memberships are returned. Inherited memberships, for example in subgroups,
        are not included. Administrators only.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMembership"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: user_id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      - name: type
        required: false
        description: Filter memberships by type.
        schema:
          type: string
          enum:
          - Project
          - Namespace
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/users/{id}/associations_count":
    get:
      operationId: getApiV4UsersIdAssociationsCount
      summary: Retrieve association counts for a user
      description: Retrieves the number of groups, projects, issues, and merge requests
        associated with a specified user. Administrators can query any user. Other
        users can query only themselves.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserAssociationsCount"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
  "/api/v4/users/{user_id}/impersonation_tokens":
    get:
      operationId: getApiV4UsersUserIdImpersonationTokens
      summary: List all impersonation tokens for a user
      description: Lists all impersonation tokens for a specified user. Administrators
        only. The `last_used_ips` attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/242819)
        in GitLab 19.2 and made generally available in GitLab 19.4. The `granular_scopes`
        attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/632315)
        in GitLab 19.5.
      tags:
      - Access tokens
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesImpersonationToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: user_id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: revoked
        required: false
        description: If `true`, only returns revoked tokens. If `false`, only returns
          tokens that are not revoked.
        schema:
          type: boolean
          nullable: true
        in: query
        example: false
      - name: state
        required: false
        description: Return tokens with the specified state. `all` returns tokens
          in any state.
        schema:
          type: string
          enum:
          - all
          - active
          - inactive
          nullable: true
        in: query
        example: active
      - name: created_before
        required: false
        description: Return tokens created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2022-01-01T00:00:00Z'
      - name: created_after
        required: false
        description: Return tokens created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-01-01T00:00:00Z'
      - name: last_used_before
        required: false
        description: Return tokens last used on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-01-01T00:00:00Z'
      - name: last_used_after
        required: false
        description: Return tokens last used on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2022-01-01T00:00:00Z'
      - name: expires_before
        required: false
        description: Return tokens that expire before the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
        example: '2022-01-01'
      - name: expires_after
        required: false
        description: Return tokens that expire on or after the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
        example: '2021-01-01'
      - name: search
        required: false
        description: Return tokens that include the specified value in their name.
        schema:
          type: string
          nullable: true
        in: query
        example: token
      - name: sort
        required: false
        description: Sort results by the specified field and direction. Possible values
          are `created_asc`, `created_desc`, `expires_asc`, `expires_desc`, `last_used_asc`,
          `last_used_desc`, `name_asc`, and `name_desc`.
        schema:
          type: string
          nullable: true
        in: query
        example: created_desc
    post:
      operationId: postApiV4UsersUserIdImpersonationTokens
      summary: Create an impersonation token
      description: Creates an impersonation token for a specified user. These tokens
        are used to act on behalf of a user and can perform API calls as well as Git
        read and write actions. These tokens are not visible to the associated user
        on their profile settings page. To create a fine-grained impersonation token,
        use `granular_scopes` instead of `scopes`. The scopes in `granular_scopes`
        apply to the user the token is for. With `selected_memberships`, that user
        must have access to each group and project listed. Either `scopes` or `granular_scopes`
        is required. Token values are included with the response, but cannot be retrieved
        later. Administrators only. The `last_used_ips` attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/242819)
        in GitLab 19.2 and made generally available in GitLab 19.4. The `granular_scopes`
        parameter was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/243990)
        in GitLab 19.2, and the `granular_scopes` attribute in the response was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/632315)
        in GitLab 19.5.
      tags:
      - Access tokens
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesImpersonationTokenWithToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: user_id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4UsersUserIdImpersonationTokensRequest"
  "/api/v4/users/{user_id}/impersonation_tokens/{impersonation_token_id}":
    get:
      operationId: getApiV4UsersUserIdImpersonationTokensImpersonationTokenId
      summary: Retrieve an impersonation token for a user
      description: Retrieves an impersonation token for a specified user. Administrators
        only. The `last_used_ips` attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/242819)
        in GitLab 19.2 and made generally available in GitLab 19.4. The `granular_scopes`
        attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/632315)
        in GitLab 19.5.
      tags:
      - Access tokens
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesImpersonationToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: user_id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      - name: impersonation_token_id
        required: true
        description: ID of the impersonation token.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4UsersUserIdImpersonationTokensImpersonationTokenId
      summary: Revoke an impersonation token
      description: Revokes an impersonation token for a specified user. Administrators
        only.
      tags:
      - Access tokens
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: user_id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      - name: impersonation_token_id
        required: true
        description: ID of the impersonation token.
        schema:
          type: integer
        in: path
  "/api/v4/users/{user_id}/personal_access_tokens":
    post:
      operationId: postApiV4UsersUserIdPersonalAccessTokens
      summary: Create a personal access token for a user
      description: Creates a personal access token for a user. To create a fine-grained
        personal access token, use `granular_scopes` instead of `scopes`. The scopes
        in `granular_scopes` apply to the user the token is for. With `selected_memberships`,
        that user must have access to each group and project listed. Token values
        are included with the response, but cannot be retrieved later. Administrators
        only. The `last_used_ips` attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/250307)
        in GitLab 19.4. The `granular_scopes` attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/630541)
        in GitLab 19.6.
      tags:
      - Access tokens
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPersonalAccessTokenWithToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: user_id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4UsersUserIdPersonalAccessTokensRequest"
  "/api/v4/user":
    get:
      operationId: getApiV4User
      summary: Retrieve current user details
      description: Retrieves details about your user account.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserPublic"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
  "/api/v4/user/keys":
    get:
      operationId: getApiV4UserKeys
      summary: List all SSH keys
      description: Lists all SSH keys for the currently authenticated user.
      tags:
      - Keys
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesSSHKey"
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4UserKeys
      summary: Add an SSH key
      description: Adds an SSH key for the currently authenticated user. If the key
        or its fingerprint is already in use, returns a validation error with the
        message `has already been taken`.
      tags:
      - Keys
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSSHKey"
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4UserKeysRequest"
  "/api/v4/user/keys/{key_id}":
    get:
      operationId: getApiV4UserKeysKeyId
      summary: Retrieve an SSH key
      description: Retrieves a specified SSH key for the currently authenticated user.
      tags:
      - Keys
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSSHKey"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: key_id
        required: true
        description: ID of the SSH key.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4UserKeysKeyId
      summary: Delete an SSH key
      description: Deletes a specified SSH key from the currently authenticated user.
      tags:
      - Keys
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSSHKey"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: key_id
        required: true
        description: ID of the SSH key.
        schema:
          type: integer
        in: path
  "/api/v4/user/gpg_keys":
    get:
      operationId: getApiV4UserGpgKeys
      summary: List all GPG keys
      description: Lists all GPG keys for the currently authenticated user.
      tags:
      - Keys
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesGpgKey"
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4UserGpgKeys
      summary: Add a GPG key
      description: Adds a GPG key for the currently authenticated user.
      tags:
      - Keys
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGpgKey"
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4UserGpgKeysRequest"
  "/api/v4/user/gpg_keys/{key_id}":
    get:
      operationId: getApiV4UserGpgKeysKeyId
      summary: Retrieve a GPG key
      description: Retrieves a GPG key for the currently authenticated user.
      tags:
      - Keys
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGpgKey"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: key_id
        required: true
        description: ID of the GPG key.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4UserGpgKeysKeyId
      summary: Delete a GPG key
      description: Deletes a GPG key from your user account.
      tags:
      - Keys
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: key_id
        required: true
        description: ID of the GPG key.
        schema:
          type: integer
        in: path
  "/api/v4/user/gpg_keys/{key_id}/revoke":
    post:
      operationId: postApiV4UserGpgKeysKeyIdRevoke
      summary: Revoke a GPG key
      description: This feature was added in GitLab 10.0
      tags:
      - Keys
      responses:
        '202':
          description: Accepted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: key_id
        required: true
        description: ID of the GPG key.
        schema:
          type: integer
        in: path
  "/api/v4/user/emails":
    get:
      operationId: getApiV4UserEmails
      summary: List all email addresses for a user
      description: Lists all email addresses for the currently authenticated user.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesEmail"
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4UserEmails
      summary: Add an email address
      description: Adds an email address for the currently authenticated user. If
        the email address is already in use, returns a validation error with the message
        `has already been taken`.
      tags:
      - Users
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEmail"
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4UserEmailsRequest"
  "/api/v4/user/{user_id}/credit_card_validation":
    put:
      operationId: putApiV4UserUserIdCreditCardValidation
      summary: Update a user's credit_card_validation
      description: Deprecated in 17.7
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserCreditCardValidations"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      deprecated: true
      parameters:
      - name: user_id
        required: true
        description: ID or username of the user.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4UserUserIdCreditCardValidationRequest"
  "/api/v4/user/support_pin":
    post:
      operationId: postApiV4UserSupportPin
      summary: Create a Support PIN
      description: Creates a Support PIN for your user account. The PIN expires seven
        days after creation. GitLab Support may ask for this PIN to validate your
        identity. This feature was introduced in GitLab 17.8.
      tags:
      - Users
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserSupportPin"
        '400':
          description: Bad Request
    get:
      operationId: getApiV4UserSupportPin
      summary: Retrieve Support PIN
      description: Retrieves a Support PIN for the currently authenticated user. GitLab
        Support may ask for this PIN to validate your identity. This feature was introduced
        in GitLab 17.8.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserSupportPin"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
  "/api/v4/user/preferences":
    put:
      operationId: putApiV4UserPreferences
      summary: Update your user preferences
      description: Updates your user preferences.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserPreferences"
        '400':
          description: Bad Request
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4UserPreferencesRequest"
    get:
      operationId: getApiV4UserPreferences
      summary: Retrieve your user preferences
      description: Retrieves your user preferences.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserPreferences"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
  "/api/v4/user/emails/{email_id}":
    get:
      operationId: getApiV4UserEmailsEmailId
      summary: Retrieve details on an email address
      description: Retrieves details on a specified email address for the currently
        authenticated user.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEmail"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: email_id
        required: true
        description: ID of the email.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4UserEmailsEmailId
      summary: Delete an email address
      description: Deletes the specified email address. You cannot delete a primary
        email address. Any future emails sent to the deleted email address are sent
        to the primary email address instead.
      tags:
      - Users
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: email_id
        required: true
        description: ID of the email.
        schema:
          type: integer
        in: path
  "/api/v4/user/activities":
    get:
      operationId: getApiV4UserActivities
      summary: List all activity for a user
      description: Lists the last activity date of users, sorted from oldest to newest.
        By default, lists users active in the last six months. Use `from` to change
        the start date. Only users with public profiles are listed, unless you are
        an administrator or auditor.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesUserActivity"
        '400':
          description: Bad Request
      parameters:
      - name: from
        required: false
        description: Date string in the format `YEAR-MM-DD`, for example `2016-03-11`.
          Default is six months ago.
        schema:
          type: string
          format: date-time
          nullable: true
          default: '2024-08-14T17:26:19.883Z'
        in: query
        example: '2024-08-14T17:26:19.883Z'
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/user/status":
    put:
      operationId: putApiV4UserStatus
      summary: Set a user status
      description: Sets the status of the currently authenticated user. Any parameters
        that are not passed are nullified. This operation is similar but distinct
        from the Update a user status operation.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserStatus"
        '400':
          description: Bad Request
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4UserStatusRequest"
    patch:
      operationId: patchApiV4UserStatus
      summary: Update a user status
      description: Sets the status of the currently authenticated user. Any parameters
        that are not passed are ignored. To clear a field, pass `null` explicitly.
        This operation is similar but distinct from the Set a user status operation.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserStatus"
        '400':
          description: Bad Request
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4UserStatusRequest"
    get:
      operationId: getApiV4UserStatus
      summary: Retrieve your user status
      description: Retrieves your user status.
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserStatus"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
  "/api/v4/user/avatar":
    put:
      operationId: putApiV4UserAvatar
      summary: Upload an avatar
      description: Uploads an avatar for the currently authenticated user. The file
        must be 200 KB or smaller. The ideal image size is 192 x 192 pixels. Supported
        file types are `.bmp`, `.gif`, `.ico`, `.jpeg`, `.jpg`, `.png`, `.tiff`, and
        `.webp`. This feature was introduced in GitLab 17.0.
      tags:
      - Avatars
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAvatar"
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4UserAvatarRequest"
  "/api/v4/user/personal_access_tokens":
    post:
      operationId: postApiV4UserPersonalAccessTokens
      summary: Create a personal access token
      description: Creates a personal access token for the currently authenticated
        user. To create a fine-grained personal access token, use `granular_scopes`
        instead of `scopes`. For security purposes, a token created with `scopes`
        is limited to the `k8s_proxy` and `self_rotate` scope. With `selected_memberships`,
        you must have access to each group and project listed. Token values are included
        with the response, but cannot be retrieved later. The `granular_scopes` parameter
        was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/243428)
        in GitLab 19.2. The `last_used_ips` attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/250307)
        in GitLab 19.4. The `granular_scopes` attribute in the response was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/632314)
        in GitLab 19.5.
      tags:
      - Access tokens
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPersonalAccessTokenWithToken"
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4UserPersonalAccessTokensRequest"
  "/api/v4/user/applications":
    post:
      operationId: postApiV4UserApplications
      summary: Create an application
      description: Creates a new OAuth application for the authenticated user. This
        feature was introduced in GitLab 19.0
      tags:
      - Applications
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesApplicationWithSecret"
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4UserApplicationsRequest"
    get:
      operationId: getApiV4UserApplications
      summary: List all applications
      description: Lists all applications owned by the authenticated user.
      tags:
      - Applications
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesApplication"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
  "/api/v4/user/applications/{id}":
    get:
      operationId: getApiV4UserApplicationsId
      summary: Retrieve an application
      description: Retrieves details of a specific application owned by the authenticated
        user.
      tags:
      - Applications
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesApplication"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the application. Differs from `application_id`.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4UserApplicationsId
      summary: Delete an application
      description: Deletes a specified application owned by the authenticated user.
      tags:
      - Applications
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the application. Differs from `application_id`.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4UserApplicationsId
      summary: Update an application
      description: Updates an existing application owned by the authenticated user.
      tags:
      - Applications
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesApplication"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the application. Differs from `application_id`.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4UserApplicationsIdRequest"
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/todo":
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidTodo
      summary: Create a to-do item for an issuable
      description: Creates a to-do item for the current user on a specified issuable.
        If a to-do item already exists for the user on that issuable, returns a `304`
        status code.
      tags:
      - To-dos
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesTodo"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: merge_request_iid
        required: true
        description: The internal ID of an issuable
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/issues/{issue_iid}/todo":
    post:
      operationId: postApiV4ProjectsIdIssuesIssueIidTodo
      summary: Create a to-do item for an issuable
      description: Creates a to-do item for the current user on a specified issuable.
        If a to-do item already exists for the user on that issuable, returns a `304`
        status code.
      tags:
      - To-dos
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesTodo"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: issue_iid
        required: true
        description: The internal ID of an issuable
        schema:
          type: integer
        in: path
  "/api/v4/todos":
    get:
      operationId: getApiV4Todos
      summary: List all to-do items
      description: Lists all to-do items. When no filter is applied, it returns all
        pending to-do items for the current user. Different filters allow the user
        to refine the request.
      tags:
      - To-dos
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesTodo"
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: action
        required: false
        description: Filter to-do items by action.
        schema:
          type: string
          enum:
          - assigned
          - review_requested
          - mentioned
          - build_failed
          - marked
          - approval_required
          - unmergeable
          - directly_addressed
          - member_access_requested
          - review_submitted
          - review_approved
          - review_changes_requested
          - ssh_key_expired
          - ssh_key_expiring_soon
          - transfer_failed
          - merge_train_removed
          - okr_checkin_requested
          - added_approver
          - duo_pro_access_granted
          - duo_enterprise_access_granted
          - duo_core_access_granted
          - duo_workflow_input_required
          - orbit_access_granted
          nullable: true
        in: query
      - name: author_id
        required: false
        description: Filter to-do items by author ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: project_id
        required: false
        description: Filter to-do items by project ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: group_id
        required: false
        description: Filter to-do items by group ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: state
        required: false
        description: Filter to-do items by state.
        schema:
          type: string
          enum:
          - pending
          - done
          nullable: true
        in: query
      - name: type
        required: false
        description: Filter to-do items by type.
        schema:
          type: string
          enum:
          - Commit
          - Issue
          - WorkItem
          - MergeRequest
          - DesignManagement::Design
          - AlertManagement::Alert
          - Namespace
          - Project
          - Key
          - WikiPage::Meta
          - Epic
          - Vulnerability
          - User
          - ComplianceManagement::Projects::ComplianceViolation
          - Ai::DuoWorkflows::Workflow
          nullable: true
        in: query
  "/api/v4/todos/{id}/mark_as_done":
    post:
      operationId: postApiV4TodosIdMarkAsDone
      summary: Mark a to-do item as done
      description: Marks a to-do item for the current user as done.
      tags:
      - To-dos
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesTodo"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the to-do item.
        schema:
          type: integer
        in: path
  "/api/v4/todos/mark_as_done":
    post:
      operationId: postApiV4TodosMarkAsDone
      summary: Mark all to-do items as done
      description: Marks all pending to-do items for the current user as done. It
        returns the HTTP status code `204` with an empty response.
      tags:
      - To-dos
      responses:
        '201':
          description: Created
        '400':
          description: Bad Request
  "/api/v4/groups/{id}/epics/{epic_iid}/todo":
    post:
      operationId: postApiV4GroupsIdEpicsEpicIidTodo
      summary: Create a to-do item for an epic
      description: Creates a to-do item for the current user on a specified epic.
        If a to-do item already exists for the user on that epic, status code 304
        is returned.
      tags:
      - Epics
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesTodo"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/templates/licenses":
    get:
      operationId: getApiV4TemplatesLicenses
      summary: List all license templates
      description: Lists all available license templates.
      tags:
      - Templates
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesLicense"
        '400':
          description: Bad Request
      parameters:
      - name: popular
        required: false
        description: If `true`, returns only popular licenses. If `false`, returns
          only licenses that aren't popular.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/templates/licenses/{name}":
    get:
      operationId: getApiV4TemplatesLicensesName
      summary: Retrieve a license template
      description: Retrieves a specified license template. You can pass parameters
        to replace the license placeholder. If `fullname` is omitted and the request
        is authenticated, the name of the authenticated user replaces the copyright
        holder placeholder.
      tags:
      - Templates
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesLicense"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: name
        required: true
        description: Name of the license template.
        schema:
          type: string
        in: path
      - name: project
        required: false
        description: Name of the copyrighted project.
        schema:
          type: string
          nullable: true
        in: query
      - name: fullname
        required: false
        description: Full name of the copyright holder.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/templates/gitignores":
    get:
      operationId: getApiV4TemplatesGitignores
      summary: List all .gitignore templates
      description: Lists all .gitignore templates.
      tags:
      - Templates
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesTemplatesList"
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/templates/gitignores/{name}":
    get:
      operationId: getApiV4TemplatesGitignoresName
      summary: Retrieve a .gitignore template
      description: Retrieves a specified .gitignore template.
      tags:
      - Templates
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesTemplate"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: name
        required: true
        description: The name of the .gitignore template
        schema:
          type: string
        in: path
  "/api/v4/templates/gitlab_ci_ymls":
    get:
      operationId: getApiV4TemplatesGitlabCiYmls
      summary: List all GitLab CI/CD YAML templates
      description: Lists all GitLab CI/CD YAML templates.
      tags:
      - Templates
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesTemplatesList"
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/templates/gitlab_ci_ymls/{name}":
    get:
      operationId: getApiV4TemplatesGitlabCiYmlsName
      summary: Retrieve a GitLab CI/CD YAML template
      description: Retrieves a specified GitLab CI/CD YAML template.
      tags:
      - Templates
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesTemplate"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: name
        required: true
        description: The name of the GitLab CI/CD YAML template
        schema:
          type: string
        in: path
  "/api/v4/templates/dockerfiles":
    get:
      operationId: getApiV4TemplatesDockerfiles
      summary: List all Dockerfile templates
      description: Lists all Dockerfile templates.
      tags:
      - Templates
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesTemplatesList"
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/templates/dockerfiles/{name}":
    get:
      operationId: getApiV4TemplatesDockerfilesName
      summary: Retrieve a Dockerfile template
      description: Retrieves a specified Dockerfile template.
      tags:
      - Templates
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesTemplate"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: name
        required: true
        description: The name of the Dockerfile template
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/merge_requests/{subscribable_id}/subscribe":
    post:
      operationId: postApiV4ProjectsIdMergeRequestsSubscribableIdSubscribe
      summary: Subscribe to a merge request
      description: Subscribes the currently authenticated user to a specified merge
        request. They will receive notifications on changes to this item.
      tags:
      - Resource subscriptions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequest"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: subscribable_id
        required: true
        description: Internal ID of the issue or merge request, or ID or title of
          the label.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/merge_requests/{subscribable_id}/unsubscribe":
    post:
      operationId: postApiV4ProjectsIdMergeRequestsSubscribableIdUnsubscribe
      summary: Unsubscribe to a merge request
      description: Unsubscribes the currently authenticated user from a specified
        merge request. They will no longer receive notifications on changes to this
        item.
      tags:
      - Resource subscriptions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequest"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: subscribable_id
        required: true
        description: Internal ID of the issue or merge request, or ID or title of
          the label.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/issues/{subscribable_id}/subscribe":
    post:
      operationId: postApiV4ProjectsIdIssuesSubscribableIdSubscribe
      summary: Subscribe to an issue
      description: Subscribes the currently authenticated user to a specified issue.
        They will receive notifications on changes to this item.
      tags:
      - Resource subscriptions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssue"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: subscribable_id
        required: true
        description: Internal ID of the issue or merge request, or ID or title of
          the label.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/issues/{subscribable_id}/unsubscribe":
    post:
      operationId: postApiV4ProjectsIdIssuesSubscribableIdUnsubscribe
      summary: Unsubscribe to an issue
      description: Unsubscribes the currently authenticated user from a specified
        issue. They will no longer receive notifications on changes to this item.
      tags:
      - Resource subscriptions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssue"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: subscribable_id
        required: true
        description: Internal ID of the issue or merge request, or ID or title of
          the label.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/labels/{subscribable_id}/subscribe":
    post:
      operationId: postApiV4ProjectsIdLabelsSubscribableIdSubscribe
      summary: Subscribe to a project label
      description: Subscribes the currently authenticated user to a specified project
        label. They will receive notifications on changes to this item.
      tags:
      - Resource subscriptions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectLabel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: subscribable_id
        required: true
        description: Internal ID of the issue or merge request, or ID or title of
          the label.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/labels/{subscribable_id}/unsubscribe":
    post:
      operationId: postApiV4ProjectsIdLabelsSubscribableIdUnsubscribe
      summary: Unsubscribe to a project label
      description: Unsubscribes the currently authenticated user from a specified
        project label. They will no longer receive notifications on changes to this
        item.
      tags:
      - Resource subscriptions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectLabel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: subscribable_id
        required: true
        description: Internal ID of the issue or merge request, or ID or title of
          the label.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/labels/{subscribable_id}/subscribe":
    post:
      operationId: postApiV4GroupsIdLabelsSubscribableIdSubscribe
      summary: Subscribe to a group label
      description: Subscribes the currently authenticated user to a specified group
        label. They will receive notifications on changes to this item.
      tags:
      - Resource subscriptions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupLabel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: subscribable_id
        required: true
        description: Internal ID of the issue or merge request, or ID or title of
          the label.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/labels/{subscribable_id}/unsubscribe":
    post:
      operationId: postApiV4GroupsIdLabelsSubscribableIdUnsubscribe
      summary: Unsubscribe to a group label
      description: Unsubscribes the currently authenticated user from a specified
        group label. They will no longer receive notifications on changes to this
        item.
      tags:
      - Resource subscriptions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupLabel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: subscribable_id
        required: true
        description: Internal ID of the issue or merge request, or ID or title of
          the label.
        schema:
          type: string
        in: path
  "/api/v4/snippet_repository_storage_moves":
    get:
      operationId: getApiV4SnippetRepositoryStorageMoves
      summary: List all snippet repository storage moves
      description: Lists all snippet repository storage moves. By default, `GET` requests
        return 20 results at a time because the API results are paginated.
      tags:
      - Storage moves
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesSnippetsRepositoryStorageMove"
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4SnippetRepositoryStorageMoves
      summary: Schedule repository storage moves for all snippets on a storage shard
      description: Schedules repository storage moves for each snippet repository
        stored on the source storage shard. This endpoint migrates all snippets at
        once.
      tags:
      - Storage moves
      responses:
        '202':
          description: Accepted
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4SnippetRepositoryStorageMovesRequest"
  "/api/v4/snippet_repository_storage_moves/{repository_storage_move_id}":
    get:
      operationId: getApiV4SnippetRepositoryStorageMovesRepositoryStorageMoveId
      summary: Retrieve a snippet repository storage move
      description: Retrieves a specified snippet repository storage move.
      tags:
      - Storage moves
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSnippetsRepositoryStorageMove"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: repository_storage_move_id
        required: true
        description: ID of the snippet repository storage move.
        schema:
          type: integer
        in: path
  "/api/v4/snippets/{id}/repository_storage_moves":
    get:
      operationId: getApiV4SnippetsIdRepositoryStorageMoves
      summary: List all repository storage moves for a snippet
      description: Lists all repository storage moves for a specified snippet. By
        default, `GET` requests return 20 results at a time because the API results
        are paginated.
      tags:
      - Storage moves
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesSnippetsRepositoryStorageMove"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the snippet.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4SnippetsIdRepositoryStorageMoves
      summary: Schedule a repository storage move for a snippet
      description: Schedules a repository storage move for a specified snippet.
      tags:
      - Storage moves
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSnippetsRepositoryStorageMove"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the snippet.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4SnippetsIdRepositoryStorageMovesRequest"
  "/api/v4/snippets/{id}/repository_storage_moves/{repository_storage_move_id}":
    get:
      operationId: getApiV4SnippetsIdRepositoryStorageMovesRepositoryStorageMoveId
      summary: Retrieve a repository storage move for a snippet
      description: Retrieves a repository storage move for a specified snippet.
      tags:
      - Storage moves
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSnippetsRepositoryStorageMove"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the snippet.
        schema:
          type: string
        in: path
      - name: repository_storage_move_id
        required: true
        description: ID of the snippet repository storage move.
        schema:
          type: integer
        in: path
  "/api/v4/sidekiq/queue_metrics":
    get:
      operationId: getApiV4SidekiqQueueMetrics
      summary: List all job queue metrics
      description: Lists all details about all Sidekiq job queues, including backlog
        size and latency.
      tags:
      - Sidekiq
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
  "/api/v4/sidekiq/process_metrics":
    get:
      operationId: getApiV4SidekiqProcessMetrics
      summary: List all Sidekiq processes
      description: Lists all details about all registered Sidekiq worker processes,
        including hostname, process ID, queues, and concurrency settings.
      tags:
      - Sidekiq
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
  "/api/v4/sidekiq/job_stats":
    get:
      operationId: getApiV4SidekiqJobStats
      summary: Retrieve job completion metrics
      description: Retrieves statistics on the completion status of all Sidekiq jobs.
      tags:
      - Sidekiq
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
  "/api/v4/sidekiq/compound_metrics":
    get:
      operationId: getApiV4SidekiqCompoundMetrics
      summary: List all Sidekiq metrics
      description: Lists all Sidekiq metrics. Includes queue, process, and job completion
        metrics.
      tags:
      - Sidekiq
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
  "/api/v4/application/settings":
    get:
      operationId: getApiV4ApplicationSettings
      summary: Retrieve application settings
      description: Retrieves the current application settings for this GitLab instance.
      tags:
      - Instance
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesApplicationSetting"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
    put:
      operationId: putApiV4ApplicationSettings
      summary: Update application settings
      description: Updates the current application settings for this GitLab instance.
        At least one setting must be updated.
      tags:
      - Instance
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesApplicationSetting"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '400':
          description: Bad Request
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ApplicationSettingsRequest"
  "/api/v4/service_accounts":
    post:
      operationId: postApiV4ServiceAccounts
      summary: Create an instance service account
      description: Creates an instance service account. If the email address is already
        in use by another user, `400 Bad request` is returned.
      tags:
      - Service accounts
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesServiceAccount"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ServiceAccountsRequest"
    get:
      operationId: getApiV4ServiceAccounts
      summary: List all instance service accounts
      description: Lists all instance service accounts. Use the `page` and `per_page`
        pagination parameters to filter the results. This feature was introduced in
        GitLab 17.1.
      tags:
      - Service accounts
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesServiceAccount"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - id
          - username
          nullable: true
          default: id
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
  "/api/v4/service_accounts/{user_id}":
    patch:
      operationId: patchApiV4ServiceAccountsUserId
      summary: Update an instance service account
      description: Updates a specified instance service account. This feature was
        introduced in GitLab 18.2.
      tags:
      - Service accounts
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesServiceAccount"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
      parameters:
      - name: user_id
        required: true
        description: ID of the service account.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4ServiceAccountsUserIdRequest"
  "/api/v4/projects/{id}/issues/{eventable_id}/resource_state_events":
    get:
      operationId: getApiV4ProjectsIdIssuesEventableIdResourceStateEvents
      summary: List all project issue state events
      description: Lists all state events for a specified issue.
      tags:
      - Resource events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesResourceStateEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: eventable_id
        required: true
        description: The IID of the issue
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/issues/{eventable_id}/resource_state_events/{event_id}":
    get:
      operationId: getApiV4ProjectsIdIssuesEventableIdResourceStateEventsEventId
      summary: Retrieve an issue state event
      description: Retrieves a state event for a specified project issue.
      tags:
      - Resource events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesResourceStateEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: eventable_id
        required: true
        description: The IID of the issue
        schema:
          type: integer
        in: path
      - name: event_id
        required: true
        description: ID of the resource state event.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{eventable_id}/resource_state_events":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsEventableIdResourceStateEvents
      summary: List all project merge request state events
      description: Lists all state events for a specified merge request.
      tags:
      - Resource events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesResourceStateEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: eventable_id
        required: true
        description: The IID of the merge request
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/merge_requests/{eventable_id}/resource_state_events/{event_id}":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsEventableIdResourceStateEventsEventId
      summary: Retrieve a merge request state event
      description: Retrieves a state event for a specified project merge request.
      tags:
      - Resource events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesResourceStateEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: eventable_id
        required: true
        description: The IID of the merge request
        schema:
          type: integer
        in: path
      - name: event_id
        required: true
        description: ID of the resource state event.
        schema:
          type: integer
        in: path
  "/api/v4/groups/{id}/epics/{eventable_id}/resource_state_events":
    get:
      operationId: getApiV4GroupsIdEpicsEventableIdResourceStateEvents
      summary: List all group epic state events
      description: Lists all state events for a specified epic.
      tags:
      - Resource events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesResourceStateEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: eventable_id
        required: true
        description: The ID of the epic
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/epics/{eventable_id}/resource_state_events/{event_id}":
    get:
      operationId: getApiV4GroupsIdEpicsEventableIdResourceStateEventsEventId
      summary: Retrieve an epic state event
      description: Retrieves a state event for a specified group epic.
      tags:
      - Resource events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesResourceStateEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: eventable_id
        required: true
        description: The ID of the epic
        schema:
          type: integer
        in: path
      - name: event_id
        required: true
        description: ID of the resource state event.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/issues/{eventable_id}/resource_label_events":
    get:
      operationId: getApiV4ProjectsIdIssuesEventableIdResourceLabelEvents
      summary: List all project issue label events
      description: Lists all label events for a specified issue.
      tags:
      - Resource events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesResourceLabelEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: eventable_id
        required: true
        description: The IID of the issue
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/issues/{eventable_id}/resource_label_events/{event_id}":
    get:
      operationId: getApiV4ProjectsIdIssuesEventableIdResourceLabelEventsEventId
      summary: Retrieve an issue label event
      description: Retrieves a label event for a specified project issue.
      tags:
      - Resource events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesResourceLabelEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: event_id
        required: true
        description: ID of the resource label event.
        schema:
          type: string
        in: path
      - name: eventable_id
        required: true
        description: The IID of the issue
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
  "/api/v4/projects/{id}/merge_requests/{eventable_id}/resource_label_events":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsEventableIdResourceLabelEvents
      summary: List all project merge request label events
      description: Lists all label events for a specified merge request.
      tags:
      - Resource events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesResourceLabelEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: eventable_id
        required: true
        description: The IID of the merge request
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/merge_requests/{eventable_id}/resource_label_events/{event_id}":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsEventableIdResourceLabelEventsEventId
      summary: Retrieve a merge request label event
      description: Retrieves a label event for a specified project merge request.
      tags:
      - Resource events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesResourceLabelEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: event_id
        required: true
        description: ID of the resource label event.
        schema:
          type: string
        in: path
      - name: eventable_id
        required: true
        description: The IID of the merge request
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
  "/api/v4/groups/{id}/epics/{eventable_id}/resource_label_events":
    get:
      operationId: getApiV4GroupsIdEpicsEventableIdResourceLabelEvents
      summary: List all group epic label events
      description: Lists all label events for a specified epic.
      tags:
      - Resource events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesResourceLabelEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: eventable_id
        required: true
        description: The ID of the epic
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/epics/{eventable_id}/resource_label_events/{event_id}":
    get:
      operationId: getApiV4GroupsIdEpicsEventableIdResourceLabelEventsEventId
      summary: Retrieve an epic label event
      description: Retrieves a label event for a specified group epic.
      tags:
      - Resource events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesResourceLabelEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: event_id
        required: true
        description: ID of the resource label event.
        schema:
          type: string
        in: path
      - name: eventable_id
        required: true
        description: The ID of the epic
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/service_accounts":
    post:
      operationId: postApiV4ProjectsIdServiceAccounts
      summary: Create a project service account
      description: Creates a service account in a specified project.
      tags:
      - Service accounts
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesServiceAccount"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Project not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdServiceAccountsRequest"
    get:
      operationId: getApiV4ProjectsIdServiceAccounts
      summary: List all project service accounts
      description: Lists all service accounts in a specified project. Use the `page`
        and `per_page` pagination parameters to filter the results.
      tags:
      - Service accounts
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesServiceAccount"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Project not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - id
          - username
          nullable: true
          default: id
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
  "/api/v4/projects/{id}/service_accounts/{user_id}":
    get:
      operationId: getApiV4ProjectsIdServiceAccountsUserId
      summary: Get a single project service account
      description: Gets a specified service account in a specified project.
      tags:
      - Service accounts
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesServiceAccount"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 User not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: user_id
        required: true
        description: ID of the service account.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdServiceAccountsUserId
      summary: Delete a project service account
      description: Deletes a specified project service account. Available only for
        project Owners, Maintainers, and administrators.
      tags:
      - Service accounts
      responses:
        '204':
          description: No Content
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Project not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: user_id
        required: true
        description: ID of the service account.
        schema:
          type: integer
        in: path
      - name: hard_delete
        required: false
        description: If `true`, contributions that would usually be [moved to a ghost
          user](https://docs.gitlab.com/user/profile/account/delete_account/#associated-records)
          are deleted instead, along with groups owned solely by this service account.
        schema:
          type: boolean
          nullable: true
        in: query
    patch:
      operationId: patchApiV4ProjectsIdServiceAccountsUserId
      summary: Update a project service account
      description: Update a specified project service account.
      tags:
      - Service accounts
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesServiceAccount"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 User not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: user_id
        required: true
        description: ID of the service account.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4ProjectsIdServiceAccountsUserIdRequest"
  "/api/v4/projects/{id}/service_accounts/{user_id}/personal_access_tokens":
    get:
      operationId: getApiV4ProjectsIdServiceAccountsUserIdPersonalAccessTokens
      summary: List all personal access tokens for a project service account
      description: Lists all personal access tokens for a specified project service
        account. For tokens created with granular scopes, the response also includes
        a `granular_scopes` attribute. The `last_used_ips` attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/250307)
        in GitLab 19.4. The `granular_scopes` attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/633317)
        in GitLab 19.6.
      tags:
      - Access tokens
      - Service accounts
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesPersonalAccessToken"
        '400':
          description: Bad Request
        '401':
          description: 401 Unauthorized
        '404':
          description: 404 Project Not Found
        '403':
          description: Forbidden
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: revoked
        required: false
        description: If `true`, only returns revoked tokens. If `false`, only returns
          tokens that are not revoked.
        schema:
          type: boolean
          nullable: true
        in: query
        example: false
      - name: state
        required: false
        description: Return tokens with the specified state. `all` returns tokens
          in any state.
        schema:
          type: string
          enum:
          - all
          - active
          - inactive
          nullable: true
        in: query
        example: active
      - name: created_before
        required: false
        description: Return tokens created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2022-01-01T00:00:00Z'
      - name: created_after
        required: false
        description: Return tokens created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-01-01T00:00:00Z'
      - name: last_used_before
        required: false
        description: Return tokens last used on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-01-01T00:00:00Z'
      - name: last_used_after
        required: false
        description: Return tokens last used on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2022-01-01T00:00:00Z'
      - name: expires_before
        required: false
        description: Return tokens that expire before the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
        example: '2022-01-01'
      - name: expires_after
        required: false
        description: Return tokens that expire on or after the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
        example: '2021-01-01'
      - name: search
        required: false
        description: Return tokens that include the specified value in their name.
        schema:
          type: string
          nullable: true
        in: query
        example: token
      - name: sort
        required: false
        description: Sort results by the specified field and direction. Possible values
          are `created_asc`, `created_desc`, `expires_asc`, `expires_desc`, `last_used_asc`,
          `last_used_desc`, `name_asc`, and `name_desc`.
        schema:
          type: string
          nullable: true
        in: query
        example: created_desc
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: user_id
        required: true
        description: ID of the service account.
        schema:
          type: integer
        in: path
    post:
      operationId: postApiV4ProjectsIdServiceAccountsUserIdPersonalAccessTokens
      summary: Create a personal access token for a project service account
      description: Creates a personal access token for a specified project service
        account. Available only for project Owners, Maintainers, and administrators.
        The `last_used_ips` attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/250307)
        in GitLab 19.4.
      tags:
      - Access tokens
      - Service accounts
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPersonalAccessTokenWithToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: user_id
        required: true
        description: ID of the service account.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdServiceAccountsUserIdPersonalAccessTokensRequest"
  "/api/v4/projects/{id}/service_accounts/{user_id}/personal_access_tokens/{token_id}":
    delete:
      operationId: deleteApiV4ProjectsIdServiceAccountsUserIdPersonalAccessTokensTokenId
      summary: Revoke a personal access token for a project service account
      description: Revokes a specified personal access token for a project service
        account.
      tags:
      - Access tokens
      - Service accounts
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: token_id
        required: true
        description: ID of the personal access token.
        schema:
          type: integer
        in: path
      - name: user_id
        required: true
        description: ID of the service account.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/service_accounts/{user_id}/personal_access_tokens/{token_id}/rotate":
    post:
      operationId: postApiV4ProjectsIdServiceAccountsUserIdPersonalAccessTokensTokenIdRotate
      summary: Rotate a personal access token for a project service account
      description: Rotates a specified personal access token for a project service
        account. This revokes the existing token and creates a token with the same
        name, description, and scopes. Rotating a token with granular scopes returns
        those scopes in a `granular_scopes` attribute on the new token. The `last_used_ips`
        attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/250307)
        in GitLab 19.4. The `granular_scopes` attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/632896)
        in GitLab 19.5.
      tags:
      - Access tokens
      - Service accounts
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPersonalAccessTokenWithToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: token_id
        required: true
        description: ID of the personal access token.
        schema:
          type: integer
        in: path
      - name: user_id
        required: true
        description: ID of the service account.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdServiceAccountsUserIdPersonalAccessTokensTokenIdRotateRequest"
  "/api/v4/project_repository_storage_moves":
    get:
      operationId: getApiV4ProjectRepositoryStorageMoves
      summary: List all project repository storage moves
      description: Lists all project repository storage moves.
      tags:
      - Storage moves
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProjectsRepositoryStorageMove"
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectRepositoryStorageMoves
      summary: Create repository storage moves for all projects on a storage shard
      description: Creates repository storage moves for each project repository stored
        on the source storage shard. This endpoint migrates all projects at once.
      tags:
      - Storage moves
      responses:
        '202':
          description: Accepted
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectRepositoryStorageMovesRequest"
  "/api/v4/project_repository_storage_moves/{repository_storage_move_id}":
    get:
      operationId: getApiV4ProjectRepositoryStorageMovesRepositoryStorageMoveId
      summary: Retrieve a project repository storage move
      description: Retrieves a specified project repository storage move.
      tags:
      - Storage moves
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectsRepositoryStorageMove"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: repository_storage_move_id
        required: true
        description: ID of the project repository storage move.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/repository_storage_moves":
    get:
      operationId: getApiV4ProjectsIdRepositoryStorageMoves
      summary: List all repository storage moves for a project
      description: Lists all repository storage moves for a project.
      tags:
      - Storage moves
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProjectsRepositoryStorageMove"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdRepositoryStorageMoves
      summary: Create a repository storage move for a project
      description: Creates a repository storage move for a specified project.
      tags:
      - Storage moves
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectsRepositoryStorageMove"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdRepositoryStorageMovesRequest"
  "/api/v4/projects/{id}/repository_storage_moves/{repository_storage_move_id}":
    get:
      operationId: getApiV4ProjectsIdRepositoryStorageMovesRepositoryStorageMoveId
      summary: Retrieve a repository storage move for a project
      description: Retrieves a specified repository storage move for a project.
      tags:
      - Storage moves
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectsRepositoryStorageMove"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: repository_storage_move_id
        required: true
        description: ID of the project repository storage move.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/milestones":
    get:
      operationId: getApiV4ProjectsIdMilestones
      summary: List all project milestones
      description: Lists all milestones for a specified project.
      tags:
      - Milestones
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMilestone"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: state
        required: false
        description: Return "active", "closed", or "all" milestones
        schema:
          type: string
          enum:
          - active
          - closed
          - all
          nullable: true
          default: all
        in: query
      - name: iids
        required: false
        description: Return only the milestones having the given `iid`. Ignored if
          `include_ancestors` is `true`.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
      - name: title
        required: false
        description: The title of the milestones
        schema:
          type: string
          nullable: true
        in: query
      - name: search
        required: false
        description: The search criteria for the title or description of the milestone
        schema:
          type: string
          nullable: true
        in: query
      - name: search_title
        required: false
        description: The search criteria for the title of the milestone
        schema:
          type: string
          nullable: true
        in: query
      - name: include_parent_milestones
        required: false
        description: If `true`, includes milestones from all parent groups. [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/433298).
          Use `include_ancestors` instead. Mutually exclusive with `include_ancestors`.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: include_ancestors
        required: false
        description: Include milestones from all parent groups. Mutually exclusive
          with `include_parent_milestones`.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: updated_before
        required: false
        description: 'Return milestones updated before the specified datetime. Format:
          ISO 8601 YYYY-MM-DDTHH:MM:SSZ'
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: updated_after
        required: false
        description: 'Return milestones updated after the specified datetime. Format:
          ISO 8601 YYYY-MM-DDTHH:MM:SSZ'
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: containing_date
        required: false
        description: 'Return milestones where start_date <= containing_date <= due_date.
          Format: ISO 8601 YYYY-MM-DDTHH:MM:SSZ'
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: start_date
        required: false
        description: 'Return milestones where due_date >= start_date. Requires end_date.
          Format: ISO 8601 YYYY-MM-DDTHH:MM:SSZ'
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: end_date
        required: false
        description: 'Return milestones where start_date <= end_date. Requires start_date.
          Format: ISO 8601 YYYY-MM-DDTHH:MM:SSZ'
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: sort
        required: false
        description: Return milestones sorted in the given order
        schema:
          type: string
          enum:
          - due_date_asc
          - due_date_desc
          - start_date_asc
          - start_date_desc
          - name_asc
          - name_desc
          - created_asc
          - created_desc
          - updated_asc
          - updated_desc
          nullable: true
          default: due_date_asc
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdMilestones
      summary: Create a project milestone
      description: Creates a project milestone.
      tags:
      - Milestones
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMilestone"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMilestonesRequest"
  "/api/v4/projects/{id}/milestones/{milestone_id}":
    get:
      operationId: getApiV4ProjectsIdMilestonesMilestoneId
      summary: Retrieve a project milestone
      description: Retrieves a specified project milestone.
      tags:
      - Milestones
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMilestone"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: milestone_id
        required: true
        description: ID of the project milestone.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdMilestonesMilestoneId
      summary: Update a project milestone
      description: Updates a specified project milestone.
      tags:
      - Milestones
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMilestone"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: milestone_id
        required: true
        description: The milestone ID number
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdMilestonesMilestoneIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdMilestonesMilestoneId
      summary: Delete a project milestone
      description: Deletes a specified project milestone. Only for users with the
        Planner, Reporter, Developer, Maintainer, or Owner role for the project.
      tags:
      - Milestones
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: milestone_id
        required: true
        description: ID of the project milestone.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/milestones/{milestone_id}/issues":
    get:
      operationId: getApiV4ProjectsIdMilestonesMilestoneIdIssues
      summary: List all issues for a project milestone
      description: Lists all issues assigned to a specified project milestone.
      tags:
      - Milestones
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesIssueBasic"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: milestone_id
        required: true
        description: ID of the project milestone.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/milestones/{milestone_id}/merge_requests":
    get:
      operationId: getApiV4ProjectsIdMilestonesMilestoneIdMergeRequests
      summary: List all merge requests for a project milestone
      description: Lists all merge requests assigned to a specified project milestone.
      tags:
      - Milestones
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMergeRequestBasic"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: milestone_id
        required: true
        description: ID of the project milestone.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/milestones/{milestone_id}/promote":
    post:
      operationId: postApiV4ProjectsIdMilestonesMilestoneIdPromote
      summary: Promote a project milestone to a group milestone
      description: Promotes a specified project milestone to a group milestone. Only
        for users with the Planner, Reporter, Developer, Maintainer, or Owner role
        for the group.
      tags:
      - Milestones
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: milestone_id
        required: true
        description: ID of the project milestone.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/milestones/{milestone_id}/burndown_events":
    get:
      operationId: getApiV4ProjectsIdMilestonesMilestoneIdBurndownEvents
      summary: List all burndown chart events for a milestone
      description: Lists all burndown chart events for a specified milestone.
      tags:
      - Milestones
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBurndownEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: milestone_id
        required: true
        description: ID of the project milestone.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/notification_settings":
    get:
      operationId: getApiV4NotificationSettings
      summary: Retrieve global notification settings
      description: Retrieves the global notification level and email address.
      tags:
      - Notification settings
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGlobalNotificationSetting"
        '401':
          description: Unauthorized
    put:
      operationId: putApiV4NotificationSettings
      summary: Update global notification settings
      description: Updates notification settings and email address.
      tags:
      - Notification settings
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGlobalNotificationSetting"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4NotificationSettingsRequest"
  "/api/v4/groups/{id}/notification_settings":
    get:
      operationId: getApiV4GroupsIdNotificationSettings
      summary: Retrieve notification settings for a group
      description: 'Retrieves the notification level for a specified group. For the
        `custom` level, the response also includes an `events` object with the setting
        of each notification event: `true` if the notification is turned on, `false`
        if it is turned off, and `null` if it uses the default setting.'
      tags:
      - Notification settings
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNotificationSetting"
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
    put:
      operationId: putApiV4GroupsIdNotificationSettings
      summary: Update notification settings for a group
      description: 'Updates the notification settings for a specified group. The response
        includes the notification `level`. For the `custom` level, the response also
        includes an `events` object with the setting of each notification event: `true`
        if the notification is turned on, `false` if it is turned off, and `null`
        if it uses the default setting.'
      tags:
      - Notification settings
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNotificationSetting"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdNotificationSettingsRequest"
  "/api/v4/projects/{id}/notification_settings":
    get:
      operationId: getApiV4ProjectsIdNotificationSettings
      summary: Retrieve notification settings for a project
      description: 'Retrieves the notification level for a specified project. For
        the `custom` level, the response also includes an `events` object with the
        setting of each notification event: `true` if the notification is turned on,
        `false` if it is turned off, and `null` if it uses the default setting.'
      tags:
      - Notification settings
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNotificationSetting"
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
    put:
      operationId: putApiV4ProjectsIdNotificationSettings
      summary: Update notification settings for a project
      description: 'Updates the notification settings for a specified project. The
        response includes the notification `level`. For the `custom` level, the response
        also includes an `events` object with the setting of each notification event:
        `true` if the notification is turned on, `false` if it is turned off, and
        `null` if it uses the default setting.'
      tags:
      - Notification settings
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNotificationSetting"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdNotificationSettingsRequest"
  "/api/v4/projects/{id}/issues/{noteable_id}/notes":
    get:
      operationId: getApiV4ProjectsIdIssuesNoteableIdNotes
      summary: List all issue notes
      description: Lists all notes for a specified issue.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the issue.
        schema:
          type: integer
        in: path
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - created_at
          - updated_at
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: activity_filter
        required: false
        description: Filter notes by activity type.
        schema:
          type: string
          enum:
          - all_notes
          - only_comments
          - only_activity
          nullable: true
          default: all_notes
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdIssuesNoteableIdNotes
      summary: Create an issue note
      description: Creates a note for an issue.
      tags:
      - Notes
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the issue.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdIssuesNoteableIdNotesRequest"
  "/api/v4/projects/{id}/issues/{noteable_id}/notes/{note_id}":
    get:
      operationId: getApiV4ProjectsIdIssuesNoteableIdNotesNoteId
      summary: Retrieve an issue note
      description: Retrieves a specified note for an issue.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      - name: noteable_id
        required: true
        description: IID of the issue.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdIssuesNoteableIdNotesNoteId
      summary: Update an issue note
      description: Updates an existing note for an issue.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the issue.
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIssuesNoteableIdNotesNoteIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdIssuesNoteableIdNotesNoteId
      summary: Delete an issue note
      description: Deletes a specified note from an issue.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the issue.
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{noteable_id}/notes":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsNoteableIdNotes
      summary: List all merge request notes
      description: Lists all notes for a specified merge request.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the merge request.
        schema:
          type: integer
        in: path
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - created_at
          - updated_at
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: activity_filter
        required: false
        description: Filter notes by activity type.
        schema:
          type: string
          enum:
          - all_notes
          - only_comments
          - only_activity
          nullable: true
          default: all_notes
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdMergeRequestsNoteableIdNotes
      summary: Create a merge request note
      description: Creates a note for a merge request. The note is not attached to
        a specific line of the merge request. To comment on a line, create a discussion
        thread or comment on a commit instead.
      tags:
      - Notes
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the merge request.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMergeRequestsNoteableIdNotesRequest"
  "/api/v4/projects/{id}/merge_requests/{noteable_id}/notes/{note_id}":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsNoteableIdNotesNoteId
      summary: Retrieve a merge request note
      description: Retrieves a specified note for a merge request.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      - name: noteable_id
        required: true
        description: IID of the merge request.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdMergeRequestsNoteableIdNotesNoteId
      summary: Update a merge request note
      description: Updates an existing note for a merge request.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the merge request.
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdMergeRequestsNoteableIdNotesNoteIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdMergeRequestsNoteableIdNotesNoteId
      summary: Delete a merge request note
      description: Deletes a specified note from a merge request.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the merge request.
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/snippets/{noteable_id}/notes":
    get:
      operationId: getApiV4ProjectsIdSnippetsNoteableIdNotes
      summary: List all snippet notes
      description: Lists all notes for a specified snippet.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the resource the note is attached to.
        schema:
          type: integer
        in: path
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - created_at
          - updated_at
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: activity_filter
        required: false
        description: Filter notes by activity type.
        schema:
          type: string
          enum:
          - all_notes
          - only_comments
          - only_activity
          nullable: true
          default: all_notes
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdSnippetsNoteableIdNotes
      summary: Create a snippet note
      description: Creates a note for a snippet.
      tags:
      - Notes
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the resource the note is attached to.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdSnippetsNoteableIdNotesRequest"
  "/api/v4/projects/{id}/snippets/{noteable_id}/notes/{note_id}":
    get:
      operationId: getApiV4ProjectsIdSnippetsNoteableIdNotesNoteId
      summary: Retrieve a snippet note
      description: Retrieves a specified note for a snippet.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      - name: noteable_id
        required: true
        description: ID of the resource the note is attached to.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdSnippetsNoteableIdNotesNoteId
      summary: Update a snippet note
      description: Updates an existing note for a snippet.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the resource the note is attached to.
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdSnippetsNoteableIdNotesNoteIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdSnippetsNoteableIdNotesNoteId
      summary: Delete a snippet note
      description: Deletes a specified note from a snippet.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the resource the note is attached to.
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/wiki_pages/{noteable_id}/notes":
    get:
      operationId: getApiV4ProjectsIdWikiPagesNoteableIdNotes
      summary: List all wiki page meta notes
      description: Lists all notes for a specified wiki page meta.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the wiki page meta. Use the meta ID, not the page slug.
          A slug returns a `404` error.
        schema:
          type: integer
        in: path
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - created_at
          - updated_at
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: activity_filter
        required: false
        description: Filter notes by activity type.
        schema:
          type: string
          enum:
          - all_notes
          - only_comments
          - only_activity
          nullable: true
          default: all_notes
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdWikiPagesNoteableIdNotes
      summary: Create a wiki page meta note
      description: Creates a note for a wiki page meta.
      tags:
      - Notes
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the wiki page meta. Use the meta ID, not the page slug.
          A slug returns a `404` error.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdWikiPagesNoteableIdNotesRequest"
  "/api/v4/projects/{id}/wiki_pages/{noteable_id}/notes/{note_id}":
    get:
      operationId: getApiV4ProjectsIdWikiPagesNoteableIdNotesNoteId
      summary: Retrieve a wiki page meta note
      description: Retrieves a specified note for a wiki page meta.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      - name: noteable_id
        required: true
        description: ID of the wiki page meta. Use the meta ID, not the page slug.
          A slug returns a `404` error.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdWikiPagesNoteableIdNotesNoteId
      summary: Update a wiki page meta note
      description: Updates an existing note for a wiki page meta.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the wiki page meta. Use the meta ID, not the page slug.
          A slug returns a `404` error.
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdWikiPagesNoteableIdNotesNoteIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdWikiPagesNoteableIdNotesNoteId
      summary: Delete a wiki page meta note
      description: Deletes a specified note from a wiki page meta.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the wiki page meta. Use the meta ID, not the page slug.
          A slug returns a `404` error.
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
  "/api/v4/groups/{id}/epics/{noteable_id}/notes":
    get:
      operationId: getApiV4GroupsIdEpicsNoteableIdNotes
      summary: List all epic notes
      description: Lists all notes for a specified epic.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the epic. Use the epic ID, not the IID. An IID returns
          a `404` error or the notes of a different epic.
        schema:
          type: integer
        in: path
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - created_at
          - updated_at
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: activity_filter
        required: false
        description: Filter notes by activity type.
        schema:
          type: string
          enum:
          - all_notes
          - only_comments
          - only_activity
          nullable: true
          default: all_notes
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
    post:
      operationId: postApiV4GroupsIdEpicsNoteableIdNotes
      summary: Create an epic note
      description: Creates a note for an epic.
      tags:
      - Notes
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the epic. Use the epic ID, not the IID. An IID returns
          a `404` error or the notes of a different epic.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdEpicsNoteableIdNotesRequest"
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/epics/{noteable_id}/notes/{note_id}":
    get:
      operationId: getApiV4GroupsIdEpicsNoteableIdNotesNoteId
      summary: Retrieve an epic note
      description: Retrieves a specified note for an epic.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      - name: noteable_id
        required: true
        description: ID of the epic. Use the epic ID, not the IID. An IID returns
          a `404` error or the notes of a different epic.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
    put:
      operationId: putApiV4GroupsIdEpicsNoteableIdNotesNoteId
      summary: Update an epic note
      description: Updates an existing note for an epic.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the epic. Use the epic ID, not the IID. An IID returns
          a `404` error or the notes of a different epic.
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdEpicsNoteableIdNotesNoteIdRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4GroupsIdEpicsNoteableIdNotesNoteId
      summary: Delete an epic note
      description: Deletes a specified note from an epic.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the epic. Use the epic ID, not the IID. An IID returns
          a `404` error or the notes of a different epic.
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/vulnerabilities/{noteable_id}/notes":
    get:
      operationId: getApiV4ProjectsIdVulnerabilitiesNoteableIdNotes
      summary: List all vulnerability notes
      description: Lists all notes for a specified vulnerability.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the resource the note is attached to.
        schema:
          type: integer
        in: path
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - created_at
          - updated_at
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: activity_filter
        required: false
        description: Filter notes by activity type.
        schema:
          type: string
          enum:
          - all_notes
          - only_comments
          - only_activity
          nullable: true
          default: all_notes
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: ultimate
    post:
      operationId: postApiV4ProjectsIdVulnerabilitiesNoteableIdNotes
      summary: Create a vulnerability note
      description: Creates a note for a vulnerability.
      tags:
      - Notes
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the resource the note is attached to.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdVulnerabilitiesNoteableIdNotesRequest"
      x-gitlab-tier: ultimate
  "/api/v4/projects/{id}/vulnerabilities/{noteable_id}/notes/{note_id}":
    get:
      operationId: getApiV4ProjectsIdVulnerabilitiesNoteableIdNotesNoteId
      summary: Retrieve a vulnerability note
      description: Retrieves a specified note for a vulnerability.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      - name: noteable_id
        required: true
        description: ID of the resource the note is attached to.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
    put:
      operationId: putApiV4ProjectsIdVulnerabilitiesNoteableIdNotesNoteId
      summary: Update a vulnerability note
      description: Updates an existing note for a vulnerability.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the resource the note is attached to.
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdVulnerabilitiesNoteableIdNotesNoteIdRequest"
      x-gitlab-tier: ultimate
    delete:
      operationId: deleteApiV4ProjectsIdVulnerabilitiesNoteableIdNotesNoteId
      summary: Delete a vulnerability note
      description: Deletes a specified note from a vulnerability.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the resource the note is attached to.
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      x-gitlab-tier: ultimate
  "/api/v4/groups/{id}/wiki_pages/{noteable_id}/notes":
    get:
      operationId: getApiV4GroupsIdWikiPagesNoteableIdNotes
      summary: List all wiki page meta notes
      description: Lists all notes for a specified wiki page meta.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the wiki page meta. Use the meta ID, not the page slug.
          A slug returns a `404` error.
        schema:
          type: integer
        in: path
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - created_at
          - updated_at
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: activity_filter
        required: false
        description: Filter notes by activity type.
        schema:
          type: string
          enum:
          - all_notes
          - only_comments
          - only_activity
          nullable: true
          default: all_notes
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
    post:
      operationId: postApiV4GroupsIdWikiPagesNoteableIdNotes
      summary: Create a wiki page meta note
      description: Creates a note for a wiki page meta.
      tags:
      - Notes
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the wiki page meta. Use the meta ID, not the page slug.
          A slug returns a `404` error.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdWikiPagesNoteableIdNotesRequest"
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/wiki_pages/{noteable_id}/notes/{note_id}":
    get:
      operationId: getApiV4GroupsIdWikiPagesNoteableIdNotesNoteId
      summary: Retrieve a wiki page meta note
      description: Retrieves a specified note for a wiki page meta.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      - name: noteable_id
        required: true
        description: ID of the wiki page meta. Use the meta ID, not the page slug.
          A slug returns a `404` error.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
    put:
      operationId: putApiV4GroupsIdWikiPagesNoteableIdNotesNoteId
      summary: Update a wiki page meta note
      description: Updates an existing note for a wiki page meta.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the wiki page meta. Use the meta ID, not the page slug.
          A slug returns a `404` error.
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdWikiPagesNoteableIdNotesNoteIdRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4GroupsIdWikiPagesNoteableIdNotesNoteId
      summary: Delete a wiki page meta note
      description: Deletes a specified note from a wiki page meta.
      tags:
      - Notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the wiki page meta. Use the meta ID, not the page slug.
          A slug returns a `404` error.
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/mcp":
    post:
      operationId: postApiV4Mcp
      summary: Create MCP request handler
      description: Handles Model Context Protocol requests
      tags:
      - MCP
      responses:
        '200':
          description: OK
        '202':
          description: Accepted (JSON-RPC notification)
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Method not found
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4McpRequest"
    get:
      operationId: getApiV4Mcp
      summary: Get MCP response listener
      description: Listens for Model Context Protocol responses
      tags:
      - MCP
      responses:
        '405':
          description: Method not allowed
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
  "/api/v4/groups/{id}/service_accounts":
    post:
      operationId: postApiV4GroupsIdServiceAccounts
      summary: Create a group service account
      description: Creates a service account in a specified group.
      tags:
      - Service accounts
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesServiceAccount"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Group not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdServiceAccountsRequest"
    get:
      operationId: getApiV4GroupsIdServiceAccounts
      summary: List all group service accounts
      description: Lists all service accounts in a specified group. Use the `page`
        and `per_page` pagination parameters to filter the results. This feature was
        introduced in GitLab 17.1.
      tags:
      - Service accounts
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesServiceAccount"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Group not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - id
          - username
          nullable: true
          default: id
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
  "/api/v4/groups/{id}/service_accounts/{user_id}":
    get:
      operationId: getApiV4GroupsIdServiceAccountsUserId
      summary: Get a single group service account
      description: Gets a specified service account in a specified group. Returns
        `404 Not Found` if the service account does not exist in the group, and `400
        Bad Request` if the user exists in the group but is not a service account.
      tags:
      - Service accounts
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesServiceAccount"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 User not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: user_id
        required: true
        description: ID of the service account.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4GroupsIdServiceAccountsUserId
      summary: Delete a group service account
      description: Deletes a specified group service account. Available only for group
        Owners and administrators. This feature was introduced in GitLab 17.1.
      tags:
      - Service accounts
      responses:
        '204':
          description: Resource deleted
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Group not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: user_id
        required: true
        description: ID of the service account.
        schema:
          type: integer
        in: path
      - name: hard_delete
        required: false
        description: If `true`, contributions that would usually be [moved to a ghost
          user](https://docs.gitlab.com/user/profile/account/delete_account/#associated-records)
          are deleted instead, along with groups owned solely by this service account.
        schema:
          type: boolean
          nullable: true
        in: query
    patch:
      operationId: patchApiV4GroupsIdServiceAccountsUserId
      summary: Update a group service account
      description: Update a specified group service account. The username of a service
        account associated with a composite identity cannot be updated. This feature
        was introduced in GitLab 17.10.
      tags:
      - Service accounts
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesServiceAccount"
        '400':
          description: 400 Bad request
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 User not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: user_id
        required: true
        description: ID of the service account.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4GroupsIdServiceAccountsUserIdRequest"
  "/api/v4/groups/{id}/service_accounts/{user_id}/personal_access_tokens":
    get:
      operationId: getApiV4GroupsIdServiceAccountsUserIdPersonalAccessTokens
      summary: List all personal access tokens for a group service account
      description: Lists all personal access tokens for a specified group service
        account. For tokens created with granular scopes, the response also includes
        a `granular_scopes` attribute. The `last_used_ips` attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/250307)
        in GitLab 19.4. The `granular_scopes` attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/633317)
        in GitLab 19.6. This feature was introduced in GitLab 17.11.
      tags:
      - Access tokens
      - Service accounts
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesPersonalAccessToken"
        '400':
          description: Bad Request
        '401':
          description: 401 Unauthorized
        '404':
          description: 404 Group Not Found
        '403':
          description: Forbidden
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: revoked
        required: false
        description: If `true`, only returns revoked tokens. If `false`, only returns
          tokens that are not revoked.
        schema:
          type: boolean
          nullable: true
        in: query
        example: false
      - name: state
        required: false
        description: Return tokens with the specified state. `all` returns tokens
          in any state.
        schema:
          type: string
          enum:
          - all
          - active
          - inactive
          nullable: true
        in: query
        example: active
      - name: created_before
        required: false
        description: Return tokens created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2022-01-01T00:00:00Z'
      - name: created_after
        required: false
        description: Return tokens created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-01-01T00:00:00Z'
      - name: last_used_before
        required: false
        description: Return tokens last used on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-01-01T00:00:00Z'
      - name: last_used_after
        required: false
        description: Return tokens last used on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2022-01-01T00:00:00Z'
      - name: expires_before
        required: false
        description: Return tokens that expire before the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
        example: '2022-01-01'
      - name: expires_after
        required: false
        description: Return tokens that expire on or after the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
        example: '2021-01-01'
      - name: search
        required: false
        description: Return tokens that include the specified value in their name.
        schema:
          type: string
          nullable: true
        in: query
        example: token
      - name: sort
        required: false
        description: Sort results by the specified field and direction. Possible values
          are `created_asc`, `created_desc`, `expires_asc`, `expires_desc`, `last_used_asc`,
          `last_used_desc`, `name_asc`, and `name_desc`.
        schema:
          type: string
          nullable: true
        in: query
        example: created_desc
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: user_id
        required: true
        description: ID of the service account.
        schema:
          type: integer
        in: path
    post:
      operationId: postApiV4GroupsIdServiceAccountsUserIdPersonalAccessTokens
      summary: Create a personal access token for a group service account
      description: Creates a personal access token for a specified group service account.
        Available only for group Owners and administrators. The `last_used_ips` attribute
        was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/250307)
        in GitLab 19.4. This feature was introduced in GitLab 16.1.
      tags:
      - Access tokens
      - Service accounts
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPersonalAccessTokenWithToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: user_id
        required: true
        description: ID of the service account.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdServiceAccountsUserIdPersonalAccessTokensRequest"
  "/api/v4/groups/{id}/service_accounts/{user_id}/personal_access_tokens/{token_id}":
    delete:
      operationId: deleteApiV4GroupsIdServiceAccountsUserIdPersonalAccessTokensTokenId
      summary: Revoke a personal access token for a group service account
      description: Revokes a specified personal access token for a group service account.
        This feature was introduced in GitLab 17.11.
      tags:
      - Access tokens
      - Service accounts
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: token_id
        required: true
        description: ID of the personal access token.
        schema:
          type: integer
        in: path
      - name: user_id
        required: true
        description: ID of the service account.
        schema:
          type: integer
        in: path
  "/api/v4/groups/{id}/service_accounts/{user_id}/personal_access_tokens/{token_id}/rotate":
    post:
      operationId: postApiV4GroupsIdServiceAccountsUserIdPersonalAccessTokensTokenIdRotate
      summary: Rotate a personal access token for a group service account
      description: Rotates a specified personal access token for a group service account.
        This revokes the existing token and creates a token with the same name, description,
        and scopes. Rotating a token with granular scopes returns those scopes in
        a `granular_scopes` attribute on the new token. The `last_used_ips` attribute
        was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/250307)
        in GitLab 19.4. The `granular_scopes` attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/632896)
        in GitLab 19.5.
      tags:
      - Access tokens
      - Service accounts
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPersonalAccessTokenWithToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: token_id
        required: true
        description: ID of the personal access token.
        schema:
          type: integer
        in: path
      - name: user_id
        required: true
        description: ID of the service account.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdServiceAccountsUserIdPersonalAccessTokensTokenIdRotateRequest"
  "/api/v4/groups/{id}/milestones":
    get:
      operationId: getApiV4GroupsIdMilestones
      summary: List all group milestones
      description: Lists all group milestones for a specified group.
      tags:
      - Milestones
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMilestone"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: state
        required: false
        description: Return "active", "closed", or "all" milestones
        schema:
          type: string
          enum:
          - active
          - closed
          - all
          nullable: true
          default: all
        in: query
      - name: iids
        required: false
        description: Return only the milestones having the given `iid`. Ignored if
          `include_ancestors` is `true`.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
      - name: title
        required: false
        description: The title of the milestones
        schema:
          type: string
          nullable: true
        in: query
      - name: search
        required: false
        description: The search criteria for the title or description of the milestone
        schema:
          type: string
          nullable: true
        in: query
      - name: search_title
        required: false
        description: The search criteria for the title of the milestone
        schema:
          type: string
          nullable: true
        in: query
      - name: include_parent_milestones
        required: false
        description: If `true`, includes milestones from all parent groups. [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/433298).
          Use `include_ancestors` instead. Mutually exclusive with `include_ancestors`.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: include_ancestors
        required: false
        description: Include milestones from all parent groups. Mutually exclusive
          with `include_parent_milestones`.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: updated_before
        required: false
        description: 'Return milestones updated before the specified datetime. Format:
          ISO 8601 YYYY-MM-DDTHH:MM:SSZ'
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: updated_after
        required: false
        description: 'Return milestones updated after the specified datetime. Format:
          ISO 8601 YYYY-MM-DDTHH:MM:SSZ'
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: containing_date
        required: false
        description: 'Return milestones where start_date <= containing_date <= due_date.
          Format: ISO 8601 YYYY-MM-DDTHH:MM:SSZ'
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: start_date
        required: false
        description: 'Return milestones where due_date >= start_date. Requires end_date.
          Format: ISO 8601 YYYY-MM-DDTHH:MM:SSZ'
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: end_date
        required: false
        description: 'Return milestones where start_date <= end_date. Requires start_date.
          Format: ISO 8601 YYYY-MM-DDTHH:MM:SSZ'
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: sort
        required: false
        description: Return milestones sorted in the given order
        schema:
          type: string
          enum:
          - due_date_asc
          - due_date_desc
          - start_date_asc
          - start_date_desc
          - name_asc
          - name_desc
          - created_asc
          - created_desc
          - updated_asc
          - updated_desc
          nullable: true
          default: due_date_asc
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: include_descendants
        required: false
        description: If `true`, includes milestones for the group and its descendants.
        schema:
          type: boolean
          nullable: true
        in: query
    post:
      operationId: postApiV4GroupsIdMilestones
      summary: Create a group milestone
      description: Creates a milestone for the specified group.
      tags:
      - Milestones
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMilestone"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdMilestonesRequest"
  "/api/v4/groups/{id}/milestones/{milestone_id}":
    get:
      operationId: getApiV4GroupsIdMilestonesMilestoneId
      summary: Retrieve a group milestone
      description: Retrieves a specified group milestone.
      tags:
      - Milestones
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMilestone"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: milestone_id
        required: true
        description: ID of the group milestone.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4GroupsIdMilestonesMilestoneId
      summary: Update a group milestone
      description: Updates the specified group milestone.
      tags:
      - Milestones
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMilestone"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: milestone_id
        required: true
        description: The milestone ID number
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdMilestonesMilestoneIdRequest"
    delete:
      operationId: deleteApiV4GroupsIdMilestonesMilestoneId
      summary: Delete a group milestone
      description: Deletes the specified group milestone.
      tags:
      - Milestones
      responses:
        '204':
          description: 204 No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: milestone_id
        required: true
        description: ID of the group milestone.
        schema:
          type: integer
        in: path
  "/api/v4/groups/{id}/milestones/{milestone_id}/issues":
    get:
      operationId: getApiV4GroupsIdMilestonesMilestoneIdIssues
      summary: List all issues assigned to a single milestone
      description: Lists all issues assigned to a specified group milestone.
      tags:
      - Milestones
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesIssueBasic"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: milestone_id
        required: true
        description: ID of the group milestone.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/groups/{id}/milestones/{milestone_id}/merge_requests":
    get:
      operationId: getApiV4GroupsIdMilestonesMilestoneIdMergeRequests
      summary: List all merge requests assigned to a single milestone
      description: Lists all merge requests assigned to a specified group milestone.
      tags:
      - Milestones
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMergeRequestBasic"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: milestone_id
        required: true
        description: ID of the group milestone.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/groups/{id}/milestones/{milestone_id}/burndown_events":
    get:
      operationId: getApiV4GroupsIdMilestonesMilestoneIdBurndownEvents
      summary: List all burndown chart events for a milestone
      description: Lists all burndown chart events for a specified milestone.
      tags:
      - Milestones
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBurndownEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: milestone_id
        required: true
        description: ID of the group milestone.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/labels":
    get:
      operationId: getApiV4ProjectsIdLabels
      summary: List all project labels
      description: Lists all labels for a specified project. By default, this request
        returns 20 results at a time because the API results are paginated.
      tags:
      - Labels
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProjectLabel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: with_counts
        required: false
        description: If `true`, includes issue and merge request counts.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: include_ancestor_groups
        required: false
        description: If `true`, includes ancestor groups.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
      - name: search
        required: false
        description: Keyword to filter labels by. Returns labels with an exact, case-insensitive
          name match first.
        schema:
          type: string
          nullable: true
        in: query
      - name: archived
        required: false
        description: If `true`, returns only archived labels. If `false`, returns
          only non-archived labels. If omitted, returns all labels. Introduced in
          GitLab 18.10.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdLabels
      summary: Create a project label
      description: Creates a label for a specified project.
      tags:
      - Labels
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectLabel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdLabelsRequest"
    put:
      operationId: putApiV4ProjectsIdLabels
      summary: Update an existing label. At least one optional parameter is required.
      description: Deprecated in GitLab 12.4. Use PUT /projects/:id/labels/:name instead.
      tags:
      - Labels
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectLabel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      deprecated: true
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdLabelsRequest"
    delete:
      operationId: deleteApiV4ProjectsIdLabels
      summary: Delete an existing label
      description: Deprecated in GitLab 12.4. Use DELETE /projects/:id/labels/:name
        instead.
      tags:
      - Labels
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectLabel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      deprecated: true
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: label_id
        required: false
        description: ID of the label to delete. Exactly one of `label_id`, `name`
          must be provided.
        schema:
          type: integer
          nullable: true
        in: query
      - name: name
        required: false
        description: Name of the label to delete. Exactly one of `label_id`, `name`
          must be provided.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/projects/{id}/labels/{name}":
    get:
      operationId: getApiV4ProjectsIdLabelsName
      summary: Retrieve a project label
      description: Retrieves a specified label for a project.
      tags:
      - Labels
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectLabel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: name
        required: true
        description: ID or name of the label.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: include_ancestor_groups
        required: false
        description: If `true`, includes ancestor groups.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
    put:
      operationId: putApiV4ProjectsIdLabelsName
      summary: Update a project label
      description: Updates a specified label for a project with a different name or
        color. At least one parameter is required to update the label.
      tags:
      - Labels
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectLabel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: name
        required: true
        description: Name or ID of the label to update.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdLabelsNameRequest"
    delete:
      operationId: deleteApiV4ProjectsIdLabelsName
      summary: Delete a project label
      description: Deletes a specified label from a project.
      tags:
      - Labels
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectLabel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: name
        required: true
        description: Name or ID of the label to delete.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/labels/promote":
    put:
      operationId: putApiV4ProjectsIdLabelsPromote
      summary: Promote a label to a group label
      description: Added in GitLab 12.3 and deprecated in GitLab 12.4. Use PUT /projects/:id/labels/:name/promote
        instead.
      tags:
      - Labels
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupLabel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      deprecated: true
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdLabelsPromoteRequest"
  "/api/v4/projects/{id}/labels/{name}/promote":
    put:
      operationId: putApiV4ProjectsIdLabelsNamePromote
      summary: Promote a project label to a group label
      description: Promotes a specified project label to a group label. The label
        keeps its ID.
      tags:
      - Labels
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupLabel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: name
        required: true
        description: Name or ID of the label to promote.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/labels":
    get:
      operationId: getApiV4GroupsIdLabels
      summary: List all group labels
      description: Lists all group labels for a specified group.
      tags:
      - Labels
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesGroupLabel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: with_counts
        required: false
        description: If `true`, includes issue and merge request counts.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: include_ancestor_groups
        required: false
        description: If `true`, includes ancestor groups.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
      - name: include_descendant_groups
        required: false
        description: If `true`, includes descendant groups.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: only_group_labels
        required: false
        description: If `true`, returns only group labels. If `false`, also returns
          project labels.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
      - name: search
        required: false
        description: Keyword to filter labels by. Returns labels with an exact, case-insensitive
          name match first.
        schema:
          type: string
          nullable: true
        in: query
      - name: archived
        required: false
        description: If `true`, returns only archived labels. If `false`, returns
          only non-archived labels. If omitted, returns all labels. Introduced in
          GitLab 18.10.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4GroupsIdLabels
      summary: Create a group label
      description: Creates a group label.
      tags:
      - Labels
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupLabel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdLabelsRequest"
    put:
      operationId: putApiV4GroupsIdLabels
      summary: Update a group label
      description: Updates an existing group label. At least one parameter is required
        to update the group label.
      tags:
      - Labels
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupLabel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdLabelsRequest"
    delete:
      operationId: deleteApiV4GroupsIdLabels
      summary: Delete a group label
      description: Deletes a specified group label.
      tags:
      - Labels
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupLabel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: name
        required: true
        description: Name of the label to delete.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/groups/{id}/labels/{name}":
    get:
      operationId: getApiV4GroupsIdLabelsName
      summary: Retrieve a group label
      description: Retrieves a specified group label.
      tags:
      - Labels
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupLabel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: name
        required: true
        description: ID or name of the label.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: include_ancestor_groups
        required: false
        description: If `true`, includes ancestor groups.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
      - name: include_descendant_groups
        required: false
        description: If `true`, includes descendant groups.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: only_group_labels
        required: false
        description: If `true`, returns only group labels. If `false`, also returns
          project labels.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
    put:
      operationId: putApiV4GroupsIdLabelsName
      summary: Update a group label
      description: Updates a specified group label. At least one parameter is required
        to update the group label.
      tags:
      - Labels
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupLabel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: name
        required: true
        description: Name or ID of the label to update.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdLabelsNameRequest"
    delete:
      operationId: deleteApiV4GroupsIdLabelsName
      summary: Delete a group label
      description: Deletes a specified group label.
      tags:
      - Labels
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupLabel"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: name
        required: true
        description: Name or ID of the label to delete.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/boards/{board_id}/lists":
    get:
      operationId: getApiV4GroupsIdBoardsBoardIdLists
      summary: List all group issue board lists
      description: Lists all group issue board lists for a specified board. Does not
        include `open` and `closed` lists.
      tags:
      - Boards
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesList"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: board_id
        required: true
        description: ID of the board.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4GroupsIdBoardsBoardIdLists
      summary: Create a group issue board list
      description: Creates a group issue board list for a specified board.
      tags:
      - Boards
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesList"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: board_id
        required: true
        description: ID of the board.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdBoardsBoardIdListsRequest"
  "/api/v4/groups/{id}/boards/{board_id}/lists/{list_id}":
    get:
      operationId: getApiV4GroupsIdBoardsBoardIdListsListId
      summary: Retrieve a group issue board list
      description: Retrieves a specified group issue board list.
      tags:
      - Boards
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesList"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: board_id
        required: true
        description: ID of the board.
        schema:
          type: integer
        in: path
      - name: list_id
        required: true
        description: ID of the board's list.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4GroupsIdBoardsBoardIdListsListId
      summary: Update a group issue board list
      description: Updates a specified group issue board list. This call is used to
        change list position.
      tags:
      - Boards
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesList"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: board_id
        required: true
        description: ID of the board.
        schema:
          type: integer
        in: path
      - name: list_id
        required: true
        description: ID of the board's list.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdBoardsBoardIdListsListIdRequest"
    delete:
      operationId: deleteApiV4GroupsIdBoardsBoardIdListsListId
      summary: Delete a group issue board list
      description: Deletes a specified group issue board list. Only for administrators
        and users with the Owner role for the group.
      tags:
      - Boards
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesList"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: board_id
        required: true
        description: ID of the board.
        schema:
          type: integer
        in: path
      - name: list_id
        required: true
        description: ID of the board's list.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/issues/{noteable_id}/discussions":
    get:
      operationId: getApiV4ProjectsIdIssuesNoteableIdDiscussions
      summary: List all discussions for an issue
      description: Lists all discussions for a specified issue.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDiscussion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the issue.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdIssuesNoteableIdDiscussions
      summary: Create an issue discussion
      description: Creates a discussion for a specified issue. Replies can be added
        to it later.
      tags:
      - Discussions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDiscussion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the issue.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdIssuesNoteableIdDiscussionsRequest"
  "/api/v4/projects/{id}/issues/{noteable_id}/discussions/{discussion_id}":
    get:
      operationId: getApiV4ProjectsIdIssuesNoteableIdDiscussionsDiscussionId
      summary: Retrieve a discussion for an issue
      description: Retrieves a specified discussion for an issue.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDiscussion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the issue.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdIssuesNoteableIdDiscussionsDiscussionId
      summary: Resolve or unresolve an issue discussion
      description: Resolves or unresolves a specified issue discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDiscussion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the issue.
        schema:
          type: integer
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIssuesNoteableIdDiscussionsDiscussionIdRequest"
  "/api/v4/projects/{id}/issues/{noteable_id}/discussions/{discussion_id}/notes":
    get:
      operationId: getApiV4ProjectsIdIssuesNoteableIdDiscussionsDiscussionIdNotes
      summary: List comments in an issue discussion
      description: Lists the comments in a specified issue discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the issue.
        schema:
          type: integer
        in: path
    post:
      operationId: postApiV4ProjectsIdIssuesNoteableIdDiscussionsDiscussionIdNotes
      summary: Add a comment to an issue discussion
      description: Adds a comment to a specified issue discussion. If the discussion
        is a single comment, the comment becomes a thread.
      tags:
      - Discussions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the issue.
        schema:
          type: integer
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdIssuesNoteableIdDiscussionsDiscussionIdNotesRequest"
  "/api/v4/projects/{id}/issues/{noteable_id}/discussions/{discussion_id}/notes/{note_id}":
    get:
      operationId: getApiV4ProjectsIdIssuesNoteableIdDiscussionsDiscussionIdNotesNoteId
      summary: Retrieve a comment from an issue discussion
      description: Retrieves a specified comment from a issue discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the issue.
        schema:
          type: integer
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the discussion note.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdIssuesNoteableIdDiscussionsDiscussionIdNotesNoteId
      summary: Update a comment in an issue discussion
      description: Updates or changes the status of a specified comment in a issue
        discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the issue.
        schema:
          type: integer
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the discussion note.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIssuesNoteableIdDiscussionsDiscussionIdNotesNoteIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdIssuesNoteableIdDiscussionsDiscussionIdNotesNoteId
      summary: Delete a comment from an issue discussion
      description: Deletes a specified comment from a issue discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the issue.
        schema:
          type: integer
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the discussion note.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/snippets/{noteable_id}/discussions":
    get:
      operationId: getApiV4ProjectsIdSnippetsNoteableIdDiscussions
      summary: List all discussions for a snippet
      description: Lists all discussions for a specified snippet.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDiscussion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdSnippetsNoteableIdDiscussions
      summary: Create a snippet discussion
      description: Creates a discussion for a specified snippet. Replies can be added
        to it later.
      tags:
      - Discussions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDiscussion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdSnippetsNoteableIdDiscussionsRequest"
  "/api/v4/projects/{id}/snippets/{noteable_id}/discussions/{discussion_id}":
    get:
      operationId: getApiV4ProjectsIdSnippetsNoteableIdDiscussionsDiscussionId
      summary: Retrieve a discussion for a snippet
      description: Retrieves a specified discussion for a snippet.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDiscussion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/snippets/{noteable_id}/discussions/{discussion_id}/notes":
    get:
      operationId: getApiV4ProjectsIdSnippetsNoteableIdDiscussionsDiscussionIdNotes
      summary: List comments in a snippet discussion
      description: Lists the comments in a specified snippet discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
    post:
      operationId: postApiV4ProjectsIdSnippetsNoteableIdDiscussionsDiscussionIdNotes
      summary: Add a comment to a snippet discussion
      description: Adds a comment to a specified snippet discussion.
      tags:
      - Discussions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdSnippetsNoteableIdDiscussionsDiscussionIdNotesRequest"
  "/api/v4/projects/{id}/snippets/{noteable_id}/discussions/{discussion_id}/notes/{note_id}":
    get:
      operationId: getApiV4ProjectsIdSnippetsNoteableIdDiscussionsDiscussionIdNotesNoteId
      summary: Retrieve a comment from a snippet discussion
      description: Retrieves a specified comment from a snippet discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the discussion note.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdSnippetsNoteableIdDiscussionsDiscussionIdNotesNoteId
      summary: Update a comment in a snippet discussion
      description: Updates or changes the status of a specified comment in a snippet
        discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the discussion note.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdSnippetsNoteableIdDiscussionsDiscussionIdNotesNoteIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdSnippetsNoteableIdDiscussionsDiscussionIdNotesNoteId
      summary: Delete a comment from a snippet discussion
      description: Deletes a specified comment from a snippet discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the discussion note.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{noteable_id}/discussions":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsNoteableIdDiscussions
      summary: List all discussions for a merge request
      description: Lists all discussions for a specified merge request. Diff comments
        also contain position information.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDiscussion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the merge request.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdMergeRequestsNoteableIdDiscussions
      summary: Create a merge request discussion
      description: Creates a discussion for a specified merge request. Replies can
        be added to it later.
      tags:
      - Discussions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDiscussion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the merge request.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMergeRequestsNoteableIdDiscussionsRequest"
  "/api/v4/projects/{id}/merge_requests/{noteable_id}/discussions/{discussion_id}":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsNoteableIdDiscussionsDiscussionId
      summary: Retrieve a discussion for a merge request
      description: Retrieves a specified discussion for a merge request.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDiscussion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the merge request.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdMergeRequestsNoteableIdDiscussionsDiscussionId
      summary: Resolve or unresolve a merge request discussion
      description: Resolves or unresolves a specified merge request discussion. Requires
        at least the Developer role for the project. The merge request author can
        also resolve discussions.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDiscussion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the merge request.
        schema:
          type: integer
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdMergeRequestsNoteableIdDiscussionsDiscussionIdRequest"
  "/api/v4/projects/{id}/merge_requests/{noteable_id}/discussions/{discussion_id}/notes":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsNoteableIdDiscussionsDiscussionIdNotes
      summary: List comments in a merge request discussion
      description: Lists the comments in a specified merge request discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the merge request.
        schema:
          type: integer
        in: path
    post:
      operationId: postApiV4ProjectsIdMergeRequestsNoteableIdDiscussionsDiscussionIdNotes
      summary: Add a comment to a merge request discussion
      description: Adds a comment to a specified merge request discussion. If the
        discussion is a single comment, the comment becomes a thread.
      tags:
      - Discussions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the merge request.
        schema:
          type: integer
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMergeRequestsNoteableIdDiscussionsDiscussionIdNotesRequest"
  "/api/v4/projects/{id}/merge_requests/{noteable_id}/discussions/{discussion_id}/notes/{note_id}":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsNoteableIdDiscussionsDiscussionIdNotesNoteId
      summary: Retrieve a comment from a merge request discussion
      description: Retrieves a specified comment from a merge request discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the merge request.
        schema:
          type: integer
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the discussion note.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdMergeRequestsNoteableIdDiscussionsDiscussionIdNotesNoteId
      summary: Update a comment in a merge request discussion
      description: Updates or changes the status of a specified comment in a merge
        request discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the merge request.
        schema:
          type: integer
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the discussion note.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdMergeRequestsNoteableIdDiscussionsDiscussionIdNotesNoteIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdMergeRequestsNoteableIdDiscussionsDiscussionIdNotesNoteId
      summary: Delete a comment from a merge request discussion
      description: Deletes a specified comment from a merge request discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: IID of the merge request.
        schema:
          type: integer
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the discussion note.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/repository/commits/{noteable_id}/discussions":
    get:
      operationId: getApiV4ProjectsIdRepositoryCommitsNoteableIdDiscussions
      summary: List all discussions for a commit
      description: Lists all discussions for a specified commit. Diff comments also
        contain position information.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDiscussion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: SHA of the commit, or name of a repository branch or tag.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdRepositoryCommitsNoteableIdDiscussions
      summary: Create a commit discussion
      description: Creates a discussion for a specified commit. Replies can be added
        to it later. The position rules are the same as for merge request diff threads,
        except for `position[base_sha]`, `position[head_sha]`, and `position[start_sha]`.
      tags:
      - Discussions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDiscussion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: SHA of the commit, or name of a repository branch or tag.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdRepositoryCommitsNoteableIdDiscussionsRequest"
  "/api/v4/projects/{id}/repository/commits/{noteable_id}/discussions/{discussion_id}":
    get:
      operationId: getApiV4ProjectsIdRepositoryCommitsNoteableIdDiscussionsDiscussionId
      summary: Retrieve a discussion for a commit
      description: Retrieves a specified discussion for a commit.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDiscussion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: SHA of the commit, or name of a repository branch or tag.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/repository/commits/{noteable_id}/discussions/{discussion_id}/notes":
    get:
      operationId: getApiV4ProjectsIdRepositoryCommitsNoteableIdDiscussionsDiscussionIdNotes
      summary: List comments in a commit discussion
      description: Lists the comments in a specified commit discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: SHA of the commit, or name of a repository branch or tag.
        schema:
          type: string
        in: path
    post:
      operationId: postApiV4ProjectsIdRepositoryCommitsNoteableIdDiscussionsDiscussionIdNotes
      summary: Add a comment to a commit discussion
      description: Adds a comment to a specified commit discussion.
      tags:
      - Discussions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: SHA of the commit, or name of a repository branch or tag.
        schema:
          type: string
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdRepositoryCommitsNoteableIdDiscussionsDiscussionIdNotesRequest"
  "/api/v4/projects/{id}/repository/commits/{noteable_id}/discussions/{discussion_id}/notes/{note_id}":
    get:
      operationId: getApiV4ProjectsIdRepositoryCommitsNoteableIdDiscussionsDiscussionIdNotesNoteId
      summary: Retrieve a comment from a commit discussion
      description: Retrieves a specified comment from a commit discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: SHA of the commit, or name of a repository branch or tag.
        schema:
          type: string
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the discussion note.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdRepositoryCommitsNoteableIdDiscussionsDiscussionIdNotesNoteId
      summary: Update a comment in a commit discussion
      description: Updates or changes the status of a specified comment in a commit
        discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: SHA of the commit, or name of a repository branch or tag.
        schema:
          type: string
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the discussion note.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdRepositoryCommitsNoteableIdDiscussionsDiscussionIdNotesNoteIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdRepositoryCommitsNoteableIdDiscussionsDiscussionIdNotesNoteId
      summary: Delete a comment from a commit discussion
      description: Deletes a specified comment from a commit discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: SHA of the commit, or name of a repository branch or tag.
        schema:
          type: string
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the discussion note.
        schema:
          type: integer
        in: path
  "/api/v4/groups/{id}/epics/{noteable_id}/discussions":
    get:
      operationId: getApiV4GroupsIdEpicsNoteableIdDiscussions
      summary: List all discussions for an epic
      description: Lists all discussions for a specified epic.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDiscussion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the epic.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4GroupsIdEpicsNoteableIdDiscussions
      summary: Create an epic discussion
      description: Creates a discussion for a specified epic. Replies can be added
        to it later.
      tags:
      - Discussions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDiscussion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the epic.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdEpicsNoteableIdDiscussionsRequest"
  "/api/v4/groups/{id}/epics/{noteable_id}/discussions/{discussion_id}":
    get:
      operationId: getApiV4GroupsIdEpicsNoteableIdDiscussionsDiscussionId
      summary: Retrieve a discussion for an epic
      description: Retrieves a specified discussion for an epic.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDiscussion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the epic.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4GroupsIdEpicsNoteableIdDiscussionsDiscussionId
      summary: Resolve or unresolve an epic discussion
      description: Resolves or unresolves a specified epic discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDiscussion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the epic.
        schema:
          type: integer
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdEpicsNoteableIdDiscussionsDiscussionIdRequest"
  "/api/v4/groups/{id}/epics/{noteable_id}/discussions/{discussion_id}/notes":
    get:
      operationId: getApiV4GroupsIdEpicsNoteableIdDiscussionsDiscussionIdNotes
      summary: List comments in an epic discussion
      description: Lists the comments in a specified epic discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the epic.
        schema:
          type: integer
        in: path
    post:
      operationId: postApiV4GroupsIdEpicsNoteableIdDiscussionsDiscussionIdNotes
      summary: Add a comment to an epic discussion
      description: Adds a comment to a specified epic discussion. If the discussion
        is a single comment, the comment becomes a thread.
      tags:
      - Discussions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the epic.
        schema:
          type: integer
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdEpicsNoteableIdDiscussionsDiscussionIdNotesRequest"
  "/api/v4/groups/{id}/epics/{noteable_id}/discussions/{discussion_id}/notes/{note_id}":
    get:
      operationId: getApiV4GroupsIdEpicsNoteableIdDiscussionsDiscussionIdNotesNoteId
      summary: Retrieve a comment from an epic discussion
      description: Retrieves a specified comment from a epic discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the epic.
        schema:
          type: integer
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the discussion note.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4GroupsIdEpicsNoteableIdDiscussionsDiscussionIdNotesNoteId
      summary: Update a comment in an epic discussion
      description: Updates or changes the status of a specified comment in a epic
        discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the epic.
        schema:
          type: integer
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the discussion note.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdEpicsNoteableIdDiscussionsDiscussionIdNotesNoteIdRequest"
    delete:
      operationId: deleteApiV4GroupsIdEpicsNoteableIdDiscussionsDiscussionIdNotesNoteId
      summary: Delete a comment from an epic discussion
      description: Deletes a specified comment from a epic discussion.
      tags:
      - Discussions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNote"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: noteable_id
        required: true
        description: ID of the epic.
        schema:
          type: integer
        in: path
      - name: discussion_id
        required: true
        description: ID of the discussion.
        schema:
          type: string
        in: path
      - name: note_id
        required: true
        description: ID of the discussion note.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/boards":
    get:
      operationId: getApiV4ProjectsIdBoards
      summary: List all project issue boards
      description: Lists all issue boards in a specified project.
      tags:
      - Boards
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBoard"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdBoards
      summary: Create an issue board
      description: Creates an issue board in a specified project.
      tags:
      - Boards
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBoard"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdBoardsRequest"
  "/api/v4/projects/{id}/boards/{board_id}":
    get:
      operationId: getApiV4ProjectsIdBoardsBoardId
      summary: Retrieve an issue board
      description: Retrieves a specified issue board in a project.
      tags:
      - Boards
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBoard"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: board_id
        required: true
        description: ID of the board.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdBoardsBoardId
      summary: Update an issue board
      description: Updates a specified issue board in a project.
      tags:
      - Boards
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBoard"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: board_id
        required: true
        description: ID of the board.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdBoardsBoardIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdBoardsBoardId
      summary: Delete an issue board
      description: Deletes a specified issue board in a project.
      tags:
      - Boards
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBoard"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: board_id
        required: true
        description: ID of the board.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/boards/{board_id}/lists":
    get:
      operationId: getApiV4ProjectsIdBoardsBoardIdLists
      summary: List all board lists in an issue board
      description: Lists all lists in a specified issue board. Does not include `open`
        and `closed` lists.
      tags:
      - Boards
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesList"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: board_id
        required: true
        description: ID of the board.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdBoardsBoardIdLists
      summary: Create an issue board list
      description: Creates an issue board list.
      tags:
      - Boards
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesList"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: board_id
        required: true
        description: ID of the board.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdBoardsBoardIdListsRequest"
  "/api/v4/projects/{id}/boards/{board_id}/lists/{list_id}":
    get:
      operationId: getApiV4ProjectsIdBoardsBoardIdListsListId
      summary: Retrieve a board list
      description: Retrieves a specified list from an issue board.
      tags:
      - Boards
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesList"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: board_id
        required: true
        description: ID of the board.
        schema:
          type: integer
        in: path
      - name: list_id
        required: true
        description: ID of the board's list.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdBoardsBoardIdListsListId
      summary: Update position of a board list
      description: Updates the position of a specified list from an issue board.
      tags:
      - Boards
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesList"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: board_id
        required: true
        description: ID of the board.
        schema:
          type: integer
        in: path
      - name: list_id
        required: true
        description: ID of the board's list.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdBoardsBoardIdListsListIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdBoardsBoardIdListsListId
      summary: Delete a list from an issue board
      description: Deletes a specified list from an issue board.
      tags:
      - Boards
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesList"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: board_id
        required: true
        description: ID of the board.
        schema:
          type: integer
        in: path
      - name: list_id
        required: true
        description: ID of the board's list.
        schema:
          type: integer
        in: path
  "/api/v4/admin/sidekiq/concurrency_limits/{worker_class}":
    get:
      operationId: getApiV4AdminSidekiqConcurrencyLimitsWorkerClass
      summary: Get a Sidekiq worker concurrency limit
      description: Returns concurrency limits, override expiry and job counts.
      tags:
      - Sidekiq
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSidekiqConcurrencyLimit"
        '401':
          description: Unauthorized
        '403':
          description: Administrator access required
        '404':
          description: Worker not found
        '400':
          description: Bad Request
      parameters:
      - name: worker_class
        required: true
        description: Registered Sidekiq worker class name.
        schema:
          type: string
        in: path
    put:
      operationId: putApiV4AdminSidekiqConcurrencyLimitsWorkerClass
      summary: Update a Sidekiq worker concurrency limit override
      description: Overrides adaptive throttling until the TTL expires or the override
        is deleted.
      tags:
      - Sidekiq
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSidekiqConcurrencyLimit"
        '400':
          description: Invalid override
        '401':
          description: Unauthorized
        '403':
          description: Administrator access required
        '404':
          description: Worker not found
      parameters:
      - name: worker_class
        required: true
        description: Registered Sidekiq worker class name.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4AdminSidekiqConcurrencyLimitsWorkerClassRequest"
    delete:
      operationId: deleteApiV4AdminSidekiqConcurrencyLimitsWorkerClass
      summary: Delete a Sidekiq worker concurrency limit override
      description: Restores the adaptive limit if present, otherwise the worker default.
      tags:
      - Sidekiq
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSidekiqConcurrencyLimit"
        '401':
          description: Unauthorized
        '403':
          description: Administrator access required
        '404':
          description: Worker not found
        '400':
          description: Bad Request
      parameters:
      - name: worker_class
        required: true
        description: Registered Sidekiq worker class name.
        schema:
          type: string
        in: path
  "/api/v4/admin/sidekiq/queues/{queue_name}":
    delete:
      operationId: deleteApiV4AdminSidekiqQueuesQueueName
      summary: Delete jobs from a Sidekiq queue
      description: Deletes jobs from a Sidekiq queue that match the specified metadata.
        At least one of 32 related parameters must be provided.
      tags:
      - Sidekiq
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: queue_name
        required: true
        description: Name of the queue to delete jobs from.
        schema:
          type: string
        in: path
      - name: organization_id
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: user
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: user_id
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: gl_user_id
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: scoped_user
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: scoped_user_id
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: project
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: root_namespace
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: gl_root_namespace_id
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: client_id
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: caller_id
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: remote_ip
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: job_id
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: pipeline_id
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: related_class
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: feature_category
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: artifact_size
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: artifact_used_cdn
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: artifacts_dependencies_size
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: artifacts_dependencies_count
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: root_caller_id
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: merge_action_status
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: bulk_import_entity_id
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: sidekiq_destination_shard_redis
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: kubernetes_agent_id
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: mvcc_manifest
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: client_type
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: client_name
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: client_version
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: subscription_plan
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: ai_resource
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
      - name: worker_class
        required: false
        description: Metadata key to match
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/groups/{id}/wikis":
    get:
      operationId: getApiV4GroupsIdWikis
      summary: List all wiki pages for a group
      description: Lists all wiki pages for a specified group.
      tags:
      - Wikis
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesWikiPageBasic"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group or project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: with_content
        required: false
        description: If `true`, includes the content of each wiki page.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      x-gitlab-tier: premium
    post:
      operationId: postApiV4GroupsIdWikis
      summary: Create a wiki page for a group
      description: Creates a wiki page for a specified group. Requests can define
        the title, slug, and content.
      tags:
      - Wikis
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesWikiPage"
        '400':
          description: Validation error
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group or project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdWikisRequest"
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/wikis/{slug}":
    get:
      operationId: getApiV4GroupsIdWikisSlug
      summary: Retrieve a wiki page for a group
      description: Retrieves a specified wiki page for a group.
      tags:
      - Wikis
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesWikiPage"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group or project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: slug
        required: true
        description: URL-encoded slug of the wiki page, a unique string such as `dir%2Fpage_name`.
        schema:
          type: string
        in: path
      - name: version
        required: false
        description: Version SHA of the wiki page.
        schema:
          type: string
          nullable: true
        in: query
      - name: render_html
        required: false
        description: If `true`, returns the rendered HTML of the wiki page.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      x-gitlab-tier: premium
    put:
      operationId: putApiV4GroupsIdWikisSlug
      summary: Update a wiki page for a group
      description: Updates a specified wiki page for a group.
      tags:
      - Wikis
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesWikiPage"
        '400':
          description: Validation error
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group or project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: slug
        required: true
        description: URL-encoded slug of the wiki page, a unique string such as `dir%2Fpage_name`.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdWikisSlugRequest"
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4GroupsIdWikisSlug
      summary: Delete a wiki page for a group
      description: Deletes a specified wiki page from a group.
      tags:
      - Wikis
      responses:
        '204':
          description: No Content
        '400':
          description: Validation error
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group or project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: slug
        required: true
        description: URL-encoded slug of the wiki page, a unique string such as `dir%2Fpage_name`.
        schema:
          type: string
        in: path
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/wikis/attachments":
    post:
      operationId: postApiV4GroupsIdWikisAttachments
      summary: Upload an attachment to a group wiki
      description: Uploads a file to the `uploads` directory in a specified group
        wiki.
      tags:
      - Wikis
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesWikiAttachment"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group or project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdWikisAttachmentsRequest"
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/wikis":
    get:
      operationId: getApiV4ProjectsIdWikis
      summary: List all wiki pages for a project
      description: Lists all wiki pages for a specified project.
      tags:
      - Wikis
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesWikiPageBasic"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group or project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: with_content
        required: false
        description: If `true`, includes the content of each wiki page.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
    post:
      operationId: postApiV4ProjectsIdWikis
      summary: Create a wiki page for a project
      description: Creates a wiki page for a specified project. Requests can define
        the title, slug, and content.
      tags:
      - Wikis
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesWikiPage"
        '400':
          description: Validation error
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group or project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdWikisRequest"
  "/api/v4/projects/{id}/wikis/{slug}":
    get:
      operationId: getApiV4ProjectsIdWikisSlug
      summary: Retrieve a wiki page for a project
      description: Retrieves a specified wiki page for a project.
      tags:
      - Wikis
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesWikiPage"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group or project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: slug
        required: true
        description: URL-encoded slug of the wiki page, a unique string such as `dir%2Fpage_name`.
        schema:
          type: string
        in: path
      - name: version
        required: false
        description: Version SHA of the wiki page.
        schema:
          type: string
          nullable: true
        in: query
      - name: render_html
        required: false
        description: If `true`, returns the rendered HTML of the wiki page.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
    put:
      operationId: putApiV4ProjectsIdWikisSlug
      summary: Update a wiki page for a project
      description: Updates a specified wiki page for a project.
      tags:
      - Wikis
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesWikiPage"
        '400':
          description: Validation error
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group or project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: slug
        required: true
        description: URL-encoded slug of the wiki page, a unique string such as `dir%2Fpage_name`.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdWikisSlugRequest"
    delete:
      operationId: deleteApiV4ProjectsIdWikisSlug
      summary: Delete a wiki page for a project
      description: Deletes a specified wiki page from a project.
      tags:
      - Wikis
      responses:
        '204':
          description: No Content
        '400':
          description: Validation error
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group or project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: slug
        required: true
        description: URL-encoded slug of the wiki page, a unique string such as `dir%2Fpage_name`.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/wikis/attachments":
    post:
      operationId: postApiV4ProjectsIdWikisAttachments
      summary: Upload an attachment to a project wiki
      description: Uploads a file to the `uploads` directory in a specified project
        wiki.
      tags:
      - Wikis
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesWikiAttachment"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group or project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdWikisAttachmentsRequest"
  "/api/v4/web_commits/public_key":
    get:
      operationId: getApiV4WebCommitsPublicKey
      summary: Retrieve the public signing key
      description: Retrieves the GitLab public key for signing web commits. This feature
        was introduced in GitLab 17.4.
      tags:
      - Web commits
      responses:
        '200':
          description: OK
        '503':
          description: The git server, Gitaly, is not available at this time. Please
            contact your administrator.
        '404':
          description: Public key not found.
  "/api/v4/user/runners":
    post:
      operationId: postApiV4UserRunners
      summary: Create a runner owned by currently authenticated user
      description: Creates a runner linked to the current user. The user is listed
        as the owner for audit purposes, but runner availability is based on `runner_type`.
        The `token` value is included in the response, but cannot be retrieved later.
        For `instance_type`, requires an administrator. For `group_type`, requires
        an administrator, the Owner role for the group, or a custom role with the
        `admin_runners` permission. For `project_type`, requires an administrator,
        at least the Maintainer role for the project, or a custom role with the `admin_runners`
        permission. For `group_type` and `project_type`, users who are not administrators
        can create the runner only when runner registration is allowed for the group
        or project. Requires a token with the `create_runner` or `api` scope.
      tags:
      - Users
      - Runners
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiRunnerRegistrationDetails"
        '400':
          description: Bad Request
        '403':
          description: Forbidden
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4UserRunnersRequest"
  "/api/v4/user_counts":
    get:
      operationId: getApiV4UserCounts
      summary: Return the user specific counts
      description: 'Returns counts for the current user: open issues and active merge
        requests assigned to the user, merge requests the user is requested to review,
        and pending to-do items.'
      tags:
      - Users
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserCounts"
        '401':
          description: Unauthorized
  "/api/v4/usage_data/queries":
    get:
      operationId: getApiV4UsageDataQueries
      summary: List all Service Ping SQL queries
      description: Lists all raw SQL queries used to compute Service Ping. Administrators
        only.
      tags:
      - Usage data
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
  "/api/v4/usage_data/non_sql_metrics":
    get:
      operationId: getApiV4UsageDataNonSqlMetrics
      summary: List all non-SQL metrics
      description: Lists all non-SQL metrics data used in the Service ping. Administrators
        only.
      tags:
      - Usage data
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
  "/api/v4/usage_data/increment_counter":
    post:
      operationId: postApiV4UsageDataIncrementCounter
      summary: Track usage data event
      description: This feature was introduced in GitLab 13.4.
      tags:
      - Usage data
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '429':
          description: Too many requests
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4UsageDataIncrementCounterRequest"
  "/api/v4/usage_data/increment_unique_users":
    post:
      operationId: postApiV4UsageDataIncrementUniqueUsers
      summary: Track usage data event for the current user
      description: Tracks a unique-user event for the current user in Service Ping.
      tags:
      - Usage data
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '429':
          description: Too many requests
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4UsageDataIncrementUniqueUsersRequest"
  "/api/v4/usage_data/track_events":
    post:
      operationId: postApiV4UsageDataTrackEvents
      summary: Track multiple internal GitLab events
      description: Tracks one or more GitLab internal events in a single request.
        Each event increments Service Ping counters in Redis and is optionally sent
        to Snowplow. This feature was introduced in GitLab 17.3.
      tags:
      - Usage data
      responses:
        '200':
          description: OK
        '400':
          description: Validation error
        '401':
          description: Unauthorized
        '429':
          description: Too many requests
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4UsageDataTrackEventsRequest"
  "/api/v4/usage_data/metric_definitions":
    get:
      operationId: getApiV4UsageDataMetricDefinitions
      summary: Download metric definitions
      description: Downloads all metric definitions as a single YAML file.
      tags:
      - Metrics
      responses:
        '200':
          description: OK
          content:
            application/yaml:
              schema:
                type: string
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '429':
          description: Too many requests
        '400':
          description: Bad Request
      parameters:
      - name: include_paths
        required: false
        description: If `true`, includes file paths in the metric definitions.
        schema:
          type: boolean
          nullable: true
        in: query
        example: true
  "/api/v4/feature_flags/unleash/{project_id}":
    get:
      operationId: getApiV4FeatureFlagsUnleashProjectId
      summary: Get Unleash features
      description: This endpoint is a no-op and always returns a 200 OK response.
      tags:
      - Unleash
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: project_id
        required: true
        description: ID of the project.
        schema:
          type: string
        in: path
      - name: instance_id
        required: false
        description: Instance ID of Unleash Client.
        schema:
          type: string
          nullable: true
        in: query
      - name: app_name
        required: false
        description: Application name of Unleash Client.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/feature_flags/unleash/{project_id}/features":
    get:
      operationId: getApiV4FeatureFlagsUnleashProjectIdFeatures
      summary: Get a list of features (v2 client support)
      description: Deprecated in GitLab 15.6
      tags:
      - Unleash
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      deprecated: true
      parameters:
      - name: project_id
        required: true
        description: ID of the project.
        schema:
          type: string
        in: path
      - name: instance_id
        required: false
        description: Instance ID of Unleash Client.
        schema:
          type: string
          nullable: true
        in: query
      - name: app_name
        required: false
        description: Application name of Unleash Client.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/feature_flags/unleash/{project_id}/client/features":
    get:
      operationId: getApiV4FeatureFlagsUnleashProjectIdClientFeatures
      summary: Get a list of features
      description: Returns feature flags in the Unleash client features format used
        by GitLab feature flag clients.
      tags:
      - Unleash
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: project_id
        required: true
        description: ID of the project.
        schema:
          type: string
        in: path
      - name: instance_id
        required: false
        description: Instance ID of Unleash Client.
        schema:
          type: string
          nullable: true
        in: query
      - name: app_name
        required: false
        description: Application name of Unleash Client.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/feature_flags/unleash/{project_id}/client/register":
    post:
      operationId: postApiV4FeatureFlagsUnleashProjectIdClientRegister
      summary: Register Unleash client
      description: This endpoint is a no-op and always returns a 200 OK response.
      tags:
      - Unleash
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: project_id
        required: true
        description: ID of the project.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4FeatureFlagsUnleashProjectIdClientRegisterRequest"
  "/api/v4/feature_flags/unleash/{project_id}/client/metrics":
    post:
      operationId: postApiV4FeatureFlagsUnleashProjectIdClientMetrics
      summary: Report Unleash client metrics
      description: This endpoint is a no-op and always returns a 200 OK response.
      tags:
      - Unleash
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: project_id
        required: true
        description: ID of the project.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4FeatureFlagsUnleashProjectIdClientMetricsRequest"
  "/api/v4/topics":
    get:
      operationId: getApiV4Topics
      summary: List all topics
      description: Lists all project topics sorted by the number of associated projects.
      tags:
      - Project topics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProjectsTopic"
        '400':
          description: Bad Request
      parameters:
      - name: search
        required: false
        description: Search topics against their `name`.
        schema:
          type: string
          nullable: true
        in: query
        example: search
      - name: without_projects
        required: false
        description: If `true`, returns only topics that have no assigned projects.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: organization_id
        required: false
        description: Filter topics by organization ID.
        schema:
          type: integer
          nullable: true
        in: query
        example: 1
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4Topics
      summary: Create a project topic
      description: Creates a project topic. Administrators only.
      tags:
      - Project topics
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectsTopic"
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4TopicsRequest"
  "/api/v4/topics/{id}":
    get:
      operationId: getApiV4TopicsId
      summary: Retrieve a topic
      description: Retrieves a specified project topic.
      tags:
      - Project topics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectsTopic"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the project topic.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4TopicsId
      summary: Update a project topic
      description: Updates a specified project topic. Administrators only.
      tags:
      - Project topics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectsTopic"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the project topic.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4TopicsIdRequest"
    delete:
      operationId: deleteApiV4TopicsId
      summary: Delete a project topic
      description: Deletes a specified project topic. Administrators only. Deleting
        a topic also deletes its assignment to projects.
      tags:
      - Project topics
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the project topic.
        schema:
          type: integer
        in: path
  "/api/v4/topics/merge":
    post:
      operationId: postApiV4TopicsMerge
      summary: Merge topics
      description: Merges a source topic into a target topic. This action deletes
        the source topic and moves all assigned projects to the target topic. Administrators
        only. The source and target topics must belong to the same organization.
      tags:
      - Project topics
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectsTopic"
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4TopicsMergeRequest"
  "/api/v4/projects/{id}/terraform/state/{name}/versions/{serial}":
    get:
      operationId: getApiV4ProjectsIdTerraformStateNameVersionsSerial
      summary: Retrieve a Terraform state version
      description: Retrieves a specified Terraform state version.
      tags:
      - Terraform
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: name
        required: true
        description: Name of the Terraform state.
        schema:
          type: string
        in: path
      - name: serial
        required: true
        description: Version number of the Terraform state.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdTerraformStateNameVersionsSerial
      summary: Delete a Terraform state version
      description: Deletes a specified Terraform state version.
      tags:
      - Terraform
      responses:
        '204':
          description: No Content
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: name
        required: true
        description: Name of the Terraform state.
        schema:
          type: string
        in: path
      - name: serial
        required: true
        description: Version number of the Terraform state.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/terraform/state_protection_rules":
    get:
      operationId: getApiV4ProjectsIdTerraformStateProtectionRules
      summary: List all Terraform state protection rules for a project
      description: Lists all Terraform state protection rules for a project. This
        feature was introduced in GitLab 18.11.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesTerraformStateProtectionRule"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
    post:
      operationId: postApiV4ProjectsIdTerraformStateProtectionRules
      summary: Create a Terraform state protection rule for a project
      description: This feature was introduced in GitLab 19.1.
      tags:
      - Projects
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesTerraformStateProtectionRule"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '422':
          description: Unprocessable Entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdTerraformStateProtectionRulesRequest"
  "/api/v4/projects/{id}/terraform/state_protection_rules/{terraform_state_protection_rule_id}":
    patch:
      operationId: patchApiV4ProjectsIdTerraformStateProtectionRulesTerraformStateProtectionRuleId
      summary: Update a Terraform state protection rule for a project
      description: This feature was introduced in GitLab 19.0.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesTerraformStateProtectionRule"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '422':
          description: Unprocessable Entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: terraform_state_protection_rule_id
        required: true
        description: ID of the Terraform state protection rule.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4ProjectsIdTerraformStateProtectionRulesTerraformStateProtectionRuleIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdTerraformStateProtectionRulesTerraformStateProtectionRuleId
      summary: Delete a Terraform state protection rule
      description: This feature was introduced in GitLab 19.0.
      tags:
      - Projects
      responses:
        '204':
          description: 204 No Content
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: terraform_state_protection_rule_id
        required: true
        description: ID of the Terraform state protection rule.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/terraform/state/{name}":
    get:
      operationId: getApiV4ProjectsIdTerraformStateName
      summary: Retrieve a Terraform state
      description: Retrieves a Terraform state by name for a specified project.
      tags:
      - Terraform
      responses:
        '200':
          description: OK
        '204':
          description: Empty state
        '403':
          description: Forbidden
        '404':
          description: Not found
        '422':
          description: Validation failure
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: name
        required: true
        description: Name of the Terraform state.
        schema:
          type: string
        in: path
      - name: ID
        required: false
        description: Terraform state lock ID.
        schema:
          type: string
          nullable: true
          maxLength: 255
        in: query
    post:
      operationId: postApiV4ProjectsIdTerraformStateName
      summary: Create or update a Terraform state
      description: Creates or updates a Terraform state for a specified project.
      tags:
      - Terraform
      responses:
        '200':
          description: OK
        '204':
          description: No data provided
        '403':
          description: Forbidden
        '422':
          description: Validation failure
        '413':
          description: Request Entity Too Large
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: name
        required: true
        description: Name of the Terraform state.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdTerraformStateNameRequest"
    delete:
      operationId: deleteApiV4ProjectsIdTerraformStateName
      summary: Delete a Terraform state
      description: Deletes a Terraform state for a specified project.
      tags:
      - Terraform
      responses:
        '200':
          description: OK
        '403':
          description: Forbidden
        '404':
          description: Not found
        '422':
          description: Validation failure
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: name
        required: true
        description: Name of the Terraform state.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/terraform/state/{name}/authorize":
    post:
      operationId: postApiV4ProjectsIdTerraformStateNameAuthorize
      summary: Authorize Terraform state upload
      description: Authorizes uploading a Terraform state for a specified project.
        This feature was introduced in GitLab 18.5.
      tags:
      - Terraform
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: name
        required: true
        description: Name of the Terraform state.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/terraform/state/{name}/lock":
    post:
      operationId: postApiV4ProjectsIdTerraformStateNameLock
      summary: Lock a Terraform state
      description: Locks a Terraform state for a specified project.
      tags:
      - Terraform
      responses:
        '200':
          description: OK
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Conflict
        '422':
          description: Validation failure
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: name
        required: true
        description: Name of the Terraform state.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdTerraformStateNameLockRequest"
    delete:
      operationId: deleteApiV4ProjectsIdTerraformStateNameLock
      summary: Unlock a Terraform state
      description: Unlocks a Terraform state for a specified project.
      tags:
      - Terraform
      responses:
        '200':
          description: OK
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Conflict
        '422':
          description: Validation failure
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: name
        required: true
        description: Name of the Terraform state.
        schema:
          type: string
        in: path
      - name: ID
        required: false
        description: Terraform state lock ID.
        schema:
          type: string
          nullable: true
          maxLength: 255
        in: query
  "/api/v4/projects/{id}/packages/terraform/modules/{module_name}/{module_system}":
    get:
      operationId: getApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystem
      summary: Download the latest version of a module
      description: Downloads the latest version of a specified module. This feature
        was introduced in GitLab 16.7.
      tags:
      - Terraform
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: module_name
        required: true
        description: Module name.
        schema:
          type: string
        in: path
        example: infra-registry
      - name: module_system
        required: true
        description: Name of the module system, or [provider](https://developer.hashicorp.com/terraform/registry/providers).
        schema:
          type: string
        in: path
        example: aws
      - name: terraform-get
        required: false
        description: Terraform get redirection flag.
        schema:
          type: string
          enum:
          - '1'
          nullable: true
        in: query
  "/api/v4/projects/{id}/packages/terraform/modules/{module_name}/{module_system}/{module_version}":
    get:
      operationId: getApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemModuleVersion
      summary: Download a specific version of a module
      description: This feature was introduced in GitLab 16.7
      tags:
      - Terraform
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: module_name
        required: true
        description: Module name.
        schema:
          type: string
        in: path
        example: infra-registry
      - name: module_system
        required: true
        description: Name of the module system, or [provider](https://developer.hashicorp.com/terraform/registry/providers).
        schema:
          type: string
        in: path
        example: aws
      - name: module_version
        required: true
        description: Module version
        schema:
          type: string
        in: path
      - name: terraform-get
        required: false
        description: Terraform get redirection flag.
        schema:
          type: string
          enum:
          - '1'
          nullable: true
        in: query
  "/api/v4/projects/{id}/packages/terraform/modules/{module_name}/{module_system}/{module_version}/file/authorize":
    put:
      operationId: putApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemModuleVersionFileAuthorize
      summary: Workhorse authorize Terraform Module package file
      description: This feature was introduced in GitLab 13.11
      tags:
      - Terraform
      responses:
        '200':
          description: OK
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: module_name
        required: true
        description: Module name.
        schema:
          type: string
        in: path
        example: infra-registry
      - name: module_system
        required: true
        description: Name of the module system, or [provider](https://developer.hashicorp.com/terraform/registry/providers).
        schema:
          type: string
        in: path
        example: aws
      - name: module_version
        required: true
        description: Module version
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/terraform/modules/{module_name}/{module_system}/{module_version}/file":
    put:
      operationId: putApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemModuleVersionFile
      summary: Upload Terraform Module package file
      description: Uploads a module for a specified project. This feature was introduced
        in GitLab 13.11
      tags:
      - Terraform
      responses:
        '201':
          description: Created
        '400':
          description: Invalid file
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: module_name
        required: true
        description: Module name.
        schema:
          type: string
        in: path
        example: infra-registry
      - name: module_system
        required: true
        description: Name of the module system, or [provider](https://developer.hashicorp.com/terraform/registry/providers).
        schema:
          type: string
        in: path
        example: aws
      - name: module_version
        required: true
        description: Module version
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemModuleVersionFileRequest"
  "/api/v4/packages/terraform/modules/v1/{module_namespace}/{module_name}/{module_system}/versions":
    get:
      operationId: getApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystemVersions
      summary: List all available versions for a module
      description: Lists all available versions for a specified module.
      tags:
      - Terraform
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesTerraformModuleVersions"
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: module_namespace
        required: true
        description: Group's ID or slug. The slug is the path of the top-level group
          (namespace) that the module's project or subgroup belongs to.
        schema:
          type: string
        in: path
      - name: module_name
        required: true
        description: Name of the module.
        schema:
          type: string
        in: path
      - name: module_system
        required: true
        description: Name of the module system, or [provider](https://developer.hashicorp.com/terraform/registry/providers).
        schema:
          type: string
        in: path
  "/api/v4/packages/terraform/modules/v1/{module_namespace}/{module_name}/{module_system}/download":
    get:
      operationId: getApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystemDownload
      summary: Retrieve download URL for latest module version
      description: Retrieves download URL for latest module version. Redirects to
        `packages/terraform/modules/v1/:module_namespace/:module_name/:module_system/:module_version/download`
        for the latest version, which returns the URL in the `X-Terraform-Get` header
        with an empty `204 No Content` response.
      tags:
      - Terraform
      responses:
        '302':
          description: Found
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: module_namespace
        required: true
        description: Group's ID or slug. The slug is the path of the top-level group
          (namespace) that the module's project or subgroup belongs to.
        schema:
          type: string
        in: path
      - name: module_name
        required: true
        description: Name of the module.
        schema:
          type: string
        in: path
      - name: module_system
        required: true
        description: Name of the module system, or [provider](https://developer.hashicorp.com/terraform/registry/providers).
        schema:
          type: string
        in: path
  "/api/v4/packages/terraform/modules/v1/{module_namespace}/{module_name}/{module_system}":
    get:
      operationId: getApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystem
      summary: Retrieve latest version for a module
      description: Retrieves latest version for a specified module.
      tags:
      - Terraform
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesTerraformModuleVersion"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: module_namespace
        required: true
        description: Group's ID or slug. The slug is the path of the top-level group
          (namespace) that the module's project or subgroup belongs to.
        schema:
          type: string
        in: path
      - name: module_name
        required: true
        description: Name of the module.
        schema:
          type: string
        in: path
      - name: module_system
        required: true
        description: Name of the module system, or [provider](https://developer.hashicorp.com/terraform/registry/providers).
        schema:
          type: string
        in: path
  "/api/v4/packages/terraform/modules/v1/{module_namespace}/{module_name}/{module_system}/{module_version}/download":
    get:
      operationId: getApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystemModuleVersionDownload
      summary: Get download location for specific version of a module
      description: Returns the download URL for a specified module version in the
        `X-Terraform-Get` header, with an empty `204 No Content` response.
      tags:
      - Terraform
      responses:
        '204':
          description: No Content
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: module_namespace
        required: true
        description: Group's ID or slug. The slug is the path of the top-level group
          (namespace) that the module's project or subgroup belongs to.
        schema:
          type: string
        in: path
      - name: module_name
        required: true
        description: Name of the module.
        schema:
          type: string
        in: path
      - name: module_system
        required: true
        description: Name of the module system, or [provider](https://developer.hashicorp.com/terraform/registry/providers).
        schema:
          type: string
        in: path
      - name: module_version
        required: true
        description: Version of the module
        schema:
          type: string
        in: path
  "/api/v4/packages/terraform/modules/v1/{module_namespace}/{module_name}/{module_system}/{module_version}/file":
    get:
      operationId: getApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystemModuleVersionFile
      summary: Download specific version of a module
      description: Download specific version of a module
      tags:
      - Terraform
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: module_namespace
        required: true
        description: Group's ID or slug. The slug is the path of the top-level group
          (namespace) that the module's project or subgroup belongs to.
        schema:
          type: string
        in: path
      - name: module_name
        required: true
        description: Name of the module.
        schema:
          type: string
        in: path
      - name: module_system
        required: true
        description: Name of the module system, or [provider](https://developer.hashicorp.com/terraform/registry/providers).
        schema:
          type: string
        in: path
      - name: module_version
        required: true
        description: Version of the module
        schema:
          type: string
        in: path
  "/api/v4/packages/terraform/modules/v1/{module_namespace}/{module_name}/{module_system}/{module_version}":
    get:
      operationId: getApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystemModuleVersion
      summary: Get details about specific version of a module
      description: Get details about specific version of a module
      tags:
      - Terraform
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesTerraformModuleVersion"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: module_namespace
        required: true
        description: Group's ID or slug. The slug is the path of the top-level group
          (namespace) that the module's project or subgroup belongs to.
        schema:
          type: string
        in: path
      - name: module_name
        required: true
        description: Name of the module.
        schema:
          type: string
        in: path
      - name: module_system
        required: true
        description: Name of the module system, or [provider](https://developer.hashicorp.com/terraform/registry/providers).
        schema:
          type: string
        in: path
      - name: module_version
        required: true
        description: Version of the module
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/repository/tags":
    get:
      operationId: getApiV4ProjectsIdRepositoryTags
      summary: List all project repository tags
      description: Lists all repository tags from a project, sorted by update date
        and time in descending order. This endpoint can be accessed without authentication
        if the repository is publicly accessible.
      tags:
      - Tags
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesTag"
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '503':
          description: Service unavailable
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: order_by
        required: false
        description: Sort results by the specified field. Sorting by version uses
          the semantic version number.
        schema:
          type: string
          enum:
          - name
          - updated
          - version
          nullable: true
          default: updated
        in: query
      - name: search
        required: false
        description: Return only tags matching the search criteria. Use `^term` to
          find tags that begin with `term`, and `term$` to find tags that end with
          `term`. No other regular expressions are supported.
        schema:
          type: string
          nullable: true
        in: query
      - name: page_token
        required: false
        description: Name of the tag to start the pagination from. Used for keyset
          pagination.
        schema:
          type: string
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdRepositoryTags
      summary: Create a tag
      description: Creates a tag in the repository that points to a specified reference.
        This endpoint is rate-limited for each project. The default is 100 requests
        every 30 minutes, configurable with the `tags_create_limit` application setting.
        Set the limit to `0` to disable it. The limit is shared between this endpoint,
        the GraphQL `tagCreate` mutation, tag creation in the UI, and the `/tag` quick
        action. The limit applies to the project, so you can receive `429 Too Many
        Requests` after other users of the project reach the limit. The type of tag
        created determines the contents of `created_at`, `target`, and `message`.
        For annotated tags, `created_at` contains the timestamp of tag creation, `message`
        contains the annotation, and `target` contains the ID of the tag object. For
        lightweight tags, `created_at` and `message` are null, and `target` contains
        the commit ID.
      tags:
      - Tags
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesTag"
        '400':
          description: Bad request
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdRepositoryTagsRequest"
  "/api/v4/projects/{id}/repository/tags/{tag_name}":
    get:
      operationId: getApiV4ProjectsIdRepositoryTagsTagName
      summary: Retrieve a single repository tag
      description: Retrieves a repository tag with a specified name. This endpoint
        can be accessed without authentication if the repository is publicly accessible.
      tags:
      - Tags
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesTag"
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: tag_name
        required: true
        description: Name of the tag.
        schema:
          type: string
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdRepositoryTagsTagName
      summary: Delete a tag
      description: Deletes a specified repository tag.
      tags:
      - Tags
      responses:
        '204':
          description: No Content
        '400':
          description: Bad request
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '412':
          description: Precondition failed
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: tag_name
        required: true
        description: Name of the tag.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/repository/tags/{tag_name}/signature":
    get:
      operationId: getApiV4ProjectsIdRepositoryTagsTagNameSignature
      summary: Retrieve X.509 signature of a tag
      description: Retrieves the X.509 signature from a signed tag. Unsigned tags
        return a `404 Not Found` response.
      tags:
      - Tags
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesTagSignature"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: tag_name
        required: true
        description: Name of the tag.
        schema:
          type: string
        in: path
  "/api/v4/hooks/{hook_id}/url_variables/{key}":
    put:
      operationId: putApiV4HooksHookIdUrlVariablesKey
      summary: Update a URL variable
      description: Updates a URL variable for a specified webhook. Setting the value
        does not replace a literal value in the existing webhook URL with the placeholder.
        To use the variable, also update the webhook URL to include the `{key}` placeholder.
      tags:
      - Hooks
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: hook_id
        required: true
        description: ID of the hook.
        schema:
          type: integer
        in: path
      - name: key
        required: true
        description: Key of the URL variable.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4HooksHookIdUrlVariablesKeyRequest"
    delete:
      operationId: deleteApiV4HooksHookIdUrlVariablesKey
      summary: Delete a URL variable
      description: Deletes a URL variable from a specified webhook.
      tags:
      - Hooks
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: hook_id
        required: true
        description: ID of the hook.
        schema:
          type: integer
        in: path
      - name: key
        required: true
        description: Key of the URL variable.
        schema:
          type: string
        in: path
  "/api/v4/hooks/{hook_id}/custom_headers/{key}":
    put:
      operationId: putApiV4HooksHookIdCustomHeadersKey
      summary: Update a custom header
      description: Updates a custom header for a specified webhook. This feature was
        introduced in GitLab 17.1.
      tags:
      - Hooks
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: hook_id
        required: true
        description: ID of the hook.
        schema:
          type: integer
        in: path
      - name: key
        required: true
        description: Name of the custom header.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4HooksHookIdCustomHeadersKeyRequest"
    delete:
      operationId: deleteApiV4HooksHookIdCustomHeadersKey
      summary: Delete a custom header
      description: Deletes a custom header from a specified webhook. This feature
        was introduced in GitLab 17.1.
      tags:
      - Hooks
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: hook_id
        required: true
        description: ID of the hook.
        schema:
          type: integer
        in: path
      - name: key
        required: true
        description: Name of the custom header.
        schema:
          type: string
        in: path
  "/api/v4/hooks":
    get:
      operationId: getApiV4Hooks
      summary: List all system hooks
      description: Lists all system hooks for the instance.
      tags:
      - Hooks
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesHook"
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4Hooks
      summary: Create a system hook
      description: Creates a system hook. This endpoint has a rate limit of five requests
        per minute for each authenticated user. On GitLab Self-Managed and GitLab
        Dedicated, an administrator can change this limit in the application settings.
      tags:
      - Hooks
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesHook"
        '400':
          description: Validation error
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '429':
          description: Too many requests
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4HooksRequest"
  "/api/v4/hooks/{hook_id}":
    get:
      operationId: getApiV4HooksHookId
      summary: Retrieve a system hook
      description: Retrieves a specified system hook.
      tags:
      - Hooks
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesHook"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: hook_id
        required: true
        description: ID of the system hook.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4HooksHookId
      summary: Update a system hook
      description: Updates a specified system hook.
      tags:
      - Hooks
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesHook"
        '400':
          description: Validation error
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: hook_id
        required: true
        description: ID of the system hook.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4HooksHookIdRequest"
    post:
      operationId: postApiV4HooksHookId
      summary: Create a test run
      description: Creates a test run for a webhook. Executes the webhook with mock
        data.
      tags:
      - Hooks
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: hook_id
        required: true
        description: ID of the system hook.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4HooksHookId
      summary: Delete a system hook
      description: Deletes a specified system hook. Administrators only.
      tags:
      - Hooks
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesHook"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: hook_id
        required: true
        description: ID of the system hook.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/attestations/signing_certificates":
    get:
      operationId: getApiV4ProjectsIdAttestationsSigningCertificates
      summary: List all signing certificates for a project
      description: Lists the unexpired certificate authority (CA) certificates of
        a project. GitLab uses these CAs to issue the certificates that sign attestations
        with the LOCAL_CA attestation method. This feature was introduced in GitLab
        19.6.
      tags:
      - Attestations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesSupplyChainSigningCertificate"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-lifecycle: experiment
  "/api/v4/projects/{id}/attestations/{subject_digest}":
    get:
      operationId: getApiV4ProjectsIdAttestationsSubjectDigest
      summary: List all attestations for a project
      description: Lists all attestations for a specified project and artifact SHA-256
        hash. This feature was introduced in GitLab 18.7.
      tags:
      - Attestations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesSupplyChainAttestation"
        '404':
          description: Artifact SHA-256 not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: subject_digest
        required: true
        description: Hex-encoded SHA-256 hash of the artifact.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/attestations/{attestation_iid}/download":
    get:
      operationId: getApiV4ProjectsIdAttestationsAttestationIidDownload
      summary: Retrieve an attestation bundle
      description: Retrieves a specified attestation provenance bundle. The Sigstore
        bundle is returned in the response body. This feature was introduced in GitLab
        18.7.
      tags:
      - Attestations
      responses:
        '200':
          description: OK
        '404':
          description: Artifact SHA-256 not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: attestation_iid
        required: true
        description: Internal ID of the attestation, as returned by the list attestations
          API endpoint.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/suggestions/{id}/apply":
    put:
      operationId: putApiV4SuggestionsIdApply
      summary: Apply a suggestion to a merge request
      description: Applies a suggested patch in a merge request. You must have the
        Developer, Maintainer, or Owner role.
      tags:
      - Suggestions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSuggestion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the suggestion.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4SuggestionsIdApplyRequest"
  "/api/v4/suggestions/batch_apply":
    put:
      operationId: putApiV4SuggestionsBatchApply
      summary: Apply multiple suggestions to a merge request
      description: Applies multiple suggested patches in a merge request. You must
        have the Developer, Maintainer, or Owner role.
      tags:
      - Suggestions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSuggestion"
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4SuggestionsBatchApplyRequest"
  "/api/v4/projects/{id}/repository/submodules/{submodule}":
    put:
      operationId: putApiV4ProjectsIdRepositorySubmodulesSubmodule
      summary: Update a submodule reference
      description: Updates a reference for a specified submodule. Used in workflows,
        especially automated ones, to keep other projects that use the submodule up
        to date.
      tags:
      - Submodules
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCommitDetail"
        '404':
          description: 404 Project Not Found
        '401':
          description: 401 Unauthorized
        '400':
          description: The repository is empty
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: gitlab-org/gitlab
      - name: submodule
        required: true
        description: URL-encoded full path to the submodule, for example `lib%2Fclass%2Erb`.
        schema:
          type: string
        in: path
        example: gitlab-org/gitlab-shell
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdRepositorySubmodulesSubmoduleRequest"
  "/api/v4/application/statistics":
    get:
      operationId: getApiV4ApplicationStatistics
      summary: Retrieve application statistics
      description: Retrieves the current application statistics for this GitLab instance.
      tags:
      - Instance
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesApplicationStatistics"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
  "/api/v4/snippets":
    get:
      operationId: getApiV4Snippets
      summary: List all snippets for current user
      description: Lists all snippets for the currently authenticated user.
      tags:
      - Snippets
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesSnippet"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: created_after
        required: false
        description: Return snippets created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: created_before
        required: false
        description: Return snippets created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4Snippets
      summary: Create a snippet
      description: Creates a snippet. The user must have permission to create snippets.
        Creating snippets is rate limited to 300 requests every hour for each authenticated
        user. The limit is shared between this endpoint, creating a project snippet,
        and the `createSnippet` GraphQL mutation.
      tags:
      - Snippets
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPersonalSnippet"
        '400':
          description: Validation error
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4SnippetsRequest"
  "/api/v4/snippets/public":
    get:
      operationId: getApiV4SnippetsPublic
      summary: List all public snippets
      description: Lists all public snippets accessible to the currently authenticated
        user.
      tags:
      - Snippets
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesPersonalSnippet"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: created_after
        required: false
        description: Return snippets created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: created_before
        required: false
        description: Return snippets created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/snippets/all":
    get:
      operationId: getApiV4SnippetsAll
      summary: List all snippets
      description: Lists all snippets available to the currently authenticated user.
        Users with Administrator or Auditor access levels can see all snippets (both
        personal and project). This feature was introduced in GitLab 16.3.
      tags:
      - Snippets
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesSnippet"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: created_after
        required: false
        description: Return snippets created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: created_before
        required: false
        description: Return snippets created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: repository_storage
        required: false
        description: Filter by repository storage used by the snippet. Administrators
          only.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/snippets/{id}":
    get:
      operationId: getApiV4SnippetsId
      summary: Retrieve a snippet
      description: Retrieves a specified snippet.
      tags:
      - Snippets
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPersonalSnippet"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4SnippetsId
      summary: Update snippet
      description: Updates a specified snippet. The user must have permission to change
        the snippet.
      tags:
      - Snippets
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPersonalSnippet"
        '400':
          description: Validation error
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4SnippetsIdRequest"
    delete:
      operationId: deleteApiV4SnippetsId
      summary: Delete snippet
      description: Deletes a specified snippet.
      tags:
      - Snippets
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPersonalSnippet"
        '400':
          description: Validation error
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
  "/api/v4/snippets/{id}/raw":
    get:
      operationId: getApiV4SnippetsIdRaw
      summary: Retrieve a raw snippet
      description: Retrieves the raw contents of a specified snippet as plain text
      tags:
      - Snippets
      responses:
        '200':
          description: OK
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
  "/api/v4/snippets/{id}/files/{ref}/{file_path}/raw":
    get:
      operationId: getApiV4SnippetsIdFilesRefFilePathRaw
      summary: Retrieve snippet file content
      description: Retrieves the raw file content from a snippet as plain text.
      tags:
      - Snippets
      responses:
        '200':
          description: OK
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: ref
        required: true
        description: The name of branch, tag or commit
        schema:
          type: string
        in: path
      - name: file_path
        required: true
        description: The URL-encoded path to the file, like lib%2Fclass%2Erb
        schema:
          type: string
        in: path
      - name: id
        required: true
        description: ID of the snippet.
        schema:
          type: string
        in: path
  "/api/v4/snippets/{id}/user_agent_detail":
    get:
      operationId: getApiV4SnippetsIdUserAgentDetail
      summary: Retrieve user agent details for a snippet
      description: Retrieves user agent details for a specified snippet. Available
        only for administrators.
      tags:
      - Snippets
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserAgentDetail"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
  "/api/v4/search":
    get:
      operationId: getApiV4Search
      summary: Search an instance
      description: Searches for a term across the entire GitLab instance. The response
        depends on the requested scope.
      tags:
      - Search
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
      parameters:
      - name: search
        required: true
        description: Search query.
        schema:
          type: string
          nullable: true
        in: query
      - name: scope
        required: true
        description: Scope of the search.
        schema:
          type: string
          enum:
          - wiki_blobs
          - blobs
          - commits
          - notes
          - projects
          - groups
          - issues
          - work_items
          - merge_requests
          - milestones
          - snippet_titles
          - users
          minLength: 1
        in: query
      - name: state
        required: false
        description: Filter results by state. Applies only to the `issues`, `work_items`,
          and `merge_requests` scopes.
        schema:
          type: string
          enum:
          - all
          - opened
          - closed
          - merged
          nullable: true
        in: query
      - name: confidential
        required: false
        description: If `true`, returns only confidential results. If `false`, returns
          only non-confidential results. Applies only to the `issues` and `work_items`
          scopes.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: type
        required: false
        description: 'Filter work items by type. Only applies to work_items scope.
          Available types: issue, task, epic, incident, test_case, requirement, objective,
          key_result, ticket.'
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
      - name: include_archived
        required: false
        description: If `true`, includes archived projects in the search. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/493281)
          in GitLab 18.7.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: fields
        required: false
        description: Fields to search. Supports only `issues` and `merge_requests`
          scopes. Premium and Ultimate only.
        schema:
          type: array
          items:
            type: string
            enum:
            - title
          nullable: true
        in: query
        style: form
        explode: false
      - name: exclude_forks
        required: false
        description: If `true`, excludes forked projects from the search. If omitted,
          forks are excluded. Available for exact code search. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/493281)
          in GitLab 18.7.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: num_context_lines
        required: false
        description: Number of context lines to include around each match in the results.
          Available for advanced and exact code search only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/583217)
          in GitLab 18.11.
        schema:
          type: integer
          minimum: 0
          maximum: 20
          nullable: true
        in: query
      - name: regex
        required: false
        description: If `true`, uses regular expressions to search for code. If omitted,
          regular expressions are used. Available for exact code search. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/521686)
          in GitLab 18.9.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: source_branch
        required: false
        description: Filter merge requests by source branch. Available with advanced
          search and the merge_requests scope.
        schema:
          type: string
          nullable: true
        in: query
      - name: target_branch
        required: false
        description: Filter merge requests by target branch. Available with advanced
          search and the merge_requests scope.
        schema:
          type: string
          nullable: true
        in: query
      - name: author_username
        required: false
        description: Filter by author username. A username that matches no user is
          ignored. Available with advanced search and the issues, merge_requests and
          work_items scopes.
        schema:
          type: string
          nullable: true
        in: query
      - name: label_name
        required: false
        description: Filter by label name. A result must carry every name that resolves
          to an existing label; names that match no label are ignored. Maximum 30
          names. Available with advanced search and the issues, merge_requests and
          work_items scopes.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
      - name: not
        required: false
        description: Filter out results matching the parameters supplied. Supplying
          a filter together with its negation matches either condition, which widens
          the result set.
        schema:
          type: object
          nullable: true
        in: query
      - name: not[source_branch]
        required: false
        description: Exclude merge requests with this source branch
        schema:
          type: string
          nullable: true
        in: query
      - name: not[target_branch]
        required: false
        description: Exclude merge requests with this target branch
        schema:
          type: string
          nullable: true
        in: query
      - name: not[author_username]
        required: false
        description: Exclude results authored by this username
        schema:
          type: string
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/groups/{id}/(-/)search":
    get:
      operationId: getApiV4GroupsIdDashSearch
      summary: Search on GitLab within a group
      description: This feature was introduced in GitLab 10.5.
      tags:
      - Search
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: search
        required: true
        description: Search query.
        schema:
          type: string
          nullable: true
        in: query
      - name: scope
        required: true
        description: Scope of the search.
        schema:
          type: string
          enum:
          - wiki_blobs
          - blobs
          - commits
          - notes
          - projects
          - groups
          - issues
          - work_items
          - merge_requests
          - milestones
          - users
          minLength: 1
        in: query
      - name: state
        required: false
        description: Filter results by state. Applies only to the `issues`, `work_items`,
          and `merge_requests` scopes.
        schema:
          type: string
          enum:
          - all
          - opened
          - closed
          - merged
          nullable: true
        in: query
      - name: confidential
        required: false
        description: If `true`, returns only confidential results. If `false`, returns
          only non-confidential results. Applies only to the `issues` and `work_items`
          scopes.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: type
        required: false
        description: 'Filter work items by type. Only applies to work_items scope.
          Available types: issue, task, epic, incident, test_case, requirement, objective,
          key_result, ticket.'
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
      - name: include_archived
        required: false
        description: If `true`, includes archived projects in the search. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/493281)
          in GitLab 18.7.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: fields
        required: false
        description: Fields to search. Supports only `issues` and `merge_requests`
          scopes. Premium and Ultimate only.
        schema:
          type: array
          items:
            type: string
            enum:
            - title
          nullable: true
        in: query
        style: form
        explode: false
      - name: exclude_forks
        required: false
        description: If `true`, excludes forked projects from the search. If omitted,
          forks are excluded. Available for exact code search. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/493281)
          in GitLab 18.7.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: num_context_lines
        required: false
        description: Number of context lines to include around each match in the results.
          Available for advanced and exact code search only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/583217)
          in GitLab 18.11.
        schema:
          type: integer
          minimum: 0
          maximum: 20
          nullable: true
        in: query
      - name: regex
        required: false
        description: If `true`, uses regular expressions to search for code. If omitted,
          regular expressions are used. Available for exact code search. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/521686)
          in GitLab 18.9.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: source_branch
        required: false
        description: Filter merge requests by source branch. Available with advanced
          search and the merge_requests scope.
        schema:
          type: string
          nullable: true
        in: query
      - name: target_branch
        required: false
        description: Filter merge requests by target branch. Available with advanced
          search and the merge_requests scope.
        schema:
          type: string
          nullable: true
        in: query
      - name: author_username
        required: false
        description: Filter by author username. A username that matches no user is
          ignored. Available with advanced search and the issues, merge_requests and
          work_items scopes.
        schema:
          type: string
          nullable: true
        in: query
      - name: label_name
        required: false
        description: Filter by label name. A result must carry every name that resolves
          to an existing label; names that match no label are ignored. Maximum 30
          names. Available with advanced search and the issues, merge_requests and
          work_items scopes.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
      - name: not
        required: false
        description: Filter out results matching the parameters supplied. Supplying
          a filter together with its negation matches either condition, which widens
          the result set.
        schema:
          type: object
          nullable: true
        in: query
      - name: not[source_branch]
        required: false
        description: Exclude merge requests with this source branch
        schema:
          type: string
          nullable: true
        in: query
      - name: not[target_branch]
        required: false
        description: Exclude merge requests with this target branch
        schema:
          type: string
          nullable: true
        in: query
      - name: not[author_username]
        required: false
        description: Exclude results authored by this username
        schema:
          type: string
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/(-/)search":
    get:
      operationId: getApiV4ProjectsIdDashSearch
      summary: Search a project
      description: Searches for content in a specified project.
      tags:
      - Search
      - Projects
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: search
        required: true
        description: Search query.
        schema:
          type: string
          nullable: true
        in: query
      - name: scope
        required: true
        description: Scope of the search.
        schema:
          type: string
          enum:
          - issues
          - work_items
          - merge_requests
          - milestones
          - notes
          - wiki_blobs
          - commits
          - blobs
          - users
          minLength: 1
        in: query
      - name: ref
        required: false
        description: Name of the repository branch or tag. If omitted, uses the default
          branch.
        schema:
          type: string
          nullable: true
        in: query
      - name: state
        required: false
        description: Filter results by state. Applies only to the `issues`, `work_items`,
          and `merge_requests` scopes.
        schema:
          type: string
          enum:
          - all
          - opened
          - closed
          - merged
          nullable: true
        in: query
      - name: confidential
        required: false
        description: If `true`, returns only confidential results. If `false`, returns
          only non-confidential results. Applies only to the `issues` and `work_items`
          scopes.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: type
        required: false
        description: 'Filter work items by type. Only applies to work_items scope.
          Available types: issue, task, epic, incident, test_case, requirement, objective,
          key_result, ticket.'
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
      - name: fields
        required: false
        description: Fields to search. Supports only `issues` and `merge_requests`
          scopes. Premium and Ultimate only.
        schema:
          type: array
          items:
            type: string
            enum:
            - title
          nullable: true
        in: query
        style: form
        explode: false
      - name: num_context_lines
        required: false
        description: Number of context lines to include around each match in the results.
          Available for advanced and exact code search only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/583217)
          in GitLab 18.11.
        schema:
          type: integer
          minimum: 0
          maximum: 20
          nullable: true
        in: query
      - name: regex
        required: false
        description: If `true`, uses regular expressions to search for code. If omitted,
          regular expressions are used. Available for exact code search. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/521686)
          in GitLab 18.9.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: source_branch
        required: false
        description: Filter merge requests by source branch. Available with advanced
          search and the merge_requests scope.
        schema:
          type: string
          nullable: true
        in: query
      - name: target_branch
        required: false
        description: Filter merge requests by target branch. Available with advanced
          search and the merge_requests scope.
        schema:
          type: string
          nullable: true
        in: query
      - name: author_username
        required: false
        description: Filter by author username. A username that matches no user is
          ignored. Available with advanced search and the issues, merge_requests and
          work_items scopes.
        schema:
          type: string
          nullable: true
        in: query
      - name: label_name
        required: false
        description: Filter by label name. A result must carry every name that resolves
          to an existing label; names that match no label are ignored. Maximum 30
          names. Available with advanced search and the issues, merge_requests and
          work_items scopes.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
      - name: not
        required: false
        description: Filter out results matching the parameters supplied. Supplying
          a filter together with its negation matches either condition, which widens
          the result set.
        schema:
          type: object
          nullable: true
        in: query
      - name: not[source_branch]
        required: false
        description: Exclude merge requests with this source branch
        schema:
          type: string
          nullable: true
        in: query
      - name: not[target_branch]
        required: false
        description: Exclude merge requests with this target branch
        schema:
          type: string
          nullable: true
        in: query
      - name: not[author_username]
        required: false
        description: Exclude results authored by this username
        schema:
          type: string
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/packages/rubygems/{file_name}":
    get:
      operationId: getApiV4ProjectsIdPackagesRubygemsFileName
      summary: Download the spec index file
      description: Downloads a RubyGems spec index file (specs.4.8.gz, latest_specs.4.8.gz,
        or prerelease_specs.4.8.gz) for a project. The index lists the gems available
        in the project registry. `specs.4.8.gz` lists released versions, `latest_specs.4.8.gz`
        lists the latest released version of each gem, and `prerelease_specs.4.8.gz`
        lists prerelease versions. The response is a Gzip-compressed, marshalled array
        of `[name, version, platform]` entries.
      tags:
      - 'Packages: RubyGem'
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: file_name
        required: true
        description: Name of the spec file.
        schema:
          type: string
          enum:
          - specs.4.8.gz
          - latest_specs.4.8.gz
          - prerelease_specs.4.8.gz
          minLength: 1
        in: path
  "/api/v4/projects/{id}/packages/rubygems/quick/Marshal.4.8/{file_name}":
    get:
      operationId: getApiV4ProjectsIdPackagesRubygemsQuickMarshal48FileName
      summary: Download a gemspec file
      description: Downloads a gemspec file in Marshal format for a specified gem
        version. The response is a deflate-compressed, marshalled `Gem::Specification`
        object.
      tags:
      - 'Packages: RubyGem'
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: file_name
        required: true
        description: Name of the gemspec file, in the format `<gem_name>-<version>.gemspec.rz`.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/rubygems/gems/{file_name}":
    get:
      operationId: getApiV4ProjectsIdPackagesRubygemsGemsFileName
      summary: Download a gem file
      description: Downloads a specified gem file for a project.
      tags:
      - 'Packages: RubyGem'
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: file_name
        required: true
        description: Name of the `.gem` file.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/rubygems/api/v1/gems/authorize":
    post:
      operationId: postApiV4ProjectsIdPackagesRubygemsApiV1GemsAuthorize
      summary: Authorize a gem upload from workhorse
      description: This feature was introduced in GitLab 13.9
      tags:
      - 'Packages: RubyGem'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
  "/api/v4/projects/{id}/packages/rubygems/api/v1/gems":
    post:
      operationId: postApiV4ProjectsIdPackagesRubygemsApiV1Gems
      summary: Upload a gem
      description: Uploads a gem for a specified project.
      tags:
      - 'Packages: RubyGem'
      responses:
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdPackagesRubygemsApiV1GemsRequest"
  "/api/v4/projects/{id}/packages/rubygems/api/v1/dependencies":
    get:
      operationId: getApiV4ProjectsIdPackagesRubygemsApiV1Dependencies
      summary: Retrieve dependencies
      description: Retrieves a list of dependencies for specified gems. The response
        is a marshalled array of hashes for all versions of the requested gems. Because
        the response is marshalled, you can store it in a file. Each hash contains
        `name`, `number`, `platform`, and `dependencies`, where `dependencies` is
        an array of `[name, requirement]` pairs. To read the response with Ruby, authenticate
        the request with an access token or with credentials set in `~/.gem/credentials`.
      tags:
      - 'Packages: RubyGem'
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: gems
        required: false
        description: Comma-separated list of gems to fetch dependencies for.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
  "/api/v4/projects/{id}/packages/rpm/repodata/{file_name}":
    get:
      operationId: getApiV4ProjectsIdPackagesRpmRepodataFileName
      summary: Download repository metadata files
      description: This feature was introduced in GitLab 15.7
      tags:
      - 'Packages: RPM'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: file_name
        required: true
        description: Repository metadata file name
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/rpm/{package_file_id}/{file_name}":
    get:
      operationId: getApiV4ProjectsIdPackagesRpmPackageFileIdFileName
      summary: Download RPM package files
      description: This feature was introduced in GitLab 15.7
      tags:
      - 'Packages: RPM'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_file_id
        required: true
        description: RPM package file id
        schema:
          type: integer
        in: path
      - name: file_name
        required: true
        description: RPM package file name
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/rpm":
    post:
      operationId: postApiV4ProjectsIdPackagesRpm
      summary: Upload a RPM package
      description: This feature was introduced in GitLab 15.7
      tags:
      - 'Packages: RPM'
      responses:
        '201':
          description: Created
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/packages/rpm/authorize":
    post:
      operationId: postApiV4ProjectsIdPackagesRpmAuthorize
      summary: Authorize package upload from workhorse
      description: This feature was introduced in GitLab 15.7
      tags:
      - 'Packages: RPM'
      responses:
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/issues/{eventable_id}/resource_milestone_events":
    get:
      operationId: getApiV4ProjectsIdIssuesEventableIdResourceMilestoneEvents
      summary: List all project issue milestone events
      description: Lists all milestone events for a specified issue.
      tags:
      - Resource events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesResourceMilestoneEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: eventable_id
        required: true
        description: Internal ID of the issue or merge request.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/issues/{eventable_id}/resource_milestone_events/{event_id}":
    get:
      operationId: getApiV4ProjectsIdIssuesEventableIdResourceMilestoneEventsEventId
      summary: Retrieve an issue milestone event
      description: Retrieves a specified milestone event for a project issue.
      tags:
      - Resource events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesResourceMilestoneEvent"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: event_id
        required: true
        description: ID of the resource milestone event.
        schema:
          type: string
        in: path
      - name: eventable_id
        required: true
        description: Internal ID of the issue or merge request.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
  "/api/v4/projects/{id}/merge_requests/{eventable_id}/resource_milestone_events":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsEventableIdResourceMilestoneEvents
      summary: List all project merge request milestone events
      description: Lists all milestone events for a specified merge request.
      tags:
      - Resource events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesResourceMilestoneEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: eventable_id
        required: true
        description: Internal ID of the issue or merge request.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/merge_requests/{eventable_id}/resource_milestone_events/{event_id}":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsEventableIdResourceMilestoneEventsEventId
      summary: Retrieve a merge request milestone event
      description: Retrieves a specified milestone event for a project merge request.
      tags:
      - Resource events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesResourceMilestoneEvent"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: event_id
        required: true
        description: ID of the resource milestone event.
        schema:
          type: string
        in: path
      - name: eventable_id
        required: true
        description: Internal ID of the issue or merge request.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
  "/api/v4/projects/{id}/access_tokens/self/rotate":
    post:
      operationId: postApiV4ProjectsIdAccessTokensSelfRotate
      summary: Rotate a project access token
      description: Rotates a project access token by passing it to the API in a header.
      tags:
      - Access tokens
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesResourceAccessTokenWithToken"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '405':
          description: Method not allowed
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdAccessTokensSelfRotateRequest"
  "/api/v4/groups/{id}/access_tokens/self/rotate":
    post:
      operationId: postApiV4GroupsIdAccessTokensSelfRotate
      summary: Rotate a group access token
      description: Rotates a group access token by passing it to the API in a header.
      tags:
      - Access tokens
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesResourceAccessTokenWithToken"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '405':
          description: Method not allowed
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdAccessTokensSelfRotateRequest"
  "/api/v4/projects/{id}/access_tokens":
    get:
      operationId: getApiV4ProjectsIdAccessTokens
      summary: List all project access tokens
      description: Lists all project access tokens for a specified project. The `last_used_ips`
        attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/600347)
        in GitLab 19.2 and made generally available in GitLab 19.4.
      tags:
      - Access tokens
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesResourceAccessToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: revoked
        required: false
        description: If `true`, only returns revoked tokens. If `false`, only returns
          tokens that are not revoked.
        schema:
          type: boolean
          nullable: true
        in: query
        example: false
      - name: state
        required: false
        description: Return tokens with the specified state. `all` returns tokens
          in any state.
        schema:
          type: string
          enum:
          - all
          - active
          - inactive
          nullable: true
        in: query
        example: active
      - name: created_before
        required: false
        description: Return tokens created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2022-01-01T00:00:00Z'
      - name: created_after
        required: false
        description: Return tokens created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-01-01T00:00:00Z'
      - name: last_used_before
        required: false
        description: Return tokens last used on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-01-01T00:00:00Z'
      - name: last_used_after
        required: false
        description: Return tokens last used on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2022-01-01T00:00:00Z'
      - name: expires_before
        required: false
        description: Return tokens that expire before the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
        example: '2022-01-01'
      - name: expires_after
        required: false
        description: Return tokens that expire on or after the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
        example: '2021-01-01'
      - name: search
        required: false
        description: Return tokens that include the specified value in their name.
        schema:
          type: string
          nullable: true
        in: query
        example: token
      - name: sort
        required: false
        description: Sort results by the specified field and direction. Possible values
          are `created_asc`, `created_desc`, `expires_asc`, `expires_desc`, `last_used_asc`,
          `last_used_desc`, `name_asc`, and `name_desc`.
        schema:
          type: string
          nullable: true
        in: query
        example: created_desc
    post:
      operationId: postApiV4ProjectsIdAccessTokens
      summary: Create a project access token
      description: Creates a project access token for a specified project. You cannot
        create a token with an access level greater than your account. For example,
        a user with the Maintainer role cannot create a project access token with
        the Owner role. You must use a personal access token with this endpoint. You
        cannot authenticate with a project access token.
      tags:
      - Access tokens
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesResourceAccessTokenWithToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: '2'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdAccessTokensRequest"
  "/api/v4/projects/{id}/access_tokens/{token_id}":
    get:
      operationId: getApiV4ProjectsIdAccessTokensTokenId
      summary: Retrieve details on a project access token
      description: Retrieves details on a specified project access token.
      tags:
      - Access tokens
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesResourceAccessToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: token_id
        required: true
        description: ID of the token.
        schema:
          type: string
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdAccessTokensTokenId
      summary: Revoke a project access token
      description: Revokes a specified project access token.
      tags:
      - Access tokens
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: token_id
        required: true
        description: ID of the token.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/access_tokens/{token_id}/rotate":
    post:
      operationId: postApiV4ProjectsIdAccessTokensTokenIdRotate
      summary: Rotate a project access token
      description: Rotates a project access token. This immediately revokes the previous
        token and creates a token. Generally, this endpoint rotates a specific project
        access token by authenticating with a personal access token. You can also
        use a project access token to rotate itself. If you attempt to use this endpoint
        to rotate a token that was previously revoked, any active tokens from the
        same token family are revoked. To rotate another project access token, you
        must use a personal access token with the `api` scope. To self-rotate a project
        access token, the token must have the `api` or `self_rotate` scope. This feature
        was introduced in GitLab 16.0.
      tags:
      - Access tokens
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesResourceAccessTokenWithToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: token_id
        required: true
        description: ID of the token, or the keyword `self` to rotate the token used
          to authenticate the request.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdAccessTokensTokenIdRotateRequest"
  "/api/v4/groups/{id}/access_tokens":
    get:
      operationId: getApiV4GroupsIdAccessTokens
      summary: List all group access tokens
      description: Lists all group access tokens for a specified group. The `last_used_ips`
        attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/600347)
        in GitLab 19.2 and made generally available in GitLab 19.4.
      tags:
      - Access tokens
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesResourceAccessToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: revoked
        required: false
        description: If `true`, only returns revoked tokens. If `false`, only returns
          tokens that are not revoked.
        schema:
          type: boolean
          nullable: true
        in: query
        example: false
      - name: state
        required: false
        description: Return tokens with the specified state. `all` returns tokens
          in any state.
        schema:
          type: string
          enum:
          - all
          - active
          - inactive
          nullable: true
        in: query
        example: active
      - name: created_before
        required: false
        description: Return tokens created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2022-01-01T00:00:00Z'
      - name: created_after
        required: false
        description: Return tokens created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-01-01T00:00:00Z'
      - name: last_used_before
        required: false
        description: Return tokens last used on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-01-01T00:00:00Z'
      - name: last_used_after
        required: false
        description: Return tokens last used on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2022-01-01T00:00:00Z'
      - name: expires_before
        required: false
        description: Return tokens that expire before the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
        example: '2022-01-01'
      - name: expires_after
        required: false
        description: Return tokens that expire on or after the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
        example: '2021-01-01'
      - name: search
        required: false
        description: Return tokens that include the specified value in their name.
        schema:
          type: string
          nullable: true
        in: query
        example: token
      - name: sort
        required: false
        description: Sort results by the specified field and direction. Possible values
          are `created_asc`, `created_desc`, `expires_asc`, `expires_desc`, `last_used_asc`,
          `last_used_desc`, `name_asc`, and `name_desc`.
        schema:
          type: string
          nullable: true
        in: query
        example: created_desc
    post:
      operationId: postApiV4GroupsIdAccessTokens
      summary: Create a group access token
      description: Creates a group access token for a specified group. You cannot
        create a token with an access level greater than your account. For example,
        a user with the Maintainer role cannot create a group access token with the
        Owner role. You must use a personal access token with this endpoint. You cannot
        authenticate with a group access token. You must have the Owner role for the
        group.
      tags:
      - Access tokens
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesResourceAccessTokenWithToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
        example: '2'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdAccessTokensRequest"
  "/api/v4/groups/{id}/access_tokens/{token_id}":
    get:
      operationId: getApiV4GroupsIdAccessTokensTokenId
      summary: Retrieve details on a group access token
      description: Retrieves details on a specified group access token.
      tags:
      - Access tokens
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesResourceAccessToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: token_id
        required: true
        description: ID of the token.
        schema:
          type: string
        in: path
    delete:
      operationId: deleteApiV4GroupsIdAccessTokensTokenId
      summary: Revoke a group access token
      description: Revokes a specified group access token.
      tags:
      - Access tokens
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: token_id
        required: true
        description: ID of the token.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/access_tokens/{token_id}/rotate":
    post:
      operationId: postApiV4GroupsIdAccessTokensTokenIdRotate
      summary: Rotate a group access token
      description: Rotates a group access token. This immediately revokes the previous
        token and creates a token. Generally, this endpoint rotates a specific group
        access token by authenticating with a personal access token. You can also
        use a group access token to rotate itself. If you attempt to use this endpoint
        to rotate a token that was previously revoked, any active tokens from the
        same token family are revoked. To rotate another group access token, you must
        use a personal access token with the `api` scope. To self-rotate a group access
        token, the token must have the `api` or `self_rotate` scope. This feature
        was introduced in GitLab 16.0.
      tags:
      - Access tokens
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesResourceAccessTokenWithToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: token_id
        required: true
        description: ID of the token, or the keyword `self` to rotate the token used
          to authenticate the request.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdAccessTokensTokenIdRotateRequest"
  "/api/v4/projects/{id}/repository/tree":
    get:
      operationId: getApiV4ProjectsIdRepositoryTree
      summary: List all repository trees in a project
      description: Lists all repository files and directories in a specified project.
        This endpoint can be accessed without authentication if the repository is
        publicly accessible. This command provides essentially the same features as
        the `git ls-tree` command. Use `with_last_commit` to include the last commit
        that changed each entry. `with_last_commit` cannot be combined with `recursive`.
      tags:
      - Repositories
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesTreeObject"
        '400':
          description: Bad Request
        '404':
          description: 404 Project Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: ref
        required: false
        description: Name of a repository branch or tag. If omitted, uses the default
          branch.
        schema:
          type: string
          nullable: true
          maxLength: 1024
        in: query
        example: main
      - name: path
        required: false
        description: Path inside the repository, used to get the contents of subdirectories.
        schema:
          type: string
          nullable: true
          maxLength: 1024
        in: query
        example: files/html
      - name: recursive
        required: false
        description: If `true`, returns a recursive tree.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_last_commit
        required: false
        description: If `true`, includes the last commit for each tree entry. Cannot
          be combined with `recursive`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/234455)
          in GitLab 19.3.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: pagination
        required: false
        description: Pagination method. `keyset` uses the [keyset-based pagination
          method](https://docs.gitlab.com/api/rest/#keyset-based-pagination). `none`
          is valid only if `recursive` is `true`.
        schema:
          type: string
          enum:
          - legacy
          - keyset
          - none
          nullable: true
          default: legacy
        in: query
      - name: page_token
        required: false
        description: Tree record ID at which to fetch the next page. Used only with
          keyset pagination.
        schema:
          type: string
          nullable: true
        in: query
        example: a1e8f8d745cc87e3a9248358d9352bb7f9a0aeba
  "/api/v4/projects/{id}/repository/blobs/{sha}/raw":
    get:
      operationId: getApiV4ProjectsIdRepositoryBlobsShaRaw
      summary: Retrieve raw blob content
      description: Retrieves the raw file contents for a blob, by blob SHA. This endpoint
        can be accessed without authentication if the repository is publicly accessible.
      tags:
      - Repositories
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: sha
        required: true
        description: SHA of the blob.
        schema:
          type: string
        in: path
        example: 7d70e02340bac451f281cecf0a980907974bd8be
  "/api/v4/projects/{id}/repository/blobs/{sha}":
    get:
      operationId: getApiV4ProjectsIdRepositoryBlobsSha
      summary: Retrieve a blob from a repository
      description: Retrieves information, such as size and content, about blobs in
        a repository. Blob content is Base64 encoded. This endpoint can be accessed
        without authentication, if the repository is publicly accessible. For blobs
        larger than 10 MB, this endpoint has a rate limit of 5 requests per minute.
        For text files not stored as valid UTF-8 in Git, `content` is converted to
        UTF-8 before Base64 encoding, and `size` is the raw blob size, which might
        differ from the length of the decoded content.
      tags:
      - Repositories
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: sha
        required: true
        description: SHA of the blob.
        schema:
          type: string
        in: path
        example: 7d70e02340bac451f281cecf0a980907974bd8be
  "/api/v4/projects/{id}/repository/archive":
    get:
      operationId: getApiV4ProjectsIdRepositoryArchive
      summary: Retrieve file archive from a repository
      description: Retrieves the file archive of a specified repository. This endpoint
        can be accessed without authentication if the repository is publicly accessible.
        For GitLab.com users, this endpoint has a rate limit threshold of 5 requests
        per minute.
      tags:
      - Repositories
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: sha
        required: false
        description: Commit SHA to download. Accepts a tag, branch reference, or SHA.
          If omitted, defaults to the tip of the default branch.
        schema:
          type: string
          nullable: true
        in: query
        example: 7d70e02340bac451f281cecf0a980907974bd8be
      - name: ref_type
        required: false
        description: Type of ref in `sha`. Use to select the correct ref when a branch
          and tag share a name.
        schema:
          type: string
          enum:
          - heads
          - tags
          nullable: true
        in: query
      - name: format
        required: false
        description: Archive format, added as a suffix to the path, for example `archive.zip`.
          One of `bz2`, `gz`, `tar`, `tar.bz2`, `tar.gz`, `tb2`, `tbz`, `tbz2`, `tgz`,
          or `zip`. Default is `tar.gz`.
        schema:
          type: string
          nullable: true
        in: query
        example: tar.gz
      - name: path
        required: false
        description: Subpath of the repository to download. An empty string returns
          the whole repository.
        schema:
          type: string
          nullable: true
        in: query
        example: files/archives
      - name: include_lfs_blobs
        required: false
        description: If `true`, LFS objects are included in the archive. When set
          to `false`, LFS objects are excluded.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
      - name: exclude_paths
        required: false
        description: Comma-separated list of paths to exclude from the archive.
        schema:
          type: array
          items:
            type: string
          nullable: true
          default: []
        in: query
        style: form
        explode: false
  "/api/v4/projects/{id}/repository/compare":
    get:
      operationId: getApiV4ProjectsIdRepositoryCompare
      summary: Compare branches, tags, or commits
      description: 'Compares branches, tags, or commits. Retrieves the differences
        between two branches, tags, or commits in a specified project. This endpoint
        can be accessed without authentication if the repository is publicly accessible.
        When `compare_timeout` is `true`, the comparison exceeded size limits: the
        `commits` array is still complete, but the `diffs` array might be incomplete,
        and individual diff objects might have empty `diff` strings. This endpoint
        is rate-limited for each authenticated user, and for each IP address for unauthenticated
        requests. On GitLab Self-Managed and GitLab Dedicated, an administrator can
        change these limits in the application settings.'
      tags:
      - Repositories
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCompare"
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '429':
          description: Too Many Requests
        '503':
          description: Service Unavailable
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: from
        required: true
        description: Ref to compare from. Accepts a commit SHA, branch name, or tag
          name.
        schema:
          type: string
          nullable: true
        in: query
        example: main
      - name: to
        required: true
        description: Ref to compare to. Accepts a commit SHA, branch name, or tag
          name.
        schema:
          type: string
          nullable: true
        in: query
        example: feature
      - name: from_project_id
        required: false
        description: ID of the project to compare from.
        schema:
          type: integer
          nullable: true
        in: query
        example: 1
      - name: straight
        required: false
        description: If `true`, comparison method is direct comparison between `from`
          and `to` (`from`..`to`). If `false`, compares using merge base (`from`...`to`).
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: unidiff
        required: false
        description: If `true`, presents diffs in the [unified diff](https://www.gnu.org/software/diffutils/manual/html_node/Detailed-Unified.html)
          format.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
  "/api/v4/projects/{id}/repository/health":
    get:
      operationId: getApiV4ProjectsIdRepositoryHealth
      summary: Retrieve repository health statistics
      description: Retrieves statistics related to the health of a project repository.
        This endpoint is rate-limited to 5 requests/hour per project when `generate`
        is `true`. Available only to users with push access to the repository. This
        feature was introduced in GitLab 17.10.
      tags:
      - Repositories
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesRepositoryHealth"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: generate
        required: false
        description: If `true`, generates a new health report. Set this if the endpoint
          returns `404`.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
  "/api/v4/projects/{id}/repository/contributors":
    get:
      operationId: getApiV4ProjectsIdRepositoryContributors
      summary: Retrieve contributors metrics
      description: Retrieves a list of contributors to a specified repository. This
        endpoint can be accessed without authentication if the repository is publicly
        accessible. The commit count does not include merge commits.
      tags:
      - Repositories
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesContributor"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: ref
        required: false
        description: Name of a repository branch or tag. If omitted, uses the default
          branch. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/156852)
          in GitLab 17.4.
        schema:
          type: string
          nullable: true
        in: query
        example: main
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - email
          - name
          - commits
          nullable: true
          default: commits
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: asc
        in: query
  "/api/v4/projects/{id}/repository/merge_base":
    get:
      operationId: getApiV4ProjectsIdRepositoryMergeBase
      summary: Retrieve a merge base
      description: Retrieves the merge base, the common ancestor, of two or more refs,
        such as commit SHAs, branch names, or tags.
      tags:
      - Repositories
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCommit"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: refs
        required: true
        description: Refs to find the common ancestor of. Accepts multiple refs.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        example:
        - main
        - feature
        style: form
        explode: false
  "/api/v4/projects/{id}/repository/blobs/batch":
    post:
      operationId: postApiV4ProjectsIdRepositoryBlobsBatch
      summary: Get contents of multiple files in a single request
      description: Blob content is Base64 encoded. Each blob is truncated to the first
        1 MB; the `truncated` field indicates when this happens. `size` is the full
        blob size in bytes. Files that do not exist at the requested reference are
        omitted from the response. This endpoint requires authentication. It is rate
        limited per user and project, to 5 requests per minute by default, set by
        the `project_repositories_blobs_batch_limit` application setting. This endpoint
        is behind the `repository_blobs_batch_api` feature flag, disabled by default.
        This feature was introduced in GitLab 19.3.
      tags:
      - Repositories
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBatchBlob"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdRepositoryBlobsBatchRequest"
      x-gitlab-lifecycle: beta
  "/api/v4/projects/{id}/repository/changed_paths":
    get:
      operationId: getApiV4ProjectsIdRepositoryChangedPaths
      summary: List files changed between two commits
      description: Returns the path, change status, and file modes for every path
        that differs between two refs. This endpoint requires authentication. This
        endpoint is behind the `repository_changed_paths_api` feature flag, disabled
        by default. This feature was introduced in GitLab 19.4.
      tags:
      - Repositories
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesChangedPath"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '429':
          description: Too Many Requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: from
        required: true
        description: The commit SHA or branch/tag to compare from
        schema:
          type: string
          minLength: 1
          maxLength: 255
        in: query
        example: main
      - name: to
        required: true
        description: The commit SHA or branch/tag to compare to
        schema:
          type: string
          minLength: 1
          maxLength: 255
        in: query
        example: feature
      - name: find_renames
        required: false
        description: If true, detect file renames
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-lifecycle: beta
  "/api/v4/projects/{id}/repository/diverging_commits":
    get:
      operationId: getApiV4ProjectsIdRepositoryDivergingCommits
      summary: Retrieve diverging commit counts between two refs
      description: Retrieves the number of commits by which the `to` ref is ahead
        of and behind the `from` ref. `behind` is the number of commits in `from`
        that are not in `to`, and `ahead` is the number of commits in `to` that are
        not in `from`. This endpoint requires authentication. This endpoint is behind
        the `repository_diverging_commits_api` feature flag, disabled by default.
        This feature was introduced in GitLab 19.3.
      tags:
      - Repositories
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDivergingCommitCount"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: from
        required: true
        description: Ref to compare from. Accepts a commit SHA, branch name, or tag
          name.
        schema:
          type: string
          nullable: true
          maxLength: 255
        in: query
        example: main
      - name: to
        required: true
        description: Ref to compare to. Accepts a commit SHA, branch name, or tag
          name.
        schema:
          type: string
          nullable: true
          maxLength: 255
        in: query
        example: feature
      - name: max_count
        required: false
        description: Maximum number of commits to count. Use `0` for unlimited.
        schema:
          type: integer
          minimum: 0
          nullable: true
          default: 0
        in: query
        example: 1000
      x-gitlab-lifecycle: experiment
  "/api/v4/projects/{id}/repository/diff_stats":
    get:
      operationId: getApiV4ProjectsIdRepositoryDiffStats
      summary: Get diff statistics between two commits
      description: Returns the number of added and deleted lines for every file that
        differs between two refs. This endpoint requires authentication. This endpoint
        is behind the `repository_diff_stats_api` feature flag, disabled by default.
        This feature was introduced in GitLab 19.4.
      tags:
      - Repositories
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDiffStat"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: from
        required: true
        description: The commit SHA or branch/tag to compare from
        schema:
          type: string
          nullable: true
          maxLength: 255
        in: query
        example: main
      - name: to
        required: true
        description: The commit SHA or branch/tag to compare to
        schema:
          type: string
          nullable: true
          maxLength: 255
        in: query
        example: feature
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-lifecycle: beta
  "/api/v4/projects/{id}/repository/changelog":
    get:
      operationId: getApiV4ProjectsIdRepositoryChangelog
      summary: Generate changelog data
      description: Generates changelog data based on commits in a repository, without
        committing them to a changelog file. Works exactly like `POST /projects/:id/repository/changelog`,
        except the changelog data is not committed to any changelog file. Add a `.txt`
        suffix to the path, as in `GET /projects/:id/repository/changelog.txt`, to
        return the changelog as plain text Markdown instead of JSON.
      tags:
      - Repositories
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesChangelog"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: version
        required: true
        description: 'Version to generate the changelog for. Must follow [semantic
          versioning](https://semver.org/) format. Can include or omit the `v` prefix:
          `1.0.0` and `v1.0.0` give the same result.'
        schema:
          type: string
          pattern: "(?:(?:(0|[1-9]\\d*))\\.(?:(0|[1-9]\\d*))\\.(?:(0|[1-9]\\d*)))(?:(?:-((?:\\d*[a-zA-Z\\-][0-9a-zA-Z\\-]*|[1-9]\\d*|0)(?:\\.(?:\\d*[a-zA-Z\\-][0-9a-zA-Z\\-]*|[1-9]\\d*|0))*))?(?:\\+([0-9a-zA-Z\\-]+(?:\\.[0-9a-zA-Z\\-]+)*))?)"
          minLength: 1
        in: query
        example: 1.0.0
      - name: from
        required: false
        description: First commit in the range of commits, as a SHA, to use for the
          changelog. This commit is not included in the changelog. If omitted, the
          most recent stable version tag before `version` is used. Tags in `X.Y.Z`
          or `vX.Y.Z` format are recognized, and pre-release tags such as `v1.0.0-pre1`
          are ignored. If no such tag exists, an error is returned and you must set
          `from`.
        schema:
          type: string
          nullable: true
        in: query
        example: ed899a2f4b50b4370feeea94676502b42383c746
      - name: to
        required: false
        description: Last commit in the range of commits, as a SHA or a branch or
          tag name, to use for the changelog. This commit is included in the changelog.
          If omitted, uses the latest commit on the default branch. For the Add changelog
          data to file operation, uses the latest commit on `branch` instead. The
          range can contain at most 15,000 commits.
        schema:
          type: string
          nullable: true
        in: query
        example: 6104942438c14ec7bd21c6cd5bd995272b3faff6
      - name: date
        required: false
        description: Date and time of the release. Defaults to the current time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-09-20T11:50:22.001+00:00'
      - name: trailer
        required: false
        description: 'Git trailer to use for including commits. Case-sensitive: `Example`
          does not match `example` or `eXaMpLE`.'
        schema:
          type: string
          nullable: true
          default: Changelog
        in: query
        example: Changelog
      - name: config_file
        required: false
        description: Path to the changelog configuration file in the project's Git
          repository. If omitted, uses `.gitlab/changelog_config.yml`.
        schema:
          type: string
          nullable: true
        in: query
        example: ".gitlab/changelog_config.yml"
      - name: config_file_ref
        required: false
        description: Git reference, for example a branch, where the changelog configuration
          file is defined. Defaults to the default branch of the repository. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/426108)
          in GitLab 18.2.
        schema:
          type: string
          nullable: true
        in: query
        example: main
    post:
      operationId: postApiV4ProjectsIdRepositoryChangelog
      summary: Add changelog data to file
      description: Generates changelog data based on commits in a repository and commits
        it to a changelog file. Given a semantic version and a range of commits, GitLab
        generates a changelog for all commits that use a specific Git trailer, and
        adds a new Markdown section to the changelog file. The output format can be
        customized. Parsing the changelog configuration is limited to 2 seconds. If
        the request times out, reduce the size of the changelog configuration file.
      tags:
      - Repositories
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdRepositoryChangelogRequest"
  "/api/v4/projects/{id}/remote_mirrors":
    get:
      operationId: getApiV4ProjectsIdRemoteMirrors
      summary: List all remote mirrors for a project
      description: Lists all remote mirrors for a specified project.
      tags:
      - Remote mirrors
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesRemoteMirror"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdRemoteMirrors
      summary: Create a push mirror
      description: Creates a push mirror. Each project can have a maximum of 10 enabled
        push mirrors.
      tags:
      - Remote mirrors
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesRemoteMirror"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdRemoteMirrorsRequest"
  "/api/v4/projects/{id}/remote_mirrors/{mirror_id}":
    get:
      operationId: getApiV4ProjectsIdRemoteMirrorsMirrorId
      summary: Retrieve a remote mirror for a project
      description: Retrieves a specified remote mirror for a project.
      tags:
      - Remote mirrors
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesRemoteMirror"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: mirror_id
        required: true
        description: ID of the remote mirror.
        schema:
          type: string
        in: path
    put:
      operationId: putApiV4ProjectsIdRemoteMirrorsMirrorId
      summary: Update a remote mirror in a project
      description: Updates the configuration or operational status of a specified
        remote mirror.
      tags:
      - Remote mirrors
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesRemoteMirror"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: mirror_id
        required: true
        description: ID of the remote mirror.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdRemoteMirrorsMirrorIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdRemoteMirrorsMirrorId
      summary: Delete a remote mirror from a project
      description: Deletes a specified remote mirror from a project.
      tags:
      - Remote mirrors
      responses:
        '204':
          description: No Content
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: mirror_id
        required: true
        description: ID of the remote mirror.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/remote_mirrors/{mirror_id}/sync":
    post:
      operationId: postApiV4ProjectsIdRemoteMirrorsMirrorIdSync
      summary: Force push mirror update
      description: Forces an update to a push mirror.
      tags:
      - Remote mirrors
      responses:
        '204':
          description: No Content
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: mirror_id
        required: true
        description: ID of the remote mirror.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/remote_mirrors/{mirror_id}/public_key":
    get:
      operationId: getApiV4ProjectsIdRemoteMirrorsMirrorIdPublicKey
      summary: Retrieve a public key for a remote mirror
      description: Retrieves the public key of a specified remote mirror that uses
        SSH authentication. This feature was introduced in GitLab 17.9.
      tags:
      - Remote mirrors
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: mirror_id
        required: true
        description: ID of the remote mirror.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/releases/{tag_name}/assets/links":
    get:
      operationId: getApiV4ProjectsIdReleasesTagNameAssetsLinks
      summary: List all release links
      description: Lists all assets as links from a release.
      tags:
      - Releases
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesReleasesLink"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: tag_name
        required: true
        description: Tag associated with the release.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdReleasesTagNameAssetsLinks
      summary: Create a release link
      description: Creates an asset link for a specified release.
      tags:
      - Releases
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesReleasesLink"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: tag_name
        required: true
        description: Tag associated with the release.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdReleasesTagNameAssetsLinksRequest"
  "/api/v4/projects/{id}/releases/{tag_name}/assets/links/{link_id}":
    get:
      operationId: getApiV4ProjectsIdReleasesTagNameAssetsLinksLinkId
      summary: Retrieve a release link
      description: Retrieves a specified asset as a link from a release.
      tags:
      - Releases
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesReleasesLink"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: tag_name
        required: true
        description: Tag associated with the release.
        schema:
          type: string
        in: path
      - name: link_id
        required: true
        description: ID of the link.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdReleasesTagNameAssetsLinksLinkId
      summary: Update a release link
      description: Updates a specified asset link for a release.
      tags:
      - Releases
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesReleasesLink"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: tag_name
        required: true
        description: Tag associated with the release.
        schema:
          type: string
        in: path
      - name: link_id
        required: true
        description: ID of the link.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdReleasesTagNameAssetsLinksLinkIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdReleasesTagNameAssetsLinksLinkId
      summary: Delete a release link
      description: Deletes a specified asset link from a release.
      tags:
      - Releases
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesReleasesLink"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: tag_name
        required: true
        description: Tag associated with the release.
        schema:
          type: string
        in: path
      - name: link_id
        required: true
        description: ID of the link.
        schema:
          type: integer
        in: path
  "/api/v4/groups/{id}/releases":
    get:
      operationId: getApiV4GroupsIdReleases
      summary: List all releases in a group
      description: Lists all releases for projects in a specified group.
      tags:
      - Releases
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesRelease"
        '400':
          description: Bad request
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: simple
        required: false
        description: If `true`, only returns limited fields for each release.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/releases":
    get:
      operationId: getApiV4ProjectsIdReleases
      summary: List all releases in a project
      description: Lists all releases for a specified project. Sorted by `released_at`.
      tags:
      - Releases
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesRelease"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - released_at
          - created_at
          nullable: true
          default: released_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: include_html_description
        required: false
        description: If `true`, the response includes HTML-rendered Markdown of the
          release description.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: updated_before
        required: false
        description: Return releases updated on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: updated_after
        required: false
        description: Return releases updated on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
    post:
      operationId: postApiV4ProjectsIdReleases
      summary: Create a release
      description: Creates a release. Developer level access to the project is required
        to create a release. Release creates and updates are rate limited per project
        (`release_writes_limit_per_project` application setting) and per user (`release_writes_limit_per_user`
        application setting). Requests over a limit are blocked when its feature flag
        (`rate_limit_release_writes_per_project` or `rate_limit_release_writes_per_user`)
        is enabled, and only logged otherwise. When the `release_evidence_size_limit`
        feature flag is enabled, the response includes `warnings` if the release evidence
        would exceed the `release_evidence_max_size_bytes` application setting even
        without its issues.
      tags:
      - Releases
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesRelease"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Conflict
        '422':
          description: Unprocessable entity
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdReleasesRequest"
  "/api/v4/projects/{id}/releases/{tag_name}":
    get:
      operationId: getApiV4ProjectsIdReleasesTagName
      summary: Retrieve a release by tag name
      description: Retrieves a release with a specified tag name.
      tags:
      - Releases
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesRelease"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: tag_name
        required: true
        description: Git tag the release is associated with.
        schema:
          type: string
        in: path
      - name: include_html_description
        required: false
        description: If `true`, the response includes HTML-rendered Markdown of the
          release description.
        schema:
          type: boolean
          nullable: true
        in: query
    put:
      operationId: putApiV4ProjectsIdReleasesTagName
      summary: Update a release
      description: Updates a release. Developer level access to the project is required
        to update a release. Release creates and updates are rate limited per project
        (`release_writes_limit_per_project` application setting) and per user (`release_writes_limit_per_user`
        application setting). Requests over a limit are blocked when its feature flag
        (`rate_limit_release_writes_per_project` or `rate_limit_release_writes_per_user`)
        is enabled, and only logged otherwise.
      tags:
      - Releases
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesRelease"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: tag_name
        required: true
        description: Git tag the release is associated with.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdReleasesTagNameRequest"
    delete:
      operationId: deleteApiV4ProjectsIdReleasesTagName
      summary: Delete a release
      description: Delete a release. Deleting a release doesn't delete the associated
        tag. Requires at least the Developer role for the project. This feature was
        introduced in GitLab 11.7.
      tags:
      - Releases
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesRelease"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: tag_name
        required: true
        description: Git tag the release is associated with.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/releases/{tag_name}/downloads/{direct_asset_path}":
    get:
      operationId: getApiV4ProjectsIdReleasesTagNameDownloadsDirectAssetPath
      summary: Download a project release asset file
      description: Downloads a release asset file. The request redirects to the URL
        of the release link that has the specified direct asset path. This feature
        was introduced in GitLab 15.4.
      tags:
      - Releases
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: tag_name
        required: true
        description: Git tag the release is associated with.
        schema:
          type: string
        in: path
      - name: direct_asset_path
        required: true
        description: The path to the file to download, as specified when creating
          the release asset
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/releases/permalink/latest":
    get:
      operationId: getApiV4ProjectsIdReleasesPermalinkLatest
      summary: Get the latest project release
      description: Retrieves the latest release through a permanent API URL. To call
        any other GET endpoint that requires a release tag, append a suffix to the
        `permalink/latest` path, for example `permalink/latest/evidence`, or `permalink/latest/downloads/bin/asset.exe`
        to download an asset of the latest release. The request redirects to the endpoint
        for the tag of the latest release.
      tags:
      - Releases
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/releases/permalink/latest/{suffix_path}":
    get:
      operationId: getApiV4ProjectsIdReleasesPermalinkLatestSuffixPath
      summary: Get the latest project release
      description: Retrieves the latest release through a permanent API URL. To call
        any other GET endpoint that requires a release tag, append a suffix to the
        `permalink/latest` path, for example `permalink/latest/evidence`, or `permalink/latest/downloads/bin/asset.exe`
        to download an asset of the latest release. The request redirects to the endpoint
        for the tag of the latest release.
      tags:
      - Releases
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: suffix_path
        required: true
        description: The path to be suffixed to the latest release
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/releases/{tag_name}/evidence":
    post:
      operationId: postApiV4ProjectsIdReleasesTagNameEvidence
      summary: Generate release evidence
      description: Generates an evidence for an existing release. Requests are rate
        limited per user (`release_evidence_collections_limit_per_user` application
        setting). Requests over the limit are blocked when the `rate_limit_release_evidence_collections_per_user`
        feature flag is enabled, and only logged otherwise. When the `release_evidence_size_limit`
        feature flag is enabled, returns `422` if the evidence would exceed the `release_evidence_max_size_bytes`
        application setting.
      tags:
      - Releases
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesRelease"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '429':
          description: Too many requests
        '400':
          description: Bad Request
      parameters:
      - name: tag_name
        required: true
        description: Git tag the release is associated with.
        schema:
          type: string
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/groups/{id}/-/packages/pypi/files/{sha256}/{file_identifier}":
    get:
      operationId: getApiV4GroupsIdDashPackagesPypiFilesSha256FileIdentifier
      summary: Download a package file from a group
      description: Downloads a specified PyPI package file for a group. The package
        descriptor endpoint usually supplies this URL. This feature was introduced
        in GitLab 13.12
      tags:
      - 'Packages: PyPi'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: file_identifier
        required: true
        description: The PyPi package file identifier
        schema:
          type: string
        in: path
        example: my.pypi.package-0.0.1.tar.gz
      - name: sha256
        required: true
        description: The PyPi package sha256 check sum
        schema:
          type: string
        in: path
        example: 5y57017232013c8ac80647f4ca153k3726f6cba62d055cd747844ed95b3c65ff
  "/api/v4/groups/{id}/-/packages/pypi/simple":
    get:
      operationId: getApiV4GroupsIdDashPackagesPypiSimple
      summary: List all packages for a group
      description: Lists all packages for a specified group in an HTML file.
      tags:
      - 'Packages: PyPi'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
  "/api/v4/groups/{id}/-/packages/pypi/simple/{package_name}":
    get:
      operationId: getApiV4GroupsIdDashPackagesPypiSimplePackageName
      summary: The PyPi Simple Group Package Endpoint
      description: Retrieves the package descriptor as an HTML file for a specified
        package in a group. The HTML lists a link to each package file, with its SHA256
        checksum and its `data-requires-python` value. This feature was introduced
        in GitLab 12.10
      tags:
      - 'Packages: PyPi'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: package_name
        required: true
        description: The PyPi package name
        schema:
          type: string
        in: path
        example: my.pypi.package
  "/api/v4/projects/{id}/packages/pypi/files/{sha256}/{file_identifier}":
    get:
      operationId: getApiV4ProjectsIdPackagesPypiFilesSha256FileIdentifier
      summary: The PyPi package download endpoint
      description: Downloads a specified PyPI package file for a project. The package
        descriptor endpoint usually supplies this URL. This feature was introduced
        in GitLab 12.10
      tags:
      - 'Packages: PyPi'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: file_identifier
        required: true
        description: The PyPi package file identifier
        schema:
          type: string
        in: path
        example: my.pypi.package-0.0.1.tar.gz
      - name: sha256
        required: true
        description: The PyPi package sha256 check sum
        schema:
          type: string
        in: path
        example: 5y57017232013c8ac80647f4ca153k3726f6cba62d055cd747844ed95b3c65ff
  "/api/v4/projects/{id}/packages/pypi/simple":
    get:
      operationId: getApiV4ProjectsIdPackagesPypiSimple
      summary: List all packages for a project
      description: Lists all packages for a specified project in an HTML file.
      tags:
      - 'Packages: PyPi'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/packages/pypi/simple/{package_name}":
    get:
      operationId: getApiV4ProjectsIdPackagesPypiSimplePackageName
      summary: The PyPi Simple Project Package Endpoint
      description: Retrieves the package descriptor as an HTML file for a specified
        package in a project. The HTML lists a link to each package file, with its
        SHA256 checksum and its `data-requires-python` value. This feature was introduced
        in GitLab 12.10
      tags:
      - 'Packages: PyPi'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: The PyPi package name
        schema:
          type: string
        in: path
        example: my.pypi.package
  "/api/v4/projects/{id}/packages/pypi":
    post:
      operationId: postApiV4ProjectsIdPackagesPypi
      summary: Upload a package
      description: Uploads a PyPI package for a specified project.
      tags:
      - 'Packages: PyPi'
      responses:
        '201':
          description: Created
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '422':
          description: Unprocessable Entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdPackagesPypiRequest"
  "/api/v4/projects/{id}/packages/pypi/authorize":
    post:
      operationId: postApiV4ProjectsIdPackagesPypiAuthorize
      summary: Authorize the PyPi package upload from workhorse
      description: This feature was introduced in GitLab 12.10
      tags:
      - 'Packages: PyPi'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/protected_tags":
    get:
      operationId: getApiV4ProjectsIdProtectedTags
      summary: List all protected tags
      description: Lists all protected tags for a specified project.
      tags:
      - Protected tags
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProtectedTag"
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdProtectedTags
      summary: Protect a repository tag
      description: Protects a single repository tag, or several project repository
        tags by using a wildcard protected tag.
      tags:
      - Protected tags
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProtectedTag"
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdProtectedTagsRequest"
  "/api/v4/projects/{id}/protected_tags/{name}":
    get:
      operationId: getApiV4ProjectsIdProtectedTagsName
      summary: Retrieve a protected tag or wildcard protected tag
      description: Retrieves a specified protected tag or wildcard protected tag.
      tags:
      - Protected tags
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProtectedTag"
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: name
        required: true
        description: Name of the tag or wildcard.
        schema:
          type: string
        in: path
        example: release*
    delete:
      operationId: deleteApiV4ProjectsIdProtectedTagsName
      summary: Unprotect repository tags
      description: Unprotects a specified protected tag or wildcard protected tag.
      tags:
      - Protected tags
      responses:
        '204':
          description: No Content
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '412':
          description: Precondition Failed
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: name
        required: true
        description: Name of the tag or wildcard.
        schema:
          type: string
        in: path
        example: release-1-0
  "/api/v4/projects/{id}/protected_branches":
    get:
      operationId: getApiV4ProjectsIdProtectedBranches
      summary: List all protected branches
      description: Lists all protected branches for a specified project. If a wildcard
        is set, it is returned instead of the exact name of the branches that match
        that wildcard.
      tags:
      - Protected branches
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProtectedBranch"
        '404':
          description: 404 Project Not Found
        '401':
          description: 401 Unauthorized
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: gitlab-org/gitlab
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: search
        required: false
        description: Name or part of the name of protected branches to search for.
        schema:
          type: string
          nullable: true
        in: query
        example: mai
    post:
      operationId: postApiV4ProjectsIdProtectedBranches
      summary: Protect repository branches
      description: Protects a specified repository branch or several project repository
        branches using a wildcard protected branch. You can set multiple access levels
        for `allowed_to_push` and `allowed_to_merge`. The most permissive access level
        determines who can perform the action. Do not include `id` in the `allowed_to_push`,
        `allowed_to_merge`, or `allowed_to_unprotect` arrays. An `id` that does not
        match an existing record returns `404 Not Found`. Unlike the UI, the API does
        not clear other access levels when an element sets `access_level` to `0` (No
        access).
      tags:
      - Protected branches
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProtectedBranch"
        '422':
          description: name is missing
        '409':
          description: Protected branch 'main' already exists
        '404':
          description: 404 Project Not Found
        '401':
          description: 401 Unauthorized
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: gitlab-org/gitlab
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdProtectedBranchesRequest"
  "/api/v4/projects/{id}/protected_branches/{name}":
    get:
      operationId: getApiV4ProjectsIdProtectedBranchesName
      summary: Retrieve a protected branch or wildcard protected branch
      description: Retrieves a specified protected branch or wildcard protected branch.
      tags:
      - Protected branches
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProtectedBranch"
        '404':
          description: 404 Project Not Found
        '401':
          description: 401 Unauthorized
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: gitlab-org/gitlab
      - name: name
        required: true
        description: Name of the branch or wildcard.
        schema:
          type: string
        in: path
        example: main
    patch:
      operationId: patchApiV4ProjectsIdProtectedBranchesName
      summary: Update a protected branch
      description: 'Updates a protected branch for a specified project. Each element
        of `allowed_to_push`, `allowed_to_merge`, and `allowed_to_unprotect` takes
        the form `{user_id: integer}`, `{group_id: integer}`, `{member_role_id: integer}`,
        or `{access_level: integer}`. `allowed_to_push` also accepts `{deploy_key_id:
        integer}`. To update an existing access level record, include its `id` in
        the hash. To delete one, include its `id` and set `_destroy` to `true`. A
        user must have access to the project, and a group must have the project shared
        with it. A deploy key must be enabled for the project and have write access
        to the project repository.'
      tags:
      - Protected branches
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProtectedBranch"
        '422':
          description: Push access levels access level has already been taken
        '404':
          description: 404 Project Not Found
        '401':
          description: 401 Unauthorized
        '400':
          description: 400 Bad request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: gitlab-org/gitlab
      - name: name
        required: true
        description: Name of the branch or wildcard.
        schema:
          type: string
        in: path
        example: main
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4ProjectsIdProtectedBranchesNameRequest"
    delete:
      operationId: deleteApiV4ProjectsIdProtectedBranchesName
      summary: Unprotect repository branches
      description: Unprotects a specified protected branch or wildcard protected branch.
      tags:
      - Protected branches
      responses:
        '204':
          description: No Content
        '404':
          description: 404 Project Not Found
        '401':
          description: 401 Unauthorized
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: gitlab-org/gitlab
      - name: name
        required: true
        description: Name of the branch or wildcard.
        schema:
          type: string
        in: path
        example: main
  "/api/v4/users/{user_id}/projects":
    get:
      operationId: getApiV4UsersUserIdProjects
      summary: List all personal projects for a user
      description: Lists all personal projects for a specified user. Does not return
        group or subgroup projects. If the user profile is private, returns only an
        empty list. Unauthenticated requests return only public projects. Offset-based
        pagination returns up to 50,000 projects. Use keyset-based pagination to list
        more.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProjectWithAccess"
        '404':
          description: 404 User Not Found
        '400':
          description: Bad Request
      parameters:
      - name: user_id
        required: true
        description: ID or username of the user.
        schema:
          type: string
        in: path
      - name: order_by
        required: false
        description: Return projects ordered by field. storage_size, repository_size,
          wiki_size, packages_size are only available to admins. Similarity is available
          when searching and is limited to projects the user has access to.
        schema:
          type: string
          enum:
          - id
          - name
          - path
          - created_at
          - updated_at
          - last_activity_at
          - similarity
          - star_count
          - storage_size
          - repository_size
          - wiki_size
          - packages_size
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: archived
        required: false
        description: If `true`, returns only archived projects.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: visibility
        required: false
        description: Return projects with the specified visibility.
        schema:
          type: string
          enum:
          - private
          - internal
          - public
          nullable: true
        in: query
      - name: search
        required: false
        description: 'Return a list of projects with a `path`, `name`, or `description`
          matching the search criteria (case-insensitive, substring match). Multiple
          terms can be provided, separated by an escaped space, either `+` or `%20`,
          and are ANDed together. Example: `one+two` matches substrings `one` and
          `two` (in any order).'
        schema:
          type: string
          nullable: true
        in: query
      - name: search_namespaces
        required: false
        description: If `true`, includes ancestor namespaces when matching search
          criteria. Default is `false`.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: owned
        required: false
        description: If `true`, returns only projects explicitly owned by the current
          user.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: starred
        required: false
        description: If `true`, returns only projects starred by the current user.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: imported
        required: false
        description: If `true`, returns only projects that were imported from external
          systems by the authenticated user.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: membership
        required: false
        description: If `true`, returns only projects that the current user is a member
          of.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_issues_enabled
        required: false
        description: If `true`, returns only projects that have the issues feature
          enabled.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_merge_requests_enabled
        required: false
        description: If `true`, returns only projects that have the merge requests
          feature enabled.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_programming_language
        required: false
        description: Return projects that use the given programming language.
        schema:
          type: string
          nullable: true
        in: query
      - name: min_access_level
        required: false
        description: Return results where the current user has at least the specified
          access level. For a list of values, see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
        schema:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          nullable: true
        in: query
      - name: id_after
        required: false
        description: Return projects with IDs greater than the specified ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: id_before
        required: false
        description: Return projects with IDs less than the specified ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: last_activity_after
        required: false
        description: Return projects with last activity after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: last_activity_before
        required: false
        description: Return projects with last activity before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: repository_storage
        required: false
        description: Return projects stored on the specified repository storage shard.
          Administrators only.
        schema:
          type: string
          nullable: true
        in: query
      - name: topic
        required: false
        description: Comma-separated list of topics. Return projects having all topics.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
      - name: topic_id
        required: false
        description: Filter projects by the given topic ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: updated_before
        required: false
        description: Return projects last updated on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: updated_after
        required: false
        description: Return projects last updated on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: include_pending_delete
        required: false
        description: If `true`, includes projects that are pending deletion in the
          response. Administrators only.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: marked_for_deletion_on
        required: false
        description: Return projects that are marked for deletion on this date. Premium
          and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/463939)
          in GitLab 17.1.
        schema:
          type: string
          format: date
          nullable: true
        in: query
      - name: active
        required: false
        description: If `true`, returns only projects that are not archived and not
          marked for deletion.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: wiki_checksum_failed
        required: false
        description: If `true`, returns only projects whose wiki checksum calculation
          failed. Premium and Ultimate only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: repository_checksum_failed
        required: false
        description: If `true`, returns only projects whose repository checksum calculation
          failed. Premium and Ultimate only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: include_hidden
        required: false
        description: If `true`, includes hidden projects. Administrators only. Premium
          and Ultimate only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: simple
        required: false
        description: If `true`, returns only limited fields for each project. Without
          authentication, only public projects with limited fields are returned, regardless
          of this setting.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: statistics
        required: false
        description: If `true`, includes project statistics. Available only to users
          with the Reporter, Developer, Maintainer, or Owner role.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_custom_attributes
        required: false
        description: If `true`, includes [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          in the response. Administrators only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: custom_attributes
        required: false
        description: Filter by [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          that match all of the specified key and value pairs. Administrators only.
        schema:
          type: object
          nullable: true
        in: query
  "/api/v4/users/{user_id}/contributed_projects":
    get:
      operationId: getApiV4UsersUserIdContributedProjects
      summary: List all projects contributions for a user
      description: Lists all contributions to visible projects for a specified user.
        Returns only contributions in the past year.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProjectWithAccess"
        '404':
          description: 404 User Not Found
        '400':
          description: Bad Request
      parameters:
      - name: user_id
        required: true
        description: ID or username of the user.
        schema:
          type: string
        in: path
      - name: order_by
        required: false
        description: Return projects ordered by field. storage_size, repository_size,
          wiki_size, packages_size are only available to admins. Similarity is available
          when searching and is limited to projects the user has access to.
        schema:
          type: string
          enum:
          - id
          - name
          - path
          - created_at
          - updated_at
          - last_activity_at
          - similarity
          - star_count
          - storage_size
          - repository_size
          - wiki_size
          - packages_size
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: simple
        required: false
        description: If `true`, returns only limited fields for each project. Without
          authentication, only public projects with limited fields are returned, regardless
          of this setting.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
  "/api/v4/users/{user_id}/starred_projects":
    get:
      operationId: getApiV4UsersUserIdStarredProjects
      summary: List all projects starred by a user
      description: Lists all visible projects starred by a specified user. Unauthenticated
        requests return only public projects.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProjectWithAccess"
        '404':
          description: 404 User Not Found
        '400':
          description: Bad Request
      parameters:
      - name: user_id
        required: true
        description: ID or username of the user.
        schema:
          type: string
        in: path
      - name: order_by
        required: false
        description: Return projects ordered by field. storage_size, repository_size,
          wiki_size, packages_size are only available to admins. Similarity is available
          when searching and is limited to projects the user has access to.
        schema:
          type: string
          enum:
          - id
          - name
          - path
          - created_at
          - updated_at
          - last_activity_at
          - similarity
          - star_count
          - storage_size
          - repository_size
          - wiki_size
          - packages_size
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: archived
        required: false
        description: If `true`, returns only archived projects.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: visibility
        required: false
        description: Return projects with the specified visibility.
        schema:
          type: string
          enum:
          - private
          - internal
          - public
          nullable: true
        in: query
      - name: search
        required: false
        description: 'Return a list of projects with a `path`, `name`, or `description`
          matching the search criteria (case-insensitive, substring match). Multiple
          terms can be provided, separated by an escaped space, either `+` or `%20`,
          and are ANDed together. Example: `one+two` matches substrings `one` and
          `two` (in any order).'
        schema:
          type: string
          nullable: true
        in: query
      - name: search_namespaces
        required: false
        description: If `true`, includes ancestor namespaces when matching search
          criteria. Default is `false`.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: owned
        required: false
        description: If `true`, returns only projects explicitly owned by the current
          user.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: starred
        required: false
        description: If `true`, returns only projects starred by the current user.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: imported
        required: false
        description: If `true`, returns only projects that were imported from external
          systems by the authenticated user.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: membership
        required: false
        description: If `true`, returns only projects that the current user is a member
          of.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_issues_enabled
        required: false
        description: If `true`, returns only projects that have the issues feature
          enabled.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_merge_requests_enabled
        required: false
        description: If `true`, returns only projects that have the merge requests
          feature enabled.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_programming_language
        required: false
        description: Return projects that use the given programming language.
        schema:
          type: string
          nullable: true
        in: query
      - name: min_access_level
        required: false
        description: Return results where the current user has at least the specified
          access level. For a list of values, see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
        schema:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          nullable: true
        in: query
      - name: id_after
        required: false
        description: Return projects with IDs greater than the specified ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: id_before
        required: false
        description: Return projects with IDs less than the specified ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: last_activity_after
        required: false
        description: Return projects with last activity after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: last_activity_before
        required: false
        description: Return projects with last activity before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: repository_storage
        required: false
        description: Return projects stored on the specified repository storage shard.
          Administrators only.
        schema:
          type: string
          nullable: true
        in: query
      - name: topic
        required: false
        description: Comma-separated list of topics. Return projects having all topics.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
      - name: topic_id
        required: false
        description: Filter projects by the given topic ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: updated_before
        required: false
        description: Return projects last updated on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: updated_after
        required: false
        description: Return projects last updated on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: include_pending_delete
        required: false
        description: If `true`, includes projects that are pending deletion in the
          response. Administrators only.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: marked_for_deletion_on
        required: false
        description: Return projects that are marked for deletion on this date. Premium
          and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/463939)
          in GitLab 17.1.
        schema:
          type: string
          format: date
          nullable: true
        in: query
      - name: active
        required: false
        description: If `true`, returns only projects that are not archived and not
          marked for deletion.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: wiki_checksum_failed
        required: false
        description: If `true`, returns only projects whose wiki checksum calculation
          failed. Premium and Ultimate only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: repository_checksum_failed
        required: false
        description: If `true`, returns only projects whose repository checksum calculation
          failed. Premium and Ultimate only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: include_hidden
        required: false
        description: If `true`, includes hidden projects. Administrators only. Premium
          and Ultimate only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: simple
        required: false
        description: If `true`, returns only limited fields for each project. Without
          authentication, only public projects with limited fields are returned, regardless
          of this setting.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: statistics
        required: false
        description: If `true`, includes project statistics. Available only to users
          with the Reporter, Developer, Maintainer, or Owner role.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_custom_attributes
        required: false
        description: If `true`, includes [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          in the response. Administrators only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: custom_attributes
        required: false
        description: Filter by [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          that match all of the specified key and value pairs. Administrators only.
        schema:
          type: object
          nullable: true
        in: query
  "/api/v4/projects/{id}/custom_attributes":
    get:
      operationId: getApiV4ProjectsIdCustomAttributes
      summary: List all custom attributes for a project
      description: Lists all custom attributes for a specified project.
      tags:
      - Custom attributes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/custom_attributes/{key}":
    get:
      operationId: getApiV4ProjectsIdCustomAttributesKey
      summary: Retrieve a custom attribute for a project
      description: Retrieves a specified custom attribute for a project.
      tags:
      - Custom attributes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: key
        required: true
        description: Key of the custom attribute.
        schema:
          type: string
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
    put:
      operationId: putApiV4ProjectsIdCustomAttributesKey
      summary: Creates or updates a custom attribute for a project
      description: Creates or updates a custom attribute for a specified project.
        If the attribute already exists, it is updated, otherwise a new attribute
        is created.
      tags:
      - Custom attributes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: key
        required: true
        description: Key of the custom attribute.
        schema:
          type: string
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdCustomAttributesKeyRequest"
    delete:
      operationId: deleteApiV4ProjectsIdCustomAttributesKey
      summary: Delete a custom attribute for a project
      description: Deletes a specified custom attribute for a project.
      tags:
      - Custom attributes
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: key
        required: true
        description: Key of the custom attribute.
        schema:
          type: string
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/restore":
    post:
      operationId: postApiV4ProjectsIdRestore
      summary: Restore a project marked for deletion
      description: Restores a specified project that was marked for deletion.
      tags:
      - Projects
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProject"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects":
    get:
      operationId: getApiV4Projects
      summary: List all projects
      description: Lists all projects accessible to the authenticated user. Unauthenticated
        requests return only public projects with a limited subset of attributes.
        Offset-based pagination returns up to 50,000 projects. Use keyset-based pagination
        to list more. You can filter responses by custom attributes. To use the `updated_after`
        or `updated_before` filters, you must also set `order_by` to `updated_at`.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProjectWithAccess"
        '400':
          description: Bad request
      parameters:
      - name: order_by
        required: false
        description: Return projects ordered by field. storage_size, repository_size,
          wiki_size, packages_size are only available to admins. Similarity is available
          when searching and is limited to projects the user has access to.
        schema:
          type: string
          enum:
          - id
          - name
          - path
          - created_at
          - updated_at
          - last_activity_at
          - similarity
          - star_count
          - storage_size
          - repository_size
          - wiki_size
          - packages_size
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: archived
        required: false
        description: If `true`, returns only archived projects.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: visibility
        required: false
        description: Return projects with the specified visibility.
        schema:
          type: string
          enum:
          - private
          - internal
          - public
          nullable: true
        in: query
      - name: search
        required: false
        description: 'Return a list of projects with a `path`, `name`, or `description`
          matching the search criteria (case-insensitive, substring match). Multiple
          terms can be provided, separated by an escaped space, either `+` or `%20`,
          and are ANDed together. Example: `one+two` matches substrings `one` and
          `two` (in any order).'
        schema:
          type: string
          nullable: true
        in: query
      - name: search_namespaces
        required: false
        description: If `true`, includes ancestor namespaces when matching search
          criteria. Default is `false`.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: owned
        required: false
        description: If `true`, returns only projects explicitly owned by the current
          user.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: starred
        required: false
        description: If `true`, returns only projects starred by the current user.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: imported
        required: false
        description: If `true`, returns only projects that were imported from external
          systems by the authenticated user.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: membership
        required: false
        description: If `true`, returns only projects that the current user is a member
          of.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_issues_enabled
        required: false
        description: If `true`, returns only projects that have the issues feature
          enabled.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_merge_requests_enabled
        required: false
        description: If `true`, returns only projects that have the merge requests
          feature enabled.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_programming_language
        required: false
        description: Return projects that use the given programming language.
        schema:
          type: string
          nullable: true
        in: query
      - name: min_access_level
        required: false
        description: Return results where the current user has at least the specified
          access level. For a list of values, see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
        schema:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          nullable: true
        in: query
      - name: id_after
        required: false
        description: Return projects with IDs greater than the specified ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: id_before
        required: false
        description: Return projects with IDs less than the specified ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: last_activity_after
        required: false
        description: Return projects with last activity after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: last_activity_before
        required: false
        description: Return projects with last activity before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: repository_storage
        required: false
        description: Return projects stored on the specified repository storage shard.
          Administrators only.
        schema:
          type: string
          nullable: true
        in: query
      - name: topic
        required: false
        description: Comma-separated list of topics. Return projects having all topics.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
      - name: topic_id
        required: false
        description: Filter projects by the given topic ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: updated_before
        required: false
        description: Return projects last updated on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: updated_after
        required: false
        description: Return projects last updated on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: include_pending_delete
        required: false
        description: If `true`, includes projects that are pending deletion in the
          response. Administrators only.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: marked_for_deletion_on
        required: false
        description: Return projects that are marked for deletion on this date. Premium
          and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/463939)
          in GitLab 17.1.
        schema:
          type: string
          format: date
          nullable: true
        in: query
      - name: active
        required: false
        description: If `true`, returns only projects that are not archived and not
          marked for deletion.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: wiki_checksum_failed
        required: false
        description: If `true`, returns only projects whose wiki checksum calculation
          failed. Premium and Ultimate only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: repository_checksum_failed
        required: false
        description: If `true`, returns only projects whose repository checksum calculation
          failed. Premium and Ultimate only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: include_hidden
        required: false
        description: If `true`, includes hidden projects. Administrators only. Premium
          and Ultimate only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: simple
        required: false
        description: If `true`, returns only limited fields for each project. Without
          authentication, only public projects with limited fields are returned, regardless
          of this setting.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: statistics
        required: false
        description: If `true`, includes project statistics. Available only to users
          with the Reporter, Developer, Maintainer, or Owner role.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_custom_attributes
        required: false
        description: If `true`, includes [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          in the response. Administrators only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: custom_attributes
        required: false
        description: Filter by [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          that match all of the specified key and value pairs. Administrators only.
        schema:
          type: object
          nullable: true
        in: query
    post:
      operationId: postApiV4Projects
      summary: Create a project
      description: Creates a project owned by the authenticated user. If your HTTP
        repository is not publicly accessible, add authentication information to the
        URL `https://username:password@gitlab.company.com/group/project.git`, where
        `password` is a public access key with the `api` scope.
      tags:
      - Projects
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProject"
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '400':
          description: Bad request
      requestBody:
        required: false
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsRequest"
  "/api/v4/projects/user/{user_id}":
    post:
      operationId: postApiV4ProjectsUserUserId
      summary: Create a project for a user
      description: Creates a project for a user. Administrators only.
      tags:
      - Projects
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProject"
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '400':
          description: Bad request
      parameters:
      - name: user_id
        required: true
        description: ID of the user to assign as the project owner.
        schema:
          type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsUserUserIdRequest"
  "/api/v4/projects/{id}/share_locations":
    get:
      operationId: getApiV4ProjectsIdShareLocations
      summary: List all groups available to invite to a project
      description: Lists all groups that can be invited to a project.
      tags:
      - Projects
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesPublicGroupDetails"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          type: integer
        in: path
      - name: search
        required: false
        description: Return groups matching the search criteria.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/projects/{id}":
    get:
      operationId: getApiV4ProjectsId
      summary: Retrieve a project
      description: Retrieves details on a specified project. This endpoint can be
        accessed without authentication if the project is publicly accessible.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectsWithAccessAndCatalogSetting"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: statistics
        required: false
        description: If `true`, includes project statistics. Available only to users
          with the Reporter, Developer, Maintainer, or Owner role.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_custom_attributes
        required: false
        description: If `true`, includes [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          in the response. Administrators only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: custom_attributes
        required: false
        description: Filter by [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          that match all of the specified key and value pairs. Administrators only.
        schema:
          type: object
          nullable: true
        in: query
      - name: license
        required: false
        description: If `true`, includes the project license data in the response.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
    put:
      operationId: putApiV4ProjectsId
      summary: Update a project
      description: Updates an existing project. If your HTTP repository is not publicly
        accessible, add authentication information to the URL `https://username:password@gitlab.company.com/group/project.git`,
        where `password` is a public access key with the `api` scope. You must have
        the Maintainer or Owner role for the project. At least one project attribute
        must be updated.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectsWithCatalogSetting"
        '400':
          description: Bad request
        '403':
          description: Unauthenticated
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdRequest"
    delete:
      operationId: deleteApiV4ProjectsId
      summary: Delete a project
      description: Marks a specified project for deletion. Projects are deleted at
        the end of the retention period, which is 30 days on GitLab.com and set in
        the instance settings on GitLab Self-Managed. You must be an administrator
        or be assigned the Owner role on the project.
      tags:
      - Projects
      responses:
        '202':
          description: Accepted
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/fork":
    post:
      operationId: postApiV4ProjectsIdFork
      summary: Create a fork of a project
      description: Creates a fork of a project. The fork runs asynchronously in a
        background job and the request returns immediately. To check whether the fork
        has completed, query the `import_status` of the new project.
      tags:
      - Projects
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProject"
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '409':
          description: Conflict
        '422':
          description: Unprocessable entity
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdForkRequest"
    delete:
      operationId: deleteApiV4ProjectsIdFork
      summary: Delete a fork relationship
      description: Deletes a fork relationship between projects. You must be an administrator
        or be assigned the Owner role on the project.
      tags:
      - Projects
      responses:
        '204':
          description: No Content
        '304':
          description: Not modified
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/forks":
    get:
      operationId: getApiV4ProjectsIdForks
      summary: List all forks of a project
      description: Lists all forks of a project that are accessible to the authenticated
        user.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProject"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: order_by
        required: false
        description: Return projects ordered by field. storage_size, repository_size,
          wiki_size, packages_size are only available to admins. Similarity is available
          when searching and is limited to projects the user has access to.
        schema:
          type: string
          enum:
          - id
          - name
          - path
          - created_at
          - updated_at
          - last_activity_at
          - similarity
          - star_count
          - storage_size
          - repository_size
          - wiki_size
          - packages_size
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: archived
        required: false
        description: If `true`, returns only archived projects.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: visibility
        required: false
        description: Return projects with the specified visibility.
        schema:
          type: string
          enum:
          - private
          - internal
          - public
          nullable: true
        in: query
      - name: search
        required: false
        description: 'Return a list of projects with a `path`, `name`, or `description`
          matching the search criteria (case-insensitive, substring match). Multiple
          terms can be provided, separated by an escaped space, either `+` or `%20`,
          and are ANDed together. Example: `one+two` matches substrings `one` and
          `two` (in any order).'
        schema:
          type: string
          nullable: true
        in: query
      - name: search_namespaces
        required: false
        description: If `true`, includes ancestor namespaces when matching search
          criteria. Default is `false`.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: owned
        required: false
        description: If `true`, returns only projects explicitly owned by the current
          user.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: starred
        required: false
        description: If `true`, returns only projects starred by the current user.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: imported
        required: false
        description: If `true`, returns only projects that were imported from external
          systems by the authenticated user.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: membership
        required: false
        description: If `true`, returns only projects that the current user is a member
          of.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_issues_enabled
        required: false
        description: If `true`, returns only projects that have the issues feature
          enabled.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_merge_requests_enabled
        required: false
        description: If `true`, returns only projects that have the merge requests
          feature enabled.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_programming_language
        required: false
        description: Return projects that use the given programming language.
        schema:
          type: string
          nullable: true
        in: query
      - name: min_access_level
        required: false
        description: Return results where the current user has at least the specified
          access level. For a list of values, see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
        schema:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          nullable: true
        in: query
      - name: id_after
        required: false
        description: Return projects with IDs greater than the specified ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: id_before
        required: false
        description: Return projects with IDs less than the specified ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: last_activity_after
        required: false
        description: Return projects with last activity after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: last_activity_before
        required: false
        description: Return projects with last activity before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: repository_storage
        required: false
        description: Return projects stored on the specified repository storage shard.
          Administrators only.
        schema:
          type: string
          nullable: true
        in: query
      - name: topic
        required: false
        description: Comma-separated list of topics. Return projects having all topics.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
      - name: topic_id
        required: false
        description: Filter projects by the given topic ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: updated_before
        required: false
        description: Return projects last updated on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: updated_after
        required: false
        description: Return projects last updated on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: include_pending_delete
        required: false
        description: If `true`, includes projects that are pending deletion in the
          response. Administrators only.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: marked_for_deletion_on
        required: false
        description: Return projects that are marked for deletion on this date. Premium
          and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/463939)
          in GitLab 17.1.
        schema:
          type: string
          format: date
          nullable: true
        in: query
      - name: active
        required: false
        description: If `true`, returns only projects that are not archived and not
          marked for deletion.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: wiki_checksum_failed
        required: false
        description: If `true`, returns only projects whose wiki checksum calculation
          failed. Premium and Ultimate only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: repository_checksum_failed
        required: false
        description: If `true`, returns only projects whose repository checksum calculation
          failed. Premium and Ultimate only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: include_hidden
        required: false
        description: If `true`, includes hidden projects. Administrators only. Premium
          and Ultimate only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: simple
        required: false
        description: If `true`, returns only limited fields for each project. Without
          authentication, only public projects with limited fields are returned, regardless
          of this setting.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: statistics
        required: false
        description: If `true`, includes project statistics. Available only to users
          with the Reporter, Developer, Maintainer, or Owner role.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_custom_attributes
        required: false
        description: If `true`, includes [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          in the response. Administrators only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: custom_attributes
        required: false
        description: Filter by [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          that match all of the specified key and value pairs. Administrators only.
        schema:
          type: object
          nullable: true
        in: query
  "/api/v4/projects/{id}/pages_access":
    get:
      operationId: getApiV4ProjectsIdPagesAccess
      summary: Verify Pages access to a project
      description: Verifies if the current user can access GitLab Pages in a specified
        project.
      tags:
      - Projects
      responses:
        '200':
          description: OK
        '403':
          description: Unauthenticated
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/archive":
    post:
      operationId: postApiV4ProjectsIdArchive
      summary: Archive a project
      description: Archives a specified project. You must be an administrator or be
        assigned the Owner role on the project.
      tags:
      - Projects
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProject"
        '403':
          description: Unauthenticated
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/unarchive":
    post:
      operationId: postApiV4ProjectsIdUnarchive
      summary: Unarchive a project
      description: Unarchives a specified project. You must be an administrator or
        have the Owner role on the project. Unarchiving a project that is not archived
        does not change the project.
      tags:
      - Projects
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProject"
        '403':
          description: Unauthenticated
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/star":
    post:
      operationId: postApiV4ProjectsIdStar
      summary: Star a project
      description: Stars a specified project.
      tags:
      - Projects
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProject"
        '304':
          description: Not modified
        '403':
          description: Unauthenticated
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/unstar":
    post:
      operationId: postApiV4ProjectsIdUnstar
      summary: Unstar a project
      description: Unstars a specified project.
      tags:
      - Projects
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProject"
        '304':
          description: Not modified
        '403':
          description: Unauthenticated
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/starrers":
    get:
      operationId: getApiV4ProjectsIdStarrers
      summary: List all users who starred a project
      description: Lists all users who starred a specified project.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesUserBasic"
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: search
        required: false
        description: Search for a specific user by their username or name.
        schema:
          type: string
          nullable: true
        in: query
        example: user
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/languages":
    get:
      operationId: getApiV4ProjectsIdLanguages
      summary: Retrieve programming language usage information
      description: Retrieves information about all programming languages used in a
        specified project. Returns each language with its usage percentage.
      tags:
      - Projects
      responses:
        '200':
          description: OK
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/fork/{forked_from_id}":
    post:
      operationId: postApiV4ProjectsIdForkForkedFromId
      summary: Create a fork relationship
      description: Creates a fork relationship between a project and an upstream project.
        You must be an administrator or be assigned the Owner role on the project.
      tags:
      - Projects
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProject"
        '401':
          description: Unauthorized
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: forked_from_id
        required: true
        description: ID of the project that was forked from.
        schema:
          type: string
        in: path
        example: gitlab
  "/api/v4/projects/{id}/share":
    post:
      operationId: postApiV4ProjectsIdShare
      summary: Share a project with a group
      description: Shares a specified project with a group.
      tags:
      - Projects
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectGroupLink"
        '400':
          description: Bad request
        '403':
          description: Unauthenticated
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdShareRequest"
  "/api/v4/projects/{id}/share/{group_id}":
    delete:
      operationId: deleteApiV4ProjectsIdShareGroupId
      summary: Delete a shared project link in a group
      description: Deletes a shared project link in a group.
      tags:
      - Projects
      responses:
        '204':
          description: No Content
        '400':
          description: Bad request
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: group_id
        required: true
        description: ID of the shared group.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/import_project_members/{project_id}":
    post:
      operationId: postApiV4ProjectsIdImportProjectMembersProjectId
      summary: Import members
      description: 'Imports members from another project. If the role of the importing
        member for the target project is a Maintainer, then members with the Owner
        role for the source project are imported with the Maintainer role. If the
        importing member is an Owner, then members with the Owner role for the source
        project are imported with the Owner role. On success, returns `{"status":
        "success"}`. If some members cannot be imported, returns `status` `error`,
        a `message` object with an error for each username, and `total_members_count`.'
      tags:
      - Projects
      responses:
        '200':
          description: OK
        '403':
          description: Forbidden - Project
        '404':
          description: Project Not Found
        '422':
          description: Import failed
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: project_id
        required: true
        description: ID of the source project to import the members from.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/users":
    get:
      operationId: getApiV4ProjectsIdUsers
      summary: List all members of a project
      description: Lists all members with access to a specified project.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesUserBasic"
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: search
        required: false
        description: Search for a specific user by their username or name.
        schema:
          type: string
          nullable: true
        in: query
        example: user
      - name: skip_users
        required: false
        description: Filter out members with the specified IDs.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/groups":
    get:
      operationId: getApiV4ProjectsIdGroups
      summary: List all ancestor groups
      description: Lists all ancestor groups for a specified project.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesPublicGroupDetails"
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: search
        required: false
        description: Return groups matching the search criteria.
        schema:
          type: string
          nullable: true
        in: query
        example: group
      - name: skip_groups
        required: false
        description: Skip the specified group IDs.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
      - name: with_shared
        required: false
        description: If `true`, includes groups the project is shared with.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: shared_visible_only
        required: false
        description: If `true`, returns only shared groups the authenticated user
          can access.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: shared_min_access_level
        required: false
        description: Return shared groups with at least the specified access level.
          For a list of values, see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
        schema:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/invited_groups":
    get:
      operationId: getApiV4ProjectsIdInvitedGroups
      summary: List all invited groups in a project
      description: Lists all invited groups in a project. Unauthenticated requests
        return only public invited groups. Limited to 60 requests a minute per user
        account for authenticated requires and per IP address for unauthenticated
        requests. Supports offset-based pagination (up to 50,000 projects) and keyset-based
        pagination (greater than 50,000 projects).
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesPublicGroupDetails"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: relation
        required: false
        description: Filter groups by relation.
        schema:
          type: array
          items:
            type: string
            enum:
            - direct
            - inherited
          nullable: true
        in: query
        style: form
        explode: false
      - name: search
        required: false
        description: Return the list of authorized groups matching the search criteria.
        schema:
          type: string
          nullable: true
        in: query
      - name: min_access_level
        required: false
        description: Return results where the current user has at least the specified
          access level. For a list of values, see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
        schema:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: with_custom_attributes
        required: false
        description: If `true`, includes [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          in the response. Administrators only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: custom_attributes
        required: false
        description: Filter by [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          that match all of the specified key and value pairs. Administrators only.
        schema:
          type: object
          nullable: true
        in: query
  "/api/v4/projects/{id}/housekeeping":
    post:
      operationId: postApiV4ProjectsIdHousekeeping
      summary: Start the housekeeping task for a project
      description: Starts the housekeeping task for a project.
      tags:
      - Projects
      responses:
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Unauthenticated
        '409':
          description: Conflict
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdHousekeepingRequest"
  "/api/v4/projects/{id}/repository_size":
    post:
      operationId: postApiV4ProjectsIdRepositorySize
      summary: Start a task to recalculate repository size for a project
      description: This feature was introduced in GitLab 15.0.
      tags:
      - Projects
      responses:
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Unauthenticated
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/transfer":
    put:
      operationId: putApiV4ProjectsIdTransfer
      summary: Transfer a project to another namespace
      description: Transfers a project to another namespace. The transfer runs asynchronously.
        To confirm it succeeded, retrieve the project until its `namespace.id` matches
        the ID of the new namespace. If the transfer fails, the user who requested
        it gets a to-do item with the `transfer_failed` action.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProject"
        '400':
          description: Bad request
        '403':
          description: Unauthenticated
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdTransferRequest"
  "/api/v4/projects/{id}/transfer_locations":
    get:
      operationId: getApiV4ProjectsIdTransferLocations
      summary: List all transferable namespaces for a project
      description: Lists all namespaces where a specified project can be transferred.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesPublicGroupDetails"
        '403':
          description: Unauthenticated
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: search
        required: false
        description: Group name to search for.
        schema:
          type: string
          nullable: true
        in: query
        example: search
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/storage":
    get:
      operationId: getApiV4ProjectsIdStorage
      summary: Retrieve the path to repository storage
      description: Retrieves the path to repository storage for a specified project.
        If you are using Gitaly Cluster (Praefect), see Praefect-generated replica
        paths instead. Administrators only.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectRepositoryStorage"
        '403':
          description: Unauthenticated
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/audit_events":
    get:
      operationId: getApiV4ProjectsIdAuditEvents
      summary: List all project audit events
      description: Lists all audit events for a specified project. Users with at least
        the Maintainer role get the audit events of all users. Users with the Developer
        role get only the events of their own actions. Offset-based pagination was
        deprecated in GitLab 17.8 and is planned for removal in GitLab 19.0. Use keyset-based
        pagination instead. This change is a breaking change.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAuditEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: created_after
        required: false
        description: Return project audit events created on or after the specified
          time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2016-01-19T09:05:50.355Z'
      - name: created_before
        required: false
        description: Return project audit events created on or before the specified
          time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2016-01-19T09:05:50.355Z'
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/audit_events/{audit_event_id}":
    get:
      operationId: getApiV4ProjectsIdAuditEventsAuditEventId
      summary: Retrieve a project audit event
      description: Retrieves an audit event for a specified project. Only available
        to users with at least the Developer role for the project.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAuditEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: audit_event_id
        required: true
        description: ID of the audit event.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/templates/{type}":
    get:
      operationId: getApiV4ProjectsIdTemplatesType
      summary: List all templates of a particular type
      description: Lists all templates of a specified type for a project.
      tags:
      - Project templates
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesTemplatesList"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: type
        required: true
        description: Type of the template.
        schema:
          type: string
          enum:
          - dockerfiles
          - gitignores
          - gitlab_ci_ymls
          - licenses
          - issues
          - merge_requests
          minLength: 1
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/templates/{type}/{name}":
    get:
      operationId: getApiV4ProjectsIdTemplatesTypeName
      summary: Retrieve a template of a particular type
      description: Retrieves a template of a specified type for a project.
      tags:
      - Project templates
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesLicense"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: type
        required: true
        description: Type of the template.
        schema:
          type: string
          enum:
          - dockerfiles
          - gitignores
          - gitlab_ci_ymls
          - licenses
          - issues
          - merge_requests
          minLength: 1
        in: path
      - name: name
        required: true
        description: Key of the template, as obtained from the collection endpoint.
        schema:
          type: string
        in: path
        example: MIT
      - name: source_template_project_id
        required: false
        description: ID of the project where the template is stored. Useful when multiple
          templates from different projects have the same name. If omitted, the match
          from the closest ancestor is returned.
        schema:
          type: integer
          nullable: true
        in: query
        example: 1
      - name: project
        required: false
        description: Project name to use when expanding placeholders in the template.
          Affects only licenses.
        schema:
          type: string
          nullable: true
        in: query
        example: GitLab
      - name: fullname
        required: false
        description: Full name of the copyright holder to use when expanding placeholders
          in the template. Affects only licenses.
        schema:
          type: string
          nullable: true
        in: query
        example: GitLab B.V.
  "/api/v4/projects/{id}/statistics":
    get:
      operationId: getApiV4ProjectsIdStatistics
      summary: Retrieve the statistics of the last 30 days
      description: Retrieves the clone and pull statistics for the last 30 days from
        a specified project.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectDailyStatistics"
        '404':
          description: 404 Project Not Found
        '401':
          description: 401 Unauthorized
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/snippets":
    get:
      operationId: getApiV4ProjectsIdSnippets
      summary: List all snippets for a project
      description: Lists all snippets for a specified project.
      tags:
      - Snippets
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProjectSnippet"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdSnippets
      summary: Create a project snippet
      description: Creates a project snippet. The user must have permission to create
        snippets. Creating snippets has a rate limit of 300 requests every hour for
        each authenticated user. The limit is shared between this endpoint, the endpoint
        that creates a personal snippet, and the `createSnippet` GraphQL mutation.
      tags:
      - Snippets
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectSnippet"
        '400':
          description: Validation error
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdSnippetsRequest"
  "/api/v4/projects/{id}/snippets/{snippet_id}":
    get:
      operationId: getApiV4ProjectsIdSnippetsSnippetId
      summary: Retrieve a project snippet
      description: Retrieves a specified project snippet.
      tags:
      - Snippets
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectSnippet"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: snippet_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdSnippetsSnippetId
      summary: Update a project snippet
      description: Updates a specified project snippet. The user must have permission
        to modify snippets. Updates to snippets with multiple files must use the `files`
        attribute.
      tags:
      - Snippets
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectSnippet"
        '400':
          description: Validation error
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: snippet_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdSnippetsSnippetIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdSnippetsSnippetId
      summary: Delete a project snippet
      description: Deletes a specified project snippet.
      tags:
      - Snippets
      responses:
        '204':
          description: No Content
        '400':
          description: Validation error
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: snippet_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/snippets/{snippet_id}/raw":
    get:
      operationId: getApiV4ProjectsIdSnippetsSnippetIdRaw
      summary: Retrieve a raw project snippet
      description: Retrieves the raw contents of a specified project snippet as plain
        text
      tags:
      - Snippets
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectSnippet"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: snippet_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/snippets/{snippet_id}/files/{ref}/{file_path}/raw":
    get:
      operationId: getApiV4ProjectsIdSnippetsSnippetIdFilesRefFilePathRaw
      summary: Retrieve snippet repository file content
      description: Retrieves the raw file content from a snippet repository as plain
        text.
      tags:
      - Snippets
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectSnippet"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: ref
        required: true
        description: The name of branch, tag or commit
        schema:
          type: string
        in: path
      - name: file_path
        required: true
        description: The URL-encoded path to the file, like lib%2Fclass%2Erb
        schema:
          type: string
        in: path
      - name: snippet_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/snippets/{snippet_id}/user_agent_detail":
    get:
      operationId: getApiV4ProjectsIdSnippetsSnippetIdUserAgentDetail
      summary: Retrieve user agent details for a project snippet
      description: Retrieves user agent details for a specified snippet. Available
        only for administrators.
      tags:
      - Snippets
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserAgentDetail"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: snippet_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/snapshot":
    get:
      operationId: getApiV4ProjectsIdSnapshot
      summary: Download snapshot of a Git repository
      description: Downloads a snapshot of the project Git repository, or of the wiki
        repository if `wiki` is `true`. The snapshot is always in uncompressed tar
        format. If a repository is corrupted so that `git clone` does not work, the
        snapshot might allow some of the data to be retrieved. Requires administrator
        or auditor access.
      tags:
      - Project snapshots
      responses:
        '200':
          description: OK
          content:
            application/x-tar:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: wiki
        required: false
        description: If `true`, downloads the wiki repository instead of the project
          repository.
        schema:
          type: boolean
          nullable: true
        in: query
  "/api/v4/projects/{id}/packages/protection/rules":
    get:
      operationId: getApiV4ProjectsIdPackagesProtectionRules
      summary: List all package protection rules
      description: Lists all package protection rules for a specified project.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProjectsPackagesProtectionRule"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
    post:
      operationId: postApiV4ProjectsIdPackagesProtectionRules
      summary: Create a package protection rule
      description: Creates a package protection rule for a specified project.
      tags:
      - Projects
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectsPackagesProtectionRule"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '422':
          description: Package protection rule could not be created, for example because
            the `package_name_pattern` is already taken
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdPackagesProtectionRulesRequest"
  "/api/v4/projects/{id}/packages/protection/rules/{package_protection_rule_id}":
    patch:
      operationId: patchApiV4ProjectsIdPackagesProtectionRulesPackageProtectionRuleId
      summary: Update a package protection rule
      description: Updates a package protection rule for a specified project.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectsPackagesProtectionRule"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '422':
          description: Package protection rule could not be updated, for example because
            the `package_name_pattern` is already taken
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_protection_rule_id
        required: true
        description: ID of the package protection rule.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4ProjectsIdPackagesProtectionRulesPackageProtectionRuleIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdPackagesProtectionRulesPackageProtectionRuleId
      summary: Delete a package protection rule
      description: Deletes a package protection rule from a specified project.
      tags:
      - Projects
      responses:
        '204':
          description: 204 No Content
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_protection_rule_id
        required: true
        description: ID of the package protection rule.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/packages":
    get:
      operationId: getApiV4ProjectsIdPackages
      summary: List all packages for a project
      description: Lists all packages for a specified project. All package types are
        included in results. Unauthenticated requests return only packages of public
        projects. By default, packages with `default`, `deprecated`, and `error` status
        are returned. Use the `status` parameter to view other packages. Packages
        with `processing` status can contain malformed data or be broken.
      tags:
      - Packages
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesPackage"
        '403':
          description: Forbidden
        '404':
          description: Project Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - created_at
          - name
          - version
          - type
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: asc
        in: query
      - name: package_type
        required: false
        description: Filter packages by type.
        schema:
          type: string
          enum:
          - maven
          - npm
          - conan
          - nuget
          - pypi
          - composer
          - generic
          - golang
          - debian
          - rubygems
          - helm
          - terraform_module
          - rpm
          - ml_model
          - cargo
          - swift
          nullable: true
        in: query
      - name: package_name
        required: false
        description: Filter packages by name, using a fuzzy search.
        schema:
          type: string
          nullable: true
        in: query
      - name: package_version
        required: false
        description: Filter packages by version. When used together with `include_versionless`,
          versionless packages are not returned.
        schema:
          type: string
          nullable: true
        in: query
      - name: include_versionless
        required: false
        description: If `true`, includes versionless packages in the response.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: status
        required: false
        description: Filter packages by status.
        schema:
          type: string
          enum:
          - default
          - hidden
          - processing
          - error
          - pending_destruction
          - deprecated
          nullable: true
        in: query
  "/api/v4/projects/{id}/packages/{package_id}":
    get:
      operationId: getApiV4ProjectsIdPackagesPackageId
      summary: Retrieve a project package
      description: Retrieves a specified project package. Only packages with status
        `default` or `deprecated` are returned. In the response, `creator_id` is the
        ID of the user who created the package, and is `null` when a deploy token
        created the package. For a Conan package, `name` contains the recipe, and
        `conan_package_name` contains the package name. Other package types do not
        have this field. In `_links`, `web_path` is the path to the package details
        page in GitLab, and `delete_api_path` is the API path to delete the package,
        returned only if you have permission to delete it.
      tags:
      - Packages
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackage"
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_id
        required: true
        description: ID of the package.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdPackagesPackageId
      summary: Delete a project package
      description: Deletes a specified project package. If request forwarding is enabled,
        deleting a package can introduce a dependency confusion risk. Deleting a package
        protected by a protection rule is forbidden. The protection check is behind
        a feature flag named `packages_protected_packages_delete`, disabled by default.
      tags:
      - Packages
      responses:
        '204':
          description: No Content
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_id
        required: true
        description: ID of the package.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/packages/{package_id}/pipelines":
    get:
      operationId: getApiV4ProjectsIdPackagesPackageIdPipelines
      summary: List all package pipelines
      description: Lists all pipelines for a specified package. The results are sorted
        by `id` in descending order. The results are paginated and return up to 20
        records per page. This feature was introduced in GitLab 16.1.
      tags:
      - Packages
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesPackagePipeline"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items per page
        schema:
          type: integer
          minimum: 1
          maximum: 20
          nullable: true
          default: 20
        in: query
        example: 20
      - name: package_id
        required: true
        description: ID of the package.
        schema:
          type: integer
        in: path
      - name: cursor
        required: false
        description: Cursor for obtaining the next set of records.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/projects/{id}/job_token_scope":
    get:
      operationId: getApiV4ProjectsIdJobTokenScope
      summary: Retrieve the CI/CD job token access settings for a project
      description: Retrieves the CI/CD job token access settings (job token scope)
        of a specified project.
      tags:
      - Projects job token scope
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectJobTokenScope"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
    patch:
      operationId: patchApiV4ProjectsIdJobTokenScope
      summary: Update the CI/CD job token access settings for a project
      description: Updates the **Authorized groups and projects** setting (job token
        scope) of a specified project. If the **Enforce job token allowlist** instance
        setting is enabled, setting `enabled` to `false` returns `400 Bad Request`
        with an error message.
      tags:
      - Projects job token scope
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4ProjectsIdJobTokenScopeRequest"
  "/api/v4/projects/{id}/job_token_scope/allowlist":
    get:
      operationId: getApiV4ProjectsIdJobTokenScopeAllowlist
      summary: List all projects in a CI/CD job token allowlist
      description: Lists all projects in the CI/CD job token allowlist of a specified
        project.
      tags:
      - Projects job token scope
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBasicProjectDetails"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdJobTokenScopeAllowlist
      summary: Add a project to a CI/CD job token allowlist
      description: Adds a project to the CI/CD job token allowlist of a specified
        project.
      tags:
      - Projects job token scope
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectScopeLink"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdJobTokenScopeAllowlistRequest"
  "/api/v4/projects/{id}/job_token_scope/groups_allowlist":
    get:
      operationId: getApiV4ProjectsIdJobTokenScopeGroupsAllowlist
      summary: List all groups in a CI/CD job token allowlist
      description: Lists all groups in the CI/CD job token allowlist of a specified
        project.
      tags:
      - Projects job token scope
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBasicGroupDetails"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdJobTokenScopeGroupsAllowlist
      summary: Add a group to a CI/CD job token allowlist
      description: Adds a group to the CI/CD job token allowlist of a specified project.
      tags:
      - Projects job token scope
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupScopeLink"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdJobTokenScopeGroupsAllowlistRequest"
  "/api/v4/projects/{id}/job_token_scope/groups_allowlist/{target_group_id}":
    delete:
      operationId: deleteApiV4ProjectsIdJobTokenScopeGroupsAllowlistTargetGroupId
      summary: Delete a group from a CI/CD job token allowlist
      description: Deletes a group from the CI/CD job token allowlist of a specified
        project.
      tags:
      - Projects job token scope
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          type: integer
        in: path
        example: 1
      - name: target_group_id
        required: true
        description: ID of the group to remove from the CI/CD job token groups allowlist.
        schema:
          type: integer
        in: path
        example: 2
  "/api/v4/projects/{id}/job_token_scope/allowlist/{target_project_id}":
    delete:
      operationId: deleteApiV4ProjectsIdJobTokenScopeAllowlistTargetProjectId
      summary: Delete a project from a CI/CD job token allowlist
      description: Deletes a project from the CI/CD job token allowlist of a specified
        project.
      tags:
      - Projects job token scope
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          type: integer
        in: path
        example: 1
      - name: target_project_id
        required: true
        description: ID of the project to remove from the CI/CD job token inbound
          allowlist.
        schema:
          type: integer
        in: path
        example: 2
  "/api/v4/projects/import/authorize":
    post:
      operationId: postApiV4ProjectsImportAuthorize
      summary: Workhorse authorize the project import upload
      description: This feature was introduced in GitLab 12.9
      tags:
      - Project import
      responses:
        '201':
          description: Created
        '400':
          description: Bad Request
  "/api/v4/projects/import":
    post:
      operationId: postApiV4ProjectsImport
      summary: Import a project from a local archive
      description: Imports a project from a local archive. The maximum import file
        size is set by an administrator with the `max_import_size` application setting.
        Default is `0` (unlimited).
      tags:
      - Project import
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectImportStatus"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '400':
          description: Bad request
        '404':
          description: Not found
        '503':
          description: Service unavailable
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsImportRequest"
  "/api/v4/projects/{id}/import":
    get:
      operationId: getApiV4ProjectsIdImport
      summary: Retrieve the status of a project import
      description: Retrieves the status of the most recent import for a specified
        project. The `import_status` is one of `none`, `scheduled`, `started`, `finished`,
        `failed`, or `canceled`. If the status is `failed`, the response includes
        the import error message in `import_error`. If the status is `failed`, `started`,
        or `finished`, the `failed_relations` array might list relations that failed
        to import because of unrecoverable errors or because retries were exhausted,
        for example after query timeouts. The `id` of each `failed_relations` element
        references the failure record, not the relation. The `failed_relations` array
        is capped at 100 items. For imports from GitHub, a `stats` field lists how
        many objects were already fetched from GitHub and how many were already imported.
      tags:
      - Project import
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectImportStatus"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '400':
          description: Bad request
        '404':
          description: Not found
        '503':
          description: Service unavailable
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/import/git":
    post:
      operationId: postApiV4ProjectsIdImportGit
      summary: Import a project from a Git URL
      description: Imports a project from a specified Git URL. This feature was introduced
        in GitLab 18.10.
      tags:
      - Project import
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectImportStatus"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '400':
          description: Bad request
        '404':
          description: Not found
        '409':
          description: Conflict
        '422':
          description: Unprocessable Entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdImportGitRequest"
  "/api/v4/projects/remote-import":
    post:
      operationId: postApiV4ProjectsRemoteImport
      summary: Import a project from a remote archive
      description: Imports a project from a remote archive. The `Content-Length` header
        of the remote file must be a valid number, and the file cannot be larger than
        the `max_import_remote_file_size` application setting, which defaults to 10
        GB. The `Content-Type` header must be `application/gzip`, `application/x-gzip`,
        or `application/x-tar`.
      tags:
      - Project import
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectImportStatus"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '400':
          description: Bad request
        '404':
          description: Not found
        '429':
          description: Too many requests
        '503':
          description: Service unavailable
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsRemoteImportRequest"
  "/api/v4/projects/import-relation/authorize":
    post:
      operationId: postApiV4ProjectsImportRelationAuthorize
      summary: Authorize project relation import
      description: Authorizes uploading a project relation import file. This feature
        was introduced in GitLab 16.11.
      tags:
      - Project import
      responses:
        '201':
          description: Created
        '400':
          description: Bad Request
  "/api/v4/projects/import-relation":
    post:
      operationId: postApiV4ProjectsImportRelation
      summary: Import project resources
      description: Imports project resources included with a project archive. The
        type of item to import is controlled by the `relation` attribute. Skips items
        that were previously imported. The extracted files must have the structure
        of a GitLab project export, and the archive cannot be larger than the maximum
        import file size set by an administrator. This feature was introduced in GitLab
        16.11.
      tags:
      - Project import
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesRelationImportTracker"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '400':
          description: Bad request
        '404':
          description: Not found
        '503':
          description: Service unavailable
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsImportRelationRequest"
  "/api/v4/projects/{id}/relation-imports":
    get:
      operationId: getApiV4ProjectsIdRelationImports
      summary: Retrieve the status of a project resource import
      description: Retrieves the status of the most recent relation import for a specified
        project. Because only one relation import can be scheduled at a time, you
        can use this endpoint to check whether the previous import completed successfully.
        The `status` is one of `created` when the import is scheduled but not started,
        `started` when the import is being processed, `finished` when the import is
        complete, or `failed` when the import could not be completed. This feature
        was introduced in GitLab 16.11.
      tags:
      - Project import
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesRelationImportTracker"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '400':
          description: Bad request
        '404':
          description: Not found
        '503':
          description: Service unavailable
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/remote-import-s3":
    post:
      operationId: postApiV4ProjectsRemoteImportS3
      summary: Import a project from an AWS S3 bucket
      description: Imports a project from an archive stored in a specified AWS S3
        bucket.
      tags:
      - Project import
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectImportStatus"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '400':
          description: Bad request
        '404':
          description: Not found
        '429':
          description: Too many requests
        '503':
          description: Service unavailable
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsRemoteImportS3Request"
  "/api/v4/projects/{id}/hooks/{hook_id}/url_variables/{key}":
    put:
      operationId: putApiV4ProjectsIdHooksHookIdUrlVariablesKey
      summary: Update a URL variable
      description: Updates a URL variable for a specified webhook. Setting the value
        does not replace a literal value in the existing webhook URL with the placeholder.
        To use the variable, also update the webhook URL to include the `{key}` placeholder.
      tags:
      - Hooks
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: hook_id
        required: true
        description: ID of the hook.
        schema:
          type: integer
        in: path
      - name: key
        required: true
        description: Key of the URL variable.
        schema:
          type: string
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdHooksHookIdUrlVariablesKeyRequest"
    delete:
      operationId: deleteApiV4ProjectsIdHooksHookIdUrlVariablesKey
      summary: Delete a URL variable
      description: Deletes a URL variable from a specified webhook.
      tags:
      - Hooks
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: hook_id
        required: true
        description: ID of the hook.
        schema:
          type: integer
        in: path
      - name: key
        required: true
        description: Key of the URL variable.
        schema:
          type: string
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/hooks/{hook_id}/custom_headers/{key}":
    put:
      operationId: putApiV4ProjectsIdHooksHookIdCustomHeadersKey
      summary: Update a custom header
      description: Updates a custom header for a specified webhook. This feature was
        introduced in GitLab 17.1.
      tags:
      - Hooks
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: hook_id
        required: true
        description: ID of the hook.
        schema:
          type: integer
        in: path
      - name: key
        required: true
        description: Name of the custom header.
        schema:
          type: string
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdHooksHookIdCustomHeadersKeyRequest"
    delete:
      operationId: deleteApiV4ProjectsIdHooksHookIdCustomHeadersKey
      summary: Delete a custom header
      description: Deletes a custom header from a specified webhook. This feature
        was introduced in GitLab 17.1.
      tags:
      - Hooks
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: hook_id
        required: true
        description: ID of the hook.
        schema:
          type: integer
        in: path
      - name: key
        required: true
        description: Name of the custom header.
        schema:
          type: string
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/hooks":
    get:
      operationId: getApiV4ProjectsIdHooks
      summary: List all webhooks for a project
      description: Lists all webhooks for a specified project.
      tags:
      - Hooks
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProjectHook"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdHooks
      summary: Add a webhook to a project
      description: Adds a webhook to a specified project. This endpoint has a rate
        limit of five requests per minute for each authenticated user for a given
        project. On GitLab Self-Managed and GitLab Dedicated, an administrator can
        change this limit in the application settings. Setting `duo_flow_callback_enabled`
        to `false` is always accepted.
      tags:
      - Hooks
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectHook"
        '400':
          description: Validation error
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdHooksRequest"
  "/api/v4/projects/{id}/hooks/{hook_id}":
    get:
      operationId: getApiV4ProjectsIdHooksHookId
      summary: Retrieve a project webhook
      description: Retrieves a specified webhook for a project.
      tags:
      - Hooks
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectHook"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: hook_id
        required: true
        description: ID of the project webhook.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdHooksHookId
      summary: Update a project webhook
      description: Updates a specified webhook for a project. Setting `duo_flow_callback_enabled`
        to `false` is always accepted.
      tags:
      - Hooks
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectHook"
        '400':
          description: Validation error
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: hook_id
        required: true
        description: ID of the project webhook.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdHooksHookIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdHooksHookId
      summary: Delete a project webhook
      description: Deletes a specified webhook for a project. If the webhook was already
        deleted, returns `404 Not found`.
      tags:
      - Hooks
      responses:
        '204':
          description: No Content
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: hook_id
        required: true
        description: ID of the project webhook.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/hooks/{hook_id}/events":
    get:
      operationId: getApiV4ProjectsIdHooksHookIdEvents
      summary: List all events
      description: Lists all events from the past seven days for a specified webhook.
        This feature was introduced in GitLab 17.3.
      tags:
      - Hooks
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesWebHookLog"
        '400':
          description: Bad request
        '404':
          description: Not found
        '403':
          description: Forbidden
      parameters:
      - name: status
        required: false
        description: 'Response status code of the events, for example `200` or `500`.
          You can search by status category: `successful` (200-299), `client_failure`
          (400-499), and `server_failure` (500-599).'
        schema:
          type: array
          items:
            type: string
            enum:
            - '100'
            - '101'
            - '102'
            - '103'
            - '200'
            - '201'
            - '202'
            - '203'
            - '204'
            - '205'
            - '206'
            - '207'
            - '208'
            - '226'
            - '300'
            - '301'
            - '302'
            - '303'
            - '304'
            - '305'
            - '306'
            - '307'
            - '308'
            - '400'
            - '401'
            - '402'
            - '403'
            - '404'
            - '405'
            - '406'
            - '407'
            - '408'
            - '409'
            - '410'
            - '411'
            - '412'
            - '413'
            - '414'
            - '415'
            - '416'
            - '417'
            - '421'
            - '422'
            - '423'
            - '424'
            - '425'
            - '426'
            - '428'
            - '429'
            - '431'
            - '451'
            - '500'
            - '501'
            - '502'
            - '503'
            - '504'
            - '505'
            - '506'
            - '507'
            - '508'
            - '509'
            - '510'
            - '511'
            - successful
            - client_failure
            - server_failure
          nullable: true
        in: query
        style: form
        explode: false
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          minimum: 1
          maximum: 20
          nullable: true
          default: 20
        in: query
        example: 20
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: hook_id
        required: true
        description: ID of the hook.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/hooks/{hook_id}/test/{trigger}":
    post:
      operationId: postApiV4ProjectsIdHooksHookIdTestTrigger
      summary: Trigger a test webhook
      description: Triggers a test webhook. This endpoint has a rate limit of five
        requests per minute for each authenticated user for a given project or group.
        On GitLab Self-Managed and GitLab Dedicated, an administrator can change this
        limit in the application settings. This feature was introduced in GitLab 16.11
        for project hooks and GitLab 17.1 for group hooks.
      tags:
      - Hooks
      responses:
        '201':
          description: Created
        '400':
          description: Bad request
        '403':
          description: Forbidden
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '429':
          description: Too many requests
      parameters:
      - name: hook_id
        required: true
        description: ID of the hook.
        schema:
          type: integer
        in: path
      - name: trigger
        required: true
        description: Type of webhook event to test.
        schema:
          type: string
          enum:
          - confidential_issues_events
          - confidential_note_events
          - deployment_events
          - emoji_events
          - feature_flag_events
          - issues_events
          - job_events
          - merge_requests_events
          - milestone_events
          - note_events
          - pipeline_events
          - push_events
          - releases_events
          - resource_access_token_events
          - resource_deploy_token_events
          - tag_push_events
          - wiki_page_events
          - vulnerability_events
          minLength: 1
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/hooks/{hook_id}/events/{hook_log_id}/resend":
    post:
      operationId: postApiV4ProjectsIdHooksHookIdEventsHookLogIdResend
      summary: Resend a webhook event
      description: Resends a webhook event. This endpoint has a rate limit of five
        requests per minute for each authenticated user for a given project or group.
        All webhooks in the same project or group share the limit. On GitLab Self-Managed
        and GitLab Dedicated, an administrator can change this limit in the application
        settings. This feature was introduced in GitLab 17.4.
      tags:
      - Hooks
      responses:
        '201':
          description: Created
        '422':
          description: Unprocessable entity
        '404':
          description: Not found
        '429':
          description: Too many requests
        '400':
          description: Bad Request
      parameters:
      - name: hook_id
        required: true
        description: ID of the hook.
        schema:
          type: integer
        in: path
      - name: hook_log_id
        required: true
        description: ID of the hook log entry.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/export":
    get:
      operationId: getApiV4ProjectsIdExport
      summary: Retrieve the status of a project export
      description: 'Retrieves the status of the most recent export for a specified
        project. The `export_status` is one of: `none` when no exports are queued,
        started, finished, or being regenerated; `queued` when the export request
        is received and is in the queue to be processed; `started` when the export
        is in progress, including actions on the resulting file such as sending the
        notification email or uploading it to a web server; `finished` when the export
        is complete and the user was notified; `failed` when the export failed; or
        `regeneration_in_progress` when an export file is available to download and
        a new export is in progress. The `_links` object is returned only when the
        export is finished. The `created_at` attribute is the project creation time,
        not the export start time.'
      tags:
      - Project import
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectExportStatus"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '503':
          description: Service unavailable
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
    post:
      operationId: postApiV4ProjectsIdExport
      summary: Export a project
      description: 'Exports a project. Use the `upload` hash parameter to upload the
        exported project to a web server or any S3-compatible platform. Uploads support
        only binary data and are sent with the `Content-Type: application/gzip` header,
        so a pre-signed upload URL must include this header in its signature. The
        export can take some time, so the upload URL must not have a short expiration
        time. Because of a known issue, uploads to Amazon S3 cannot be larger than
        5 GB. The maximum export file size is set by an administrator with the `max_export_size`
        application setting. Default is `0` (unlimited). Excluded `lfs_objects` and
        `uploads` relations do not count toward this limit.'
      tags:
      - Project import
      responses:
        '202':
          description: Accepted
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
        '503':
          description: Service unavailable
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdExportRequest"
  "/api/v4/projects/{id}/export/download":
    get:
      operationId: getApiV4ProjectsIdExportDownload
      summary: Download a project export
      description: Downloads the most recent export of a specified project.
      tags:
      - Project import
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '503':
          description: Service unavailable
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/export_relations":
    post:
      operationId: postApiV4ProjectsIdExportRelations
      summary: Schedule a relations export for a project
      description: Schedules a relations export for a specified project. By default,
        this endpoint is limited to 6 requests per minute for each user and project.
        The instance must meet the direct transfer prerequisites, including the `bulk_import_enabled`
        application setting. If the setting is disabled, a `404` is returned. This
        endpoint cannot be used with the file-based group import and export API.
      tags:
      - Project import
      responses:
        '202':
          description: Accepted
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
        '503':
          description: Service unavailable
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdExportRelationsRequest"
  "/api/v4/projects/{id}/export_relations/download":
    get:
      operationId: getApiV4ProjectsIdExportRelationsDownload
      summary: Download a relations export for a project
      description: Downloads a project relations export file. By default, this endpoint
        is limited to 100 requests per minute for each user and project. The instance
        must meet the direct transfer prerequisites, including the `bulk_import_enabled`
        application setting. If the setting is disabled, a `404` is returned. This
        endpoint cannot be used with the file-based group import and export API.
      tags:
      - Project import
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
            application/gzip:
              schema:
                type: string
                format: binary
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
        '500':
          description: Internal Server Error
        '503':
          description: Service unavailable
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: relation
        required: true
        description: Name of the project top-level relation to download or view.
        schema:
          type: string
          nullable: true
        in: query
      - name: batched
        required: false
        description: If `true`, downloads the batch specified by `batch_number`. Set
          to `true` only for batched exports. All or none of `batched`, `batch_number`
          must be provided.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: batch_number
        required: false
        description: Number of the export batch to download. All or none of `batched`,
          `batch_number` must be provided.
        schema:
          type: integer
          nullable: true
        in: query
  "/api/v4/projects/{id}/export_relations/status":
    get:
      operationId: getApiV4ProjectsIdExportRelationsStatus
      summary: Retrieve the status of an relations export for a project
      description: Retrieves the status of a relations export for a project. The `status`
        is one of `-2` (pending), `0` (started), `1` (finished), or `-1` (failed).
        The instance must meet the direct transfer prerequisites, including the `bulk_import_enabled`
        application setting. If the setting is disabled, a `404` is returned. This
        endpoint cannot be used with the file-based group import and export API.
      tags:
      - Project import
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBulkImportsExportStatus"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '503':
          description: Service unavailable
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: relation
        required: false
        description: Name of the project top-level relation to download or view.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/projects/{id}/events":
    get:
      operationId: getApiV4ProjectsIdEvents
      summary: List all visible events for a project
      description: 'Lists all visible events for a specified project. When a push
        exceeds the Push event activities limit, a single bulk push event is returned
        instead of individual commit events. Bulk push events have limited commit
        details: `commit_count` is `0`, `ref_count` shows the number of refs pushed,
        and individual commit attributes are `null`.'
      tags:
      - Events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: action
        required: false
        description: Filter events by the specified [action type](https://docs.gitlab.com/user/profile/contributions_calendar/#user-contribution-events).
        schema:
          type: string
          nullable: true
        in: query
      - name: target_type
        required: false
        description: Filter events by target type.
        schema:
          type: string
          enum:
          - issue
          - milestone
          - merge_request
          - note
          - project
          - snippet
          - user
          - wiki
          - design
          nullable: true
        in: query
      - name: before
        required: false
        description: Return events created before the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
      - name: after
        required: false
        description: Return events created after the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order by creation date.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/debian_distributions":
    post:
      operationId: postApiV4ProjectsIdDebianDistributions
      summary: Create a Debian project distribution
      description: Creates a Debian project distribution for a specified project.
      tags:
      - 'Packages: Debian'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesDebianDistribution"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdDebianDistributionsRequest"
    get:
      operationId: getApiV4ProjectsIdDebianDistributions
      summary: List all Debian project distributions
      description: Lists all Debian distributions for a specified project. `suite`
        filters the results by suite.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesPackagesDebianDistribution"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: codename
        required: false
        description: Codename of the Debian distribution. Filters the results by codename.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        in: query
        example: sid
      - name: suite
        required: false
        description: Suite of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        in: query
        example: unstable
      - name: origin
        required: false
        description: Origin of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        in: query
        example: Grep
      - name: label
        required: false
        description: Label of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        in: query
        example: grep.be
      - name: version
        required: false
        description: Version of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:(?:([0-9]{1,9}):)?([0-9][+.0-9A-Za-z~\\u017F\\u212A]*)(-[+.0-9A-Za-z~\\u017F\\u212A]+){0,14}(?<!-))$)"
          nullable: true
        in: query
        example: '12'
      - name: description
        required: false
        description: Description of the Debian distribution.
        schema:
          type: string
          nullable: true
        in: query
        example: My description
      - name: valid_time_duration_seconds
        required: false
        description: Duration, in seconds, before the Release file is considered expired
          by the client.
        schema:
          type: integer
          nullable: true
        in: query
        example: 604800
      - name: components
        required: false
        description: List of components of the Debian distribution.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        example:
        - main
        style: form
        explode: false
      - name: architectures
        required: false
        description: List of architectures of the Debian distribution.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        example:
        - amd64
        style: form
        explode: false
  "/api/v4/projects/{id}/debian_distributions/{codename}":
    get:
      operationId: getApiV4ProjectsIdDebianDistributionsCodename
      summary: Retrieve a Debian project distribution
      description: Retrieves a specified Debian project distribution for a project.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesDebianDistribution"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: codename
        required: true
        description: Codename of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
        in: path
        example: sid
    put:
      operationId: putApiV4ProjectsIdDebianDistributionsCodename
      summary: Update a Debian project distribution
      description: Updates a specified Debian project distribution for a project.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesDebianDistribution"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: codename
        required: true
        description: Codename of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
        in: path
        example: sid
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdDebianDistributionsCodenameRequest"
    delete:
      operationId: deleteApiV4ProjectsIdDebianDistributionsCodename
      summary: Delete a Debian project distribution
      description: Deletes a specified Debian project distribution for a project.
      tags:
      - 'Packages: Debian'
      responses:
        '202':
          description: Accepted
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: codename
        required: true
        description: Codename of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
        in: path
        example: sid
      - name: suite
        required: false
        description: Suite of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        in: query
        example: unstable
      - name: origin
        required: false
        description: Origin of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        in: query
        example: Grep
      - name: label
        required: false
        description: Label of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        in: query
        example: grep.be
      - name: version
        required: false
        description: Version of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:(?:([0-9]{1,9}):)?([0-9][+.0-9A-Za-z~\\u017F\\u212A]*)(-[+.0-9A-Za-z~\\u017F\\u212A]+){0,14}(?<!-))$)"
          nullable: true
        in: query
        example: '12'
      - name: description
        required: false
        description: Description of the Debian distribution.
        schema:
          type: string
          nullable: true
        in: query
        example: My description
      - name: valid_time_duration_seconds
        required: false
        description: Duration, in seconds, before the Release file is considered expired
          by the client.
        schema:
          type: integer
          nullable: true
        in: query
        example: 604800
      - name: components
        required: false
        description: List of components of the Debian distribution.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        example:
        - main
        style: form
        explode: false
      - name: architectures
        required: false
        description: List of architectures of the Debian distribution.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        example:
        - amd64
        style: form
        explode: false
  "/api/v4/projects/{id}/debian_distributions/{codename}/key.asc":
    get:
      operationId: getApiV4ProjectsIdDebianDistributionsCodenameKeyAsc
      summary: Retrieve a Debian project distribution key
      description: Retrieves a specified Debian project distribution key for a project.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesDebianDistribution"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: codename
        required: true
        description: Codename of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
        in: path
        example: sid
  "/api/v4/projects/{id}/registry/protection/tag/rules":
    get:
      operationId: getApiV4ProjectsIdRegistryProtectionTagRules
      summary: List all container registry protection tag rules
      description: Lists all container registry protection tag rules for a project.
        This feature was introduced in GitLab 18.7.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProjectsContainerRegistryProtectionTagRule"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Project not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
    post:
      operationId: postApiV4ProjectsIdRegistryProtectionTagRules
      summary: Create a container registry protection tag rule
      description: Creates a container registry protection tag rule for a project
        to control who can push or delete container tags. This feature was introduced
        in GitLab 18.8.
      tags:
      - Projects
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectsContainerRegistryProtectionTagRule"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Project not found
        '422':
          description: Protection rule could not be created, for example because the
            `tag_name_pattern` is already taken
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdRegistryProtectionTagRulesRequest"
  "/api/v4/projects/{id}/registry/protection/tag/rules/{protection_rule_id}":
    patch:
      operationId: patchApiV4ProjectsIdRegistryProtectionTagRulesProtectionRuleId
      summary: Update a container registry protection tag rule
      description: Updates a container registry protection tag rule for a project.
        This feature was introduced in GitLab 18.9.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectsContainerRegistryProtectionTagRule"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Project or protection rule not found
        '422':
          description: Protection rule could not be updated, for example because the
            `tag_name_pattern` is already taken
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: protection_rule_id
        required: true
        description: ID of the container registry protection tag rule.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4ProjectsIdRegistryProtectionTagRulesProtectionRuleIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdRegistryProtectionTagRulesProtectionRuleId
      summary: Delete a container registry protection tag rule
      description: Deletes a container registry protection tag rule from a project.
        This feature was introduced in GitLab 18.9.
      tags:
      - Projects
      responses:
        '204':
          description: Delete a container protection tag rule
        '400':
          description: "`id` or `protection_rule_id` is missing or invalid, or the
            protection rule could not be deleted"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Project or protection rule not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: protection_rule_id
        required: true
        description: ID of the container registry protection tag rule.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/registry/protection/repository/rules":
    get:
      operationId: getApiV4ProjectsIdRegistryProtectionRepositoryRules
      summary: List all container repository protection rules
      description: Lists all container repository protection rules for a specified
        project.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProjectsContainerRegistryProtectionRule"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
    post:
      operationId: postApiV4ProjectsIdRegistryProtectionRepositoryRules
      summary: Create a container repository protection rule
      description: Creates a container repository protection rule for a specified
        project to control who can push or delete container images. This feature was
        introduced in GitLab 17.2.
      tags:
      - Projects
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectsContainerRegistryProtectionRule"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '422':
          description: Protection rule could not be created, for example because the
            `repository_path_pattern` is already taken
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdRegistryProtectionRepositoryRulesRequest"
  "/api/v4/projects/{id}/registry/protection/repository/rules/{protection_rule_id}":
    patch:
      operationId: patchApiV4ProjectsIdRegistryProtectionRepositoryRulesProtectionRuleId
      summary: Update a container repository protection rule
      description: Updates a container repository protection rule for a specified
        project. This feature was introduced in GitLab 17.2.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectsContainerRegistryProtectionRule"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '422':
          description: Protection rule could not be updated, for example because the
            `repository_path_pattern` is already taken
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: protection_rule_id
        required: true
        description: ID of the container repository protection rule.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4ProjectsIdRegistryProtectionRepositoryRulesProtectionRuleIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdRegistryProtectionRepositoryRulesProtectionRuleId
      summary: Delete a container repository protection rule
      description: Deletes a specified container repository protection rule. This
        feature was introduced in GitLab 17.4.
      tags:
      - Projects
      responses:
        '204':
          description: 204 No Content
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: protection_rule_id
        required: true
        description: ID of the container repository protection rule.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/registry/repositories":
    get:
      operationId: getApiV4ProjectsIdRegistryRepositories
      summary: List all registry repositories for a project
      description: Lists all registry repositories for a specified project. Responses
        are paginated and return 20 results by default.
      tags:
      - Container registry
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesContainerRegistryRepository"
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: tags
        required: false
        description: If `true`, includes an array of `tags` in the response.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: tags_count
        required: false
        description: If `true`, includes `tags_count` in the response.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
  "/api/v4/projects/{id}/registry/repositories/{repository_id}":
    delete:
      operationId: deleteApiV4ProjectsIdRegistryRepositoriesRepositoryId
      summary: Delete registry repository
      description: Deletes a specified repository in the registry. This operation
        is executed asynchronously and might take some time to execute.
      tags:
      - Container registry
      responses:
        '204':
          description: Success
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: repository_id
        required: true
        description: ID of the container registry repository.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/registry/repositories/{repository_id}/tags":
    get:
      operationId: getApiV4ProjectsIdRegistryRepositoriesRepositoryIdTags
      summary: List all registry repository tags for a project
      description: Lists all tags for a specified registry repository. Responses are
        paginated and return 20 results by default. Offset pagination is deprecated.
        Use keyset pagination instead. Keyset pagination requires the container registry
        metadata database. Otherwise, `405 Method Not Allowed` is returned.
      tags:
      - Container registry
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesContainerRegistryTag"
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '405':
          description: Method Not Allowed
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: repository_id
        required: true
        description: ID of the container registry repository.
        schema:
          type: integer
        in: path
      - name: order_by
        required: false
        description: Field to order tags by. `published_at` requires keyset pagination.
          [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/573326) in
          GitLab 19.5.
        schema:
          type: string
          nullable: true
          default: name
        in: query
      - name: sort
        required: false
        description: Direction to sort tags in, `asc` or `desc`. Default is `asc`.
          Only applies to keyset pagination.
        schema:
          type: string
          nullable: true
          default: asc
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    delete:
      operationId: deleteApiV4ProjectsIdRegistryRepositoriesRepositoryIdTags
      summary: Delete multiple registry repository tags
      description: Deletes multiple registry repository tags based on the specified
        criteria. The request is accepted and the tags are deleted asynchronously
        in the background. Tags that match `name_regex_delete` (or the deprecated
        `name_regex`) are deleted, except tags that match `name_regex_keep`, the `keep_n`
        most recent matching tags, tags newer than `older_than`, protected tags, and
        the tag named `latest`. You can run this at most once an hour for a given
        container repository. The number of tags deleted by one request is limited,
        so if the repository has many tags to delete, you might need to call this
        endpoint more than once. This operation does not delete blobs. To reclaim
        disk space, run garbage collection.
      tags:
      - Container registry
      responses:
        '202':
          description: Success
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: repository_id
        required: true
        description: ID of the container registry repository.
        schema:
          type: integer
        in: path
      - name: name_regex_delete
        required: false
        description: "[RE2](https://github.com/google/re2/wiki/Syntax) regular expression
          of the tag names to delete. Specify `.*` to delete all tags. At least one
          of `name_regex`, `name_regex_delete` must be provided."
        schema:
          type: string
          nullable: true
        in: query
      - name: name_regex
        required: false
        description: "[RE2](https://github.com/google/re2/wiki/Syntax) regular expression
          of the tag names to delete. Specify `.*` to delete all tags. Deprecated.
          Use `name_regex_delete` instead. At least one of `name_regex`, `name_regex_delete`
          must be provided."
        schema:
          type: string
          nullable: true
        in: query
      - name: name_regex_keep
        required: false
        description: "[RE2](https://github.com/google/re2/wiki/Syntax) regular expression
          of the tag names to keep. Overrides any matches from `name_regex_delete`.
          Setting to `.*` results in a no-op."
        schema:
          type: string
          nullable: true
        in: query
      - name: keep_n
        required: false
        description: Number of most recent tags with a matching name to keep.
        schema:
          type: integer
          nullable: true
        in: query
      - name: older_than
        required: false
        description: Delete tags older than this age, such as `1h`, `1d`, or `1month`.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/projects/{id}/registry/repositories/{repository_id}/tags/{tag_name}":
    get:
      operationId: getApiV4ProjectsIdRegistryRepositoriesRepositoryIdTagsTagName
      summary: Retrieve details of a registry repository tag
      description: Retrieves details of a specified registry repository tag.
      tags:
      - Container registry
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesContainerRegistryTagDetails"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: repository_id
        required: true
        description: ID of the container registry repository.
        schema:
          type: integer
        in: path
      - name: tag_name
        required: true
        description: Name of the tag.
        schema:
          type: string
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdRegistryRepositoriesRepositoryIdTagsTagName
      summary: Delete a registry repository tag
      description: Deletes a specified container registry repository tag. This operation
        does not delete blobs. To reclaim disk space, run garbage collection.
      tags:
      - Container registry
      responses:
        '204':
          description: Success
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: repository_id
        required: true
        description: ID of the container registry repository.
        schema:
          type: integer
        in: path
      - name: tag_name
        required: true
        description: Name of the tag.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/clusters":
    get:
      operationId: getApiV4ProjectsIdClusters
      summary: List all clusters in a project
      description: Lists all clusters in a specified project.
      tags:
      - Clusters
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCluster"
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/clusters/{cluster_id}":
    get:
      operationId: getApiV4ProjectsIdClustersClusterId
      summary: Retrieve a cluster from a project
      description: Retrieves a specified cluster in a project.
      tags:
      - Clusters
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesClusterProject"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: cluster_id
        required: true
        description: ID of the cluster.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdClustersClusterId
      summary: Update a cluster in a project
      description: Updates a cluster in a specified project. The `name`, `api_url`,
        `ca_cert`, and `token` attributes can be updated only if the cluster was added
        as an existing Kubernetes cluster.
      tags:
      - Clusters
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesClusterProject"
        '400':
          description: Validation error
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: cluster_id
        required: true
        description: ID of the cluster.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdClustersClusterIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdClustersClusterId
      summary: Delete cluster from a project
      description: Deletes a specified cluster from a project. Does not remove existing
        resources in the connected Kubernetes cluster.
      tags:
      - Clusters
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesClusterProject"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: cluster_id
        required: true
        description: ID of the cluster.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/clusters/user":
    post:
      operationId: postApiV4ProjectsIdClustersUser
      summary: Add a cluster to a project
      description: Adds an existing Kubernetes cluster to a specified project.
      tags:
      - Clusters
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesClusterProject"
        '400':
          description: Validation error
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdClustersUserRequest"
  "/api/v4/projects/{id}/avatar":
    get:
      operationId: getApiV4ProjectsIdAvatar
      summary: Download a project avatar
      description: Downloads a project avatar. You can access this endpoint without
        authentication if the project is publicly accessible. This feature was introduced
        in GitLab 16.9.
      tags:
      - Avatars
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/personal_access_tokens/self/rotate":
    post:
      operationId: postApiV4PersonalAccessTokensSelfRotate
      summary: Rotate a personal access token
      description: Rotates a personal access token by passing it to the API in a header.
        Rotates the personal access token used to authenticate the request. The token
        must have the `api` or `self_rotate` scope. The `granular_scopes` attribute
        was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/632314) in
        GitLab 19.5.
      tags:
      - Access tokens
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPersonalAccessTokenWithToken"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '405':
          description: Method not allowed
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4PersonalAccessTokensSelfRotateRequest"
  "/api/v4/personal_access_tokens/self":
    get:
      operationId: getApiV4PersonalAccessTokensSelf
      summary: Retrieve a personal access token
      description: Retrieves a specified personal access token by passing it to the
        API in a header. Returns the personal access token used to authenticate the
        request. The `granular_scopes` attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/629849)
        in GitLab 19.5.
      tags:
      - Access tokens
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPersonalAccessToken"
        '401':
          description: Unauthorized
        '404':
          description: Not found
    delete:
      operationId: deleteApiV4PersonalAccessTokensSelf
      summary: Revoke a personal access token
      description: Revokes a personal access token by passing it to the API in a header.
        Revokes the personal access token used to authenticate the request. A token
        with any scope can use this endpoint.
      tags:
      - Access tokens
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
  "/api/v4/personal_access_tokens/self/associations":
    get:
      operationId: getApiV4PersonalAccessTokensSelfAssociations
      summary: List all token associations
      description: Lists all groups and projects accessible by the personal access
        token used to authenticate the request. Generally, this includes any groups
        or projects that the user is a member of. This feature was introduced in GitLab
        17.4.
      tags:
      - Access tokens
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPersonalAccessTokenAssociations"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: min_access_level
        required: false
        description: Return groups and projects where the current user has at least
          the specified access level. For a list of values, see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
        schema:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/personal_access_tokens":
    get:
      operationId: getApiV4PersonalAccessTokens
      summary: List all personal access tokens
      description: Lists all personal access tokens accessible by the authenticated
        user. For administrators, returns all personal access tokens in the instance.
        For non-administrators, returns all of their personal access tokens. The `granular_scopes`
        attribute is present only for tokens created with granular scopes. In each
        granular scope, `project_id` is set when the scope targets a project, and
        `group_id` when it targets a group. Both are `null` for scopes with `access`
        of `user`, `instance`, `all_memberships`, or `personal_projects`. The `granular_scopes`
        attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/589500)
        in GitLab 19.2.
      tags:
      - Access tokens
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesPersonalAccessToken"
        '401':
          description: Unauthorized
        '400':
          description: Bad Request
      parameters:
      - name: user_id
        required: false
        description: Filter personal access tokens by user ID. Non-administrators
          can only filter their own tokens.
        schema:
          type: integer
          nullable: true
        in: query
        example: 2
      - name: revoked
        required: false
        description: If `true`, only returns revoked tokens. If `false`, only returns
          tokens that are not revoked.
        schema:
          type: boolean
          nullable: true
        in: query
        example: false
      - name: state
        required: false
        description: Return tokens with the specified state. `all` returns tokens
          in any state.
        schema:
          type: string
          enum:
          - all
          - active
          - inactive
          nullable: true
        in: query
        example: active
      - name: created_before
        required: false
        description: Return tokens created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2022-01-01T00:00:00Z'
      - name: created_after
        required: false
        description: Return tokens created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-01-01T00:00:00Z'
      - name: last_used_before
        required: false
        description: Return tokens last used on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-01-01T00:00:00Z'
      - name: last_used_after
        required: false
        description: Return tokens last used on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2022-01-01T00:00:00Z'
      - name: expires_before
        required: false
        description: Return tokens that expire before the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
        example: '2022-01-01'
      - name: expires_after
        required: false
        description: Return tokens that expire on or after the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
        example: '2021-01-01'
      - name: search
        required: false
        description: Return tokens that include the specified value in their name.
        schema:
          type: string
          nullable: true
        in: query
        example: token
      - name: sort
        required: false
        description: Sort results by the specified field and direction. Possible values
          are `created_asc`, `created_desc`, `expires_asc`, `expires_desc`, `last_used_asc`,
          `last_used_desc`, `name_asc`, and `name_desc`.
        schema:
          type: string
          nullable: true
        in: query
        example: created_desc
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/personal_access_tokens/{id}":
    get:
      operationId: getApiV4PersonalAccessTokensId
      summary: Retrieve a personal access token
      description: Retrieves details for a specified personal access token. Administrators
        can retrieve details on any token. Non-administrators can only retrieve details
        on their own tokens. The `granular_scopes` attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/589500)
        in GitLab 19.2.
      tags:
      - Access tokens
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPersonalAccessToken"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the personal access token.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4PersonalAccessTokensId
      summary: Revoke a personal access token
      description: Revokes a specified personal access token. Administrators can revoke
        tokens for any user. Non-administrators can only revoke their own tokens.
      tags:
      - Access tokens
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID of the personal access token.
        schema:
          type: integer
        in: path
  "/api/v4/personal_access_tokens/{id}/rotate":
    post:
      operationId: postApiV4PersonalAccessTokensIdRotate
      summary: Rotate a personal access token
      description: Rotates a specified personal access token. This revokes the previous
        token and creates a token that expires after one week. Administrators can
        revoke tokens for any user. Non-administrators can only revoke their own tokens.
        The `granular_scopes` attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/589500)
        in GitLab 19.2. The `last_used_ips` attribute was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/250307)
        in GitLab 19.4.
      tags:
      - Access tokens
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPersonalAccessTokenWithToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the personal access token.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4PersonalAccessTokensIdRotateRequest"
  "/api/v4/pages/domains":
    get:
      operationId: getApiV4PagesDomains
      summary: List all Pages domains
      description: Lists all Pages domains on the instance. You must have administrator
        access to the instance.
      tags:
      - GitLab Pages
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesPagesDomainBasic"
        '400':
          description: Bad Request
      parameters:
      - name: domain
        required: false
        description: Domain of the GitLab Pages site to filter on.
        schema:
          type: string
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/pages/domains":
    get:
      operationId: getApiV4ProjectsIdPagesDomains
      summary: List all Pages domains in a project
      description: Lists all Pages domains in a specified project. You must have permissions
        to view Pages domains.
      tags:
      - GitLab Pages
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesPagesDomain"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdPagesDomains
      summary: Create Pages domain
      description: Creates a Pages domain in a specified project. You must have permissions
        to create Pages domains.
      tags:
      - GitLab Pages
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPagesDomain"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdPagesDomainsRequest"
  "/api/v4/projects/{id}/pages/domains/{domain}":
    get:
      operationId: getApiV4ProjectsIdPagesDomainsDomain
      summary: Retrieve a Pages domain
      description: Retrieves a Pages domain from a specified project. You must have
        permissions to view Pages domains.
      tags:
      - GitLab Pages
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPagesDomain"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: domain
        required: true
        description: Custom domain.
        schema:
          type: string
        in: path
    put:
      operationId: putApiV4ProjectsIdPagesDomainsDomain
      summary: Update Pages domain
      description: Updates a specified Pages domain in a project. You must have permissions
        to change an existing Pages domain.
      tags:
      - GitLab Pages
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPagesDomain"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: domain
        required: true
        description: Custom domain.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPagesDomainsDomainRequest"
    delete:
      operationId: deleteApiV4ProjectsIdPagesDomainsDomain
      summary: Delete Pages domain
      description: Deletes a specified Pages domain in a project.
      tags:
      - GitLab Pages
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: domain
        required: true
        description: Custom domain.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/pages/domains/{domain}/verify":
    put:
      operationId: putApiV4ProjectsIdPagesDomainsDomainVerify
      summary: Verify Pages domain
      description: Verifies a specified Pages domain in a project. You must have permissions
        to update Pages domains. This feature was introduced in GitLab 17.7.
      tags:
      - GitLab Pages
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPagesDomain"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: domain
        required: true
        description: Custom domain to verify.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/pages":
    delete:
      operationId: deleteApiV4ProjectsIdPages
      summary: Unpublish Pages
      description: Unpublishes and removes Pages from a specified project. You must
        have the Maintainer or Owner role for the project.
      tags:
      - GitLab Pages
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
    patch:
      operationId: patchApiV4ProjectsIdPages
      summary: Update Pages settings for a project
      description: Updates Pages settings for a specified project. You must have the
        Maintainer or Owner role for the project.
      tags:
      - GitLab Pages
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPagesProjectSettings"
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4ProjectsIdPagesRequest"
    get:
      operationId: getApiV4ProjectsIdPages
      summary: Retrieve Pages settings for a project
      description: Retrieves Pages settings for a specified project. You must have
        the Maintainer or Owner role for the project.
      tags:
      - GitLab Pages
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPagesProjectSettings"
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/packages/{package_id}/package_files":
    get:
      operationId: getApiV4ProjectsIdPackagesPackageIdPackageFiles
      summary: List all package files
      description: Lists all package files for a specified package.
      tags:
      - Packages
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesPackageFile"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_id
        required: true
        description: ID of the package.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - id
          - created_at
          - file_name
          nullable: true
          default: id
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: asc
        in: query
  "/api/v4/projects/{id}/packages/{package_id}/package_files/{package_file_id}":
    delete:
      operationId: deleteApiV4ProjectsIdPackagesPackageIdPackageFilesPackageFileId
      summary: Delete a package file
      description: Deletes a specified package file. Deleting a package file can corrupt
        the package, making it unusable or unpullable from your package manager client.
        Deleting a file of a package protected by a protection rule is forbidden.
        The protection check is behind a feature flag named `packages_protected_packages_delete`,
        disabled by default.
      tags:
      - Packages
      responses:
        '204':
          description: No Content
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_id
        required: true
        description: ID of the package.
        schema:
          type: integer
        in: path
      - name: package_file_id
        required: true
        description: ID of the package file.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/packages/{package_id}/package_files/{package_file_id}/download":
    get:
      operationId: getApiV4ProjectsIdPackagesPackageIdPackageFilesPackageFileIdDownload
      summary: Download a package file
      description: This feature was introduced in GitLab 18.4
      tags:
      - Packages
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_id
        required: true
        description: ID of the package.
        schema:
          type: integer
        in: path
      - name: package_file_id
        required: true
        description: ID of the package file.
        schema:
          type: integer
        in: path
      - name: download_mode
        required: false
        description: Requested download transfer mode (`proxy` or `direct`). Only
          honored when allowed by the object storage configuration.
        schema:
          type: string
          enum:
          - proxy
          - direct
          nullable: true
        in: query
  "/api/v4/organizations":
    post:
      operationId: postApiV4Organizations
      summary: Create an organization
      description: Creates an organization. This feature was introduced in GitLab
        17.5. This feature is behind the `allow_organization_creation` feature flag.
        In GitLab 18.3, the feature flag changed to `organization_switching`. In GitLab
        19.4, the feature flag changed to `org_stage_experimental`.
      tags:
      - Organizations
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesOrganizationsOrganization"
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4OrganizationsRequest"
      x-gitlab-lifecycle: experiment
  "/api/v4/organizations/{id}":
    delete:
      operationId: deleteApiV4OrganizationsId
      summary: Soft-delete an organization
      description: This feature was introduced in GitLab 19.2.
      tags:
      - Organizations
      responses:
        '202':
          description: Accepted
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID of the organization.
        schema:
          type: integer
        in: path
      x-gitlab-lifecycle: experiment
  "/api/v4/organizations/{id}/restore":
    post:
      operationId: postApiV4OrganizationsIdRestore
      summary: Restore a soft-deleted organization
      description: Restores a soft-deleted organization. Administrators only. This
        feature was introduced in GitLab 19.6.
      tags:
      - Organizations
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesOrganizationsOrganization"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: The ID of the organization.
        schema:
          type: integer
        in: path
      x-gitlab-lifecycle: experiment
  "/api/v4/organizations/{id}/transfer_users":
    post:
      operationId: postApiV4OrganizationsIdTransferUsers
      summary: Transfer users to an organization
      description: Transfers ownership of users to the organization, including their
        personal namespaces and projects. All users must currently belong to the same
        organization. This is a change of ownership, not organization membership.
        The transfer runs in the background. Administrators only. No user can be an
        internal user, such as the ghost user or a bot like `support_bot` or `admin_bot`.
        Service accounts and project access token bots can be transferred. This feature
        was introduced in GitLab 19.6.
      tags:
      - Organizations
      responses:
        '202':
          description: Accepted
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: The ID of the organization to transfer the users to.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4OrganizationsIdTransferUsersRequest"
      x-gitlab-lifecycle: experiment
  "/api/v4/organizations/{id}/users":
    get:
      operationId: getApiV4OrganizationsIdUsers
      summary: List organization users
      description: Lists the users of an organization. Uses keyset pagination. This
        feature was introduced in GitLab 19.6.
      tags:
      - Organizations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesOrganizationsOrganizationUser"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: The ID of the organization.
        schema:
          type: integer
        in: path
      - name: pagination
        required: false
        description: Pagination method. Only `keyset` is supported.
        schema:
          type: string
          enum:
          - keyset
          nullable: true
          default: keyset
        in: query
      - name: cursor
        required: false
        description: Cursor for obtaining the next set of records.
        schema:
          type: string
          nullable: true
        in: query
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - id
          nullable: true
          default: id
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: asc
        in: query
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          minimum: 1
          maximum: 100
          nullable: true
          default: 20
        in: query
      x-gitlab-lifecycle: experiment
    post:
      operationId: postApiV4OrganizationsIdUsers
      summary: Add a user to an organization
      description: Adds a user to an organization, optionally as an owner. This feature
        was introduced in GitLab 19.6.
      tags:
      - Organizations
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesOrganizationsOrganizationUser"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: The ID of the organization.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4OrganizationsIdUsersRequest"
      x-gitlab-lifecycle: experiment
  "/api/v4/organizations/{id}/users/{user_id}":
    put:
      operationId: putApiV4OrganizationsIdUsersUserId
      summary: Update an organization user
      description: Changes the access level of a user in an organization, for example
        to promote them to owner. This feature was introduced in GitLab 19.6.
      tags:
      - Organizations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesOrganizationsOrganizationUser"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: The ID of the organization.
        schema:
          type: integer
        in: path
      - name: user_id
        required: true
        description: The ID of the user to update.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4OrganizationsIdUsersUserIdRequest"
      x-gitlab-lifecycle: experiment
    delete:
      operationId: deleteApiV4OrganizationsIdUsersUserId
      summary: Remove a user from an organization
      description: Removes a user from an organization, including their group and
        project memberships in it. The last owner of an organization cannot be removed.
        This feature was introduced in GitLab 19.6.
      tags:
      - Organizations
      responses:
        '204':
          description: No Content
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: The ID of the organization.
        schema:
          type: integer
        in: path
      - name: user_id
        required: true
        description: The ID of the user to remove.
        schema:
          type: integer
        in: path
      x-gitlab-lifecycle: experiment
  "/api/v4/offline_exports":
    post:
      operationId: postApiV4OfflineExports
      summary: Start a new offline transfer export
      description: Initiates a new offline transfer export. For more information,
        see https://docs.gitlab.com/user/group/import/offline_transfer_migrations/
      tags:
      - Offline transfers
      responses:
        '201':
          description: Created
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4OfflineExportsRequest"
    get:
      operationId: getApiV4OfflineExports
      summary: List all offline transfer exports
      description: Lists all offline transfer exports. For more information, see https://docs.gitlab.com/user/group/import/offline_transfer_migrations/
      tags:
      - Offline transfers
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesImportOfflineExport"
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: sort
        required: false
        description: Sort results in ascending or descending order by creation date.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: status
        required: false
        description: Return offline transfer exports with the specified status.
        schema:
          type: string
          enum:
          - created
          - started
          - finished
          - failed
          nullable: true
        in: query
  "/api/v4/offline_exports/{id}":
    get:
      operationId: getApiV4OfflineExportsId
      summary: Get offline transfer export details
      description: Retrieves details of an offline transfer export. For more information,
        see https://docs.gitlab.com/user/group/import/offline_transfer_migrations/
      tags:
      - Offline transfers
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the offline transfer export.
        schema:
          type: integer
        in: path
  "/api/v4/offline_imports":
    post:
      operationId: postApiV4OfflineImports
      summary: Start a new offline transfer import
      description: Initiates a new offline transfer import from object storage. For
        more information, see https://docs.gitlab.com/user/group/import/offline_transfer_migrations/
      tags:
      - Offline transfers
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBulkImport"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '429':
          description: Too many requests
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4OfflineImportsRequest"
  "/api/v4/projects/{id}/packages/nuget/index":
    get:
      operationId: getApiV4ProjectsIdPackagesNugetIndex
      summary: The NuGet V3 Feed Service Index
      description: Retrieves a list of available API resources. This endpoint can
        be accessed without authentication. The URLs in the response use the same
        route prefix as the request. With the group-level prefix, the URLs contain
        `/groups/:id/-`. This feature was introduced in GitLab 12.6
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNugetServiceIndex"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/packages/nuget/symbolfiles/{file_name}/{signature}/{same_file_name}":
    get:
      operationId: getApiV4ProjectsIdPackagesNugetSymbolfilesFileNameSignatureSameFileName
      summary: The NuGet Symbol File Download Endpoint
      description: Downloads a specified debugging symbol file (`.pdb`). Requires
        the `Symbolchecksum` header with the SHA256 checksum of the file, in the format
        `SHA256:<checksum>`. This feature was introduced in GitLab 16.7
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: file_name
        required: true
        description: The symbol file name
        schema:
          type: string
          pattern: "[^\\/]+"
          minLength: 1
        in: path
        example: mynugetpkg.pdb
      - name: signature
        required: true
        description: The symbol file signature
        schema:
          type: string
          pattern: "[^\\/]+"
          minLength: 1
        in: path
        example: k813f89485474661234z7109cve5709eFFFFFFFF
      - name: same_file_name
        required: true
        description: The symbol file name. Must match the 'file_name' parameter
        schema:
          type: string
          minLength: 1
        in: path
  "/api/v4/projects/{id}/packages/nuget/v2":
    get:
      operationId: getApiV4ProjectsIdPackagesNugetV2
      summary: The NuGet V2 Feed Service Index
      description: Retrieves an XML document that represents the service index of
        the NuGet v2 source feed. This endpoint can be accessed without authentication.
        This feature was introduced in GitLab 16.2
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdPackagesNugetV2
      summary: Upload a NuGet v2 package file for a project
      description: Uploads a NuGet v2 package file for a specified project.
      tags:
      - 'Packages: NuGet'
      responses:
        '201':
          description: Created
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesNugetV2Request"
  "/api/v4/projects/{id}/packages/nuget/v2/$metadata":
    get:
      operationId: getApiV4ProjectsIdPackagesNugetV2Metadata
      summary: The NuGet V2 Feed Package $metadata endpoint
      description: Returns metadata for the available endpoints in a NuGet v2 feed,
        as an OData EDMX XML document. This endpoint can be accessed without authentication.
        This feature was introduced in GitLab 16.3
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/packages/nuget/metadata/{package_name}/index":
    get:
      operationId: getApiV4ProjectsIdPackagesNugetMetadataPackageNameIndex
      summary: The NuGet Metadata Service - Package name level
      description: Retrieves metadata for a specified package. This feature was introduced
        in GitLab 12.8
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNugetPackagesMetadata"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: The NuGet package name
        schema:
          type: string
        in: path
        example: MyNuGetPkg
  "/api/v4/projects/{id}/packages/nuget/metadata/{package_name}/{package_version}":
    get:
      operationId: getApiV4ProjectsIdPackagesNugetMetadataPackageNamePackageVersion
      summary: The NuGet Metadata Service - Package name and version level
      description: Retrieves metadata for a specified package version. This feature
        was introduced in GitLab 12.8
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNugetPackageMetadata"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: The NuGet package name
        schema:
          type: string
        in: path
        example: MyNuGetPkg
      - name: package_version
        required: true
        description: The NuGet package version
        schema:
          type: string
          pattern: "[^\\/]+"
        in: path
        example: 1.0.0
  "/api/v4/projects/{id}/packages/nuget/query":
    get:
      operationId: getApiV4ProjectsIdPackagesNugetQuery
      summary: The NuGet Search Service
      description: Searches for NuGet packages in the repository based on a specified
        query. This feature was introduced in GitLab 12.8
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNugetSearchResults"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: q
        required: false
        description: Search term.
        schema:
          type: string
          nullable: true
        in: query
        example: MyNuGet
      - name: skip
        required: false
        description: Number of results to skip.
        schema:
          type: integer
          nullable: true
          default: 0
        in: query
        example: 1
      - name: take
        required: false
        description: Number of results to return.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 1
      - name: prerelease
        required: false
        description: If `true`, includes prerelease versions in the results.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
  "/api/v4/projects/{id}/packages/nuget/download/{package_name}/index":
    get:
      operationId: getApiV4ProjectsIdPackagesNugetDownloadPackageNameIndex
      summary: The NuGet Content Service - index request
      description: Retrieves the index for a specified package, which includes a list
        of available versions. This feature was introduced in GitLab 12.8
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNugetPackagesVersions"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: The NuGet package name
        schema:
          type: string
        in: path
        example: mynugetpkg.1.3.0.17.nupkg
  "/api/v4/projects/{id}/packages/nuget/download/{package_name}/{package_version}/{package_filename}":
    get:
      operationId: getApiV4ProjectsIdPackagesNugetDownloadPackageNamePackageVersionPackageFilename
      summary: The NuGet Content Service - content request
      description: Downloads a specified NuGet package file for a project. The package
        metadata service provides this URL. This endpoint exists only at the project-level
        route prefix, so a request with the group-level prefix returns `404`. This
        feature was introduced in GitLab 12.8
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: The NuGet package name
        schema:
          type: string
        in: path
        example: mynugetpkg.1.3.0.17.nupkg
      - name: package_version
        required: true
        description: The NuGet package version
        schema:
          type: string
          pattern: "[^\\/]+"
        in: path
        example: 1.3.0.17
      - name: package_filename
        required: true
        description: The NuGet package filename
        schema:
          type: string
          pattern: "[^\\/]+"
        in: path
        example: mynugetpkg.1.3.0.17.nupkg
  "/api/v4/projects/{id}/packages/nuget":
    put:
      operationId: putApiV4ProjectsIdPackagesNuget
      summary: Upload a NuGet v3 package file for a project
      description: Uploads a NuGet v3 package file for a specified project.
      tags:
      - 'Packages: NuGet'
      responses:
        '201':
          description: Created
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesNugetRequest"
  "/api/v4/projects/{id}/packages/nuget/authorize":
    put:
      operationId: putApiV4ProjectsIdPackagesNugetAuthorize
      summary: The NuGet Package Authorize endpoint
      description: This feature was introduced in GitLab 14.1
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/packages/nuget/symbolpackage":
    put:
      operationId: putApiV4ProjectsIdPackagesNugetSymbolpackage
      summary: Upload a NuGet symbol package file
      description: Uploads a specified NuGet symbol package file (`.snupkg`) for a
        project.
      tags:
      - 'Packages: NuGet'
      responses:
        '201':
          description: Created
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesNugetSymbolpackageRequest"
  "/api/v4/projects/{id}/packages/nuget/symbolpackage/authorize":
    put:
      operationId: putApiV4ProjectsIdPackagesNugetSymbolpackageAuthorize
      summary: The NuGet Symbol Package Authorize endpoint
      description: This feature was introduced in GitLab 14.1
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/packages/nuget/{package_name}/{package_version}":
    delete:
      operationId: deleteApiV4ProjectsIdPackagesNugetPackageNamePackageVersion
      summary: The NuGet Package Delete endpoint
      description: Deletes a specified NuGet package. This feature was introduced
        in GitLab 16.5
      tags:
      - 'Packages: NuGet'
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: The NuGet package name
        schema:
          type: string
          pattern: "^[\\-+._a-zA-Z0-9]+$"
          minLength: 1
        in: path
        example: mynugetpkg
      - name: package_version
        required: true
        description: The NuGet package version
        schema:
          type: string
          pattern: "^(?:(0|[1-9]\\d*))\\.(?:(0|[1-9]\\d*))(\\.(?:(0|[1-9]\\d*)))?(\\.\\d*)?(?:(?:-((?:\\d*[a-zA-Z\\-][0-9a-zA-Z\\-]*|[1-9]\\d*|0)(?:\\.(?:\\d*[a-zA-Z\\-][0-9a-zA-Z\\-]*|[1-9]\\d*|0))*))?(?:\\+([0-9a-zA-Z\\-]+(?:\\.[0-9a-zA-Z\\-]+)*))?)$"
          minLength: 1
        in: path
        example: 1.0.1
  "/api/v4/projects/{id}/packages/nuget/v2/authorize":
    put:
      operationId: putApiV4ProjectsIdPackagesNugetV2Authorize
      summary: The NuGet V2 Feed Package Authorize endpoint
      description: This feature was introduced in GitLab 16.2
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{project_id}/packages/nuget/v2/FindPackagesById()":
    get:
      operationId: getApiV4ProjectsProjectIdPackagesNugetV2Findpackagesbyid
      summary: The NuGet V2 Feed Find Packages by ID endpoint
      description: Returns an OData XML document that contains information about the
        package with the given name. The endpoint does not receive an authentication
        token, so it cannot return the latest version of the package. The version
        must be provided when a package is installed or upgraded with the NuGet v2
        feed. This feature was introduced in GitLab 16.4
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: project_id
        required: true
        description: ID of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: id
        required: true
        description: Name of the NuGet package.
        schema:
          type: string
          pattern: "^[\\-+._a-zA-Z0-9]+$"
          minLength: 1
        in: query
        example: mynugetpkg
  "/api/v4/projects/{project_id}/packages/nuget/v2/Packages()":
    get:
      operationId: getApiV4ProjectsProjectIdPackagesNugetV2Packages
      summary: The NuGet V2 Feed Enumerate Packages endpoint
      description: Returns an OData XML document that contains information about the
        package with the given name. The endpoint does not receive an authentication
        token, so it cannot return the latest version of the package. The version
        must be provided when a package is installed or upgraded with the NuGet v2
        feed. This feature was introduced in GitLab 16.4
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: project_id
        required: true
        description: ID of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: "$filter"
        required: true
        description: OData filter expression with the NuGet package name, in the form
          `tolower(Id) eq '<package_name>'`.
        schema:
          type: string
          pattern: "^[\\-+._a-zA-Z0-9]+$"
          minLength: 1
        in: query
        example: mynugetpkg
  "/api/v4/projects/{project_id}/packages/nuget/v2/Packages(Id='{package_name}',Version='{package_version}')":
    get:
      operationId: getApiV4ProjectsProjectIdPackagesNugetV2PackagesidPackageNameVersionPackageVersion
      summary: The NuGet V2 Feed Single Package Metadata endpoint
      description: Returns an OData XML document that contains information about the
        package with the given name and version. This feature was introduced in GitLab
        16.4
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: project_id
        required: true
        description: ID of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: The NuGet package name
        schema:
          type: string
          pattern: "^[\\-+._a-zA-Z0-9]+$"
          minLength: 1
        in: path
        example: mynugetpkg
      - name: package_version
        required: true
        description: The NuGet package version
        schema:
          type: string
          pattern: "^(?:(0|[1-9]\\d*))\\.(?:(0|[1-9]\\d*))(\\.(?:(0|[1-9]\\d*)))?(\\.\\d*)?(?:(?:-((?:\\d*[a-zA-Z\\-][0-9a-zA-Z\\-]*|[1-9]\\d*|0)(?:\\.(?:\\d*[a-zA-Z\\-][0-9a-zA-Z\\-]*|[1-9]\\d*|0))*))?(?:\\+([0-9a-zA-Z\\-]+(?:\\.[0-9a-zA-Z\\-]+)*))?)$"
          minLength: 1
        in: path
        example: 1.3.0.17
  "/api/v4/groups/{id}/-/packages/nuget/index":
    get:
      operationId: getApiV4GroupsIdDashPackagesNugetIndex
      summary: The NuGet V3 Feed Service Index
      description: Retrieves a list of available API resources. This endpoint can
        be accessed without authentication. The URLs in the response use the same
        route prefix as the request. With the group-level prefix, the URLs contain
        `/groups/:id/-`. This feature was introduced in GitLab 12.6
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNugetServiceIndex"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the group.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
  "/api/v4/groups/{id}/-/packages/nuget/symbolfiles/{file_name}/{signature}/{same_file_name}":
    get:
      operationId: getApiV4GroupsIdDashPackagesNugetSymbolfilesFileNameSignatureSameFileName
      summary: The NuGet Symbol File Download Endpoint
      description: Downloads a specified debugging symbol file (`.pdb`). Requires
        the `Symbolchecksum` header with the SHA256 checksum of the file, in the format
        `SHA256:<checksum>`. This feature was introduced in GitLab 16.7
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID of the group.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: file_name
        required: true
        description: The symbol file name
        schema:
          type: string
          pattern: "[^\\/]+"
          minLength: 1
        in: path
        example: mynugetpkg.pdb
      - name: signature
        required: true
        description: The symbol file signature
        schema:
          type: string
          pattern: "[^\\/]+"
          minLength: 1
        in: path
        example: k813f89485474661234z7109cve5709eFFFFFFFF
      - name: same_file_name
        required: true
        description: The symbol file name. Must match the 'file_name' parameter
        schema:
          type: string
          minLength: 1
        in: path
  "/api/v4/groups/{id}/-/packages/nuget/v2":
    get:
      operationId: getApiV4GroupsIdDashPackagesNugetV2
      summary: The NuGet V2 Feed Service Index
      description: Retrieves an XML document that represents the service index of
        the NuGet v2 source feed. This endpoint can be accessed without authentication.
        This feature was introduced in GitLab 16.2
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the group.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
  "/api/v4/groups/{id}/-/packages/nuget/v2/$metadata":
    get:
      operationId: getApiV4GroupsIdDashPackagesNugetV2Metadata
      summary: The NuGet V2 Feed Package $metadata endpoint
      description: Returns metadata for the available endpoints in a NuGet v2 feed,
        as an OData EDMX XML document. This endpoint can be accessed without authentication.
        This feature was introduced in GitLab 16.3
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the group.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
  "/api/v4/groups/{id}/-/packages/nuget/metadata/{package_name}/index":
    get:
      operationId: getApiV4GroupsIdDashPackagesNugetMetadataPackageNameIndex
      summary: The NuGet Metadata Service - Package name level
      description: Retrieves metadata for a specified package. This feature was introduced
        in GitLab 12.8
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNugetPackagesMetadata"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the group.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: package_name
        required: true
        description: The NuGet package name
        schema:
          type: string
        in: path
        example: MyNuGetPkg
  "/api/v4/groups/{id}/-/packages/nuget/metadata/{package_name}/{package_version}":
    get:
      operationId: getApiV4GroupsIdDashPackagesNugetMetadataPackageNamePackageVersion
      summary: The NuGet Metadata Service - Package name and version level
      description: Retrieves metadata for a specified package version. This feature
        was introduced in GitLab 12.8
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNugetPackageMetadata"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the group.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: package_name
        required: true
        description: The NuGet package name
        schema:
          type: string
        in: path
        example: MyNuGetPkg
      - name: package_version
        required: true
        description: The NuGet package version
        schema:
          type: string
          pattern: "[^\\/]+"
        in: path
        example: 1.0.0
  "/api/v4/groups/{id}/-/packages/nuget/query":
    get:
      operationId: getApiV4GroupsIdDashPackagesNugetQuery
      summary: The NuGet Search Service
      description: Searches for NuGet packages in the repository based on a specified
        query. This feature was introduced in GitLab 12.8
      tags:
      - 'Packages: NuGet'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNugetSearchResults"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the group.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: q
        required: false
        description: Search term.
        schema:
          type: string
          nullable: true
        in: query
        example: MyNuGet
      - name: skip
        required: false
        description: Number of results to skip.
        schema:
          type: integer
          nullable: true
          default: 0
        in: query
        example: 1
      - name: take
        required: false
        description: Number of results to return.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 1
      - name: prerelease
        required: false
        description: If `true`, includes prerelease versions in the results.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
  "/api/v4/projects/{id}/packages/npm/-/package/{package_name}/dist-tags":
    get:
      operationId: getApiV4ProjectsIdPackagesNpmDashPackagePackageNameDistTags
      summary: Get all tags for a given NPM package
      description: Lists all dist-tags for a specified package. This feature was introduced
        in GitLab 12.7
      tags:
      - 'Packages: NPM'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNpmPackageTag"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Package name
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/npm/-/package/{package_name}/dist-tags/{tag}":
    put:
      operationId: putApiV4ProjectsIdPackagesNpmDashPackagePackageNameDistTagsTag
      summary: Create or Update the given tag for the given NPM package and version
      description: Creates or updates a specified dist-tag for a package. This feature
        was introduced in GitLab 12.7
      tags:
      - 'Packages: NPM'
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Package name
        schema:
          type: string
        in: path
      - name: tag
        required: true
        description: Package dist-tag
        schema:
          type: string
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdPackagesNpmDashPackagePackageNameDistTagsTag
      summary: Deletes the given tag
      description: Deletes a specified dist-tag for a package. This feature was introduced
        in GitLab 12.7
      tags:
      - 'Packages: NPM'
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Package name
        schema:
          type: string
        in: path
      - name: tag
        required: true
        description: Package dist-tag
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/npm/-/npm/v1/security/advisories/bulk":
    post:
      operationId: postApiV4ProjectsIdPackagesNpmDashNpmV1SecurityAdvisoriesBulk
      summary: NPM registry bulk advisory endpoint
      description: This feature was introduced in GitLab 15.6
      tags:
      - 'Packages: NPM'
      responses:
        '200':
          description: Ok
        '307':
          description: Temporary Redirect
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/packages/npm/-/npm/v1/security/audits/quick":
    post:
      operationId: postApiV4ProjectsIdPackagesNpmDashNpmV1SecurityAuditsQuick
      summary: NPM registry quick audit endpoint
      description: This feature was introduced in GitLab 15.6
      tags:
      - 'Packages: NPM'
      responses:
        '200':
          description: Ok
        '307':
          description: Temporary Redirect
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/packages/npm/{package_name}/-/{file_name}":
    get:
      operationId: getApiV4ProjectsIdPackagesNpmPackageNameDashFileName
      summary: Download the NPM tarball
      description: Downloads a specified npm package file for a project. The metadata
        endpoint provides this URL. This feature was introduced in GitLab 11.8
      tags:
      - 'Packages: NPM'
      responses:
        '200':
          description: OK
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
      - name: file_name
        required: true
        description: Package file name
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/npm/{package_name}":
    put:
      operationId: putApiV4ProjectsIdPackagesNpmPackageName
      summary: Create or deprecate an NPM package
      description: Creates or deprecates an NPM package for a specified project. Deprecate
        support was added in GitLab 16.0.
      tags:
      - 'Packages: NPM'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesNpmPackageNameRequest"
    get:
      operationId: getApiV4ProjectsIdPackagesNpmPackageName
      summary: NPM registry metadata endpoint
      description: Retrieves the metadata for a specified package. This feature was
        introduced in GitLab 11.8
      tags:
      - 'Packages: NPM'
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNpmPackage"
        '302':
          description: Found (redirect)
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Package name
        schema:
          type: string
        in: path
        example: mypackage
  "/api/v4/packages/npm/-/package/{package_name}/dist-tags":
    get:
      operationId: getApiV4PackagesNpmDashPackagePackageNameDistTags
      summary: Get all tags for a given NPM package
      description: Lists all dist-tags for a specified package. This feature was introduced
        in GitLab 12.7
      tags:
      - 'Packages: NPM'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNpmPackageTag"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: package_name
        required: true
        description: Package name
        schema:
          type: string
        in: path
  "/api/v4/packages/npm/-/package/{package_name}/dist-tags/{tag}":
    put:
      operationId: putApiV4PackagesNpmDashPackagePackageNameDistTagsTag
      summary: Create or Update the given tag for the given NPM package and version
      description: Creates or updates a specified dist-tag for a package. This feature
        was introduced in GitLab 12.7
      tags:
      - 'Packages: NPM'
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: package_name
        required: true
        description: Package name
        schema:
          type: string
        in: path
      - name: tag
        required: true
        description: Package dist-tag
        schema:
          type: string
        in: path
    delete:
      operationId: deleteApiV4PackagesNpmDashPackagePackageNameDistTagsTag
      summary: Deletes the given tag
      description: Deletes a specified dist-tag for a package. This feature was introduced
        in GitLab 12.7
      tags:
      - 'Packages: NPM'
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: package_name
        required: true
        description: Package name
        schema:
          type: string
        in: path
      - name: tag
        required: true
        description: Package dist-tag
        schema:
          type: string
        in: path
  "/api/v4/packages/npm/-/npm/v1/security/advisories/bulk":
    post:
      operationId: postApiV4PackagesNpmDashNpmV1SecurityAdvisoriesBulk
      summary: NPM registry bulk advisory endpoint
      description: This feature was introduced in GitLab 15.6
      tags:
      - 'Packages: NPM'
      responses:
        '200':
          description: Ok
        '307':
          description: Temporary Redirect
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
  "/api/v4/packages/npm/-/npm/v1/security/audits/quick":
    post:
      operationId: postApiV4PackagesNpmDashNpmV1SecurityAuditsQuick
      summary: NPM registry quick audit endpoint
      description: This feature was introduced in GitLab 15.6
      tags:
      - 'Packages: NPM'
      responses:
        '200':
          description: Ok
        '307':
          description: Temporary Redirect
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
  "/api/v4/packages/npm/{package_name}":
    get:
      operationId: getApiV4PackagesNpmPackageName
      summary: NPM registry metadata endpoint
      description: Retrieves the metadata for a specified package. This feature was
        introduced in GitLab 11.8
      tags:
      - 'Packages: NPM'
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNpmPackage"
        '302':
          description: Found (redirect)
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: package_name
        required: true
        description: Package name
        schema:
          type: string
        in: path
        example: mypackage
  "/api/v4/groups/{id}/-/packages/npm/-/package/{package_name}/dist-tags":
    get:
      operationId: getApiV4GroupsIdDashPackagesNpmDashPackagePackageNameDistTags
      summary: Get all tags for a given NPM package
      description: Lists all dist-tags for a specified package. This feature was introduced
        in GitLab 12.7
      tags:
      - 'Packages: NPM'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNpmPackageTag"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Package name
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/-/packages/npm/-/package/{package_name}/dist-tags/{tag}":
    put:
      operationId: putApiV4GroupsIdDashPackagesNpmDashPackagePackageNameDistTagsTag
      summary: Create or Update the given tag for the given NPM package and version
      description: Creates or updates a specified dist-tag for a package. This feature
        was introduced in GitLab 12.7
      tags:
      - 'Packages: NPM'
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Package name
        schema:
          type: string
        in: path
      - name: tag
        required: true
        description: Package dist-tag
        schema:
          type: string
        in: path
    delete:
      operationId: deleteApiV4GroupsIdDashPackagesNpmDashPackagePackageNameDistTagsTag
      summary: Deletes the given tag
      description: Deletes a specified dist-tag for a package. This feature was introduced
        in GitLab 12.7
      tags:
      - 'Packages: NPM'
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Package name
        schema:
          type: string
        in: path
      - name: tag
        required: true
        description: Package dist-tag
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/-/packages/npm/-/npm/v1/security/advisories/bulk":
    post:
      operationId: postApiV4GroupsIdDashPackagesNpmDashNpmV1SecurityAdvisoriesBulk
      summary: NPM registry bulk advisory endpoint
      description: This feature was introduced in GitLab 15.6
      tags:
      - 'Packages: NPM'
      responses:
        '200':
          description: Ok
        '307':
          description: Temporary Redirect
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/groups/{id}/-/packages/npm/-/npm/v1/security/audits/quick":
    post:
      operationId: postApiV4GroupsIdDashPackagesNpmDashNpmV1SecurityAuditsQuick
      summary: NPM registry quick audit endpoint
      description: This feature was introduced in GitLab 15.6
      tags:
      - 'Packages: NPM'
      responses:
        '200':
          description: Ok
        '307':
          description: Temporary Redirect
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/groups/{id}/-/packages/npm/{package_name}":
    get:
      operationId: getApiV4GroupsIdDashPackagesNpmPackageName
      summary: NPM registry metadata endpoint
      description: Retrieves the metadata for a specified package. This feature was
        introduced in GitLab 11.8
      tags:
      - 'Packages: NPM'
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNpmPackage"
        '302':
          description: Found (redirect)
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Package name
        schema:
          type: string
        in: path
        example: mypackage
  "/api/v4/namespaces/{id}":
    put:
      operationId: putApiV4NamespacesId
      summary: Update a namespace
      description: Deprecated in 17.8
      tags:
      - Namespaces
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNamespace"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the namespace.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4NamespacesIdRequest"
    get:
      operationId: getApiV4NamespacesId
      summary: Retrieve namespace details
      description: Retrieves a specified namespace.
      tags:
      - Namespaces
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNamespace"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the namespace.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/namespaces/{id}/gitlab_subscription":
    get:
      operationId: getApiV4NamespacesIdGitlabSubscription
      summary: Retrieve namespace subscription
      description: Retrieves GitLab subscription details for a specified namespace.
      tags:
      - Namespaces
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGitlabSubscription"
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the namespace.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/namespaces/{id}/storage/limit_exclusion":
    post:
      operationId: postApiV4NamespacesIdStorageLimitExclusion
      summary: Creates a storage limit exclusion for a Namespace
      description: Creates a Namespaces::Storage::LimitExclusion
      tags:
      - Namespaces
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNamespacesStorageLimitExclusion"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the namespace.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4NamespacesIdStorageLimitExclusionRequest"
    delete:
      operationId: deleteApiV4NamespacesIdStorageLimitExclusion
      summary: Removes a storage limit exclusion for a Namespace
      description: Removes a Namespaces::Storage::LimitExclusion
      tags:
      - Namespaces
      responses:
        '204':
          description: No Content
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '422':
          description: Unprocessable entity
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the namespace.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/namespaces/storage/limit_exclusions":
    get:
      operationId: getApiV4NamespacesStorageLimitExclusions
      summary: Retrieve all limit exclusions
      description: Gets all records for namespaces that have been excluded
      tags:
      - Namespaces
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesNamespacesStorageLimitExclusion"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/namespaces":
    get:
      operationId: getApiV4Namespaces
      summary: List all namespaces
      description: Lists all namespaces available to the current user. If the user
        is an administrator, this endpoint returns all namespaces in the instance.
        The response can include additional attributes for group owners or on GitLab.com.
        The `shared_runners_minutes_limit`, `extra_shared_runners_minutes_limit`,
        `additional_purchased_storage_size`, and `additional_purchased_storage_ends_on`
        attributes are returned only to administrators on GitLab.com.
      tags:
      - Namespaces
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesNamespace"
        '401':
          description: Unauthorized
        '400':
          description: Bad Request
      parameters:
      - name: search
        required: false
        description: Return only namespaces that contain the specified value in their
          name or path.
        schema:
          type: string
          nullable: true
        in: query
      - name: owned_only
        required: false
        description: If `true`, returns only namespaces owned by the current user.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: top_level_only
        required: false
        description: If `true`, returns only top-level namespaces.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: full_path_search
        required: false
        description: If `true`, the `search` parameter is matched against the full
          path of the namespaces.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: requested_hosted_plan
        required: false
        description: Name of the hosted plan requested by the customer.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/namespaces/{id}/exists":
    get:
      operationId: getApiV4NamespacesIdExists
      summary: Verify namespace availability
      description: Verifies that a namespace is available for use. If the namespace
        exists, the response suggests an alternate name in `suggests`.
      tags:
      - Namespaces
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesNamespaceExistence"
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: Path of the namespace.
        schema:
          type: string
        in: path
      - name: parent_id
        required: false
        description: ID of the parent namespace. If omitted, only top-level namespaces
          are considered.
        schema:
          type: integer
          nullable: true
        in: query
  "/api/v4/user/push_subscriptions":
    post:
      operationId: postApiV4UserPushSubscriptions
      summary: Register a mobile device for push notifications
      description: Idempotently registers the calling user's device token for APNs
        push notifications. Re-registering an existing token refreshes its attributes;
        a token previously owned by another user is reassigned to the calling user.
      tags:
      - Mobile push subscriptions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMobilePushSubscription"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4UserPushSubscriptionsRequest"
    delete:
      operationId: deleteApiV4UserPushSubscriptions
      summary: Unregister a mobile device from push notifications
      description: Deletes every push subscription for the given device token, including
        subscriptions that other users registered.
      tags:
      - Mobile push subscriptions
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: device_token
        required: true
        description: The hexadecimal APNs device token
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/projects/{id}/packages/ml_models/{model_version_id}/files/{file_name}/authorize":
    put:
      operationId: putApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesFileNameAuthorize
      summary: Workhorse authorize model package file
      description: Introduced in GitLab 16.8
      tags:
      - ML Model Registry
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: file_name
        required: true
        description: File name
        schema:
          type: string
        in: path
      - name: model_version_id
        required: true
        description: Model version id
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesFileNameAuthorizeRequest"
  "/api/v4/projects/{id}/packages/ml_models/{model_version_id}/files/{path}/{file_name}/authorize":
    put:
      operationId: putApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileNameAuthorize
      summary: Workhorse authorize model package file
      description: Introduced in GitLab 16.8
      tags:
      - ML Model Registry
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: file_name
        required: true
        description: File name
        schema:
          type: string
        in: path
      - name: path
        required: true
        description: File directory path
        schema:
          type: string
        in: path
      - name: model_version_id
        required: true
        description: Model version id
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileNameAuthorizeRequest"
  "/api/v4/projects/{id}/packages/ml_models/{model_version_id}/files/{file_name}":
    put:
      operationId: putApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesFileName
      summary: Workhorse upload model package file
      description: Introduced in GitLab 16.8
      tags:
      - ML Model Registry
      responses:
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: file_name
        required: true
        description: File name
        schema:
          type: string
        in: path
      - name: model_version_id
        required: true
        description: Model version id
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesFileNameRequest"
    get:
      operationId: getApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesFileName
      summary: Download an ml_model package file
      description: This feature was introduced in GitLab 16.8
      tags:
      - ML Model Registry
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: file_name
        required: true
        description: File name
        schema:
          type: string
        in: path
      - name: status
        required: false
        description: Package status
        schema:
          type: string
          enum:
          - default
          - hidden
          nullable: true
        in: query
      - name: model_version_id
        required: true
        description: Model version id
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/ml_models/{model_version_id}/files/{path}/{file_name}":
    put:
      operationId: putApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileName
      summary: Workhorse upload model package file
      description: Introduced in GitLab 16.8
      tags:
      - ML Model Registry
      responses:
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: file_name
        required: true
        description: File name
        schema:
          type: string
        in: path
      - name: path
        required: true
        description: File directory path
        schema:
          type: string
        in: path
      - name: model_version_id
        required: true
        description: Model version id
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileNameRequest"
    get:
      operationId: getApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileName
      summary: Download an ml_model package file
      description: This feature was introduced in GitLab 16.8
      tags:
      - ML Model Registry
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: file_name
        required: true
        description: File name
        schema:
          type: string
        in: path
      - name: path
        required: true
        description: File directory path
        schema:
          type: string
        in: path
      - name: status
        required: false
        description: Package status
        schema:
          type: string
          enum:
          - default
          - hidden
          nullable: true
        in: query
      - name: model_version_id
        required: true
        description: Model version id
        schema:
          type: string
        in: path
  "/api/v4/metadata":
    get:
      operationId: getApiV4Metadata
      summary: Retrieve metadata information for this GitLab instance
      description: Retrieves metadata information for the GitLab instance.
      tags:
      - Metadata
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMetadata"
        '401':
          description: Unauthorized
  "/api/v4/version":
    get:
      operationId: getApiV4Version
      summary: Retrieves version information for the GitLab instance
      description: This feature was introduced in GitLab 8.13 and deprecated in 15.5.
        We recommend you instead use the Metadata API.
      tags:
      - Metadata
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMetadata"
        '401':
          description: Unauthorized
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/versions":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidVersions
      summary: Retrieve merge request diff versions
      description: Retrieves merge request diff versions.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMergeRequestDiff"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/versions/{version_id}":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidVersionsVersionId
      summary: Retrieve a merge request diff version
      description: Retrieves a merge request diff version.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequestDiffFull"
        '429':
          description: Too many requests
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      - name: version_id
        required: true
        description: ID of the merge request diff version.
        schema:
          type: integer
        in: path
      - name: unidiff
        required: false
        description: If `true`, presents diffs in the [unified diff](https://www.gnu.org/software/diffutils/manual/html_node/Detailed-Unified.html)
          format.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/approvals":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidApprovals
      summary: Retrieve approval state for a merge request
      description: Retrieves the approval state for a specified merge request. In
        the response, `approved_by` contains information about all approvers of the
        merge request, regardless of whether those approvals satisfy any approval
        rule. In GitLab Community Edition, the response contains only `approved`,
        `approved_by`, `user_can_approve`, and `user_has_approved`, and `approved`
        is `true` only when at least one approval exists. Otherwise, `approved` is
        `true` when the approval rules are satisfied, including when no approval rules
        apply and `approved_by` is empty.
      tags:
      - Merge request approvals
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequestApprovals"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidApprovals
      summary: Change approval-related configuration
      description: Deprecated in 16.0. Use the merge request approvals API instead.
      tags:
      - Merge request approvals
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesApprovalState"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      deprecated: true
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMergeRequestsMergeRequestIidApprovalsRequest"
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/approve":
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidApprove
      summary: Approve merge request
      description: Approves a specified merge request. The currently authenticated
        user must be an eligible approver. The `sha` parameter ensures you are approving
        the current version of the merge request. If defined, the value must match
        the merge request’s HEAD commit SHA, and the diff must not have changed since
        a version with that SHA, for example after a target branch change. Otherwise
        returns a `409 Conflict` response. An approval sent immediately after the
        merge request is created can come before its commit is processed, and a new
        commit can then reset the approval. To avoid this, wait until `detailed_merge_status`
        is not `checking` or `approvals_syncing` and the merge request diff has a
        `patch_id_sha`, or send `sha`. With `sha`, GitLab records the approved version
        even before a diff exists, so a later push does not reset the approval. The
        response has the same attributes as retrieving the approval state, which depend
        on the edition.
      tags:
      - Merge request approvals
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequestApprovals"
        '404':
          description: Not found
        '401':
          description: Unauthorized
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMergeRequestsMergeRequestIidApproveRequest"
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/unapprove":
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidUnapprove
      summary: Unapprove a merge request
      description: Unapproves a merge request. Removes the approval for the currently
        authenticated user from a specified merge request. The response has the same
        attributes as retrieving the approval state, which depend on the edition.
      tags:
      - Merge request approvals
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequestApprovals"
        '404':
          description: Not found
        '401':
          description: Unauthorized
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/reset_approvals":
    put:
      operationId: putApiV4ProjectsIdMergeRequestsMergeRequestIidResetApprovals
      summary: Reset approvals for a merge request
      description: Resets all approvals for a specified merge request. Available only
        to bot users with a valid project or group token. Human users receive a `401
        Unauthorized` response.
      tags:
      - Merge request approvals
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/approval_state":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidApprovalState
      summary: Retrieve approval details for a merge request
      description: Retrieves approval details for a specified merge request. If a
        user has modified the approval rules for the merge request, the response includes
        `approval_rules_overwritten`. In each rule, `approved` is `true` when the
        rule is approved, and `approved_by` lists the users who approved it. Users
        who do not match an approval rule are not returned. To get all approving users,
        use `GET /projects/:id/merge_requests/:merge_request_iid/approvals`.
      tags:
      - Merge request approvals
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequestApprovalState"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/create_ci_config":
    post:
      operationId: postApiV4ProjectsIdCreateCiConfig
      summary: Create a CI configuration merge request
      description: Creates a merge request to add CI configuration to a specified
        project.
      tags:
      - Projects
      - Merge requests
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequest"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/merge_requests":
    get:
      operationId: getApiV4MergeRequests
      summary: List all merge requests
      description: Lists all merge requests accessible to the authenticated user.
        By default, returns only merge requests created by the current user. Use `scope=all`
        to get all merge requests.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMergeRequestBasic"
        '401':
          description: Unauthorized
        '422':
          description: Unprocessable entity
        '400':
          description: Bad Request
      parameters:
      - name: author_id
        required: false
        description: Returns merge requests created by the given user `id`. Combine
          with `scope=all` or `scope=assigned_to_me`. Mutually exclusive with `author_username`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: author_username
        required: false
        description: Returns merge requests created by the given `username`. Mutually
          exclusive with `author_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: assignee_id
        required: false
        description: Returns merge requests assigned to the given user `id`. `None`
          returns unassigned merge requests. `Any` returns merge requests with an
          assignee. Mutually exclusive with `assignee_username`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: assignee_username
        required: false
        description: Returns merge requests assigned to the given usernames. Instances
          without a license accept only one username. Mutually exclusive with `assignee_id`.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: reviewer_username
        required: false
        description: Returns merge requests which have the user as a reviewer with
          the given `username`. Introduced in GitLab 13.8. Mutually exclusive with
          `reviewer_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: labels
        required: false
        description: Returns merge requests matching a comma-separated list of labels.
          `None` lists all merge requests with no labels. `Any` lists all merge requests
          with at least one label. Predefined names are case-insensitive.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
      - name: milestone
        required: false
        description: Returns merge requests for a specific milestone. `None` returns
          merge requests with no milestone. `Any` returns merge requests that have
          an assigned milestone.
        schema:
          type: string
          nullable: true
        in: query
      - name: my_reaction_emoji
        required: false
        description: Returns merge requests reacted by the authenticated user by the
          given `emoji`. `None` returns issues not given a reaction. `Any` returns
          issues given at least one reaction.
        schema:
          type: string
          nullable: true
        in: query
      - name: reviewer_id
        required: false
        description: Returns merge requests which have the user as a reviewer with
          the given user `id`. `None` returns merge requests with no reviewers. `Any`
          returns merge requests with any reviewer. Mutually exclusive with `reviewer_username`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: state
        required: false
        description: Filter merge requests by state. Filtering by `locked` usually
          returns no results, because the `locked` state is short-lived.
        schema:
          type: string
          enum:
          - opened
          - closed
          - locked
          - merged
          - all
          nullable: true
          default: all
        in: query
      - name: order_by
        required: false
        description: Returns merge requests ordered by `created_at`, `label_priority`,
          `milestone_due`, `popularity`, `priority`, `title`, `updated_at` or `merged_at`
          fields. Introduced in GitLab 14.8. `merged_at` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/147052)
          in GitLab 17.2.
        schema:
          type: string
          enum:
          - created_at
          - label_priority
          - milestone_due
          - popularity
          - priority
          - title
          - updated_at
          - merged_at
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: with_labels_details
        required: false
        description: 'If `true`, the response returns more details for each label
          in the labels field: `name`, `color`, `description`, `description_html`,
          `text_color`.'
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_merge_status_recheck
        required: false
        description: If `true`, this projection requests (but does not guarantee)
          an asynchronous recalculation of the `merge_status` field. GitLab ignores
          this attribute when it is requested by users without the Developer, Maintainer,
          or Owner role.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: created_after
        required: false
        description: Return merge requests created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: created_before
        required: false
        description: Return merge requests created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: updated_after
        required: false
        description: Return merge requests updated on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: updated_before
        required: false
        description: Return merge requests updated on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: merged_after
        required: false
        description: Return merge requests merged on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: merged_before
        required: false
        description: Return merge requests merged on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: view
        required: false
        description: If `simple`, returns the `iid`, URL, title, description, and
          basic state of merge request.
        schema:
          type: string
          enum:
          - simple
          nullable: true
        in: query
      - name: scope
        required: false
        description: Return merge requests for the given scope. `reviews_for_me` returns
          merge requests where the current user is assigned as a reviewer.
        schema:
          type: string
          enum:
          - created-by-me
          - assigned-to-me
          - created_by_me
          - assigned_to_me
          - reviews_for_me
          - all
          nullable: true
          default: created_by_me
        in: query
      - name: source_branch
        required: false
        description: Return merge requests with the given source branch.
        schema:
          type: string
          nullable: true
        in: query
      - name: source_project_id
        required: false
        description: Return merge requests with the given source project ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: target_branch
        required: false
        description: Return merge requests with the given target branch.
        schema:
          type: string
          nullable: true
        in: query
      - name: search
        required: false
        description: Search merge requests against their `title` and `description`.
          Combine with the `in` attribute.
        schema:
          type: string
          nullable: true
        in: query
      - name: in
        required: false
        description: Modify the scope of the `search` attribute to `title`, `description`,
          or `title,description`. If omitted, defaults to `title,description`.
        schema:
          type: string
          nullable: true
        in: query
        example: title,description
      - name: wip
        required: false
        description: Filter merge requests by their `wip` status. `yes` returns only
          draft merge requests, `no` returns non-draft merge requests. [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/234098)
          in GitLab 19.0. Use `draft` instead. Mutually exclusive with `draft`.
        schema:
          type: string
          enum:
          - 'yes'
          - 'no'
          nullable: true
        in: query
      - name: draft
        required: false
        description: If `true`, returns only draft merge requests. If `false`, returns
          only non-draft merge requests. Mutually exclusive with `wip`.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: not
        required: false
        description: 'Return merge requests that do not match the parameters supplied.
          Accepts: `labels`, `milestone`, `author_id`, `author_username`, `assignee_id`,
          `assignee_username`, `reviewer_id`, `reviewer_username`, `my_reaction_emoji`.'
        schema:
          type: object
          nullable: true
        in: query
      - name: not[author_id]
        required: false
        description: "`<Negated>` Returns merge requests created by the given user
          `id`. Combine with `scope=all` or `scope=assigned_to_me`. Mutually exclusive
          with `not[author_username]`."
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[author_username]
        required: false
        description: "`<Negated>` Returns merge requests created by the given `username`.
          Mutually exclusive with `not[author_id]`."
        schema:
          type: string
          nullable: true
        in: query
      - name: not[assignee_id]
        required: false
        description: "`<Negated>` Returns merge requests assigned to the given user
          `id`. `None` returns unassigned merge requests. `Any` returns merge requests
          with an assignee. Mutually exclusive with `not[assignee_username]`."
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: not[assignee_username]
        required: false
        description: "`<Negated>` Returns merge requests assigned to the given usernames.
          Instances without a license accept only one username. Mutually exclusive
          with `not[assignee_id]`."
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: not[reviewer_username]
        required: false
        description: "`<Negated>` Returns merge requests which have the user as a
          reviewer with the given `username`. Introduced in GitLab 13.8. Mutually
          exclusive with `not[reviewer_id]`."
        schema:
          type: string
          nullable: true
        in: query
      - name: not[labels]
        required: false
        description: "`<Negated>` Returns merge requests matching a comma-separated
          list of labels. `None` lists all merge requests with no labels. `Any` lists
          all merge requests with at least one label. Predefined names are case-insensitive."
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: not[milestone]
        required: false
        description: "`<Negated>` Returns merge requests for a specific milestone.
          `None` returns merge requests with no milestone. `Any` returns merge requests
          that have an assigned milestone."
        schema:
          type: string
          nullable: true
        in: query
      - name: not[my_reaction_emoji]
        required: false
        description: "`<Negated>` Returns merge requests reacted by the authenticated
          user by the given `emoji`. `None` returns issues not given a reaction. `Any`
          returns issues given at least one reaction."
        schema:
          type: string
          nullable: true
        in: query
      - name: not[reviewer_id]
        required: false
        description: "`<Negated>` Returns merge requests which have the user as a
          reviewer with the given user `id`. Mutually exclusive with `not[reviewer_username]`."
        schema:
          type: integer
          nullable: true
        in: query
      - name: deployed_before
        required: false
        description: Return merge requests deployed before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: deployed_after
        required: false
        description: Return merge requests deployed after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: environment
        required: false
        description: Return merge requests deployed to the given environment.
        schema:
          type: string
          nullable: true
        in: query
        example: production
      - name: merge_user_id
        required: false
        description: Returns merge requests which have been merged by the user with
          the given user `id`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/140002)
          in GitLab 17.0. Mutually exclusive with `merge_user_username`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: merge_user_username
        required: false
        description: Returns merge requests which have been merged by the user with
          the given `username`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/140002)
          in GitLab 17.0. Mutually exclusive with `merge_user_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: approver_ids
        required: false
        description: Return merge requests that have all specified users as eligible
          approvers according to the approval rules. `None` returns merge requests
          with no eligible approvers, and `Any` returns merge requests with at least
          one eligible approver. Premium and Ultimate only.
        schema:
          oneOf:
          - type: string
            nullable: true
          - type: array
            nullable: true
        in: query
      - name: approved_by_ids
        required: false
        description: Return merge requests approved by all the users with the given
          `id`, up to 5 users. `None` returns merge requests with no approvals, and
          `Any` returns merge requests with an approval. Mutually exclusive with `approved_by_usernames`.
        schema:
          oneOf:
          - type: string
            nullable: true
          - type: array
            nullable: true
        in: query
      - name: approved_by_usernames
        required: false
        description: Return merge requests approved by all the users with the given
          `username`, up to 5 users. `None` returns merge requests with no approvals,
          and `Any` returns merge requests with an approval. Mutually exclusive with
          `approved_by_ids`.
        schema:
          oneOf:
          - type: string
            nullable: true
          - type: array
            nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: non_archived
        required: false
        description: If `true`, returns merge requests from non-archived projects
          only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
  "/api/v4/groups/{id}/merge_requests":
    get:
      operationId: getApiV4GroupsIdMergeRequests
      summary: List all group merge requests
      description: Lists all merge requests for a specified group and any subgroups.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMergeRequestBasic"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: author_id
        required: false
        description: Returns merge requests created by the given user `id`. Combine
          with `scope=all` or `scope=assigned_to_me`. Mutually exclusive with `author_username`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: author_username
        required: false
        description: Returns merge requests created by the given `username`. Mutually
          exclusive with `author_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: assignee_id
        required: false
        description: Returns merge requests assigned to the given user `id`. `None`
          returns unassigned merge requests. `Any` returns merge requests with an
          assignee. Mutually exclusive with `assignee_username`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: assignee_username
        required: false
        description: Returns merge requests assigned to the given usernames. Instances
          without a license accept only one username. Mutually exclusive with `assignee_id`.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: reviewer_username
        required: false
        description: Returns merge requests which have the user as a reviewer with
          the given `username`. Introduced in GitLab 13.8. Mutually exclusive with
          `reviewer_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: labels
        required: false
        description: Returns merge requests matching a comma-separated list of labels.
          `None` lists all merge requests with no labels. `Any` lists all merge requests
          with at least one label. Predefined names are case-insensitive.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
      - name: milestone
        required: false
        description: Returns merge requests for a specific milestone. `None` returns
          merge requests with no milestone. `Any` returns merge requests that have
          an assigned milestone.
        schema:
          type: string
          nullable: true
        in: query
      - name: my_reaction_emoji
        required: false
        description: Returns merge requests reacted by the authenticated user by the
          given `emoji`. `None` returns issues not given a reaction. `Any` returns
          issues given at least one reaction.
        schema:
          type: string
          nullable: true
        in: query
      - name: reviewer_id
        required: false
        description: Returns merge requests which have the user as a reviewer with
          the given user `id`. `None` returns merge requests with no reviewers. `Any`
          returns merge requests with any reviewer. Mutually exclusive with `reviewer_username`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: state
        required: false
        description: Filter merge requests by state. Filtering by `locked` usually
          returns no results, because the `locked` state is short-lived.
        schema:
          type: string
          enum:
          - opened
          - closed
          - locked
          - merged
          - all
          nullable: true
          default: all
        in: query
      - name: order_by
        required: false
        description: Returns merge requests ordered by `created_at`, `label_priority`,
          `milestone_due`, `popularity`, `priority`, `title`, `updated_at` or `merged_at`
          fields. Introduced in GitLab 14.8. `merged_at` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/147052)
          in GitLab 17.2.
        schema:
          type: string
          enum:
          - created_at
          - label_priority
          - milestone_due
          - popularity
          - priority
          - title
          - updated_at
          - merged_at
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: with_labels_details
        required: false
        description: 'If `true`, the response returns more details for each label
          in the labels field: `name`, `color`, `description`, `description_html`,
          `text_color`.'
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_merge_status_recheck
        required: false
        description: If `true`, this projection requests (but does not guarantee)
          an asynchronous recalculation of the `merge_status` field. GitLab ignores
          this attribute when it is requested by users without the Developer, Maintainer,
          or Owner role.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: created_after
        required: false
        description: Return merge requests created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: created_before
        required: false
        description: Return merge requests created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: updated_after
        required: false
        description: Return merge requests updated on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: updated_before
        required: false
        description: Return merge requests updated on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: merged_after
        required: false
        description: Return merge requests merged on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: merged_before
        required: false
        description: Return merge requests merged on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: view
        required: false
        description: If `simple`, returns the `iid`, URL, title, description, and
          basic state of merge request.
        schema:
          type: string
          enum:
          - simple
          nullable: true
        in: query
      - name: scope
        required: false
        description: Return merge requests for the given scope. `reviews_for_me` returns
          merge requests where the current user is assigned as a reviewer. Default
          is `all`.
        schema:
          type: string
          enum:
          - created-by-me
          - assigned-to-me
          - created_by_me
          - assigned_to_me
          - reviews_for_me
          - all
          nullable: true
        in: query
      - name: source_branch
        required: false
        description: Return merge requests with the given source branch.
        schema:
          type: string
          nullable: true
        in: query
      - name: source_project_id
        required: false
        description: Return merge requests with the given source project ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: target_branch
        required: false
        description: Return merge requests with the given target branch.
        schema:
          type: string
          nullable: true
        in: query
      - name: search
        required: false
        description: Search merge requests against their `title` and `description`.
          Combine with the `in` attribute.
        schema:
          type: string
          nullable: true
        in: query
      - name: in
        required: false
        description: Modify the scope of the `search` attribute to `title`, `description`,
          or `title,description`. If omitted, defaults to `title,description`.
        schema:
          type: string
          nullable: true
        in: query
        example: title,description
      - name: wip
        required: false
        description: Filter merge requests by their `wip` status. `yes` returns only
          draft merge requests, `no` returns non-draft merge requests. [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/234098)
          in GitLab 19.0. Use `draft` instead. Mutually exclusive with `draft`.
        schema:
          type: string
          enum:
          - 'yes'
          - 'no'
          nullable: true
        in: query
      - name: draft
        required: false
        description: If `true`, returns only draft merge requests. If `false`, returns
          only non-draft merge requests. Mutually exclusive with `wip`.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: not
        required: false
        description: 'Return merge requests that do not match the parameters supplied.
          Accepts: `labels`, `milestone`, `author_id`, `author_username`, `assignee_id`,
          `assignee_username`, `reviewer_id`, `reviewer_username`, `my_reaction_emoji`.'
        schema:
          type: object
          nullable: true
        in: query
      - name: not[author_id]
        required: false
        description: "`<Negated>` Returns merge requests created by the given user
          `id`. Combine with `scope=all` or `scope=assigned_to_me`. Mutually exclusive
          with `not[author_username]`."
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[author_username]
        required: false
        description: "`<Negated>` Returns merge requests created by the given `username`.
          Mutually exclusive with `not[author_id]`."
        schema:
          type: string
          nullable: true
        in: query
      - name: not[assignee_id]
        required: false
        description: "`<Negated>` Returns merge requests assigned to the given user
          `id`. `None` returns unassigned merge requests. `Any` returns merge requests
          with an assignee. Mutually exclusive with `not[assignee_username]`."
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: not[assignee_username]
        required: false
        description: "`<Negated>` Returns merge requests assigned to the given usernames.
          Instances without a license accept only one username. Mutually exclusive
          with `not[assignee_id]`."
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: not[reviewer_username]
        required: false
        description: "`<Negated>` Returns merge requests which have the user as a
          reviewer with the given `username`. Introduced in GitLab 13.8. Mutually
          exclusive with `not[reviewer_id]`."
        schema:
          type: string
          nullable: true
        in: query
      - name: not[labels]
        required: false
        description: "`<Negated>` Returns merge requests matching a comma-separated
          list of labels. `None` lists all merge requests with no labels. `Any` lists
          all merge requests with at least one label. Predefined names are case-insensitive."
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: not[milestone]
        required: false
        description: "`<Negated>` Returns merge requests for a specific milestone.
          `None` returns merge requests with no milestone. `Any` returns merge requests
          that have an assigned milestone."
        schema:
          type: string
          nullable: true
        in: query
      - name: not[my_reaction_emoji]
        required: false
        description: "`<Negated>` Returns merge requests reacted by the authenticated
          user by the given `emoji`. `None` returns issues not given a reaction. `Any`
          returns issues given at least one reaction."
        schema:
          type: string
          nullable: true
        in: query
      - name: not[reviewer_id]
        required: false
        description: "`<Negated>` Returns merge requests which have the user as a
          reviewer with the given user `id`. Mutually exclusive with `not[reviewer_username]`."
        schema:
          type: integer
          nullable: true
        in: query
      - name: deployed_before
        required: false
        description: Return merge requests deployed before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: deployed_after
        required: false
        description: Return merge requests deployed after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: environment
        required: false
        description: Return merge requests deployed to the given environment.
        schema:
          type: string
          nullable: true
        in: query
        example: production
      - name: merge_user_id
        required: false
        description: Returns merge requests which have been merged by the user with
          the given user `id`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/140002)
          in GitLab 17.0. Mutually exclusive with `merge_user_username`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: merge_user_username
        required: false
        description: Returns merge requests which have been merged by the user with
          the given `username`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/140002)
          in GitLab 17.0. Mutually exclusive with `merge_user_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: approver_ids
        required: false
        description: Return merge requests that have all specified users as eligible
          approvers according to the approval rules. `None` returns merge requests
          with no eligible approvers, and `Any` returns merge requests with at least
          one eligible approver. Premium and Ultimate only.
        schema:
          oneOf:
          - type: string
            nullable: true
          - type: array
            nullable: true
        in: query
      - name: approved_by_ids
        required: false
        description: Return merge requests approved by all the users with the given
          `id`, up to 5 users. `None` returns merge requests with no approvals, and
          `Any` returns merge requests with an approval. Mutually exclusive with `approved_by_usernames`.
        schema:
          oneOf:
          - type: string
            nullable: true
          - type: array
            nullable: true
        in: query
      - name: approved_by_usernames
        required: false
        description: Return merge requests approved by all the users with the given
          `username`, up to 5 users. `None` returns merge requests with no approvals,
          and `Any` returns merge requests with an approval. Mutually exclusive with
          `approved_by_ids`.
        schema:
          oneOf:
          - type: string
            nullable: true
          - type: array
            nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: non_archived
        required: false
        description: If `true`, returns merge requests from non-archived projects
          only.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/time_estimate":
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidTimeEstimate
      summary: Set the estimated time for a merge request
      description: Sets an estimated time of work for a specified merge request.
      tags:
      - Merge requests
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssuableTimeStats"
        '401':
          description: Unauthorized
        '400':
          description: Bad request
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: The internal ID of the merge_request.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMergeRequestsMergeRequestIidTimeEstimateRequest"
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/reset_time_estimate":
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidResetTimeEstimate
      summary: Reset the estimated time for a merge request
      description: Resets the estimated time for a specified merge request to `0`
        seconds.
      tags:
      - Merge requests
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssuableTimeStats"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: The internal ID of the merge_request.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/add_spent_time":
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidAddSpentTime
      summary: Add spent time for a merge request
      description: Adds spent time for a specified merge request.
      tags:
      - Merge requests
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssuableTimeStats"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: The internal ID of the merge_request.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMergeRequestsMergeRequestIidAddSpentTimeRequest"
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/reset_spent_time":
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidResetSpentTime
      summary: Reset spent time for a merge request
      description: Resets the total spent time for a specified merge request to `0`
        seconds.
      tags:
      - Merge requests
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssuableTimeStats"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: The internal ID of the merge_request
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/time_stats":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidTimeStats
      summary: Retrieve time tracking stats for a merge request
      description: Retrieves time tracking stats for a specified merge request, including
        time estimate and time spent in seconds and human-readable format (for example,
        `1h 30m`).
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssuableTimeStats"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: The internal ID of the merge_request
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests":
    get:
      operationId: getApiV4ProjectsIdMergeRequests
      summary: List all project merge requests
      description: Lists all project merge requests.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMergeRequestBasic"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: author_id
        required: false
        description: Returns merge requests created by the given user `id`. Combine
          with `scope=all` or `scope=assigned_to_me`. Mutually exclusive with `author_username`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: author_username
        required: false
        description: Returns merge requests created by the given `username`. Mutually
          exclusive with `author_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: assignee_id
        required: false
        description: Returns merge requests assigned to the given user `id`. `None`
          returns unassigned merge requests. `Any` returns merge requests with an
          assignee. Mutually exclusive with `assignee_username`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: assignee_username
        required: false
        description: Returns merge requests assigned to the given usernames. Instances
          without a license accept only one username. Mutually exclusive with `assignee_id`.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: reviewer_username
        required: false
        description: Returns merge requests which have the user as a reviewer with
          the given `username`. Introduced in GitLab 13.8. Mutually exclusive with
          `reviewer_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: labels
        required: false
        description: Returns merge requests matching a comma-separated list of labels.
          `None` lists all merge requests with no labels. `Any` lists all merge requests
          with at least one label. Predefined names are case-insensitive.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
      - name: milestone
        required: false
        description: Returns merge requests for a specific milestone. `None` returns
          merge requests with no milestone. `Any` returns merge requests that have
          an assigned milestone.
        schema:
          type: string
          nullable: true
        in: query
      - name: my_reaction_emoji
        required: false
        description: Returns merge requests reacted by the authenticated user by the
          given `emoji`. `None` returns issues not given a reaction. `Any` returns
          issues given at least one reaction.
        schema:
          type: string
          nullable: true
        in: query
      - name: reviewer_id
        required: false
        description: Returns merge requests which have the user as a reviewer with
          the given user `id`. `None` returns merge requests with no reviewers. `Any`
          returns merge requests with any reviewer. Mutually exclusive with `reviewer_username`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: state
        required: false
        description: Filter merge requests by state. Filtering by `locked` usually
          returns no results, because the `locked` state is short-lived.
        schema:
          type: string
          enum:
          - opened
          - closed
          - locked
          - merged
          - all
          nullable: true
          default: all
        in: query
      - name: order_by
        required: false
        description: Returns merge requests ordered by `created_at`, `label_priority`,
          `milestone_due`, `popularity`, `priority`, `title`, `updated_at` or `merged_at`
          fields. Introduced in GitLab 14.8. `merged_at` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/147052)
          in GitLab 17.2.
        schema:
          type: string
          enum:
          - created_at
          - label_priority
          - milestone_due
          - popularity
          - priority
          - title
          - updated_at
          - merged_at
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: with_labels_details
        required: false
        description: 'If `true`, the response returns more details for each label
          in the labels field: `name`, `color`, `description`, `description_html`,
          `text_color`.'
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_merge_status_recheck
        required: false
        description: If `true`, this projection requests (but does not guarantee)
          an asynchronous recalculation of the `merge_status` field. GitLab ignores
          this attribute when it is requested by users without the Developer, Maintainer,
          or Owner role.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: created_after
        required: false
        description: Return merge requests created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: created_before
        required: false
        description: Return merge requests created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: updated_after
        required: false
        description: Return merge requests updated on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: updated_before
        required: false
        description: Return merge requests updated on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: merged_after
        required: false
        description: Return merge requests merged on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: merged_before
        required: false
        description: Return merge requests merged on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: view
        required: false
        description: If `simple`, returns the `iid`, URL, title, description, and
          basic state of merge request.
        schema:
          type: string
          enum:
          - simple
          nullable: true
        in: query
      - name: scope
        required: false
        description: Return merge requests for the given scope. `reviews_for_me` returns
          merge requests where the current user is assigned as a reviewer. Default
          is `all`.
        schema:
          type: string
          enum:
          - created-by-me
          - assigned-to-me
          - created_by_me
          - assigned_to_me
          - reviews_for_me
          - all
          nullable: true
        in: query
      - name: source_branch
        required: false
        description: Return merge requests with the given source branch.
        schema:
          type: string
          nullable: true
        in: query
      - name: source_project_id
        required: false
        description: Return merge requests with the given source project ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: target_branch
        required: false
        description: Return merge requests with the given target branch.
        schema:
          type: string
          nullable: true
        in: query
      - name: search
        required: false
        description: Search merge requests against their `title` and `description`.
          Combine with the `in` attribute.
        schema:
          type: string
          nullable: true
        in: query
      - name: in
        required: false
        description: Modify the scope of the `search` attribute to `title`, `description`,
          or `title,description`. If omitted, defaults to `title,description`.
        schema:
          type: string
          nullable: true
        in: query
        example: title,description
      - name: wip
        required: false
        description: Filter merge requests by their `wip` status. `yes` returns only
          draft merge requests, `no` returns non-draft merge requests. [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/234098)
          in GitLab 19.0. Use `draft` instead. Mutually exclusive with `draft`.
        schema:
          type: string
          enum:
          - 'yes'
          - 'no'
          nullable: true
        in: query
      - name: draft
        required: false
        description: If `true`, returns only draft merge requests. If `false`, returns
          only non-draft merge requests. Mutually exclusive with `wip`.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: not
        required: false
        description: 'Return merge requests that do not match the parameters supplied.
          Accepts: `labels`, `milestone`, `author_id`, `author_username`, `assignee_id`,
          `assignee_username`, `reviewer_id`, `reviewer_username`, `my_reaction_emoji`.'
        schema:
          type: object
          nullable: true
        in: query
      - name: not[author_id]
        required: false
        description: "`<Negated>` Returns merge requests created by the given user
          `id`. Combine with `scope=all` or `scope=assigned_to_me`. Mutually exclusive
          with `not[author_username]`."
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[author_username]
        required: false
        description: "`<Negated>` Returns merge requests created by the given `username`.
          Mutually exclusive with `not[author_id]`."
        schema:
          type: string
          nullable: true
        in: query
      - name: not[assignee_id]
        required: false
        description: "`<Negated>` Returns merge requests assigned to the given user
          `id`. `None` returns unassigned merge requests. `Any` returns merge requests
          with an assignee. Mutually exclusive with `not[assignee_username]`."
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: not[assignee_username]
        required: false
        description: "`<Negated>` Returns merge requests assigned to the given usernames.
          Instances without a license accept only one username. Mutually exclusive
          with `not[assignee_id]`."
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: not[reviewer_username]
        required: false
        description: "`<Negated>` Returns merge requests which have the user as a
          reviewer with the given `username`. Introduced in GitLab 13.8. Mutually
          exclusive with `not[reviewer_id]`."
        schema:
          type: string
          nullable: true
        in: query
      - name: not[labels]
        required: false
        description: "`<Negated>` Returns merge requests matching a comma-separated
          list of labels. `None` lists all merge requests with no labels. `Any` lists
          all merge requests with at least one label. Predefined names are case-insensitive."
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: not[milestone]
        required: false
        description: "`<Negated>` Returns merge requests for a specific milestone.
          `None` returns merge requests with no milestone. `Any` returns merge requests
          that have an assigned milestone."
        schema:
          type: string
          nullable: true
        in: query
      - name: not[my_reaction_emoji]
        required: false
        description: "`<Negated>` Returns merge requests reacted by the authenticated
          user by the given `emoji`. `None` returns issues not given a reaction. `Any`
          returns issues given at least one reaction."
        schema:
          type: string
          nullable: true
        in: query
      - name: not[reviewer_id]
        required: false
        description: "`<Negated>` Returns merge requests which have the user as a
          reviewer with the given user `id`. Mutually exclusive with `not[reviewer_username]`."
        schema:
          type: integer
          nullable: true
        in: query
      - name: deployed_before
        required: false
        description: Return merge requests deployed before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: deployed_after
        required: false
        description: Return merge requests deployed after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: environment
        required: false
        description: Return merge requests deployed to the given environment.
        schema:
          type: string
          nullable: true
        in: query
        example: production
      - name: merge_user_id
        required: false
        description: Returns merge requests which have been merged by the user with
          the given user `id`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/140002)
          in GitLab 17.0. Mutually exclusive with `merge_user_username`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: merge_user_username
        required: false
        description: Returns merge requests which have been merged by the user with
          the given `username`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/140002)
          in GitLab 17.0. Mutually exclusive with `merge_user_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: approver_ids
        required: false
        description: Return merge requests that have all specified users as eligible
          approvers according to the approval rules. `None` returns merge requests
          with no eligible approvers, and `Any` returns merge requests with at least
          one eligible approver. Premium and Ultimate only.
        schema:
          oneOf:
          - type: string
            nullable: true
          - type: array
            nullable: true
        in: query
      - name: approved_by_ids
        required: false
        description: Return merge requests approved by all the users with the given
          `id`, up to 5 users. `None` returns merge requests with no approvals, and
          `Any` returns merge requests with an approval. Mutually exclusive with `approved_by_usernames`.
        schema:
          oneOf:
          - type: string
            nullable: true
          - type: array
            nullable: true
        in: query
      - name: approved_by_usernames
        required: false
        description: Return merge requests approved by all the users with the given
          `username`, up to 5 users. `None` returns merge requests with no approvals,
          and `Any` returns merge requests with an approval. Mutually exclusive with
          `approved_by_ids`.
        schema:
          oneOf:
          - type: string
            nullable: true
          - type: array
            nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: iids
        required: false
        description: Return merge requests matching the provided internal IDs.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
    post:
      operationId: postApiV4ProjectsIdMergeRequests
      summary: Create a merge request
      description: Creates a merge request for a project.
      tags:
      - Merge requests
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequest"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '409':
          description: Conflict
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMergeRequestsRequest"
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}":
    delete:
      operationId: deleteApiV4ProjectsIdMergeRequestsMergeRequestIid
      summary: Delete a merge request
      description: Deletes a specified merge request for a project. Administrators
        and project Owners only.
      tags:
      - Merge requests
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '412':
          description: Precondition failed
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIid
      summary: Retrieve a merge request
      description: Retrieves a merge request for a specified project.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequest"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      - name: render_html
        required: false
        description: If `true`, the response includes rendered HTML for title and
          description.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: include_diverged_commits_count
        required: false
        description: If `true`, the response includes the commits behind the target
          branch.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: include_rebase_in_progress
        required: false
        description: If `true`, the response includes whether a rebase operation is
          in progress.
        schema:
          type: boolean
          nullable: true
        in: query
    put:
      operationId: putApiV4ProjectsIdMergeRequestsMergeRequestIid
      summary: Update a merge request
      description: Updates a merge request for a specified project.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequest"
        '400':
          description: Bad request
        '404':
          description: Not found
        '409':
          description: Conflict
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdMergeRequestsMergeRequestIidRequest"
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/participants":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidParticipants
      summary: Retrieve merge request participants
      description: Retrieves participants for a specified merge request.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesUserBasic"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/reviewers":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidReviewers
      summary: Retrieve merge request reviewers
      description: Retrieves reviewers for a specified merge request.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMergeRequestReviewer"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/commits":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidCommits
      summary: Retrieve merge request commits
      description: Retrieves commits for a specified merge request.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCommit"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/context_commits":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidContextCommits
      summary: List all context commits for a merge request
      description: Lists all context commits for a specified merge request.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCommitWithLink"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidContextCommits
      summary: Create context commits for a merge request
      description: Creates context commits for a specified merge request. This endpoint
        has a rate limit of 10 requests per minute for each user. Requests to delete
        context commits count toward the same limit. Exceeding the limit returns `429
        Too Many Requests`. The rate limit is behind a feature flag named `rate_limit_context_commits_write`,
        disabled by default.
      tags:
      - Merge requests
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCommit"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMergeRequestsMergeRequestIidContextCommitsRequest"
    delete:
      operationId: deleteApiV4ProjectsIdMergeRequestsMergeRequestIidContextCommits
      summary: Delete context commits from a merge request
      description: Deletes specified context commits from a merge request. This endpoint
        has a rate limit of 10 requests per minute for each user. Requests to create
        context commits count toward the same limit. Exceeding the limit returns `429
        Too Many Requests`. The rate limit is behind a feature flag named `rate_limit_context_commits_write`,
        disabled by default.
      tags:
      - Merge requests
      responses:
        '204':
          description: No Content
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: commits
        required: true
        description: Context commits' SHAs.
        schema:
          type: array
          items:
            type: string
        in: query
        style: form
        explode: false
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/changes":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidChanges
      summary: Retrieve merge request changes
      description: Retrieves changes for a specified merge request. The diffs have
        the same size limits as other diffs returned by the API or shown in the UI.
        When the limits affect the results, the `overflow` field is `true`. Deprecated
        in GitLab 15.7 and scheduled for removal in API v5. Use GET /projects/:id/merge_requests/:merge_request_iid/diffs
        instead.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequestChanges"
        '404':
          description: Not found
        '429':
          description: Too many requests
        '400':
          description: Bad Request
      deprecated: true
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: unidiff
        required: false
        description: If `true`, presents diffs in the [unified diff](https://www.gnu.org/software/diffutils/manual/html_node/Detailed-Unified.html)
          format.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/diffs":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidDiffs
      summary: List all merge request diffs
      description: Lists all merge request diffs. This endpoint is subject to merge
        request diff limits. Merge requests that exceed the diff limits return limited
        results.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDiff"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: unidiff
        required: false
        description: If `true`, presents diffs in the [unified diff](https://www.gnu.org/software/diffutils/manual/html_node/Detailed-Unified.html)
          format.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/raw_diffs":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidRawDiffs
      summary: Retrieve merge request raw diffs
      description: Retrieves the raw diffs of the files changed in a merge request.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/pipelines":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidPipelines
      summary: List all merge request pipelines
      description: Lists all merge request pipelines.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiPipelineBasic"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidPipelines
      summary: Create a merge request pipeline
      description: 'Creates a merge request pipeline. Pipelines created with this
        operation must configure `.gitlab-ci.yml` with `only: [merge_requests]` to
        create jobs. The pipeline does not run a regular branch or tag pipeline. The
        new pipeline is a detached merge request pipeline, or a merged results pipeline
        if merged results pipelines are enabled for the project.'
      tags:
      - Merge requests
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiPipeline"
        '400':
          description: Bad request
        '404':
          description: Not found
        '405':
          description: Method not allowed
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMergeRequestsMergeRequestIidPipelinesRequest"
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/merge":
    put:
      operationId: putApiV4ProjectsIdMergeRequestsMergeRequestIidMerge
      summary: Merge a merge request
      description: Merges a merge request. Accepts and merges changes submitted with
        the merge request.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequest"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '405':
          description: Method not allowed
        '409':
          description: Conflict
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdMergeRequestsMergeRequestIidMergeRequest"
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/merge_ref":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidMergeRef
      summary: Merge to default merge ref path
      description: Merges the changes between the merge request source and target
        branches into the `refs/merge-requests/:iid/merge` ref, of the target project
        repository, if possible. This ref has the state the target branch would have
        if a regular merge action was taken. The ref is not always overwritten, but
        it is kept at the latest possible state. Requests are rate limited for each
        user or IP address (`merge_requests_merge_ref_limit` application setting).
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
        '400':
          description: Bad request
        '429':
          description: Too many requests
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/cancel_merge_when_pipeline_succeeds":
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidCancelMergeWhenPipelineSucceeds
      summary: Cancel merge when pipeline succeeds
      description: Cancels an automatic merge for a merge request that has been set
        to merge when the pipeline succeeds. If the merge request is on a merge train,
        it is also removed from the train. This endpoint does not return the merge
        request. When the merge request is not set to auto-merge, the response has
        `status` `error` and an `http_status` field that is not the status code of
        the response. Deprecated in GitLab 19.5. Use POST /projects/:id/merge_requests/:merge_request_iid/cancel_auto_merge
        instead.
      tags:
      - Merge requests
      responses:
        '201':
          description: The status field of the response body is success when an auto-merge
            was canceled, and error when the merge request had none set
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '405':
          description: Method not allowed
        '400':
          description: Bad Request
      deprecated: true
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/cancel_auto_merge":
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidCancelAutoMerge
      summary: Cancel auto merge
      description: Cancels an automatic merge for a merge request that has been set
        to merge automatically. If the merge request is on a merge train, it is also
        removed from the train. Use this endpoint instead of `cancel_merge_when_pipeline_succeeds`,
        which returns a status hash rather than the merge request. This feature was
        introduced in GitLab 19.5.
      tags:
      - Merge requests
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMergeRequest"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Conflict
        '429':
          description: Too Many Requests
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/rebase":
    put:
      operationId: putApiV4ProjectsIdMergeRequestsMergeRequestIidRebase
      summary: Rebase a merge request
      description: Rebases a merge request. Automatically rebases the `source_branch`
        of the merge request against its `target_branch`. The rebase runs asynchronously.
        To check its status, poll the retrieve merge request endpoint with `include_rebase_in_progress`
        set to `true`. While the rebase runs, `rebase_in_progress` is `true`. When
        it ends, `rebase_in_progress` is `false`, and `merge_error` holds the error
        if the rebase failed.
      tags:
      - Merge requests
      responses:
        '202':
          description: Accepted
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Conflict
        '429':
          description: Too many requests
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdMergeRequestsMergeRequestIidRebaseRequest"
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/closes_issues":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidClosesIssues
      summary: List all issues that close on merge
      description: Lists all issues that close on merge.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesIssueBasic"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/related_issues":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidRelatedIssues
      summary: List all issues related to the merge request
      description: Lists all issues related to the merge request. Related issues are
        the issues referenced in the title, description, commit messages, comments,
        and discussions of the merge request.
      tags:
      - Merge requests
      responses:
        '200':
          description: OK
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
  "/api/v4/groups/{id}/members":
    get:
      operationId: getApiV4GroupsIdMembers
      summary: List all direct members of a group
      description: Lists all direct members of a specified group viewable by the authenticated
        user. Does not return inherited members from ancestor groups or invited groups.
      tags:
      - Members
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMember"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: query
        required: false
        description: Filter results by name, email, or username. Use partial values
          to widen the scope of the query.
        schema:
          type: string
          nullable: true
        in: query
      - name: user_ids
        required: false
        description: Filter results by the given user IDs.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
      - name: skip_users
        required: false
        description: Filter skipped users out of the results.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
      - name: show_seat_info
        required: false
        description: If `true`, shows seat information for members.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: with_saml_identity
        required: false
        description: If `true`, returns only members with a linked SAML identity.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4GroupsIdMembers
      summary: Add a member to a group
      description: Adds a direct member to a specified group. If administrator approval
        for role promotions is turned on, requests that promote existing users into
        a billable role require administrator approval. Administrator approval for
        role promotions can be turned on only when the `enable_member_promotion_management`
        application setting is enabled. When a request for a single user is queued,
        the response has a `message` object that maps the username to `Request queued
        for administrator approval.`. When requests for multiple users are queued,
        the response has a `queued_users` object with the same mapping and a `status`
        of `success`.
      tags:
      - Members
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMember"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdMembersRequest"
  "/api/v4/groups/{id}/members/all":
    get:
      operationId: getApiV4GroupsIdMembersAll
      summary: List all members of a group
      description: Lists all members of a specified group viewable by the authenticated
        user. Also returns inherited members from ancestor groups or invited groups.
        If a user is a member of this group and one or more ancestor groups, only
        returns the highest `access_level`. Members from an invited group are returned
        if the invited group is public, the requester is a member of an invited group,
        or the requester is a member of the shared group or project.
      tags:
      - Members
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMember"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: query
        required: false
        description: Filter results by name, email, or username. Use partial values
          to widen the scope of the query.
        schema:
          type: string
          nullable: true
        in: query
      - name: user_ids
        required: false
        description: Filter results by the given user IDs.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
      - name: show_seat_info
        required: false
        description: If `true`, shows seat information for members.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: state
        required: false
        description: Filter results by member state. Premium and Ultimate only.
        schema:
          type: string
          enum:
          - awaiting
          - active
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/groups/{id}/members/{user_id}":
    get:
      operationId: getApiV4GroupsIdMembersUserId
      summary: Retrieve a direct group member
      description: Retrieves a specified member of a group. Returns only direct members
        and not inherited members through ancestor groups.
      tags:
      - Members
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMember"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: user_id
        required: true
        description: User ID of the member.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4GroupsIdMembersUserId
      summary: Update a group member
      description: Updates a specified member of a group. If administrator approval
        for role promotions is turned on, requests that promote existing users into
        a billable role require administrator approval. Administrator approval for
        role promotions can be turned on only when the `enable_member_promotion_management`
        application setting is enabled. When the request is queued, the response has
        a `message` object that maps the username to `Request queued for administrator
        approval.`.
      tags:
      - Members
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMember"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: user_id
        required: true
        description: User ID of the member.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdMembersUserIdRequest"
    delete:
      operationId: deleteApiV4GroupsIdMembersUserId
      summary: Remove a member from a group
      description: Removes a specified user from a group. The user must be a direct
        member.
      tags:
      - Members
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: user_id
        required: true
        description: User ID of the member.
        schema:
          type: integer
        in: path
      - name: skip_subresources
        required: false
        description: If `true`, skips deleting direct memberships of the removed member
          in subgroups and projects.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: unassign_issuables
        required: false
        description: If `true`, unassigns the member from any issues or merge requests
          in the group.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
  "/api/v4/groups/{id}/members/all/{user_id}":
    get:
      operationId: getApiV4GroupsIdMembersAllUserId
      summary: Retrieve a group member
      description: Retrieves a specified member of a group. Returns direct members
        and members inherited or invited through ancestor groups. Members of an invited
        private group are returned if the requester is a member of the shared group
        or project, even if the requester is not a member of the invited private group.
      tags:
      - Members
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMember"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: user_id
        required: true
        description: User ID of the member.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/members":
    get:
      operationId: getApiV4ProjectsIdMembers
      summary: List all direct members of a project
      description: Lists all direct members of a specified project viewable by the
        authenticated user. Does not return inherited members from ancestor groups
        or invited groups.
      tags:
      - Members
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMember"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: query
        required: false
        description: Filter results by name, email, or username. Use partial values
          to widen the scope of the query.
        schema:
          type: string
          nullable: true
        in: query
      - name: user_ids
        required: false
        description: Filter results by the given user IDs.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
      - name: skip_users
        required: false
        description: Filter skipped users out of the results.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
      - name: show_seat_info
        required: false
        description: If `true`, shows seat information for members.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: with_saml_identity
        required: false
        description: If `true`, returns only members with a linked SAML identity.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdMembers
      summary: Add a member to a project
      description: Adds a direct member to a specified project. If administrator approval
        for role promotions is turned on, requests that promote existing users into
        a billable role require administrator approval. Administrator approval for
        role promotions can be turned on only when the `enable_member_promotion_management`
        application setting is enabled. When a request for a single user is queued,
        the response has a `message` object that maps the username to `Request queued
        for administrator approval.`. When requests for multiple users are queued,
        the response has a `queued_users` object with the same mapping and a `status`
        of `success`.
      tags:
      - Members
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMember"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMembersRequest"
  "/api/v4/projects/{id}/members/all":
    get:
      operationId: getApiV4ProjectsIdMembersAll
      summary: List all members of a project
      description: Lists all members of a specified project viewable by the authenticated
        user. Also returns inherited members from ancestor groups or invited groups.
        If a user is a member of this project and one or more ancestor groups, only
        returns the highest `access_level`. Members from an invited group are returned
        if the invited group is public, the requester is a member of an invited group,
        or the requester is a member of the shared group or project.
      tags:
      - Members
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMember"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: query
        required: false
        description: Filter results by name, email, or username. Use partial values
          to widen the scope of the query.
        schema:
          type: string
          nullable: true
        in: query
      - name: user_ids
        required: false
        description: Filter results by the given user IDs.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
      - name: show_seat_info
        required: false
        description: If `true`, shows seat information for members.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: state
        required: false
        description: Filter results by member state. Premium and Ultimate only.
        schema:
          type: string
          enum:
          - awaiting
          - active
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/members/{user_id}":
    get:
      operationId: getApiV4ProjectsIdMembersUserId
      summary: Retrieve a direct project member
      description: Retrieves a specified member of a project. Returns only direct
        members and not inherited members through ancestor groups.
      tags:
      - Members
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMember"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: user_id
        required: true
        description: User ID of the member.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdMembersUserId
      summary: Update a project member
      description: Updates a specified member of a project. If administrator approval
        for role promotions is turned on, requests that promote existing users into
        a billable role require administrator approval. Administrator approval for
        role promotions can be turned on only when the `enable_member_promotion_management`
        application setting is enabled. When the request is queued, the response has
        a `message` object that maps the username to `Request queued for administrator
        approval.`.
      tags:
      - Members
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMember"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: user_id
        required: true
        description: User ID of the member.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdMembersUserIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdMembersUserId
      summary: Remove a member from a project
      description: Removes a specified user from a project. The user must be a direct
        member.
      tags:
      - Members
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: user_id
        required: true
        description: User ID of the member.
        schema:
          type: integer
        in: path
      - name: skip_subresources
        required: false
        description: If `true`, skips deleting direct memberships of the removed member
          in subgroups and projects.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: unassign_issuables
        required: false
        description: If `true`, unassigns the member from any issues or merge requests
          in the project.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
  "/api/v4/projects/{id}/members/all/{user_id}":
    get:
      operationId: getApiV4ProjectsIdMembersAllUserId
      summary: Retrieve a project member
      description: Retrieves a specified member of a project. Returns direct members
        and members inherited or invited through ancestor groups. Members of an invited
        private group are returned if the requester is a member of the shared group
        or project, even if the requester is not a member of the invited private group.
      tags:
      - Members
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMember"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: user_id
        required: true
        description: User ID of the member.
        schema:
          type: integer
        in: path
  "/api/v4/groups/{id}/members/{user_id}/override":
    post:
      operationId: postApiV4GroupsIdMembersUserIdOverride
      summary: Set override flag for a member of a group
      description: Sets the override flag for a member of a group. By default, the
        access level of LDAP group members is set to the value specified by LDAP through
        Group Sync.
      tags:
      - Members
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMember"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: user_id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4GroupsIdMembersUserIdOverride
      summary: Remove an LDAP access level override
      description: Removes an LDAP access level override for a member of a group.
        Sets the override flag to `false` and allows LDAP Group Sync to reset the
        access level to the LDAP-prescribed value.
      tags:
      - Members
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMember"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: user_id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
  "/api/v4/groups/{id}/members/{member_id}/approve":
    put:
      operationId: putApiV4GroupsIdMembersMemberIdApprove
      summary: Approve a group member
      description: Approves a specified pending user for a top-level group and any
        subgroups or projects.
      tags:
      - Members
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: member_id
        required: true
        description: ID of the member.
        schema:
          type: integer
        in: path
  "/api/v4/groups/{id}/members/approve_all":
    post:
      operationId: postApiV4GroupsIdMembersApproveAll
      summary: Approve all pending group members
      description: Approves all pending users for a specified top-level group and
        any subgroups or projects.
      tags:
      - Members
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/pending_members":
    get:
      operationId: getApiV4GroupsIdPendingMembers
      summary: List all pending group members
      description: Lists all members in an `awaiting` state and those who are invited
        but do not have a GitLab account for a specified group and any subgroups and
        projects. This operation works on top-level groups only. It does not work
        on subgroups. You must have permission to administer members of the group.
        For an invited user who has not signed up for a GitLab account yet, the invited
        email address is returned.
      tags:
      - Members
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesPendingMember"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/groups/{id}/billable_members":
    get:
      operationId: getApiV4GroupsIdBillableMembers
      summary: List all billable group members
      description: Lists all billable members of a specified top-level group. Includes
        members in any subgroups or projects. You must have the Owner role for the
        group.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMember"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: search
        required: false
        description: Query string to search for group members by name, username, or
          public email.
        schema:
          type: string
          nullable: true
        in: query
      - name: sort
        required: false
        description: Sort results by the specified field and direction.
        schema:
          type: string
          enum:
          - access_level_asc
          - access_level_desc
          - last_joined
          - name_asc
          - name_desc
          - oldest_joined
          - oldest_sign_in
          - recent_sign_in
          - last_activity_on_asc
          - last_activity_on_desc
          nullable: true
        in: query
  "/api/v4/groups/{id}/members/{user_id}/state":
    put:
      operationId: putApiV4GroupsIdMembersUserIdState
      summary: Update group membership state for a user
      description: Updates the membership state for a specified user in a group. When
        a user is over the free user limit, changing their membership state to `awaiting`
        or `active` can allow them to access the group or project. The change is applied
        to all subgroups and projects.
      tags:
      - Members
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: user_id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdMembersUserIdStateRequest"
  "/api/v4/groups/{id}/billable_members/{user_id}/memberships":
    get:
      operationId: getApiV4GroupsIdBillableMembersUserIdMemberships
      summary: List all memberships for a billable group member
      description: Lists all projects and groups that a specified billable member
        of a group is a member of. Only projects and groups in the group hierarchy
        are included. The response represents only direct memberships. Inherited memberships
        are not included. This operation works on top-level groups only. It does not
        work on subgroups. You must have permission to administer members of the group.
      tags:
      - Members
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBillableMembership"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: user_id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/groups/{id}/billable_members/{user_id}/indirect":
    get:
      operationId: getApiV4GroupsIdBillableMembersUserIdIndirect
      summary: List all indirect memberships for a billable group member
      description: Lists all indirect memberships for a billable member of a group.
        Indirect memberships are the projects and groups that the user is a member
        of and that were invited to the requested top-level group. This operation
        works on top-level groups only. It does not work on subgroups. You must have
        permission to administer members of the group.
      tags:
      - Members
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBillableMembership"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: user_id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/groups/{id}/billable_members/{user_id}":
    delete:
      operationId: deleteApiV4GroupsIdBillableMembersUserId
      summary: Remove a billable member from a group
      description: Removes a specified billable member from a group and its subgroups
        and projects. The user does not need to be a group member to qualify for removal.
        For example, if the user was added directly to a project in the group, you
        can still remove them using this operation. Removal is asynchronous and completes
        in a few minutes.
      tags:
      - Members
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: user_id
        required: true
        description: ID of the user.
        schema:
          type: integer
        in: path
  "/api/v4/packages/maven/{path}/{file_name}":
    get:
      operationId: getApiV4PackagesMavenPathFileName
      summary: Download the maven package file for the instance
      description: This feature was introduced in GitLab 11.6
      tags:
      - Packages
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: file_name
        required: true
        description: Package file name
        schema:
          type: string
        in: path
        example: mypkg-1.0-SNAPSHOT.jar
      - name: path
        required: true
        description: Package path
        schema:
          type: string
        in: path
        example: foo/bar/mypkg/1.0-SNAPSHOT
  "/api/v4/groups/{id}/-/packages/maven/{path}/{file_name}":
    get:
      operationId: getApiV4GroupsIdDashPackagesMavenPathFileName
      summary: Download the maven package file for a group
      description: This feature was introduced in GitLab 11.7
      tags:
      - Packages
      responses:
        '200':
          description: OK
        '302':
          description: Found
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the group
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: file_name
        required: true
        description: Package file name
        schema:
          type: string
        in: path
        example: mypkg-1.0-SNAPSHOT.jar
      - name: path
        required: true
        description: Package path
        schema:
          type: string
        in: path
        example: foo/bar/mypkg/1.0-SNAPSHOT
  "/api/v4/projects/{id}/packages/maven/{path}/{file_name}":
    get:
      operationId: getApiV4ProjectsIdPackagesMavenPathFileName
      summary: Download the maven package file for a project
      description: This feature was introduced in GitLab 11.3
      tags:
      - Packages
      responses:
        '200':
          description: OK
        '302':
          description: Found
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: file_name
        required: true
        description: Package file name
        schema:
          type: string
        in: path
        example: mypkg-1.0-SNAPSHOT.jar
      - name: path
        required: true
        description: Package path
        schema:
          type: string
        in: path
        example: foo/bar/mypkg/1.0-SNAPSHOT
    put:
      operationId: putApiV4ProjectsIdPackagesMavenPathFileName
      summary: Upload the maven package file
      description: This feature was introduced in GitLab 11.3
      tags:
      - Packages
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '422':
          description: Unprocessable Entity
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: path
        required: true
        description: Package path
        schema:
          type: string
        in: path
        example: foo/bar/mypkg/1.0-SNAPSHOT
      - name: file_name
        required: true
        description: Package file name
        schema:
          type: string
          pattern: "^[A-Za-z0-9._\\-+]+$"
        in: path
        example: mypkg-1.0-SNAPSHOT.pom
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesMavenPathFileNameRequest"
  "/api/v4/projects/{id}/packages/maven/{path}/{file_name}/authorize":
    put:
      operationId: putApiV4ProjectsIdPackagesMavenPathFileNameAuthorize
      summary: Workhorse authorize the maven package file upload
      description: This feature was introduced in GitLab 11.3
      tags:
      - Packages
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: path
        required: true
        description: Package path
        schema:
          type: string
        in: path
        example: foo/bar/mypkg/1.0-SNAPSHOT
      - name: file_name
        required: true
        description: Package file name
        schema:
          type: string
          pattern: "^[A-Za-z0-9._\\-+]+$"
        in: path
        example: mypkg-1.0-SNAPSHOT.pom
  "/api/v4/projects/{id}/uploads/authorize":
    post:
      operationId: postApiV4ProjectsIdUploadsAuthorize
      summary: Workhorse authorize the file upload
      description: This feature was introduced in GitLab 13.11
      tags:
      - Projects
      responses:
        '200':
          description: OK
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/uploads":
    post:
      operationId: postApiV4ProjectsIdUploads
      summary: Create an upload
      description: Uploads a file to the specified project to be used in an issue
        or merge request description, or a comment. In the response, `full_path` is
        the absolute path to the file, and `url` can be used in Markdown contexts.
        The link is expanded when the format in `markdown` is used.
      tags:
      - Projects
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesProjectUpload"
        '400':
          description: Bad request
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdUploadsRequest"
    get:
      operationId: getApiV4ProjectsIdUploads
      summary: List all uploads
      description: Lists all uploads of a project sorted by `created_at` in descending
        order. You must have the Maintainer or Owner role for the project. This feature
        was introduced in GitLab 17.2.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMarkdownUploadAdmin"
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/uploads/{upload_id}":
    get:
      operationId: getApiV4ProjectsIdUploadsUploadId
      summary: Download an uploaded file by ID
      description: Downloads an uploaded file with a specified ID. You must have the
        Maintainer or Owner role for the project. This feature was introduced in GitLab
        17.2.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: upload_id
        required: true
        description: ID of the upload.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdUploadsUploadId
      summary: Delete an uploaded file by ID
      description: Deletes an uploaded file with a specified ID. You must have the
        Maintainer or Owner role for the project. This feature was introduced in GitLab
        17.2.
      tags:
      - Projects
      responses:
        '204':
          description: No Content
        '400':
          description: Bad request
        '403':
          description: Unauthenticated
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: upload_id
        required: true
        description: ID of the upload.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/uploads/{secret}/{filename}":
    get:
      operationId: getApiV4ProjectsIdUploadsSecretFilename
      summary: Download an uploaded file by secret and filename
      description: Downloads an uploaded file with a specified secret and filename.
        You must have the Guest, Planner, Reporter, Developer, Maintainer, or Owner
        role for the project. For a file linked from a description or comment, take
        the secret and filename from the link. On a rendered page, the link has the
        format `https://gitlab.example.com/-/project/<project_id>/uploads/<secret>/<filename>`.
        To get the API URL, replace `/-/project/` with `/api/v4/projects/`. In raw
        Markdown, the link is `/uploads/<secret>/<filename>` and does not include
        the project or group. Files that belong to a group, for example in an epic,
        use the group uploads endpoint. Use the filename from the link, not from the
        original file. GitLab can change the filename on upload, for example by replacing
        spaces with underscores. This feature was introduced in GitLab 17.4.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: secret
        required: true
        description: 32-character secret of the upload.
        schema:
          type: string
        in: path
      - name: filename
        required: true
        description: Filename of the upload.
        schema:
          type: string
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdUploadsSecretFilename
      summary: Delete an uploaded file by secret and filename
      description: Deletes an uploaded file with a specified secret and filename.
        You must have the Maintainer or Owner role for the project. This feature was
        introduced in GitLab 17.4.
      tags:
      - Projects
      responses:
        '204':
          description: No Content
        '400':
          description: Bad request
        '403':
          description: Unauthenticated
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: secret
        required: true
        description: 32-character secret of the upload.
        schema:
          type: string
        in: path
      - name: filename
        required: true
        description: Filename of the upload.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/uploads/authorize":
    post:
      operationId: postApiV4GroupsIdUploadsAuthorize
      summary: Workhorse authorize the file upload
      description: This feature was introduced in GitLab 19.0
      tags:
      - Groups
      responses:
        '200':
          description: OK
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/groups/{id}/uploads":
    post:
      operationId: postApiV4GroupsIdUploads
      summary: Upload a file to a group
      description: Uploads a file to the specified group. Returns a markdown-formatted
        link to the file. This feature was introduced in GitLab 19.0.
      tags:
      - Groups
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupUpload"
        '400':
          description: Bad request
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdUploadsRequest"
    get:
      operationId: getApiV4GroupsIdUploads
      summary: List all uploads for a group
      description: Lists all uploads for a specified group sorted by `created_at`
        in descending order. You must have the Maintainer or Owner role for the group.
        This feature was introduced in GitLab 17.2.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMarkdownUploadAdmin"
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/groups/{id}/uploads/{upload_id}":
    get:
      operationId: getApiV4GroupsIdUploadsUploadId
      summary: Download an uploaded file by ID
      description: Downloads an uploaded file with a specified ID. You must have the
        Maintainer or Owner role for the group. This feature was introduced in GitLab
        17.2.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: upload_id
        required: true
        description: ID of the upload.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4GroupsIdUploadsUploadId
      summary: Delete an uploaded file by ID
      description: Deletes an uploaded file with a specified ID. You must have the
        Maintainer or Owner role for the group. This feature was introduced in GitLab
        17.2.
      tags:
      - Groups
      responses:
        '204':
          description: No Content
        '400':
          description: Bad request
        '403':
          description: Unauthenticated
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: upload_id
        required: true
        description: ID of the upload.
        schema:
          type: integer
        in: path
  "/api/v4/groups/{id}/uploads/{secret}/{filename}":
    get:
      operationId: getApiV4GroupsIdUploadsSecretFilename
      summary: Download an uploaded file by secret and filename
      description: Downloads an uploaded file with a specified secret and filename.
        You must have the Guest, Planner, Reporter, Developer, Maintainer, or Owner
        role for the group. For a file linked from a description or comment, take
        the secret and filename from the link. On a rendered page, the link has the
        format `https://gitlab.example.com/-/group/<group_id>/uploads/<secret>/<filename>`.
        To get the API URL, replace `/-/group/` with `/api/v4/groups/`. In raw Markdown,
        the link is `/uploads/<secret>/<filename>` and does not include the project
        or group. Files that belong to a project, for example in an issue or merge
        request, use the project uploads endpoint. Use the filename from the link,
        not from the original file. GitLab can change the filename on upload, for
        example by replacing spaces with underscores. This feature was introduced
        in GitLab 17.4.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '403':
          description: Unauthenticated
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: secret
        required: true
        description: 32-character secret of the upload.
        schema:
          type: string
        in: path
      - name: filename
        required: true
        description: Filename of the upload.
        schema:
          type: string
        in: path
    delete:
      operationId: deleteApiV4GroupsIdUploadsSecretFilename
      summary: Delete an uploaded file by secret and filename
      description: Deletes an uploaded file with a specified secret and filename.
        You must have the Maintainer or Owner role for the group. This feature was
        introduced in GitLab 17.4.
      tags:
      - Groups
      responses:
        '204':
          description: No Content
        '400':
          description: Bad request
        '403':
          description: Unauthenticated
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: secret
        required: true
        description: 32-character secret of the upload.
        schema:
          type: string
        in: path
      - name: filename
        required: true
        description: Filename of the upload.
        schema:
          type: string
        in: path
  "/api/v4/markdown":
    post:
      operationId: postApiV4Markdown
      summary: Render Markdown content
      description: Renders Markdown content as HTML.
      tags:
      - Markdown
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMarkdown"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4MarkdownRequest"
  "/api/v4/projects/{id}/ci/lint":
    get:
      operationId: getApiV4ProjectsIdCiLint
      summary: Validate existing CI/CD configuration
      description: Validates the `.gitlab-ci.yml` configuration for a specified project.
      tags:
      - CI lint
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiLintResult"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: sha
        required: false
        description: Commit SHA, branch, or tag that the CI/CD configuration content
          is taken from. Defaults to the head of the project's default branch. Deprecated.
          Use `content_ref` instead. Mutually exclusive with `content_ref`.
        schema:
          type: string
          nullable: true
        in: query
      - name: content_ref
        required: false
        description: Commit SHA, branch, or tag that the CI/CD configuration content
          is taken from. Defaults to the head of the project's default branch. Mutually
          exclusive with `sha`.
        schema:
          type: string
          nullable: true
        in: query
      - name: dry_run
        required: false
        description: If `true`, runs a [pipeline creation simulation](https://docs.gitlab.com/ci/yaml/lint/#simulate-a-pipeline).
          If `false`, runs only a static check.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: include_jobs
        required: false
        description: If `true`, includes the list of jobs that would exist in a static
          check or pipeline simulation.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: ref
        required: false
        description: If `dry_run` is `true`, sets the branch or tag to use to validate
          the CI/CD YAML configuration. Defaults to the project's default branch.
          Deprecated. Use `dry_run_ref` instead. Mutually exclusive with `dry_run_ref`.
        schema:
          type: string
          nullable: true
        in: query
      - name: dry_run_ref
        required: false
        description: If `dry_run` is `true`, sets the branch or tag to use to validate
          the CI/CD YAML configuration. Defaults to the project's default branch.
          Mutually exclusive with `ref`.
        schema:
          type: string
          nullable: true
        in: query
    post:
      operationId: postApiV4ProjectsIdCiLint
      summary: Validate a CI/CD configuration
      description: Validates a provided CI/CD configuration in the context of a specified
        project.
      tags:
      - CI lint
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiLintResult"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdCiLintRequest"
  "/api/v4/keys/{id}":
    get:
      operationId: getApiV4KeysId
      summary: Retrieve user by SSH key ID
      description: Retrieves user by SSH key ID. Administrators only.
      tags:
      - Keys
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSSHKeyWithUser"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the SSH key.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: '2'
  "/api/v4/keys":
    get:
      operationId: getApiV4Keys
      summary: Retrieve user by SSH key fingerprint
      description: Retrieves user by SSH key or deploy key fingerprint. For a deploy
        key, the response also includes the projects that use the key. Deploy keys
        are bound to the creating user. Administrators only.
      tags:
      - Keys
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSSHKeyWithUser"
        '400':
          description: Bad Request
      parameters:
      - name: fingerprint
        required: true
        description: 'Fingerprint of an SSH key or deploy key. URL-encode SHA256 fingerprints:
          `/` is `%2F` and `:` is `%3A`.'
        schema:
          type: string
          nullable: true
        in: query
        example: ba:81:59:68:d7:6c:cd:02:02:bf:6a:9b:55:4e:af:d1
  "/api/v4/issues_statistics":
    get:
      operationId: getApiV4IssuesStatistics
      summary: Retrieve issues statistics for the currently authenticated user
      description: Retrieves statistics for issues accessible by the currently authenticated
        user. By default, returns only issues created by the current user. To get
        all issues, set the `scope` attribute to `all`.
      tags:
      - Issues
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
      parameters:
      - name: labels
        required: false
        description: Comma-separated list of label names. `None` means no labels are
          assigned. `Any` means at least one label is assigned. `No+Label` (deprecated)
          means no labels are assigned. Set to an empty string to unassign all labels.
          If a label does not already exist, this creates a new project label and
          assigns it to the issue. Predefined names are case-insensitive.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
      - name: milestone
        required: false
        description: Milestone title. `None` lists all issues with no milestone. `Any`
          lists all issues that have an assigned milestone. Support for `None` and
          `Any` is [planned for removal](https://gitlab.com/gitlab-org/gitlab/-/issues/336044).
          Use the `milestone_id` attribute instead. Mutually exclusive with `milestone_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: milestone_id
        required: false
        description: Return issues assigned to milestones with a given timebox value.
          `None` lists all issues with no milestone. `Any` lists all issues that have
          an assigned milestone. `Upcoming` lists all issues assigned to milestones
          due in the future. `Started` lists all issues assigned to open, started
          milestones. The logic for `Upcoming` and `Started` differs from the logic
          used in the [GraphQL API](https://docs.gitlab.com/user/project/milestones/#special-milestone-filters).
          Mutually exclusive with `milestone`.
        schema:
          type: string
          enum:
          - Any
          - None
          - Upcoming
          - Started
          nullable: true
        in: query
      - name: iids
        required: false
        description: Return only the issues having the given `iid`.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
      - name: search
        required: false
        description: Search issues against their `title` and `description`.
        schema:
          type: string
          nullable: true
        in: query
      - name: in
        required: false
        description: Modify the scope of the `search` attribute to `title`, `description`,
          or `title,description`. If omitted, defaults to `title,description`.
        schema:
          type: string
          nullable: true
        in: query
      - name: author_id
        required: false
        description: Return issues created by the given user ID. Combine with `scope=all`
          or `scope=assigned_to_me`. Mutually exclusive with `author_username`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: author_username
        required: false
        description: Return issues created by the given `username`. Mutually exclusive
          with `author_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: assignee_id
        required: false
        description: Return issues assigned to the given user `id`. `None` returns
          unassigned issues and `Any` returns issues with an assignee. Mutually exclusive
          with `assignee_username`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: assignee_username
        required: false
        description: Return issues assigned to the given username. In GitLab Community
          Edition, only a single value is accepted. Otherwise, an invalid parameter
          error is returned. When multiple usernames are given, only issues assigned
          to all of them are returned. Mutually exclusive with `assignee_id`.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: created_after
        required: false
        description: Return issues created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: created_before
        required: false
        description: Return issues created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: updated_after
        required: false
        description: Return issues updated on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: updated_before
        required: false
        description: Return issues updated on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: not
        required: false
        description: Return issues that do not match the specified parameters.
        schema:
          type: object
          nullable: true
        in: query
      - name: not[labels]
        required: false
        description: Comma-separated list of label names.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: not[milestone]
        required: false
        description: Milestone title. Mutually exclusive with `not[milestone_id]`.
        schema:
          type: string
          nullable: true
        in: query
      - name: not[milestone_id]
        required: false
        description: Return issues assigned to milestones without the specified timebox
          value. Mutually exclusive with `not[milestone]`.
        schema:
          type: string
          enum:
          - Any
          - None
          - Upcoming
          - Started
          nullable: true
        in: query
      - name: not[iids]
        required: false
        description: Internal IDs of issues to exclude.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
      - name: not[author_id]
        required: false
        description: Return issues not authored by the user with the given ID. Mutually
          exclusive with `not[author_username]`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[author_username]
        required: false
        description: Return issues not authored by the user with the given username.
          Mutually exclusive with `not[author_id]`.
        schema:
          type: string
          nullable: true
        in: query
      - name: not[assignee_id]
        required: false
        description: Return issues not assigned to the user with the given ID. Mutually
          exclusive with `not[assignee_username]`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[assignee_username]
        required: false
        description: Return issues not assigned to the user with the given username.
          Mutually exclusive with `not[assignee_id]`.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: not[weight]
        required: false
        description: Return issues that do not have the specified weight.
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[iteration_id]
        required: false
        description: Return issues not assigned to the iteration with the given ID.
          Mutually exclusive with `not[iteration_title]`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: not[iteration_title]
        required: false
        description: Return issues not assigned to the iteration with the given title.
          Mutually exclusive with `not[iteration_id]`.
        schema:
          type: string
          nullable: true
        in: query
      - name: scope
        required: false
        description: Return issues for the given scope.
        schema:
          type: string
          enum:
          - created_by_me
          - assigned_to_me
          - all
          nullable: true
          default: created_by_me
        in: query
      - name: my_reaction_emoji
        required: false
        description: Return issues reacted to by the authenticated user with the given
          `emoji`. `None` returns issues with no reaction and `Any` returns issues
          with at least one reaction.
        schema:
          type: string
          nullable: true
        in: query
      - name: confidential
        required: false
        description: If `true`, returns only confidential issues. If `false`, returns
          only public issues.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: weight
        required: false
        description: The weight of the issue
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: epic_id
        required: false
        description: Return issues associated with the epic with the given ID. `None`
          returns issues that are not associated with an epic. `Any` returns issues
          that are associated with an epic. Premium and Ultimate only.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: health_status
        required: false
        description: 'The health status of the issue. Must be one of: on_track, needs_attention,
          at_risk, none, any'
        schema:
          type: string
          enum:
          - on_track
          - needs_attention
          - at_risk
          - none
          - any
          nullable: true
        in: query
      - name: iteration_id
        required: false
        description: Return issues assigned to the iteration with the given ID. `None`
          returns issues that do not belong to an iteration. `Any` returns issues
          that belong to an iteration. Premium and Ultimate only. Mutually exclusive
          with `iteration_title`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: iteration_title
        required: false
        description: Return issues assigned to the iteration with the given title.
          Premium and Ultimate only. Mutually exclusive with `iteration_id`.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/issues":
    get:
      operationId: getApiV4Issues
      summary: List all issues for the currently authenticated user
      description: Lists all issues accessible by the currently authenticated user.
        By default, returns only issues created by the current user. To list all issues,
        use parameter `scope=all`.
      tags:
      - Issues
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesIssue"
        '400':
          description: Bad Request
      parameters:
      - name: with_labels_details
        required: false
        description: 'If `true`, the response returns more details for each label
          in the labels field: `name`, `color`, `description`, `description_html`,
          `text_color`.'
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: state
        required: false
        description: Filter issues by state.
        schema:
          type: string
          enum:
          - opened
          - closed
          - all
          nullable: true
          default: all
        in: query
      - name: closed_by_id
        required: false
        description: Return issues closed by the user with the given ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - created_at
          - due_date
          - label_priority
          - milestone_due
          - popularity
          - priority
          - relative_position
          - title
          - updated_at
          - weight
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: due_date
        required: false
        description: Return issues that have no due date, are overdue, or whose due
          date is this week, this month, or between two weeks ago and next month.
        schema:
          type: string
          enum:
          - '0'
          - any
          - today
          - tomorrow
          - overdue
          - week
          - month
          - next_month_and_previous_two_weeks
          - ''
          nullable: true
        in: query
      - name: issue_type
        required: false
        description: 'The type of the issue. Accepts: issue, incident, test_case,
          requirement, task, ticket'
        schema:
          type: string
          enum:
          - issue
          - incident
          - test_case
          - requirement
          - task
          - ticket
          nullable: true
        in: query
      - name: labels
        required: false
        description: Comma-separated list of label names. `None` means no labels are
          assigned. `Any` means at least one label is assigned. `No+Label` (deprecated)
          means no labels are assigned. Set to an empty string to unassign all labels.
          If a label does not already exist, this creates a new project label and
          assigns it to the issue. Predefined names are case-insensitive.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
      - name: milestone
        required: false
        description: Milestone title. `None` lists all issues with no milestone. `Any`
          lists all issues that have an assigned milestone. Support for `None` and
          `Any` is [planned for removal](https://gitlab.com/gitlab-org/gitlab/-/issues/336044).
          Use the `milestone_id` attribute instead. Mutually exclusive with `milestone_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: milestone_id
        required: false
        description: Return issues assigned to milestones with a given timebox value.
          `None` lists all issues with no milestone. `Any` lists all issues that have
          an assigned milestone. `Upcoming` lists all issues assigned to milestones
          due in the future. `Started` lists all issues assigned to open, started
          milestones. The logic for `Upcoming` and `Started` differs from the logic
          used in the [GraphQL API](https://docs.gitlab.com/user/project/milestones/#special-milestone-filters).
          Mutually exclusive with `milestone`.
        schema:
          type: string
          enum:
          - Any
          - None
          - Upcoming
          - Started
          nullable: true
        in: query
      - name: iids
        required: false
        description: Return only the issues having the given `iid`.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
      - name: search
        required: false
        description: Search issues against their `title` and `description`.
        schema:
          type: string
          nullable: true
        in: query
      - name: in
        required: false
        description: Modify the scope of the `search` attribute to `title`, `description`,
          or `title,description`. If omitted, defaults to `title,description`.
        schema:
          type: string
          nullable: true
        in: query
      - name: author_id
        required: false
        description: Return issues created by the given user ID. Combine with `scope=all`
          or `scope=assigned_to_me`. Mutually exclusive with `author_username`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: author_username
        required: false
        description: Return issues created by the given `username`. Mutually exclusive
          with `author_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: assignee_id
        required: false
        description: Return issues assigned to the given user `id`. `None` returns
          unassigned issues and `Any` returns issues with an assignee. Mutually exclusive
          with `assignee_username`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: assignee_username
        required: false
        description: Return issues assigned to the given username. In GitLab Community
          Edition, only a single value is accepted. Otherwise, an invalid parameter
          error is returned. When multiple usernames are given, only issues assigned
          to all of them are returned. Mutually exclusive with `assignee_id`.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: created_after
        required: false
        description: Return issues created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: created_before
        required: false
        description: Return issues created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: updated_after
        required: false
        description: Return issues updated on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: updated_before
        required: false
        description: Return issues updated on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: not
        required: false
        description: Return issues that do not match the specified parameters.
        schema:
          type: object
          nullable: true
        in: query
      - name: not[labels]
        required: false
        description: Comma-separated list of label names.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: not[milestone]
        required: false
        description: Milestone title. Mutually exclusive with `not[milestone_id]`.
        schema:
          type: string
          nullable: true
        in: query
      - name: not[milestone_id]
        required: false
        description: Return issues assigned to milestones without the specified timebox
          value. Mutually exclusive with `not[milestone]`.
        schema:
          type: string
          enum:
          - Any
          - None
          - Upcoming
          - Started
          nullable: true
        in: query
      - name: not[iids]
        required: false
        description: Internal IDs of issues to exclude.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
      - name: not[author_id]
        required: false
        description: Return issues not authored by the user with the given ID. Mutually
          exclusive with `not[author_username]`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[author_username]
        required: false
        description: Return issues not authored by the user with the given username.
          Mutually exclusive with `not[author_id]`.
        schema:
          type: string
          nullable: true
        in: query
      - name: not[assignee_id]
        required: false
        description: Return issues not assigned to the user with the given ID. Mutually
          exclusive with `not[assignee_username]`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[assignee_username]
        required: false
        description: Return issues not assigned to the user with the given username.
          Mutually exclusive with `not[assignee_id]`.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: not[weight]
        required: false
        description: Return issues that do not have the specified weight.
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[iteration_id]
        required: false
        description: Return issues not assigned to the iteration with the given ID.
          Mutually exclusive with `not[iteration_title]`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: not[iteration_title]
        required: false
        description: Return issues not assigned to the iteration with the given title.
          Mutually exclusive with `not[iteration_id]`.
        schema:
          type: string
          nullable: true
        in: query
      - name: scope
        required: false
        description: Return issues for the given scope.
        schema:
          type: string
          enum:
          - created-by-me
          - assigned-to-me
          - created_by_me
          - assigned_to_me
          - all
          nullable: true
          default: created_by_me
        in: query
      - name: my_reaction_emoji
        required: false
        description: Return issues reacted to by the authenticated user with the given
          `emoji`. `None` returns issues with no reaction and `Any` returns issues
          with at least one reaction.
        schema:
          type: string
          nullable: true
        in: query
      - name: confidential
        required: false
        description: If `true`, returns only confidential issues. If `false`, returns
          only public issues.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: weight
        required: false
        description: The weight of the issue
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: epic_id
        required: false
        description: Return issues associated with the epic with the given ID. `None`
          returns issues that are not associated with an epic. `Any` returns issues
          that are associated with an epic. Premium and Ultimate only.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: health_status
        required: false
        description: 'The health status of the issue. Must be one of: on_track, needs_attention,
          at_risk, none, any'
        schema:
          type: string
          enum:
          - on_track
          - needs_attention
          - at_risk
          - none
          - any
          nullable: true
        in: query
      - name: iteration_id
        required: false
        description: Return issues assigned to the iteration with the given ID. `None`
          returns issues that do not belong to an iteration. `Any` returns issues
          that belong to an iteration. Premium and Ultimate only. Mutually exclusive
          with `iteration_title`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: iteration_title
        required: false
        description: Return issues assigned to the iteration with the given title.
          Premium and Ultimate only. Mutually exclusive with `iteration_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: non_archived
        required: false
        description: If `true`, returns only issues from non-archived projects. If
          `false`, returns issues from both archived and non-archived projects.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
  "/api/v4/issues/{id}":
    get:
      operationId: getApiV4IssuesId
      summary: Retrieve an issue
      description: Retrieves a specified issue. Administrators only.
      tags:
      - Issues
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssue"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the issue.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/issues":
    get:
      operationId: getApiV4GroupsIdIssues
      summary: List all issues for a group
      description: Lists all issues for a specified group. If the group is private,
        you must provide credentials to authorize. In most cases, you should authenticate
        with a personal access token.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesIssue"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: with_labels_details
        required: false
        description: 'If `true`, the response returns more details for each label
          in the labels field: `name`, `color`, `description`, `description_html`,
          `text_color`.'
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: state
        required: false
        description: Filter issues by state.
        schema:
          type: string
          enum:
          - opened
          - closed
          - all
          nullable: true
          default: all
        in: query
      - name: closed_by_id
        required: false
        description: Return issues closed by the user with the given ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - created_at
          - due_date
          - label_priority
          - milestone_due
          - popularity
          - priority
          - relative_position
          - title
          - updated_at
          - weight
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: due_date
        required: false
        description: Return issues that have no due date, are overdue, or whose due
          date is this week, this month, or between two weeks ago and next month.
        schema:
          type: string
          enum:
          - '0'
          - any
          - today
          - tomorrow
          - overdue
          - week
          - month
          - next_month_and_previous_two_weeks
          - ''
          nullable: true
        in: query
      - name: issue_type
        required: false
        description: 'The type of the issue. Accepts: issue, incident, test_case,
          requirement, task, ticket'
        schema:
          type: string
          enum:
          - issue
          - incident
          - test_case
          - requirement
          - task
          - ticket
          nullable: true
        in: query
      - name: labels
        required: false
        description: Comma-separated list of label names. `None` means no labels are
          assigned. `Any` means at least one label is assigned. `No+Label` (deprecated)
          means no labels are assigned. Set to an empty string to unassign all labels.
          If a label does not already exist, this creates a new project label and
          assigns it to the issue. Predefined names are case-insensitive.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
      - name: milestone
        required: false
        description: Milestone title. `None` lists all issues with no milestone. `Any`
          lists all issues that have an assigned milestone. Support for `None` and
          `Any` is [planned for removal](https://gitlab.com/gitlab-org/gitlab/-/issues/336044).
          Use the `milestone_id` attribute instead. Mutually exclusive with `milestone_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: milestone_id
        required: false
        description: Return issues assigned to milestones with a given timebox value.
          `None` lists all issues with no milestone. `Any` lists all issues that have
          an assigned milestone. `Upcoming` lists all issues assigned to milestones
          due in the future. `Started` lists all issues assigned to open, started
          milestones. The logic for `Upcoming` and `Started` differs from the logic
          used in the [GraphQL API](https://docs.gitlab.com/user/project/milestones/#special-milestone-filters).
          Mutually exclusive with `milestone`.
        schema:
          type: string
          enum:
          - Any
          - None
          - Upcoming
          - Started
          nullable: true
        in: query
      - name: iids
        required: false
        description: Return only the issues having the given `iid`.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
      - name: search
        required: false
        description: Search issues against their `title` and `description`.
        schema:
          type: string
          nullable: true
        in: query
      - name: in
        required: false
        description: Modify the scope of the `search` attribute to `title`, `description`,
          or `title,description`. If omitted, defaults to `title,description`.
        schema:
          type: string
          nullable: true
        in: query
      - name: author_id
        required: false
        description: Return issues created by the given user ID. Combine with `scope=all`
          or `scope=assigned_to_me`. Mutually exclusive with `author_username`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: author_username
        required: false
        description: Return issues created by the given `username`. Mutually exclusive
          with `author_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: assignee_id
        required: false
        description: Return issues assigned to the given user `id`. `None` returns
          unassigned issues and `Any` returns issues with an assignee. Mutually exclusive
          with `assignee_username`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: assignee_username
        required: false
        description: Return issues assigned to the given username. In GitLab Community
          Edition, only a single value is accepted. Otherwise, an invalid parameter
          error is returned. When multiple usernames are given, only issues assigned
          to all of them are returned. Mutually exclusive with `assignee_id`.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: created_after
        required: false
        description: Return issues created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: created_before
        required: false
        description: Return issues created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: updated_after
        required: false
        description: Return issues updated on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: updated_before
        required: false
        description: Return issues updated on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: not
        required: false
        description: Return issues that do not match the specified parameters.
        schema:
          type: object
          nullable: true
        in: query
      - name: not[labels]
        required: false
        description: Comma-separated list of label names.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: not[milestone]
        required: false
        description: Milestone title. Mutually exclusive with `not[milestone_id]`.
        schema:
          type: string
          nullable: true
        in: query
      - name: not[milestone_id]
        required: false
        description: Return issues assigned to milestones without the specified timebox
          value. Mutually exclusive with `not[milestone]`.
        schema:
          type: string
          enum:
          - Any
          - None
          - Upcoming
          - Started
          nullable: true
        in: query
      - name: not[iids]
        required: false
        description: Internal IDs of issues to exclude.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
      - name: not[author_id]
        required: false
        description: Return issues not authored by the user with the given ID. Mutually
          exclusive with `not[author_username]`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[author_username]
        required: false
        description: Return issues not authored by the user with the given username.
          Mutually exclusive with `not[author_id]`.
        schema:
          type: string
          nullable: true
        in: query
      - name: not[assignee_id]
        required: false
        description: Return issues not assigned to the user with the given ID. Mutually
          exclusive with `not[assignee_username]`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[assignee_username]
        required: false
        description: Return issues not assigned to the user with the given username.
          Mutually exclusive with `not[assignee_id]`.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: not[weight]
        required: false
        description: Return issues that do not have the specified weight.
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[iteration_id]
        required: false
        description: Return issues not assigned to the iteration with the given ID.
          Mutually exclusive with `not[iteration_title]`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: not[iteration_title]
        required: false
        description: Return issues not assigned to the iteration with the given title.
          Mutually exclusive with `not[iteration_id]`.
        schema:
          type: string
          nullable: true
        in: query
      - name: scope
        required: false
        description: Return issues for the given scope.
        schema:
          type: string
          enum:
          - created-by-me
          - assigned-to-me
          - created_by_me
          - assigned_to_me
          - all
          nullable: true
        in: query
      - name: my_reaction_emoji
        required: false
        description: Return issues reacted to by the authenticated user with the given
          `emoji`. `None` returns issues with no reaction and `Any` returns issues
          with at least one reaction.
        schema:
          type: string
          nullable: true
        in: query
      - name: confidential
        required: false
        description: If `true`, returns only confidential issues. If `false`, returns
          only public issues.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: weight
        required: false
        description: The weight of the issue
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: epic_id
        required: false
        description: Return issues associated with the epic with the given ID. `None`
          returns issues that are not associated with an epic. `Any` returns issues
          that are associated with an epic. Premium and Ultimate only.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: health_status
        required: false
        description: 'The health status of the issue. Must be one of: on_track, needs_attention,
          at_risk, none, any'
        schema:
          type: string
          enum:
          - on_track
          - needs_attention
          - at_risk
          - none
          - any
          nullable: true
        in: query
      - name: iteration_id
        required: false
        description: Return issues assigned to the iteration with the given ID. `None`
          returns issues that do not belong to an iteration. `Any` returns issues
          that belong to an iteration. Premium and Ultimate only. Mutually exclusive
          with `iteration_title`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: iteration_title
        required: false
        description: Return issues assigned to the iteration with the given title.
          Premium and Ultimate only. Mutually exclusive with `iteration_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: non_archived
        required: false
        description: If `true`, returns only issues from non-archived projects. If
          `false`, returns issues from both archived and non-archived projects.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
  "/api/v4/groups/{id}/issues_statistics":
    get:
      operationId: getApiV4GroupsIdIssuesStatistics
      summary: Retrieve issues statistics for a group
      description: Retrieves statistics for issues in a specified group.
      tags:
      - Groups
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: labels
        required: false
        description: Comma-separated list of label names. `None` means no labels are
          assigned. `Any` means at least one label is assigned. `No+Label` (deprecated)
          means no labels are assigned. Set to an empty string to unassign all labels.
          If a label does not already exist, this creates a new project label and
          assigns it to the issue. Predefined names are case-insensitive.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
      - name: milestone
        required: false
        description: Milestone title. `None` lists all issues with no milestone. `Any`
          lists all issues that have an assigned milestone. Support for `None` and
          `Any` is [planned for removal](https://gitlab.com/gitlab-org/gitlab/-/issues/336044).
          Use the `milestone_id` attribute instead. Mutually exclusive with `milestone_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: milestone_id
        required: false
        description: Return issues assigned to milestones with a given timebox value.
          `None` lists all issues with no milestone. `Any` lists all issues that have
          an assigned milestone. `Upcoming` lists all issues assigned to milestones
          due in the future. `Started` lists all issues assigned to open, started
          milestones. The logic for `Upcoming` and `Started` differs from the logic
          used in the [GraphQL API](https://docs.gitlab.com/user/project/milestones/#special-milestone-filters).
          Mutually exclusive with `milestone`.
        schema:
          type: string
          enum:
          - Any
          - None
          - Upcoming
          - Started
          nullable: true
        in: query
      - name: iids
        required: false
        description: Return only the issues having the given `iid`.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
      - name: search
        required: false
        description: Search issues against their `title` and `description`.
        schema:
          type: string
          nullable: true
        in: query
      - name: in
        required: false
        description: Modify the scope of the `search` attribute to `title`, `description`,
          or `title,description`. If omitted, defaults to `title,description`.
        schema:
          type: string
          nullable: true
        in: query
      - name: author_id
        required: false
        description: Return issues created by the given user ID. Combine with `scope=all`
          or `scope=assigned_to_me`. Mutually exclusive with `author_username`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: author_username
        required: false
        description: Return issues created by the given `username`. Mutually exclusive
          with `author_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: assignee_id
        required: false
        description: Return issues assigned to the given user `id`. `None` returns
          unassigned issues and `Any` returns issues with an assignee. Mutually exclusive
          with `assignee_username`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: assignee_username
        required: false
        description: Return issues assigned to the given username. In GitLab Community
          Edition, only a single value is accepted. Otherwise, an invalid parameter
          error is returned. When multiple usernames are given, only issues assigned
          to all of them are returned. Mutually exclusive with `assignee_id`.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: created_after
        required: false
        description: Return issues created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: created_before
        required: false
        description: Return issues created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: updated_after
        required: false
        description: Return issues updated on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: updated_before
        required: false
        description: Return issues updated on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: not
        required: false
        description: Return issues that do not match the specified parameters.
        schema:
          type: object
          nullable: true
        in: query
      - name: not[labels]
        required: false
        description: Comma-separated list of label names.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: not[milestone]
        required: false
        description: Milestone title. Mutually exclusive with `not[milestone_id]`.
        schema:
          type: string
          nullable: true
        in: query
      - name: not[milestone_id]
        required: false
        description: Return issues assigned to milestones without the specified timebox
          value. Mutually exclusive with `not[milestone]`.
        schema:
          type: string
          enum:
          - Any
          - None
          - Upcoming
          - Started
          nullable: true
        in: query
      - name: not[iids]
        required: false
        description: Internal IDs of issues to exclude.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
      - name: not[author_id]
        required: false
        description: Return issues not authored by the user with the given ID. Mutually
          exclusive with `not[author_username]`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[author_username]
        required: false
        description: Return issues not authored by the user with the given username.
          Mutually exclusive with `not[author_id]`.
        schema:
          type: string
          nullable: true
        in: query
      - name: not[assignee_id]
        required: false
        description: Return issues not assigned to the user with the given ID. Mutually
          exclusive with `not[assignee_username]`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[assignee_username]
        required: false
        description: Return issues not assigned to the user with the given username.
          Mutually exclusive with `not[assignee_id]`.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: not[weight]
        required: false
        description: Return issues that do not have the specified weight.
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[iteration_id]
        required: false
        description: Return issues not assigned to the iteration with the given ID.
          Mutually exclusive with `not[iteration_title]`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: not[iteration_title]
        required: false
        description: Return issues not assigned to the iteration with the given title.
          Mutually exclusive with `not[iteration_id]`.
        schema:
          type: string
          nullable: true
        in: query
      - name: scope
        required: false
        description: Return issues for the given scope.
        schema:
          type: string
          enum:
          - created-by-me
          - assigned-to-me
          - created_by_me
          - assigned_to_me
          - all
          nullable: true
        in: query
      - name: my_reaction_emoji
        required: false
        description: Return issues reacted to by the authenticated user with the given
          `emoji`. `None` returns issues with no reaction and `Any` returns issues
          with at least one reaction.
        schema:
          type: string
          nullable: true
        in: query
      - name: confidential
        required: false
        description: If `true`, returns only confidential issues. If `false`, returns
          only public issues.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: weight
        required: false
        description: The weight of the issue
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: epic_id
        required: false
        description: Return issues associated with the epic with the given ID. `None`
          returns issues that are not associated with an epic. `Any` returns issues
          that are associated with an epic. Premium and Ultimate only.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: health_status
        required: false
        description: 'The health status of the issue. Must be one of: on_track, needs_attention,
          at_risk, none, any'
        schema:
          type: string
          enum:
          - on_track
          - needs_attention
          - at_risk
          - none
          - any
          nullable: true
        in: query
      - name: iteration_id
        required: false
        description: Return issues assigned to the iteration with the given ID. `None`
          returns issues that do not belong to an iteration. `Any` returns issues
          that belong to an iteration. Premium and Ultimate only. Mutually exclusive
          with `iteration_title`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: iteration_title
        required: false
        description: Return issues assigned to the iteration with the given title.
          Premium and Ultimate only. Mutually exclusive with `iteration_id`.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/projects/{id}/issues/{issue_iid}/time_estimate":
    post:
      operationId: postApiV4ProjectsIdIssuesIssueIidTimeEstimate
      summary: Set the estimated time for an issue
      description: Sets an estimated time of work for a specified issue.
      tags:
      - Issues
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssuableTimeStats"
        '401':
          description: Unauthorized
        '400':
          description: Bad request
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: The internal ID of the issue.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdIssuesIssueIidTimeEstimateRequest"
  "/api/v4/projects/{id}/issues/{issue_iid}/reset_time_estimate":
    post:
      operationId: postApiV4ProjectsIdIssuesIssueIidResetTimeEstimate
      summary: Reset the estimated time for an issue
      description: Resets the estimated time for a specified issue to `0` seconds.
      tags:
      - Issues
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssuableTimeStats"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: The internal ID of the issue.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/issues/{issue_iid}/add_spent_time":
    post:
      operationId: postApiV4ProjectsIdIssuesIssueIidAddSpentTime
      summary: Add spent time for an issue
      description: Adds spent time for a specified issue.
      tags:
      - Issues
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssuableTimeStats"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: The internal ID of the issue.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdIssuesIssueIidAddSpentTimeRequest"
  "/api/v4/projects/{id}/issues/{issue_iid}/reset_spent_time":
    post:
      operationId: postApiV4ProjectsIdIssuesIssueIidResetSpentTime
      summary: Reset spent time for an issue
      description: Resets the total spent time for a specified issue to `0` seconds.
      tags:
      - Issues
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssuableTimeStats"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: The internal ID of the issue
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/issues/{issue_iid}/time_stats":
    get:
      operationId: getApiV4ProjectsIdIssuesIssueIidTimeStats
      summary: Retrieve time tracking stats for an issue
      description: Retrieves time tracking stats for a specified issue, including
        time estimate and time spent in seconds and human-readable format (for example,
        `1h 30m`).
      tags:
      - Issues
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssuableTimeStats"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: The internal ID of the issue
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/issues":
    get:
      operationId: getApiV4ProjectsIdIssues
      summary: List all project issues
      description: Lists all issues for a specified project. If the project is private,
        you need to provide credentials to authorize. In most cases, you should authenticate
        with a personal access token.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesIssue"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: with_labels_details
        required: false
        description: 'If `true`, the response returns more details for each label
          in the labels field: `name`, `color`, `description`, `description_html`,
          `text_color`.'
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: state
        required: false
        description: Filter issues by state.
        schema:
          type: string
          enum:
          - opened
          - closed
          - all
          nullable: true
          default: all
        in: query
      - name: closed_by_id
        required: false
        description: Return issues closed by the user with the given ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - created_at
          - due_date
          - label_priority
          - milestone_due
          - popularity
          - priority
          - relative_position
          - title
          - updated_at
          - weight
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: due_date
        required: false
        description: Return issues that have no due date, are overdue, or whose due
          date is this week, this month, or between two weeks ago and next month.
        schema:
          type: string
          enum:
          - '0'
          - any
          - today
          - tomorrow
          - overdue
          - week
          - month
          - next_month_and_previous_two_weeks
          - ''
          nullable: true
        in: query
      - name: issue_type
        required: false
        description: 'The type of the issue. Accepts: issue, incident, test_case,
          requirement, task, ticket'
        schema:
          type: string
          enum:
          - issue
          - incident
          - test_case
          - requirement
          - task
          - ticket
          nullable: true
        in: query
      - name: labels
        required: false
        description: Comma-separated list of label names. `None` means no labels are
          assigned. `Any` means at least one label is assigned. `No+Label` (deprecated)
          means no labels are assigned. Set to an empty string to unassign all labels.
          If a label does not already exist, this creates a new project label and
          assigns it to the issue. Predefined names are case-insensitive.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
      - name: milestone
        required: false
        description: Milestone title. `None` lists all issues with no milestone. `Any`
          lists all issues that have an assigned milestone. Support for `None` and
          `Any` is [planned for removal](https://gitlab.com/gitlab-org/gitlab/-/issues/336044).
          Use the `milestone_id` attribute instead. Mutually exclusive with `milestone_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: milestone_id
        required: false
        description: Return issues assigned to milestones with a given timebox value.
          `None` lists all issues with no milestone. `Any` lists all issues that have
          an assigned milestone. `Upcoming` lists all issues assigned to milestones
          due in the future. `Started` lists all issues assigned to open, started
          milestones. The logic for `Upcoming` and `Started` differs from the logic
          used in the [GraphQL API](https://docs.gitlab.com/user/project/milestones/#special-milestone-filters).
          Mutually exclusive with `milestone`.
        schema:
          type: string
          enum:
          - Any
          - None
          - Upcoming
          - Started
          nullable: true
        in: query
      - name: iids
        required: false
        description: Return only the issues having the given `iid`.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
      - name: search
        required: false
        description: Search issues against their `title` and `description`.
        schema:
          type: string
          nullable: true
        in: query
      - name: in
        required: false
        description: Modify the scope of the `search` attribute to `title`, `description`,
          or `title,description`. If omitted, defaults to `title,description`.
        schema:
          type: string
          nullable: true
        in: query
      - name: author_id
        required: false
        description: Return issues created by the given user ID. Combine with `scope=all`
          or `scope=assigned_to_me`. Mutually exclusive with `author_username`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: author_username
        required: false
        description: Return issues created by the given `username`. Mutually exclusive
          with `author_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: assignee_id
        required: false
        description: Return issues assigned to the given user `id`. `None` returns
          unassigned issues and `Any` returns issues with an assignee. Mutually exclusive
          with `assignee_username`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: assignee_username
        required: false
        description: Return issues assigned to the given username. In GitLab Community
          Edition, only a single value is accepted. Otherwise, an invalid parameter
          error is returned. When multiple usernames are given, only issues assigned
          to all of them are returned. Mutually exclusive with `assignee_id`.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: created_after
        required: false
        description: Return issues created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: created_before
        required: false
        description: Return issues created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: updated_after
        required: false
        description: Return issues updated on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: updated_before
        required: false
        description: Return issues updated on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: not
        required: false
        description: Return issues that do not match the specified parameters.
        schema:
          type: object
          nullable: true
        in: query
      - name: not[labels]
        required: false
        description: Comma-separated list of label names.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: not[milestone]
        required: false
        description: Milestone title. Mutually exclusive with `not[milestone_id]`.
        schema:
          type: string
          nullable: true
        in: query
      - name: not[milestone_id]
        required: false
        description: Return issues assigned to milestones without the specified timebox
          value. Mutually exclusive with `not[milestone]`.
        schema:
          type: string
          enum:
          - Any
          - None
          - Upcoming
          - Started
          nullable: true
        in: query
      - name: not[iids]
        required: false
        description: Internal IDs of issues to exclude.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
      - name: not[author_id]
        required: false
        description: Return issues not authored by the user with the given ID. Mutually
          exclusive with `not[author_username]`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[author_username]
        required: false
        description: Return issues not authored by the user with the given username.
          Mutually exclusive with `not[author_id]`.
        schema:
          type: string
          nullable: true
        in: query
      - name: not[assignee_id]
        required: false
        description: Return issues not assigned to the user with the given ID. Mutually
          exclusive with `not[assignee_username]`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[assignee_username]
        required: false
        description: Return issues not assigned to the user with the given username.
          Mutually exclusive with `not[assignee_id]`.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: not[weight]
        required: false
        description: Return issues that do not have the specified weight.
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[iteration_id]
        required: false
        description: Return issues not assigned to the iteration with the given ID.
          Mutually exclusive with `not[iteration_title]`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: not[iteration_title]
        required: false
        description: Return issues not assigned to the iteration with the given title.
          Mutually exclusive with `not[iteration_id]`.
        schema:
          type: string
          nullable: true
        in: query
      - name: scope
        required: false
        description: Return issues for the given scope.
        schema:
          type: string
          enum:
          - created-by-me
          - assigned-to-me
          - created_by_me
          - assigned_to_me
          - all
          nullable: true
        in: query
      - name: my_reaction_emoji
        required: false
        description: Return issues reacted to by the authenticated user with the given
          `emoji`. `None` returns issues with no reaction and `Any` returns issues
          with at least one reaction.
        schema:
          type: string
          nullable: true
        in: query
      - name: confidential
        required: false
        description: If `true`, returns only confidential issues. If `false`, returns
          only public issues.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: weight
        required: false
        description: The weight of the issue
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: epic_id
        required: false
        description: Return issues associated with the epic with the given ID. `None`
          returns issues that are not associated with an epic. `Any` returns issues
          that are associated with an epic. Premium and Ultimate only.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: health_status
        required: false
        description: 'The health status of the issue. Must be one of: on_track, needs_attention,
          at_risk, none, any'
        schema:
          type: string
          enum:
          - on_track
          - needs_attention
          - at_risk
          - none
          - any
          nullable: true
        in: query
      - name: iteration_id
        required: false
        description: Return issues assigned to the iteration with the given ID. `None`
          returns issues that do not belong to an iteration. `Any` returns issues
          that belong to an iteration. Premium and Ultimate only. Mutually exclusive
          with `iteration_title`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: iteration_title
        required: false
        description: Return issues assigned to the iteration with the given title.
          Premium and Ultimate only. Mutually exclusive with `iteration_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: cursor
        required: false
        description: Cursor for obtaining the next set of records.
        schema:
          type: string
          nullable: true
        in: query
    post:
      operationId: postApiV4ProjectsIdIssues
      summary: Create an issue
      description: Creates an issue for a specified project.
      tags:
      - Projects
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssue"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdIssuesRequest"
  "/api/v4/projects/{id}/issues_statistics":
    get:
      operationId: getApiV4ProjectsIdIssuesStatistics
      summary: Retrieve issues statistics for a project
      description: Retrieves statistics for issues in a specified project.
      tags:
      - Projects
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: labels
        required: false
        description: Comma-separated list of label names. `None` means no labels are
          assigned. `Any` means at least one label is assigned. `No+Label` (deprecated)
          means no labels are assigned. Set to an empty string to unassign all labels.
          If a label does not already exist, this creates a new project label and
          assigns it to the issue. Predefined names are case-insensitive.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
      - name: milestone
        required: false
        description: Milestone title. `None` lists all issues with no milestone. `Any`
          lists all issues that have an assigned milestone. Support for `None` and
          `Any` is [planned for removal](https://gitlab.com/gitlab-org/gitlab/-/issues/336044).
          Use the `milestone_id` attribute instead. Mutually exclusive with `milestone_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: milestone_id
        required: false
        description: Return issues assigned to milestones with a given timebox value.
          `None` lists all issues with no milestone. `Any` lists all issues that have
          an assigned milestone. `Upcoming` lists all issues assigned to milestones
          due in the future. `Started` lists all issues assigned to open, started
          milestones. The logic for `Upcoming` and `Started` differs from the logic
          used in the [GraphQL API](https://docs.gitlab.com/user/project/milestones/#special-milestone-filters).
          Mutually exclusive with `milestone`.
        schema:
          type: string
          enum:
          - Any
          - None
          - Upcoming
          - Started
          nullable: true
        in: query
      - name: iids
        required: false
        description: Return only the issues having the given `iid`.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
      - name: search
        required: false
        description: Search issues against their `title` and `description`.
        schema:
          type: string
          nullable: true
        in: query
      - name: in
        required: false
        description: Modify the scope of the `search` attribute to `title`, `description`,
          or `title,description`. If omitted, defaults to `title,description`.
        schema:
          type: string
          nullable: true
        in: query
      - name: author_id
        required: false
        description: Return issues created by the given user ID. Combine with `scope=all`
          or `scope=assigned_to_me`. Mutually exclusive with `author_username`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: author_username
        required: false
        description: Return issues created by the given `username`. Mutually exclusive
          with `author_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: assignee_id
        required: false
        description: Return issues assigned to the given user `id`. `None` returns
          unassigned issues and `Any` returns issues with an assignee. Mutually exclusive
          with `assignee_username`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: assignee_username
        required: false
        description: Return issues assigned to the given username. In GitLab Community
          Edition, only a single value is accepted. Otherwise, an invalid parameter
          error is returned. When multiple usernames are given, only issues assigned
          to all of them are returned. Mutually exclusive with `assignee_id`.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: created_after
        required: false
        description: Return issues created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: created_before
        required: false
        description: Return issues created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: updated_after
        required: false
        description: Return issues updated on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: updated_before
        required: false
        description: Return issues updated on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: not
        required: false
        description: Return issues that do not match the specified parameters.
        schema:
          type: object
          nullable: true
        in: query
      - name: not[labels]
        required: false
        description: Comma-separated list of label names.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: not[milestone]
        required: false
        description: Milestone title. Mutually exclusive with `not[milestone_id]`.
        schema:
          type: string
          nullable: true
        in: query
      - name: not[milestone_id]
        required: false
        description: Return issues assigned to milestones without the specified timebox
          value. Mutually exclusive with `not[milestone]`.
        schema:
          type: string
          enum:
          - Any
          - None
          - Upcoming
          - Started
          nullable: true
        in: query
      - name: not[iids]
        required: false
        description: Internal IDs of issues to exclude.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
      - name: not[author_id]
        required: false
        description: Return issues not authored by the user with the given ID. Mutually
          exclusive with `not[author_username]`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[author_username]
        required: false
        description: Return issues not authored by the user with the given username.
          Mutually exclusive with `not[author_id]`.
        schema:
          type: string
          nullable: true
        in: query
      - name: not[assignee_id]
        required: false
        description: Return issues not assigned to the user with the given ID. Mutually
          exclusive with `not[assignee_username]`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[assignee_username]
        required: false
        description: Return issues not assigned to the user with the given username.
          Mutually exclusive with `not[assignee_id]`.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: not[weight]
        required: false
        description: Return issues that do not have the specified weight.
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[iteration_id]
        required: false
        description: Return issues not assigned to the iteration with the given ID.
          Mutually exclusive with `not[iteration_title]`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: not[iteration_title]
        required: false
        description: Return issues not assigned to the iteration with the given title.
          Mutually exclusive with `not[iteration_id]`.
        schema:
          type: string
          nullable: true
        in: query
      - name: scope
        required: false
        description: Return issues for the given scope.
        schema:
          type: string
          enum:
          - created-by-me
          - assigned-to-me
          - created_by_me
          - assigned_to_me
          - all
          nullable: true
        in: query
      - name: my_reaction_emoji
        required: false
        description: Return issues reacted to by the authenticated user with the given
          `emoji`. `None` returns issues with no reaction and `Any` returns issues
          with at least one reaction.
        schema:
          type: string
          nullable: true
        in: query
      - name: confidential
        required: false
        description: If `true`, returns only confidential issues. If `false`, returns
          only public issues.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: weight
        required: false
        description: The weight of the issue
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: epic_id
        required: false
        description: Return issues associated with the epic with the given ID. `None`
          returns issues that are not associated with an epic. `Any` returns issues
          that are associated with an epic. Premium and Ultimate only.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: health_status
        required: false
        description: 'The health status of the issue. Must be one of: on_track, needs_attention,
          at_risk, none, any'
        schema:
          type: string
          enum:
          - on_track
          - needs_attention
          - at_risk
          - none
          - any
          nullable: true
        in: query
      - name: iteration_id
        required: false
        description: Return issues assigned to the iteration with the given ID. `None`
          returns issues that do not belong to an iteration. `Any` returns issues
          that belong to an iteration. Premium and Ultimate only. Mutually exclusive
          with `iteration_title`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: iteration_title
        required: false
        description: Return issues assigned to the iteration with the given title.
          Premium and Ultimate only. Mutually exclusive with `iteration_id`.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/projects/{id}/issues/{issue_iid}":
    get:
      operationId: getApiV4ProjectsIdIssuesIssueIid
      summary: Retrieve a project issue
      description: Retrieves a specified issue for a project. If the project is private
        or the issue is confidential, you need to provide credentials to authorize.
        In most cases, you should authenticate with a personal access token.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssue"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: Internal ID of the issue.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdIssuesIssueIid
      summary: Update an issue
      description: 'Updates a specified issue for a project. This request is also
        used to close or reopen an issue using the `state_event` parameter. At least
        one of the following parameters is required for the request to be successful:
        `assignee_id`, `assignee_ids`, `confidential`, `created_at`, `description`,
        `discussion_locked`, `due_date`, `issue_type`, `labels`, `milestone_id`, `state_event`,
        `title`.'
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssue"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: Internal ID of the issue.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIssuesIssueIidRequest"
    delete:
      operationId: deleteApiV4ProjectsIdIssuesIssueIid
      summary: Delete an issue
      description: Deletes a specified issue.
      tags:
      - Projects
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: Internal ID of the issue.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/issues/{issue_iid}/reorder":
    put:
      operationId: putApiV4ProjectsIdIssuesIssueIidReorder
      summary: Update the order of an issue
      description: Updates the order of a specified issue in a project. You can see
        the results when sorting issues manually.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssue"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: Internal ID of the issue.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIssuesIssueIidReorderRequest"
  "/api/v4/projects/{id}/issues/{issue_iid}/move":
    post:
      operationId: postApiV4ProjectsIdIssuesIssueIidMove
      summary: Move an issue
      description: Moves a specified issue to a different project. If the target project
        is the source project or the user has insufficient permissions, an error message
        with status code `400` is returned. If a label or milestone with the same
        name also exists in the target project, it is then assigned to the issue being
        moved.
      tags:
      - Projects
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssue"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: Internal ID of the issue.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdIssuesIssueIidMoveRequest"
  "/api/v4/projects/{id}/issues/{issue_iid}/clone":
    post:
      operationId: postApiV4ProjectsIdIssuesIssueIidClone
      summary: Clone an issue
      description: Clones a specified issue to a project. Copies as much data as possible
        as long as the target project contains equivalent criteria, such as labels
        or milestones. If you have insufficient permissions, an error message with
        status code `400` is returned.
      tags:
      - Projects
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssue"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: Internal ID of the issue.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdIssuesIssueIidCloneRequest"
  "/api/v4/projects/{id}/issues/{issue_iid}/related_merge_requests":
    get:
      operationId: getApiV4ProjectsIdIssuesIssueIidRelatedMergeRequests
      summary: List all merge requests related to an issue
      description: Lists all merge requests that are related to a specified issue.
        If the project is private or the issue is confidential, you need to provide
        credentials to authorize. In most cases, you should authenticate with a personal
        access token.
      tags:
      - Issues
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMergeRequestBasic"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: Internal ID of the issue.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/issues/{issue_iid}/closed_by":
    get:
      operationId: getApiV4ProjectsIdIssuesIssueIidClosedBy
      summary: List all merge requests that close an issue on merge
      description: Lists all merge requests that close a specified issue when merged.
        If the project is private or the issue is confidential, you need to provide
        credentials to authorize. In most cases, you should authenticate with a personal
        access token.
      tags:
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMergeRequestBasic"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: Internal ID of the issue.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/issues/{issue_iid}/participants":
    get:
      operationId: getApiV4ProjectsIdIssuesIssueIidParticipants
      summary: List all participants in an issue
      description: Lists all users that are participants in a specified issue. If
        the project is private or the issue is confidential, you need to provide credentials
        to authorize. In most cases, you should authenticate with a personal access
        token.
      tags:
      - Issues
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesUserBasic"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: Internal ID of the issue.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/issues/{issue_iid}/user_agent_detail":
    get:
      operationId: getApiV4ProjectsIdIssuesIssueIidUserAgentDetail
      summary: Retrieve user agent details for an issue
      description: Retrieves user agent details for an issue.
      tags:
      - Issues
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesUserAgentDetail"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: Internal ID of the issue.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/issues/{issue_iid}/metric_images/authorize":
    post:
      operationId: postApiV4ProjectsIdIssuesIssueIidMetricImagesAuthorize
      summary: Authorize metric image upload
      description: Authorizes uploading a metric image for a specified incident.
      tags:
      - Metric images
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: The internal ID of an issuable
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/issues/{issue_iid}/metric_images":
    post:
      operationId: postApiV4ProjectsIdIssuesIssueIidMetricImages
      summary: Upload a metric image for an incident
      description: Uploads a screenshot of metric charts for an incident. Available
        only for incidents.
      tags:
      - Metric images
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssuableMetricImage"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: The internal ID of an issuable
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdIssuesIssueIidMetricImagesRequest"
    get:
      operationId: getApiV4ProjectsIdIssuesIssueIidMetricImages
      summary: List all metric images for an incident
      description: Lists all metric images for an incident.
      tags:
      - Metric images
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesIssuableMetricImage"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: The internal ID of an issuable
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/issues/{issue_iid}/metric_images/{metric_image_id}":
    put:
      operationId: putApiV4ProjectsIdIssuesIssueIidMetricImagesMetricImageId
      summary: Update a metric image for an incident
      description: Updates a metric image for an incident.
      tags:
      - Metric images
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssuableMetricImage"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: metric_image_id
        required: true
        description: ID of the metric image.
        schema:
          type: integer
        in: path
      - name: issue_iid
        required: true
        description: The internal ID of an issuable
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIssuesIssueIidMetricImagesMetricImageIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdIssuesIssueIidMetricImagesMetricImageId
      summary: Delete a metric image from an incident
      description: Deletes a metric image from an incident.
      tags:
      - Metric images
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssuableMetricImage"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: metric_image_id
        required: true
        description: ID of the metric image.
        schema:
          type: integer
        in: path
      - name: issue_iid
        required: true
        description: The internal ID of an issuable
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/issues/{issue_iid}/links":
    get:
      operationId: getApiV4ProjectsIdIssuesIssueIidLinks
      summary: List all issue links
      description: Lists all linked issues for a specified issue, sorted by the relationship
        creation datetime (ascending). Issues are filtered according to the user authorizations.
      tags:
      - Issues
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesRelatedIssue"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: Internal ID of the issue.
        schema:
          type: integer
        in: path
    post:
      operationId: postApiV4ProjectsIdIssuesIssueIidLinks
      summary: Create an issue link
      description: Creates a two-way relationship between two issues. The user must
        be allowed to update both issues to succeed.
      tags:
      - Issues
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssueLink"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: Internal ID of the issue.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdIssuesIssueIidLinksRequest"
  "/api/v4/projects/{id}/issues/{issue_iid}/links/{issue_link_id}":
    get:
      operationId: getApiV4ProjectsIdIssuesIssueIidLinksIssueLinkId
      summary: Retrieve an issue link
      description: Retrieves a specified issue link.
      tags:
      - Issues
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssueLink"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: Internal ID of the issue.
        schema:
          type: integer
        in: path
      - name: issue_link_id
        required: true
        description: ID of the issue relationship.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdIssuesIssueIidLinksIssueLinkId
      summary: Delete an issue link
      description: Deletes a specified issue link, removing the two-way relationship.
      tags:
      - Issues
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIssueLink"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: Internal ID of the issue.
        schema:
          type: integer
        in: path
      - name: issue_link_id
        required: true
        description: ID of the issue relationship.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/groups/{id}/invitations":
    post:
      operationId: postApiV4GroupsIdInvitations
      summary: Add a member to a group
      description: Adds a member to a group. You can specify a user ID or invite a
        user by email. You must have the Owner role for the group. On GitLab Self-Managed,
        an administrator must add the user if new user accounts or user invitations
        are not allowed, and must approve the invitation if administrator approval
        for role promotions is enabled. If an invitation fails, the response has a
        `status` of `error` and a `message` object that maps each email address or
        username to its error. To enable Manage non-billable promotions, enable the
        `enable_member_promotion_management` application setting. Users whose requests
        are queued for administrator approval are listed in `queued_users`.
      tags:
      - Invitations
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesInvitation"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdInvitationsRequest"
    get:
      operationId: getApiV4GroupsIdInvitations
      summary: List all pending invitations for a group
      description: Lists all pending invitations for a specified group viewable by
        the authenticated user. Returns invitations to direct members only, and not
        through inherited ancestor groups. This function takes pagination parameters
        `page` and `per_page` to restrict the list of members.
      tags:
      - Invitations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesInvitation"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: query
        required: false
        description: Return only invitations sent to this email address. Must match
          exactly. If omitted, returns all invitations.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/groups/{id}/invitations/{email}":
    put:
      operationId: putApiV4GroupsIdInvitationsEmail
      summary: Update an invitation to a group
      description: Updates a pending invitation to a group.
      tags:
      - Invitations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesInvitation"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: email
        required: true
        description: Email address the invitation was previously sent to.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdInvitationsEmailRequest"
    delete:
      operationId: deleteApiV4GroupsIdInvitationsEmail
      summary: Delete an invitation to a group
      description: Deletes a pending invitation to a specified email address for a
        group.
      tags:
      - Invitations
      responses:
        '204':
          description: No Content
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Could not delete invitation
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: email
        required: true
        description: Email address the invitation was previously sent to.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/invitations":
    post:
      operationId: postApiV4ProjectsIdInvitations
      summary: Add a member to a project
      description: Adds a member to a project. You can specify a user ID or invite
        a user by email. You must have the Maintainer or Owner role for the project,
        and group membership lock must be disabled. On GitLab Self-Managed, an administrator
        must add the user if new user accounts or user invitations are not allowed,
        and must approve the invitation if administrator approval for role promotions
        is enabled. If an invitation fails, the response has a `status` of `error`
        and a `message` object that maps each email address or username to its error.
        To enable Manage non-billable promotions, enable the `enable_member_promotion_management`
        application setting. Users whose requests are queued for administrator approval
        are listed in `queued_users`.
      tags:
      - Invitations
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesInvitation"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdInvitationsRequest"
    get:
      operationId: getApiV4ProjectsIdInvitations
      summary: List all pending invitations for a project
      description: Lists all pending invitations for a specified project viewable
        by the authenticated user. Returns invitations to direct members only, and
        not through inherited ancestor groups. This function takes pagination parameters
        `page` and `per_page` to restrict the list of members.
      tags:
      - Invitations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesInvitation"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: query
        required: false
        description: Return only invitations sent to this email address. Must match
          exactly. If omitted, returns all invitations.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/projects/{id}/invitations/{email}":
    put:
      operationId: putApiV4ProjectsIdInvitationsEmail
      summary: Update an invitation to a project
      description: Updates a pending invitation to a project.
      tags:
      - Invitations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesInvitation"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: email
        required: true
        description: Email address the invitation was previously sent to.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdInvitationsEmailRequest"
    delete:
      operationId: deleteApiV4ProjectsIdInvitationsEmail
      summary: Delete an invitation to a project
      description: Deletes a pending invitation to a specified email address for a
        project.
      tags:
      - Invitations
      responses:
        '204':
          description: No Content
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Could not delete invitation
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: email
        required: true
        description: Email address the invitation was previously sent to.
        schema:
          type: string
        in: path
  "/api/v4/integrations/jira_forge/subscriptions":
    post:
      operationId: postApiV4IntegrationsJiraForgeSubscriptions
      summary: Create a GitLab for Jira (Forge) namespace subscription
      description: Subscribes a GitLab namespace to the Forge installation so its
        development data syncs to Jira. Authenticated by the Forge Invocation Token
        (app-context call); the GitLab user is bound via the signed delegation token
        from the user_delegation endpoint, and the Jira site-admin check runs against
        Jira with the app system token riding the call.
      tags:
      - Jira forge subscriptions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBasicSuccess"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4IntegrationsJiraForgeSubscriptionsRequest"
      x-gitlab-lifecycle: experiment
    get:
      operationId: getApiV4IntegrationsJiraForgeSubscriptions
      summary: List GitLab for Jira (Forge) namespace subscriptions
      description: Lists the GitLab namespaces subscribed to the Forge installation.
      tags:
      - Jira forge subscriptions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesJiraForgeSubscriptions"
        '401':
          description: Unauthorized
      x-gitlab-lifecycle: experiment
  "/api/v4/integrations/jira_forge/subscriptions/{id}":
    delete:
      operationId: deleteApiV4IntegrationsJiraForgeSubscriptionsId
      summary: Delete a GitLab for Jira (Forge) namespace subscription
      description: Unsubscribes a GitLab namespace from the Forge installation.
      tags:
      - Jira forge subscriptions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBasicSuccess"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the subscription.
        schema:
          type: integer
        in: path
      x-gitlab-lifecycle: experiment
  "/api/v4/integrations/jira_forge/user_delegation":
    post:
      operationId: postApiV4IntegrationsJiraForgeUserDelegation
      summary: Create a GitLab for Jira (Forge) user delegation token
      description: Mints a short-lived GitLab-signed token identifying the signed-in
        GitLab user, scoped to the Jira account and site it is minted for. Accepts
        only the OAuth token issued to the Forge app at sign-in. The Forge app stores
        it at config-page sign-in and presents it on the FIT-authenticated subscribe
        call, which cannot carry the user OAuth token (Forge attaches the FIT only
        to app-context calls); the scope claims must match that call's FIT.
      tags:
      - Jira forge user delegation
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBasicSuccess"
        '401':
          description: Unauthorized
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4IntegrationsJiraForgeUserDelegationRequest"
      x-gitlab-lifecycle: experiment
  "/api/v4/integrations/jira_forge/installation":
    put:
      operationId: putApiV4IntegrationsJiraForgeInstallation
      summary: Update the GitLab for Jira (Forge) installation instance URL
      description: Sets the GitLab instance the installation points at. Omit instance_url
        (or send null) for GitLab.com. Requires a Jira site or organization admin.
      tags:
      - Jira forge installation
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBasicSuccess"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '422':
          description: Unprocessable entity
        '400':
          description: Bad Request
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4IntegrationsJiraForgeInstallationRequest"
      x-gitlab-lifecycle: experiment
    delete:
      operationId: deleteApiV4IntegrationsJiraForgeInstallation
      summary: Destroy the GitLab for Jira (Forge) installation on app uninstall
      description: Called by the Forge app preUninstall hook. A pure-native install
        fires no Connect uninstalled event, so this is what removes the installation,
        its subscriptions, and deactivates the linked jira_cloud_app integrations.
        FIT authentication carries the same trust as the signed Connect lifecycle
        event, so no Jira admin check is needed. Succeeds with no change when the
        installation is already gone.
      tags:
      - Jira forge installation
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBasicSuccess"
        '401':
          description: Unauthorized
        '422':
          description: Unprocessable entity
      x-gitlab-lifecycle: experiment
  "/api/v4/integrations/jira_forge/installation/forge_token":
    post:
      operationId: postApiV4IntegrationsJiraForgeInstallationForgeToken
      summary: Register the GitLab for Jira (Forge) system token for direct dev-info
        sync
      description: Stores the Forge app system OAuth token (X-Forge-Oauth-System header)
        and the Jira apiBaseUrl (from the FIT), so GitLab pushes dev-info directly
        to Jira. See Atlassian::Forge::SystemTokenClient.
      tags:
      - Jira forge installation
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBasicSuccess"
        '401':
          description: Unauthorized
        '422':
          description: Unprocessable entity
        '400':
          description: Bad Request
      x-gitlab-lifecycle: experiment
  "/api/v4/integrations/jira_connect/subscriptions":
    post:
      operationId: postApiV4IntegrationsJiraConnectSubscriptions
      summary: Subscribe a namespace to a JiraConnectInstallation
      description: Subscribes the namespace to the JiraConnectInstallation
      tags:
      - Jira Connect subscriptions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBasicSuccess"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4IntegrationsJiraConnectSubscriptionsRequest"
  "/api/v4/integrations/slack/options":
    post:
      operationId: postApiV4IntegrationsSlackOptions
      summary: Get Slack interactive component options
      description: Retrieves options for Slack interactive components
      tags:
      - Integrations
      - Internal operations
      responses:
        '201':
          description: Created
        '400':
          description: Bad Request
  "/api/v4/integrations/slack/interactions":
    post:
      operationId: postApiV4IntegrationsSlackInteractions
      summary: Process Slack interaction events
      description: Processes interaction events from Slack
      tags:
      - Integrations
      - Internal operations
      responses:
        '201':
          description: Created
        '400':
          description: Bad Request
  "/api/v4/integrations/slack/events":
    post:
      operationId: postApiV4IntegrationsSlackEvents
      summary: Receive Slack events
      description: Receives and processes events sent by the GitLab for Slack app.
        Requires a valid Slack signature.
      tags:
      - Integrations
      responses:
        '200':
          description: Successfully processed event
        '204':
          description: Failed to process event
        '401':
          description: Unauthorized
        '400':
          description: Bad Request
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4IntegrationsSlackEventsRequest"
  "/api/v4/projects/{id}/services":
    get:
      operationId: getApiV4ProjectsIdServices
      summary: List all active integrations
      description: Lists all active integrations.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/services/apple-app-store":
    put:
      operationId: putApiV4ProjectsIdServicesAppleAppStore
      summary: Create or update the Apple App Store integration
      description: Creates or updates the Apple App Store integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesAppleAppStoreRequest"
  "/api/v4/projects/{id}/services/asana":
    put:
      operationId: putApiV4ProjectsIdServicesAsana
      summary: Create or update the Asana integration
      description: Creates or updates the Asana integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesAsanaRequest"
  "/api/v4/projects/{id}/services/assembla":
    put:
      operationId: putApiV4ProjectsIdServicesAssembla
      summary: Create or update the Assembla integration
      description: Creates or updates the Assembla integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesAssemblaRequest"
  "/api/v4/projects/{id}/services/bamboo":
    put:
      operationId: putApiV4ProjectsIdServicesBamboo
      summary: Create or update the Bamboo integration
      description: Creates or updates the Bamboo integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesBambooRequest"
  "/api/v4/projects/{id}/services/bugzilla":
    put:
      operationId: putApiV4ProjectsIdServicesBugzilla
      summary: Create or update the Bugzilla integration
      description: Creates or updates the Bugzilla integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesBugzillaRequest"
  "/api/v4/projects/{id}/services/buildkite":
    put:
      operationId: putApiV4ProjectsIdServicesBuildkite
      summary: Create or update the Buildkite integration
      description: Creates or updates the Buildkite integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesBuildkiteRequest"
  "/api/v4/projects/{id}/services/campfire":
    put:
      operationId: putApiV4ProjectsIdServicesCampfire
      summary: Create or update the Campfire integration
      description: Creates or updates the Campfire integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesCampfireRequest"
  "/api/v4/projects/{id}/services/confluence":
    put:
      operationId: putApiV4ProjectsIdServicesConfluence
      summary: Create or update the Confluence integration
      description: Creates or updates the Confluence integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesConfluenceRequest"
  "/api/v4/projects/{id}/services/custom-issue-tracker":
    put:
      operationId: putApiV4ProjectsIdServicesCustomIssueTracker
      summary: Create or update the Custom Issue Tracker integration
      description: Creates or updates the Custom Issue Tracker integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesCustomIssueTrackerRequest"
  "/api/v4/projects/{id}/services/datadog":
    put:
      operationId: putApiV4ProjectsIdServicesDatadog
      summary: Create or update the Datadog integration
      description: Creates or updates the Datadog integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesDatadogRequest"
  "/api/v4/projects/{id}/services/diffblue-cover":
    put:
      operationId: putApiV4ProjectsIdServicesDiffblueCover
      summary: Create or update the Diffblue Cover integration
      description: Creates or updates the Diffblue Cover integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesDiffblueCoverRequest"
  "/api/v4/projects/{id}/services/discord":
    put:
      operationId: putApiV4ProjectsIdServicesDiscord
      summary: Create or update the Discord integration
      description: Creates or updates the Discord integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesDiscordRequest"
  "/api/v4/projects/{id}/services/drone-ci":
    put:
      operationId: putApiV4ProjectsIdServicesDroneCi
      summary: Create or update the Drone Ci integration
      description: Creates or updates the Drone Ci integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesDroneCiRequest"
  "/api/v4/projects/{id}/services/emails-on-push":
    put:
      operationId: putApiV4ProjectsIdServicesEmailsOnPush
      summary: Create or update the Emails On Push integration
      description: Creates or updates the Emails On Push integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesEmailsOnPushRequest"
  "/api/v4/projects/{id}/services/external-wiki":
    put:
      operationId: putApiV4ProjectsIdServicesExternalWiki
      summary: Create or update the External Wiki integration
      description: Creates or updates the External Wiki integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesExternalWikiRequest"
  "/api/v4/projects/{id}/services/gitlab-slack-application":
    put:
      operationId: putApiV4ProjectsIdServicesGitlabSlackApplication
      summary: Create or update the Gitlab Slack Application integration
      description: Creates or updates the Gitlab Slack Application integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesGitlabSlackApplicationRequest"
  "/api/v4/projects/{id}/services/google-play":
    put:
      operationId: putApiV4ProjectsIdServicesGooglePlay
      summary: Create or update the Google Play integration
      description: Creates or updates the Google Play integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesGooglePlayRequest"
  "/api/v4/projects/{id}/services/hangouts-chat":
    put:
      operationId: putApiV4ProjectsIdServicesHangoutsChat
      summary: Create or update the Hangouts Chat integration
      description: Creates or updates the Hangouts Chat integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesHangoutsChatRequest"
  "/api/v4/projects/{id}/services/harbor":
    put:
      operationId: putApiV4ProjectsIdServicesHarbor
      summary: Create or update the Harbor integration
      description: Creates or updates the Harbor integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesHarborRequest"
  "/api/v4/projects/{id}/services/irker":
    put:
      operationId: putApiV4ProjectsIdServicesIrker
      summary: Create or update the Irker integration
      description: Creates or updates the Irker integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesIrkerRequest"
  "/api/v4/projects/{id}/services/jenkins":
    put:
      operationId: putApiV4ProjectsIdServicesJenkins
      summary: Create or update the Jenkins integration
      description: Creates or updates the Jenkins integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesJenkinsRequest"
  "/api/v4/projects/{id}/services/jira":
    put:
      operationId: putApiV4ProjectsIdServicesJira
      summary: Create or update the Jira integration
      description: Creates or updates the Jira integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesJiraRequest"
  "/api/v4/projects/{id}/services/jira-cloud-app":
    put:
      operationId: putApiV4ProjectsIdServicesJiraCloudApp
      summary: Create or update the Jira Cloud App integration
      description: Creates or updates the Jira Cloud App integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesJiraCloudAppRequest"
  "/api/v4/projects/{id}/services/linear":
    put:
      operationId: putApiV4ProjectsIdServicesLinear
      summary: Create or update the Linear integration
      description: Creates or updates the Linear integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesLinearRequest"
  "/api/v4/projects/{id}/services/matrix":
    put:
      operationId: putApiV4ProjectsIdServicesMatrix
      summary: Create or update the Matrix integration
      description: Creates or updates the Matrix integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesMatrixRequest"
  "/api/v4/projects/{id}/services/mattermost-slash-commands":
    put:
      operationId: putApiV4ProjectsIdServicesMattermostSlashCommands
      summary: Create or update the Mattermost Slash Commands integration
      description: Creates or updates the Mattermost Slash Commands integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesMattermostSlashCommandsRequest"
  "/api/v4/projects/{id}/services/packagist":
    put:
      operationId: putApiV4ProjectsIdServicesPackagist
      summary: Create or update the Packagist integration
      description: Creates or updates the Packagist integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesPackagistRequest"
  "/api/v4/projects/{id}/services/phorge":
    put:
      operationId: putApiV4ProjectsIdServicesPhorge
      summary: Create or update the Phorge integration
      description: Creates or updates the Phorge integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesPhorgeRequest"
  "/api/v4/projects/{id}/services/pipelines-email":
    put:
      operationId: putApiV4ProjectsIdServicesPipelinesEmail
      summary: Create or update the Pipelines Email integration
      description: Creates or updates the Pipelines Email integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesPipelinesEmailRequest"
  "/api/v4/projects/{id}/services/pivotaltracker":
    put:
      operationId: putApiV4ProjectsIdServicesPivotaltracker
      summary: Create or update the Pivotaltracker integration
      description: Creates or updates the Pivotaltracker integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesPivotaltrackerRequest"
  "/api/v4/projects/{id}/services/pumble":
    put:
      operationId: putApiV4ProjectsIdServicesPumble
      summary: Create or update the Pumble integration
      description: Creates or updates the Pumble integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesPumbleRequest"
  "/api/v4/projects/{id}/services/pushover":
    put:
      operationId: putApiV4ProjectsIdServicesPushover
      summary: Create or update the Pushover integration
      description: Creates or updates the Pushover integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesPushoverRequest"
  "/api/v4/projects/{id}/services/redmine":
    put:
      operationId: putApiV4ProjectsIdServicesRedmine
      summary: Create or update the Redmine integration
      description: Creates or updates the Redmine integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesRedmineRequest"
  "/api/v4/projects/{id}/services/ewm":
    put:
      operationId: putApiV4ProjectsIdServicesEwm
      summary: Create or update the Ewm integration
      description: Creates or updates the Ewm integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesEwmRequest"
  "/api/v4/projects/{id}/services/youtrack":
    put:
      operationId: putApiV4ProjectsIdServicesYoutrack
      summary: Create or update the Youtrack integration
      description: Creates or updates the Youtrack integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesYoutrackRequest"
  "/api/v4/projects/{id}/services/clickup":
    put:
      operationId: putApiV4ProjectsIdServicesClickup
      summary: Create or update the Clickup integration
      description: Creates or updates the Clickup integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesClickupRequest"
  "/api/v4/projects/{id}/services/slack":
    put:
      operationId: putApiV4ProjectsIdServicesSlack
      summary: Create or update the Slack integration
      description: Creates or updates the Slack integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesSlackRequest"
  "/api/v4/projects/{id}/services/microsoft-teams":
    put:
      operationId: putApiV4ProjectsIdServicesMicrosoftTeams
      summary: Create or update the Microsoft Teams integration
      description: Creates or updates the Microsoft Teams integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesMicrosoftTeamsRequest"
  "/api/v4/projects/{id}/services/mattermost":
    put:
      operationId: putApiV4ProjectsIdServicesMattermost
      summary: Create or update the Mattermost integration
      description: Creates or updates the Mattermost integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesMattermostRequest"
  "/api/v4/projects/{id}/services/teamcity":
    put:
      operationId: putApiV4ProjectsIdServicesTeamcity
      summary: Create or update the Teamcity integration
      description: Creates or updates the Teamcity integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesTeamcityRequest"
  "/api/v4/projects/{id}/services/telegram":
    put:
      operationId: putApiV4ProjectsIdServicesTelegram
      summary: Create or update the Telegram integration
      description: Creates or updates the Telegram integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesTelegramRequest"
  "/api/v4/projects/{id}/services/unify-circuit":
    put:
      operationId: putApiV4ProjectsIdServicesUnifyCircuit
      summary: Create or update the Unify Circuit integration
      description: Creates or updates the Unify Circuit integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesUnifyCircuitRequest"
  "/api/v4/projects/{id}/services/webex-teams":
    put:
      operationId: putApiV4ProjectsIdServicesWebexTeams
      summary: Create or update the Webex Teams integration
      description: Creates or updates the Webex Teams integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesWebexTeamsRequest"
  "/api/v4/projects/{id}/services/zentao":
    put:
      operationId: putApiV4ProjectsIdServicesZentao
      summary: Create or update the Zentao integration
      description: Creates or updates the Zentao integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesZentaoRequest"
  "/api/v4/projects/{id}/services/squash-tm":
    put:
      operationId: putApiV4ProjectsIdServicesSquashTm
      summary: Create or update the Squash Tm integration
      description: Creates or updates the Squash Tm integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesSquashTmRequest"
  "/api/v4/projects/{id}/services/github":
    put:
      operationId: putApiV4ProjectsIdServicesGithub
      summary: Create or update the Github integration
      description: Creates or updates the Github integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesGithubRequest"
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/services/git-guardian":
    put:
      operationId: putApiV4ProjectsIdServicesGitGuardian
      summary: Create or update the Git Guardian integration
      description: Creates or updates the Git Guardian integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesGitGuardianRequest"
  "/api/v4/projects/{id}/services/google-cloud-platform-artifact-registry":
    put:
      operationId: putApiV4ProjectsIdServicesGoogleCloudPlatformArtifactRegistry
      summary: Create or update the Google Cloud Platform Artifact Registry integration
      description: Creates or updates the Google Cloud Platform Artifact Registry
        integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesGoogleCloudPlatformArtifactRegistryRequest"
  "/api/v4/projects/{id}/services/google-cloud-platform-workload-identity-federation":
    put:
      operationId: putApiV4ProjectsIdServicesGoogleCloudPlatformWorkloadIdentityFederation
      summary: Create or update the Google Cloud Platform Workload Identity Federation
        integration
      description: Creates or updates the Google Cloud Platform Workload Identity
        Federation integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesGoogleCloudPlatformWorkloadIdentityFederationRequest"
  "/api/v4/projects/{id}/services/mock-ci":
    put:
      operationId: putApiV4ProjectsIdServicesMockCi
      summary: Create or update the Mock Ci integration
      description: Creates or updates the Mock Ci integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesMockCiRequest"
  "/api/v4/projects/{id}/services/mock-monitoring":
    put:
      operationId: putApiV4ProjectsIdServicesMockMonitoring
      summary: Create or update the Mock Monitoring integration
      description: Creates or updates the Mock Monitoring integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdServicesMockMonitoringRequest"
  "/api/v4/projects/{id}/services/{slug}":
    delete:
      operationId: deleteApiV4ProjectsIdServicesSlug
      summary: Disable an integration
      description: Disables a specified integration. Integration settings are preserved.
      tags:
      - Integrations
      responses:
        '204':
          description: No Content
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: slug
        required: true
        description: Name of the integration.
        schema:
          type: string
          enum:
          - apple-app-store
          - asana
          - assembla
          - bamboo
          - bugzilla
          - buildkite
          - campfire
          - confluence
          - custom-issue-tracker
          - datadog
          - diffblue-cover
          - discord
          - drone-ci
          - emails-on-push
          - external-wiki
          - gitlab-slack-application
          - google-play
          - hangouts-chat
          - harbor
          - irker
          - jenkins
          - jira
          - jira-cloud-app
          - linear
          - matrix
          - mattermost-slash-commands
          - packagist
          - phorge
          - pipelines-email
          - pivotaltracker
          - pumble
          - pushover
          - redmine
          - ewm
          - youtrack
          - clickup
          - slack
          - microsoft-teams
          - mattermost
          - teamcity
          - telegram
          - unify-circuit
          - webex-teams
          - zentao
          - squash-tm
          - github
          - git-guardian
          - google-cloud-platform-artifact-registry
          - google-cloud-platform-workload-identity-federation
          - mock-ci
          - mock-monitoring
          minLength: 1
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
    get:
      operationId: getApiV4ProjectsIdServicesSlug
      summary: Retrieve integration settings
      description: Retrieves the settings for a specified integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegration"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: slug
        required: true
        description: Name of the integration.
        schema:
          type: string
          enum:
          - apple-app-store
          - asana
          - assembla
          - bamboo
          - bugzilla
          - buildkite
          - campfire
          - confluence
          - custom-issue-tracker
          - datadog
          - diffblue-cover
          - discord
          - drone-ci
          - emails-on-push
          - external-wiki
          - gitlab-slack-application
          - google-play
          - hangouts-chat
          - harbor
          - irker
          - jenkins
          - jira
          - jira-cloud-app
          - linear
          - matrix
          - mattermost-slash-commands
          - packagist
          - phorge
          - pipelines-email
          - pivotaltracker
          - pumble
          - pushover
          - redmine
          - ewm
          - youtrack
          - clickup
          - slack
          - microsoft-teams
          - mattermost
          - teamcity
          - telegram
          - unify-circuit
          - webex-teams
          - zentao
          - squash-tm
          - github
          - git-guardian
          - google-cloud-platform-artifact-registry
          - google-cloud-platform-workload-identity-federation
          - mock-ci
          - mock-monitoring
          minLength: 1
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/services/mattermost_slash_commands/trigger":
    post:
      operationId: postApiV4ProjectsIdServicesMattermostSlashCommandsTrigger
      summary: Trigger a slash command for mattermost-slash-commands
      description: Triggers a slash command for mattermost-slash-commands.
      tags:
      - Integrations
      responses:
        '201':
          description: Created
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdServicesMattermostSlashCommandsTriggerRequest"
  "/api/v4/projects/{id}/integrations":
    get:
      operationId: getApiV4ProjectsIdIntegrations
      summary: List all active integrations
      description: Lists all active integrations.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/integrations/apple-app-store":
    put:
      operationId: putApiV4ProjectsIdIntegrationsAppleAppStore
      summary: Create or update the Apple App Store integration
      description: Creates or updates the Apple App Store integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsAppleAppStoreRequest"
  "/api/v4/projects/{id}/integrations/asana":
    put:
      operationId: putApiV4ProjectsIdIntegrationsAsana
      summary: Create or update the Asana integration
      description: Creates or updates the Asana integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsAsanaRequest"
  "/api/v4/projects/{id}/integrations/assembla":
    put:
      operationId: putApiV4ProjectsIdIntegrationsAssembla
      summary: Create or update the Assembla integration
      description: Creates or updates the Assembla integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsAssemblaRequest"
  "/api/v4/projects/{id}/integrations/bamboo":
    put:
      operationId: putApiV4ProjectsIdIntegrationsBamboo
      summary: Create or update the Bamboo integration
      description: Creates or updates the Bamboo integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsBambooRequest"
  "/api/v4/projects/{id}/integrations/bugzilla":
    put:
      operationId: putApiV4ProjectsIdIntegrationsBugzilla
      summary: Create or update the Bugzilla integration
      description: Creates or updates the Bugzilla integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsBugzillaRequest"
  "/api/v4/projects/{id}/integrations/buildkite":
    put:
      operationId: putApiV4ProjectsIdIntegrationsBuildkite
      summary: Create or update the Buildkite integration
      description: Creates or updates the Buildkite integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsBuildkiteRequest"
  "/api/v4/projects/{id}/integrations/campfire":
    put:
      operationId: putApiV4ProjectsIdIntegrationsCampfire
      summary: Create or update the Campfire integration
      description: Creates or updates the Campfire integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsCampfireRequest"
  "/api/v4/projects/{id}/integrations/confluence":
    put:
      operationId: putApiV4ProjectsIdIntegrationsConfluence
      summary: Create or update the Confluence integration
      description: Creates or updates the Confluence integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsConfluenceRequest"
  "/api/v4/projects/{id}/integrations/custom-issue-tracker":
    put:
      operationId: putApiV4ProjectsIdIntegrationsCustomIssueTracker
      summary: Create or update the Custom Issue Tracker integration
      description: Creates or updates the Custom Issue Tracker integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsCustomIssueTrackerRequest"
  "/api/v4/projects/{id}/integrations/datadog":
    put:
      operationId: putApiV4ProjectsIdIntegrationsDatadog
      summary: Create or update the Datadog integration
      description: Creates or updates the Datadog integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsDatadogRequest"
  "/api/v4/projects/{id}/integrations/diffblue-cover":
    put:
      operationId: putApiV4ProjectsIdIntegrationsDiffblueCover
      summary: Create or update the Diffblue Cover integration
      description: Creates or updates the Diffblue Cover integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsDiffblueCoverRequest"
  "/api/v4/projects/{id}/integrations/discord":
    put:
      operationId: putApiV4ProjectsIdIntegrationsDiscord
      summary: Create or update the Discord integration
      description: Creates or updates the Discord integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsDiscordRequest"
  "/api/v4/projects/{id}/integrations/drone-ci":
    put:
      operationId: putApiV4ProjectsIdIntegrationsDroneCi
      summary: Create or update the Drone Ci integration
      description: Creates or updates the Drone Ci integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsDroneCiRequest"
  "/api/v4/projects/{id}/integrations/emails-on-push":
    put:
      operationId: putApiV4ProjectsIdIntegrationsEmailsOnPush
      summary: Create or update the Emails On Push integration
      description: Creates or updates the Emails On Push integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsEmailsOnPushRequest"
  "/api/v4/projects/{id}/integrations/external-wiki":
    put:
      operationId: putApiV4ProjectsIdIntegrationsExternalWiki
      summary: Create or update the External Wiki integration
      description: Creates or updates the External Wiki integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsExternalWikiRequest"
  "/api/v4/projects/{id}/integrations/gitlab-slack-application":
    put:
      operationId: putApiV4ProjectsIdIntegrationsGitlabSlackApplication
      summary: Create or update the Gitlab Slack Application integration
      description: Creates or updates the Gitlab Slack Application integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsGitlabSlackApplicationRequest"
  "/api/v4/projects/{id}/integrations/google-play":
    put:
      operationId: putApiV4ProjectsIdIntegrationsGooglePlay
      summary: Create or update the Google Play integration
      description: Creates or updates the Google Play integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsGooglePlayRequest"
  "/api/v4/projects/{id}/integrations/hangouts-chat":
    put:
      operationId: putApiV4ProjectsIdIntegrationsHangoutsChat
      summary: Create or update the Hangouts Chat integration
      description: Creates or updates the Hangouts Chat integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsHangoutsChatRequest"
  "/api/v4/projects/{id}/integrations/harbor":
    put:
      operationId: putApiV4ProjectsIdIntegrationsHarbor
      summary: Create or update the Harbor integration
      description: Creates or updates the Harbor integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsHarborRequest"
  "/api/v4/projects/{id}/integrations/irker":
    put:
      operationId: putApiV4ProjectsIdIntegrationsIrker
      summary: Create or update the Irker integration
      description: Creates or updates the Irker integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsIrkerRequest"
  "/api/v4/projects/{id}/integrations/jenkins":
    put:
      operationId: putApiV4ProjectsIdIntegrationsJenkins
      summary: Create or update the Jenkins integration
      description: Creates or updates the Jenkins integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsJenkinsRequest"
  "/api/v4/projects/{id}/integrations/jira":
    put:
      operationId: putApiV4ProjectsIdIntegrationsJira
      summary: Create or update the Jira integration
      description: Creates or updates the Jira integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsJiraRequest"
  "/api/v4/projects/{id}/integrations/jira-cloud-app":
    put:
      operationId: putApiV4ProjectsIdIntegrationsJiraCloudApp
      summary: Create or update the Jira Cloud App integration
      description: Creates or updates the Jira Cloud App integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsJiraCloudAppRequest"
  "/api/v4/projects/{id}/integrations/linear":
    put:
      operationId: putApiV4ProjectsIdIntegrationsLinear
      summary: Create or update the Linear integration
      description: Creates or updates the Linear integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsLinearRequest"
  "/api/v4/projects/{id}/integrations/matrix":
    put:
      operationId: putApiV4ProjectsIdIntegrationsMatrix
      summary: Create or update the Matrix integration
      description: Creates or updates the Matrix integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsMatrixRequest"
  "/api/v4/projects/{id}/integrations/mattermost-slash-commands":
    put:
      operationId: putApiV4ProjectsIdIntegrationsMattermostSlashCommands
      summary: Create or update the Mattermost Slash Commands integration
      description: Creates or updates the Mattermost Slash Commands integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsMattermostSlashCommandsRequest"
  "/api/v4/projects/{id}/integrations/packagist":
    put:
      operationId: putApiV4ProjectsIdIntegrationsPackagist
      summary: Create or update the Packagist integration
      description: Creates or updates the Packagist integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsPackagistRequest"
  "/api/v4/projects/{id}/integrations/phorge":
    put:
      operationId: putApiV4ProjectsIdIntegrationsPhorge
      summary: Create or update the Phorge integration
      description: Creates or updates the Phorge integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsPhorgeRequest"
  "/api/v4/projects/{id}/integrations/pipelines-email":
    put:
      operationId: putApiV4ProjectsIdIntegrationsPipelinesEmail
      summary: Create or update the Pipelines Email integration
      description: Creates or updates the Pipelines Email integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsPipelinesEmailRequest"
  "/api/v4/projects/{id}/integrations/pivotaltracker":
    put:
      operationId: putApiV4ProjectsIdIntegrationsPivotaltracker
      summary: Create or update the Pivotaltracker integration
      description: Creates or updates the Pivotaltracker integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsPivotaltrackerRequest"
  "/api/v4/projects/{id}/integrations/pumble":
    put:
      operationId: putApiV4ProjectsIdIntegrationsPumble
      summary: Create or update the Pumble integration
      description: Creates or updates the Pumble integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsPumbleRequest"
  "/api/v4/projects/{id}/integrations/pushover":
    put:
      operationId: putApiV4ProjectsIdIntegrationsPushover
      summary: Create or update the Pushover integration
      description: Creates or updates the Pushover integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsPushoverRequest"
  "/api/v4/projects/{id}/integrations/redmine":
    put:
      operationId: putApiV4ProjectsIdIntegrationsRedmine
      summary: Create or update the Redmine integration
      description: Creates or updates the Redmine integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsRedmineRequest"
  "/api/v4/projects/{id}/integrations/ewm":
    put:
      operationId: putApiV4ProjectsIdIntegrationsEwm
      summary: Create or update the Ewm integration
      description: Creates or updates the Ewm integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsEwmRequest"
  "/api/v4/projects/{id}/integrations/youtrack":
    put:
      operationId: putApiV4ProjectsIdIntegrationsYoutrack
      summary: Create or update the Youtrack integration
      description: Creates or updates the Youtrack integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsYoutrackRequest"
  "/api/v4/projects/{id}/integrations/clickup":
    put:
      operationId: putApiV4ProjectsIdIntegrationsClickup
      summary: Create or update the Clickup integration
      description: Creates or updates the Clickup integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsClickupRequest"
  "/api/v4/projects/{id}/integrations/slack":
    put:
      operationId: putApiV4ProjectsIdIntegrationsSlack
      summary: Create or update the Slack integration
      description: Creates or updates the Slack integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsSlackRequest"
  "/api/v4/projects/{id}/integrations/microsoft-teams":
    put:
      operationId: putApiV4ProjectsIdIntegrationsMicrosoftTeams
      summary: Create or update the Microsoft Teams integration
      description: Creates or updates the Microsoft Teams integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsMicrosoftTeamsRequest"
  "/api/v4/projects/{id}/integrations/mattermost":
    put:
      operationId: putApiV4ProjectsIdIntegrationsMattermost
      summary: Create or update the Mattermost integration
      description: Creates or updates the Mattermost integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsMattermostRequest"
  "/api/v4/projects/{id}/integrations/teamcity":
    put:
      operationId: putApiV4ProjectsIdIntegrationsTeamcity
      summary: Create or update the Teamcity integration
      description: Creates or updates the Teamcity integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsTeamcityRequest"
  "/api/v4/projects/{id}/integrations/telegram":
    put:
      operationId: putApiV4ProjectsIdIntegrationsTelegram
      summary: Create or update the Telegram integration
      description: Creates or updates the Telegram integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsTelegramRequest"
  "/api/v4/projects/{id}/integrations/unify-circuit":
    put:
      operationId: putApiV4ProjectsIdIntegrationsUnifyCircuit
      summary: Create or update the Unify Circuit integration
      description: Creates or updates the Unify Circuit integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsUnifyCircuitRequest"
  "/api/v4/projects/{id}/integrations/webex-teams":
    put:
      operationId: putApiV4ProjectsIdIntegrationsWebexTeams
      summary: Create or update the Webex Teams integration
      description: Creates or updates the Webex Teams integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsWebexTeamsRequest"
  "/api/v4/projects/{id}/integrations/zentao":
    put:
      operationId: putApiV4ProjectsIdIntegrationsZentao
      summary: Create or update the Zentao integration
      description: Creates or updates the Zentao integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsZentaoRequest"
  "/api/v4/projects/{id}/integrations/squash-tm":
    put:
      operationId: putApiV4ProjectsIdIntegrationsSquashTm
      summary: Create or update the Squash Tm integration
      description: Creates or updates the Squash Tm integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsSquashTmRequest"
  "/api/v4/projects/{id}/integrations/github":
    put:
      operationId: putApiV4ProjectsIdIntegrationsGithub
      summary: Create or update the Github integration
      description: Creates or updates the Github integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsGithubRequest"
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/integrations/git-guardian":
    put:
      operationId: putApiV4ProjectsIdIntegrationsGitGuardian
      summary: Create or update the Git Guardian integration
      description: Creates or updates the Git Guardian integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsGitGuardianRequest"
  "/api/v4/projects/{id}/integrations/google-cloud-platform-artifact-registry":
    put:
      operationId: putApiV4ProjectsIdIntegrationsGoogleCloudPlatformArtifactRegistry
      summary: Create or update the Google Cloud Platform Artifact Registry integration
      description: Creates or updates the Google Cloud Platform Artifact Registry
        integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsGoogleCloudPlatformArtifactRegistryRequest"
  "/api/v4/projects/{id}/integrations/google-cloud-platform-workload-identity-federation":
    put:
      operationId: putApiV4ProjectsIdIntegrationsGoogleCloudPlatformWorkloadIdentityFederation
      summary: Create or update the Google Cloud Platform Workload Identity Federation
        integration
      description: Creates or updates the Google Cloud Platform Workload Identity
        Federation integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsGoogleCloudPlatformWorkloadIdentityFederationRequest"
  "/api/v4/projects/{id}/integrations/mock-ci":
    put:
      operationId: putApiV4ProjectsIdIntegrationsMockCi
      summary: Create or update the Mock Ci integration
      description: Creates or updates the Mock Ci integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsMockCiRequest"
  "/api/v4/projects/{id}/integrations/mock-monitoring":
    put:
      operationId: putApiV4ProjectsIdIntegrationsMockMonitoring
      summary: Create or update the Mock Monitoring integration
      description: Creates or updates the Mock Monitoring integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdIntegrationsMockMonitoringRequest"
  "/api/v4/projects/{id}/integrations/{slug}":
    delete:
      operationId: deleteApiV4ProjectsIdIntegrationsSlug
      summary: Disable an integration
      description: Disables a specified integration. Integration settings are preserved.
      tags:
      - Integrations
      responses:
        '204':
          description: No Content
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: slug
        required: true
        description: Name of the integration.
        schema:
          type: string
          enum:
          - apple-app-store
          - asana
          - assembla
          - bamboo
          - bugzilla
          - buildkite
          - campfire
          - confluence
          - custom-issue-tracker
          - datadog
          - diffblue-cover
          - discord
          - drone-ci
          - emails-on-push
          - external-wiki
          - gitlab-slack-application
          - google-play
          - hangouts-chat
          - harbor
          - irker
          - jenkins
          - jira
          - jira-cloud-app
          - linear
          - matrix
          - mattermost-slash-commands
          - packagist
          - phorge
          - pipelines-email
          - pivotaltracker
          - pumble
          - pushover
          - redmine
          - ewm
          - youtrack
          - clickup
          - slack
          - microsoft-teams
          - mattermost
          - teamcity
          - telegram
          - unify-circuit
          - webex-teams
          - zentao
          - squash-tm
          - github
          - git-guardian
          - google-cloud-platform-artifact-registry
          - google-cloud-platform-workload-identity-federation
          - mock-ci
          - mock-monitoring
          minLength: 1
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
    get:
      operationId: getApiV4ProjectsIdIntegrationsSlug
      summary: Retrieve integration settings
      description: Retrieves the settings for a specified integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegration"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: slug
        required: true
        description: Name of the integration.
        schema:
          type: string
          enum:
          - apple-app-store
          - asana
          - assembla
          - bamboo
          - bugzilla
          - buildkite
          - campfire
          - confluence
          - custom-issue-tracker
          - datadog
          - diffblue-cover
          - discord
          - drone-ci
          - emails-on-push
          - external-wiki
          - gitlab-slack-application
          - google-play
          - hangouts-chat
          - harbor
          - irker
          - jenkins
          - jira
          - jira-cloud-app
          - linear
          - matrix
          - mattermost-slash-commands
          - packagist
          - phorge
          - pipelines-email
          - pivotaltracker
          - pumble
          - pushover
          - redmine
          - ewm
          - youtrack
          - clickup
          - slack
          - microsoft-teams
          - mattermost
          - teamcity
          - telegram
          - unify-circuit
          - webex-teams
          - zentao
          - squash-tm
          - github
          - git-guardian
          - google-cloud-platform-artifact-registry
          - google-cloud-platform-workload-identity-federation
          - mock-ci
          - mock-monitoring
          minLength: 1
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/integrations/mattermost_slash_commands/trigger":
    post:
      operationId: postApiV4ProjectsIdIntegrationsMattermostSlashCommandsTrigger
      summary: Trigger a slash command for mattermost-slash-commands
      description: Triggers a slash command for mattermost-slash-commands.
      tags:
      - Integrations
      responses:
        '201':
          description: Created
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdIntegrationsMattermostSlashCommandsTriggerRequest"
  "/api/v4/groups/{id}/integrations":
    get:
      operationId: getApiV4GroupsIdIntegrations
      summary: List all active integrations
      description: Lists all active integrations.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/groups/{id}/integrations/apple-app-store":
    put:
      operationId: putApiV4GroupsIdIntegrationsAppleAppStore
      summary: Create or update the Apple App Store integration
      description: Creates or updates the Apple App Store integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsAppleAppStoreRequest"
  "/api/v4/groups/{id}/integrations/asana":
    put:
      operationId: putApiV4GroupsIdIntegrationsAsana
      summary: Create or update the Asana integration
      description: Creates or updates the Asana integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsAsanaRequest"
  "/api/v4/groups/{id}/integrations/assembla":
    put:
      operationId: putApiV4GroupsIdIntegrationsAssembla
      summary: Create or update the Assembla integration
      description: Creates or updates the Assembla integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsAssemblaRequest"
  "/api/v4/groups/{id}/integrations/bamboo":
    put:
      operationId: putApiV4GroupsIdIntegrationsBamboo
      summary: Create or update the Bamboo integration
      description: Creates or updates the Bamboo integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsBambooRequest"
  "/api/v4/groups/{id}/integrations/bugzilla":
    put:
      operationId: putApiV4GroupsIdIntegrationsBugzilla
      summary: Create or update the Bugzilla integration
      description: Creates or updates the Bugzilla integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsBugzillaRequest"
  "/api/v4/groups/{id}/integrations/buildkite":
    put:
      operationId: putApiV4GroupsIdIntegrationsBuildkite
      summary: Create or update the Buildkite integration
      description: Creates or updates the Buildkite integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsBuildkiteRequest"
  "/api/v4/groups/{id}/integrations/campfire":
    put:
      operationId: putApiV4GroupsIdIntegrationsCampfire
      summary: Create or update the Campfire integration
      description: Creates or updates the Campfire integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsCampfireRequest"
  "/api/v4/groups/{id}/integrations/confluence":
    put:
      operationId: putApiV4GroupsIdIntegrationsConfluence
      summary: Create or update the Confluence integration
      description: Creates or updates the Confluence integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsConfluenceRequest"
  "/api/v4/groups/{id}/integrations/custom-issue-tracker":
    put:
      operationId: putApiV4GroupsIdIntegrationsCustomIssueTracker
      summary: Create or update the Custom Issue Tracker integration
      description: Creates or updates the Custom Issue Tracker integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsCustomIssueTrackerRequest"
  "/api/v4/groups/{id}/integrations/datadog":
    put:
      operationId: putApiV4GroupsIdIntegrationsDatadog
      summary: Create or update the Datadog integration
      description: Creates or updates the Datadog integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsDatadogRequest"
  "/api/v4/groups/{id}/integrations/diffblue-cover":
    put:
      operationId: putApiV4GroupsIdIntegrationsDiffblueCover
      summary: Create or update the Diffblue Cover integration
      description: Creates or updates the Diffblue Cover integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsDiffblueCoverRequest"
  "/api/v4/groups/{id}/integrations/discord":
    put:
      operationId: putApiV4GroupsIdIntegrationsDiscord
      summary: Create or update the Discord integration
      description: Creates or updates the Discord integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsDiscordRequest"
  "/api/v4/groups/{id}/integrations/drone-ci":
    put:
      operationId: putApiV4GroupsIdIntegrationsDroneCi
      summary: Create or update the Drone Ci integration
      description: Creates or updates the Drone Ci integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsDroneCiRequest"
  "/api/v4/groups/{id}/integrations/emails-on-push":
    put:
      operationId: putApiV4GroupsIdIntegrationsEmailsOnPush
      summary: Create or update the Emails On Push integration
      description: Creates or updates the Emails On Push integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsEmailsOnPushRequest"
  "/api/v4/groups/{id}/integrations/external-wiki":
    put:
      operationId: putApiV4GroupsIdIntegrationsExternalWiki
      summary: Create or update the External Wiki integration
      description: Creates or updates the External Wiki integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsExternalWikiRequest"
  "/api/v4/groups/{id}/integrations/gitlab-slack-application":
    put:
      operationId: putApiV4GroupsIdIntegrationsGitlabSlackApplication
      summary: Create or update the Gitlab Slack Application integration
      description: Creates or updates the Gitlab Slack Application integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsGitlabSlackApplicationRequest"
  "/api/v4/groups/{id}/integrations/google-play":
    put:
      operationId: putApiV4GroupsIdIntegrationsGooglePlay
      summary: Create or update the Google Play integration
      description: Creates or updates the Google Play integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsGooglePlayRequest"
  "/api/v4/groups/{id}/integrations/hangouts-chat":
    put:
      operationId: putApiV4GroupsIdIntegrationsHangoutsChat
      summary: Create or update the Hangouts Chat integration
      description: Creates or updates the Hangouts Chat integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsHangoutsChatRequest"
  "/api/v4/groups/{id}/integrations/harbor":
    put:
      operationId: putApiV4GroupsIdIntegrationsHarbor
      summary: Create or update the Harbor integration
      description: Creates or updates the Harbor integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsHarborRequest"
  "/api/v4/groups/{id}/integrations/irker":
    put:
      operationId: putApiV4GroupsIdIntegrationsIrker
      summary: Create or update the Irker integration
      description: Creates or updates the Irker integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsIrkerRequest"
  "/api/v4/groups/{id}/integrations/jenkins":
    put:
      operationId: putApiV4GroupsIdIntegrationsJenkins
      summary: Create or update the Jenkins integration
      description: Creates or updates the Jenkins integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsJenkinsRequest"
  "/api/v4/groups/{id}/integrations/jira":
    put:
      operationId: putApiV4GroupsIdIntegrationsJira
      summary: Create or update the Jira integration
      description: Creates or updates the Jira integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsJiraRequest"
  "/api/v4/groups/{id}/integrations/jira-cloud-app":
    put:
      operationId: putApiV4GroupsIdIntegrationsJiraCloudApp
      summary: Create or update the Jira Cloud App integration
      description: Creates or updates the Jira Cloud App integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsJiraCloudAppRequest"
  "/api/v4/groups/{id}/integrations/linear":
    put:
      operationId: putApiV4GroupsIdIntegrationsLinear
      summary: Create or update the Linear integration
      description: Creates or updates the Linear integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsLinearRequest"
  "/api/v4/groups/{id}/integrations/matrix":
    put:
      operationId: putApiV4GroupsIdIntegrationsMatrix
      summary: Create or update the Matrix integration
      description: Creates or updates the Matrix integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsMatrixRequest"
  "/api/v4/groups/{id}/integrations/mattermost-slash-commands":
    put:
      operationId: putApiV4GroupsIdIntegrationsMattermostSlashCommands
      summary: Create or update the Mattermost Slash Commands integration
      description: Creates or updates the Mattermost Slash Commands integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsMattermostSlashCommandsRequest"
  "/api/v4/groups/{id}/integrations/packagist":
    put:
      operationId: putApiV4GroupsIdIntegrationsPackagist
      summary: Create or update the Packagist integration
      description: Creates or updates the Packagist integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsPackagistRequest"
  "/api/v4/groups/{id}/integrations/phorge":
    put:
      operationId: putApiV4GroupsIdIntegrationsPhorge
      summary: Create or update the Phorge integration
      description: Creates or updates the Phorge integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsPhorgeRequest"
  "/api/v4/groups/{id}/integrations/pipelines-email":
    put:
      operationId: putApiV4GroupsIdIntegrationsPipelinesEmail
      summary: Create or update the Pipelines Email integration
      description: Creates or updates the Pipelines Email integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsPipelinesEmailRequest"
  "/api/v4/groups/{id}/integrations/pivotaltracker":
    put:
      operationId: putApiV4GroupsIdIntegrationsPivotaltracker
      summary: Create or update the Pivotaltracker integration
      description: Creates or updates the Pivotaltracker integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsPivotaltrackerRequest"
  "/api/v4/groups/{id}/integrations/pumble":
    put:
      operationId: putApiV4GroupsIdIntegrationsPumble
      summary: Create or update the Pumble integration
      description: Creates or updates the Pumble integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsPumbleRequest"
  "/api/v4/groups/{id}/integrations/pushover":
    put:
      operationId: putApiV4GroupsIdIntegrationsPushover
      summary: Create or update the Pushover integration
      description: Creates or updates the Pushover integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsPushoverRequest"
  "/api/v4/groups/{id}/integrations/redmine":
    put:
      operationId: putApiV4GroupsIdIntegrationsRedmine
      summary: Create or update the Redmine integration
      description: Creates or updates the Redmine integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsRedmineRequest"
  "/api/v4/groups/{id}/integrations/ewm":
    put:
      operationId: putApiV4GroupsIdIntegrationsEwm
      summary: Create or update the Ewm integration
      description: Creates or updates the Ewm integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsEwmRequest"
  "/api/v4/groups/{id}/integrations/youtrack":
    put:
      operationId: putApiV4GroupsIdIntegrationsYoutrack
      summary: Create or update the Youtrack integration
      description: Creates or updates the Youtrack integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsYoutrackRequest"
  "/api/v4/groups/{id}/integrations/clickup":
    put:
      operationId: putApiV4GroupsIdIntegrationsClickup
      summary: Create or update the Clickup integration
      description: Creates or updates the Clickup integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsClickupRequest"
  "/api/v4/groups/{id}/integrations/slack":
    put:
      operationId: putApiV4GroupsIdIntegrationsSlack
      summary: Create or update the Slack integration
      description: Creates or updates the Slack integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsSlackRequest"
  "/api/v4/groups/{id}/integrations/microsoft-teams":
    put:
      operationId: putApiV4GroupsIdIntegrationsMicrosoftTeams
      summary: Create or update the Microsoft Teams integration
      description: Creates or updates the Microsoft Teams integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsMicrosoftTeamsRequest"
  "/api/v4/groups/{id}/integrations/mattermost":
    put:
      operationId: putApiV4GroupsIdIntegrationsMattermost
      summary: Create or update the Mattermost integration
      description: Creates or updates the Mattermost integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsMattermostRequest"
  "/api/v4/groups/{id}/integrations/teamcity":
    put:
      operationId: putApiV4GroupsIdIntegrationsTeamcity
      summary: Create or update the Teamcity integration
      description: Creates or updates the Teamcity integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsTeamcityRequest"
  "/api/v4/groups/{id}/integrations/telegram":
    put:
      operationId: putApiV4GroupsIdIntegrationsTelegram
      summary: Create or update the Telegram integration
      description: Creates or updates the Telegram integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsTelegramRequest"
  "/api/v4/groups/{id}/integrations/unify-circuit":
    put:
      operationId: putApiV4GroupsIdIntegrationsUnifyCircuit
      summary: Create or update the Unify Circuit integration
      description: Creates or updates the Unify Circuit integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsUnifyCircuitRequest"
  "/api/v4/groups/{id}/integrations/webex-teams":
    put:
      operationId: putApiV4GroupsIdIntegrationsWebexTeams
      summary: Create or update the Webex Teams integration
      description: Creates or updates the Webex Teams integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsWebexTeamsRequest"
  "/api/v4/groups/{id}/integrations/zentao":
    put:
      operationId: putApiV4GroupsIdIntegrationsZentao
      summary: Create or update the Zentao integration
      description: Creates or updates the Zentao integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsZentaoRequest"
  "/api/v4/groups/{id}/integrations/squash-tm":
    put:
      operationId: putApiV4GroupsIdIntegrationsSquashTm
      summary: Create or update the Squash Tm integration
      description: Creates or updates the Squash Tm integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsSquashTmRequest"
  "/api/v4/groups/{id}/integrations/github":
    put:
      operationId: putApiV4GroupsIdIntegrationsGithub
      summary: Create or update the Github integration
      description: Creates or updates the Github integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsGithubRequest"
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/integrations/git-guardian":
    put:
      operationId: putApiV4GroupsIdIntegrationsGitGuardian
      summary: Create or update the Git Guardian integration
      description: Creates or updates the Git Guardian integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsGitGuardianRequest"
  "/api/v4/groups/{id}/integrations/google-cloud-platform-artifact-registry":
    put:
      operationId: putApiV4GroupsIdIntegrationsGoogleCloudPlatformArtifactRegistry
      summary: Create or update the Google Cloud Platform Artifact Registry integration
      description: Creates or updates the Google Cloud Platform Artifact Registry
        integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsGoogleCloudPlatformArtifactRegistryRequest"
  "/api/v4/groups/{id}/integrations/google-cloud-platform-workload-identity-federation":
    put:
      operationId: putApiV4GroupsIdIntegrationsGoogleCloudPlatformWorkloadIdentityFederation
      summary: Create or update the Google Cloud Platform Workload Identity Federation
        integration
      description: Creates or updates the Google Cloud Platform Workload Identity
        Federation integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsGoogleCloudPlatformWorkloadIdentityFederationRequest"
  "/api/v4/groups/{id}/integrations/mock-ci":
    put:
      operationId: putApiV4GroupsIdIntegrationsMockCi
      summary: Create or update the Mock Ci integration
      description: Creates or updates the Mock Ci integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsMockCiRequest"
  "/api/v4/groups/{id}/integrations/mock-monitoring":
    put:
      operationId: putApiV4GroupsIdIntegrationsMockMonitoring
      summary: Create or update the Mock Monitoring integration
      description: Creates or updates the Mock Monitoring integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegrationBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdIntegrationsMockMonitoringRequest"
  "/api/v4/groups/{id}/integrations/{slug}":
    delete:
      operationId: deleteApiV4GroupsIdIntegrationsSlug
      summary: Disable an integration
      description: Disables a specified integration. Integration settings are preserved.
      tags:
      - Integrations
      responses:
        '204':
          description: No Content
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: slug
        required: true
        description: Name of the integration.
        schema:
          type: string
          enum:
          - apple-app-store
          - asana
          - assembla
          - bamboo
          - bugzilla
          - buildkite
          - campfire
          - confluence
          - custom-issue-tracker
          - datadog
          - diffblue-cover
          - discord
          - drone-ci
          - emails-on-push
          - external-wiki
          - gitlab-slack-application
          - google-play
          - hangouts-chat
          - harbor
          - irker
          - jenkins
          - jira
          - jira-cloud-app
          - linear
          - matrix
          - mattermost-slash-commands
          - packagist
          - phorge
          - pipelines-email
          - pivotaltracker
          - pumble
          - pushover
          - redmine
          - ewm
          - youtrack
          - clickup
          - slack
          - microsoft-teams
          - mattermost
          - teamcity
          - telegram
          - unify-circuit
          - webex-teams
          - zentao
          - squash-tm
          - github
          - git-guardian
          - google-cloud-platform-artifact-registry
          - google-cloud-platform-workload-identity-federation
          - mock-ci
          - mock-monitoring
          minLength: 1
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
    get:
      operationId: getApiV4GroupsIdIntegrationsSlug
      summary: Retrieve integration settings
      description: Retrieves the settings for a specified integration.
      tags:
      - Integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesIntegration"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: slug
        required: true
        description: Name of the integration.
        schema:
          type: string
          enum:
          - apple-app-store
          - asana
          - assembla
          - bamboo
          - bugzilla
          - buildkite
          - campfire
          - confluence
          - custom-issue-tracker
          - datadog
          - diffblue-cover
          - discord
          - drone-ci
          - emails-on-push
          - external-wiki
          - gitlab-slack-application
          - google-play
          - hangouts-chat
          - harbor
          - irker
          - jenkins
          - jira
          - jira-cloud-app
          - linear
          - matrix
          - mattermost-slash-commands
          - packagist
          - phorge
          - pipelines-email
          - pivotaltracker
          - pumble
          - pushover
          - redmine
          - ewm
          - youtrack
          - clickup
          - slack
          - microsoft-teams
          - mattermost
          - teamcity
          - telegram
          - unify-circuit
          - webex-teams
          - zentao
          - squash-tm
          - github
          - git-guardian
          - google-cloud-platform-artifact-registry
          - google-cloud-platform-workload-identity-federation
          - mock-ci
          - mock-monitoring
          minLength: 1
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/slack/trigger":
    post:
      operationId: postApiV4SlackTrigger
      summary: Trigger a global slack command
      description: Triggers a global slack command.
      tags:
      - Integrations
      responses:
        '201':
          description: Created
        '401':
          description: Unauthorized
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4SlackTriggerRequest"
  "/api/v4/projects/{id}/github/webhooks":
    post:
      operationId: postApiV4ProjectsIdGithubWebhooks
      summary: Receive a GitHub webhook delivery for an OAuth-connected repository
      description: Verifies the webhook signature and, once available, triggers repository
        reconciliation.
      tags:
      - Project import
      responses:
        '200':
          description: OK
        '400':
          description: Bad request
        '404':
          description: Not found
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: The ID of the project
        schema:
          type: integer
        in: path
  "/api/v4/import/github":
    post:
      operationId: postApiV4ImportGithub
      summary: Import a repository from GitHub
      description: Imports a repository from GitHub to GitLab. This endpoint shares
        a rate limit with starting imports from the UI and with file-based project
        imports. By default, the limit is six requests per minute for each user. An
        administrator can change this limit in the application settings. The namespace
        set in `target_namespace` must exist, and must be your user namespace or a
        group you have the Maintainer or Owner role for. The `optional_stages` hash
        accepts the keys `attachments_import`, to import Markdown attachments, `collaborators_import`,
        to import direct repository collaborators who are not outside collaborators,
        and `continuous_sync`, to keep the project updated from GitHub after the import.
        `continuous_sync` is only available for github.com. A private GitHub repository
        is imported as a private project. A public GitHub repository takes the visibility
        of the target namespace. If that visibility level is restricted, the project
        uses the default project visibility instead.
      tags:
      - Project import
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ProjectEntity"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '422':
          description: Unprocessable entity
        '429':
          description: Too many requests
        '503':
          description: Service unavailable
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ImportGithubRequest"
  "/api/v4/import/github/cancel":
    post:
      operationId: postApiV4ImportGithubCancel
      summary: Cancel a GitHub project import
      description: Cancels an in-progress import of a GitHub project to GitLab.
      tags:
      - Project import
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ProjectImportEntity"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '503':
          description: Service unavailable
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ImportGithubCancelRequest"
  "/api/v4/import/github/gists":
    post:
      operationId: postApiV4ImportGithubGists
      summary: Import GitHub gists into GitLab snippets
      description: Imports personal GitHub gists into GitLab snippets. You can import
        gists with up to 10 files. GitHub gists with more than 10 files are skipped.
        You should manually migrate these GitHub gists. If any gists cannot be imported,
        an email is sent with a list of gists that were not imported. This endpoint
        has a rate limit of six requests per minute for each user. An administrator
        can change this limit in the application settings.
      tags:
      - Imports
      responses:
        '202':
          description: Accepted
        '401':
          description: Unauthorized
        '422':
          description: Unprocessable Entity
        '429':
          description: Too Many Requests
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ImportGithubGistsRequest"
  "/api/v4/projects/{id}/import/github/sync/restore":
    post:
      operationId: postApiV4ProjectsIdImportGithubSyncRestore
      summary: Restore GitHub updates with a new personal access token
      description: Reconnects a project that was imported from GitHub with a personal
        access token and with continuous sync, after GitHub updates were disconnected
        because the token was revoked or expired. The new token replaces the stored
        one. It must be able to read the GitHub repository the project was imported
        from. If the token cannot manage repository webhooks, GitHub updates are restored
        without a webhook and the response has a `warning`. Changes are then checked
        on a schedule. This endpoint shares a rate limit with starting imports. Requires
        the Maintainer role for the project.
      tags:
      - Project import
      responses:
        '200':
          description: OK
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Conflict
        '422':
          description: Unprocessable entity
        '429':
          description: Too many requests
        '503':
          description: Service unavailable
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdImportGithubSyncRestoreRequest"
      x-gitlab-tier: premium
  "/api/v4/import/bitbucket_server":
    post:
      operationId: postApiV4ImportBitbucketServer
      summary: Import repository from Bitbucket Server
      description: Imports a repository from Bitbucket Server to GitLab. The Bitbucket
        Project Key is only used for finding the repository in Bitbucket. You must
        specify a `new_namespace` if you want to import the repository to a GitLab
        group. If you do not specify `new_namespace`, the project imports to your
        personal user namespace. This endpoint shares a rate limit with starting imports
        from the UI and with file-based project imports. By default, the limit is
        six requests per minute for each user. An administrator can change this limit
        in the application settings.
      tags:
      - Project import
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ProjectEntity"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '422':
          description: Unprocessable entity
        '429':
          description: Too many requests
        '503':
          description: Service unavailable
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ImportBitbucketServerRequest"
  "/api/v4/import/bitbucket":
    post:
      operationId: postApiV4ImportBitbucket
      summary: Import repository from Bitbucket Cloud
      description: 'Imports a repository from Bitbucket Cloud to GitLab. Prerequisites:
        - The prerequisites for Bitbucket Cloud importer. You must have a Bitbucket
        Cloud API token with the `read:repository:bitbucket` and `read:pullrequest:bitbucket`
        scopes. This endpoint shares a rate limit with starting imports from the UI
        and with file-based project imports. By default, the limit is six requests
        per minute for each user. An administrator can change this limit in the application
        settings. This feature was introduced in GitLab 17.0.'
      tags:
      - Project import
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ProjectImportEntity"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '422':
          description: Unprocessable entity
        '429':
          description: Too many requests
        '503':
          description: Service unavailable
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ImportBitbucketRequest"
  "/api/v4/projects/{id}/packages/helm/{channel}/index.yaml":
    get:
      operationId: getApiV4ProjectsIdPackagesHelmChannelIndexYaml
      summary: Download a chart index
      description: Downloads a specified chart index for a project.
      tags:
      - 'Packages: Helm'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: channel
        required: true
        description: Helm repository channel.
        schema:
          type: string
          pattern: "^([a-zA-Z0-9](\\.|-|_)?){1,255}(?<!\\.|-|_)$"
        in: path
        example: stable
  "/api/v4/projects/{id}/packages/helm/{channel}/charts/{file_name}.tgz":
    get:
      operationId: getApiV4ProjectsIdPackagesHelmChannelChartsFileNameTgz
      summary: Download a chart
      description: Downloads a specified chart for a project.
      tags:
      - 'Packages: Helm'
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: channel
        required: true
        description: Helm repository channel.
        schema:
          type: string
          pattern: "^([a-zA-Z0-9](\\.|-|_)?){1,255}(?<!\\.|-|_)$"
        in: path
        example: stable
      - name: file_name
        required: true
        description: Name of the chart file.
        schema:
          type: string
        in: path
        example: mychart
  "/api/v4/projects/{id}/packages/helm/api/{channel}/charts/authorize":
    post:
      operationId: postApiV4ProjectsIdPackagesHelmApiChannelChartsAuthorize
      summary: Authorize a chart upload from workhorse
      description: This feature was introduced in GitLab 14.0
      tags:
      - 'Packages: Helm'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: channel
        required: true
        description: Helm repository channel.
        schema:
          type: string
          pattern: "^([a-zA-Z0-9](\\.|-|_)?){1,255}(?<!\\.|-|_)$"
        in: path
        example: stable
  "/api/v4/projects/{id}/packages/helm/api/{channel}/charts":
    post:
      operationId: postApiV4ProjectsIdPackagesHelmApiChannelCharts
      summary: Upload a chart
      description: Uploads a specified chart for a project.
      tags:
      - 'Packages: Helm'
      responses:
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: channel
        required: true
        description: Helm repository channel.
        schema:
          type: string
          pattern: "^([a-zA-Z0-9](\\.|-|_)?){1,255}(?<!\\.|-|_)$"
        in: path
        example: stable
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdPackagesHelmApiChannelChartsRequest"
  "/api/v4/glql":
    post:
      operationId: postApiV4Glql
      summary: Execute a GLQL query
      description: Executes a GLQL query to search and filter GitLab resources. Queries
        are rate limited by the SHA-256 hash of the query. Queries that time out are
        tracked, and a query that times out too often is temporarily blocked. This
        feature was introduced in GitLab 18.7.
      tags:
      - GLQL
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGlqlResult"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '429':
          description: Too Many Requests
        '500':
          description: Internal server error
        '503':
          description: Service unavailable
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GlqlRequest"
  "/api/v4/glql/schema":
    get:
      operationId: getApiV4GlqlSchema
      summary: Retrieve the GLQL schema
      description: 'Retrieves the GLQL schema: data sources with their filter, display
        and sort fields, the operator, value kind and reference type vocabularies,
        the available functions, and the display types a query can be rendered as.
        The document describes the query language. A query against a data source that
        is not available to the user fails at `POST /glql`. The document changes only
        when GitLab is upgraded. It is served with an `ETag`, so clients can send
        `If-None-Match` to revalidate and receive `304 Not Modified` instead of the
        full document. The endpoint takes no parameters and returns the same document
        for every user. Analytics modes list the arguments their dimensions and metrics
        accept in `parameterized_fields`, so a query can set them explicitly rather
        than relying on the default. Each entry has a `name` and a `parameters` array.
        Each parameter has a `name` and a `kind`, and can have `values`, `min`, `max`,
        `min_days`, `max_days`, `default`, `optional`, `required`, `requires`, `items`,
        `min_length`, `max_length`, and `strictly_ascending`. This feature was introduced
        in GitLab 19.3.'
      tags:
      - GLQL
      responses:
        '200':
          description: OK
        '500':
          description: Internal server error
  "/api/v4/groups/{id}/variables":
    get:
      operationId: getApiV4GroupsIdVariables
      summary: List all group variables
      description: Lists all variables for a specified group. Use the `page` and `per_page`
        pagination parameters to control the pagination of results.
      tags:
      - CI variables
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiVariable"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4GroupsIdVariables
      summary: Create a group variable
      description: Creates a group variable.
      tags:
      - CI variables
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiVariable"
        '400':
          description: 400 Bad Request
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdVariablesRequest"
  "/api/v4/groups/{id}/variables/{key}":
    get:
      operationId: getApiV4GroupsIdVariablesKey
      summary: Retrieve details of a group variable
      description: Retrieves details of a specified group variable. If there are multiple
        variables with the same key, use `filter` to select the correct `environment_scope`.
      tags:
      - CI variables
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiVariable"
        '404':
          description: Group Variable Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: key
        required: true
        description: Key of the group variable. Must be 255 characters or fewer and
          contain only `A-Z`, `a-z`, `0-9`, and `_`.
        schema:
          type: string
        in: path
    put:
      operationId: putApiV4GroupsIdVariablesKey
      summary: Update a group variable
      description: Updates a specified group variable. If there are multiple variables
        with the same key, use `filter` to select the correct `environment_scope`.
        If the `environment_scope` in `filter` does not exist, the endpoint updates
        a variable with the same key but a different environment scope.
      tags:
      - CI variables
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiVariable"
        '400':
          description: 400 Bad Request
        '404':
          description: Group Variable Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: key
        required: true
        description: Key of the group variable. Must be 255 characters or fewer and
          contain only `A-Z`, `a-z`, `0-9`, and `_`.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdVariablesKeyRequest"
    delete:
      operationId: deleteApiV4GroupsIdVariablesKey
      summary: Delete a group variable
      description: Deletes a specified group variable. If there are multiple variables
        with the same key, use `filter` to select the correct `environment_scope`.
      tags:
      - CI variables
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiVariable"
        '404':
          description: Group Variable Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: key
        required: true
        description: Key of the group variable. Must be 255 characters or fewer and
          contain only `A-Z`, `a-z`, `0-9`, and `_`.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/placeholder_reassignments":
    get:
      operationId: getApiV4GroupsIdPlaceholderReassignments
      summary: Retrieve pending reassignments
      description: Retrieves a CSV file with a list of pending reassignments. The
        CSV file has the columns `Source host`, `Import type`, `Source user identifier`,
        `Source user name`, `Source username`, `GitLab username`, and `GitLab public
        email`. This feature was introduced in GitLab 17.10.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            text/csv:
              schema:
                type: string
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
    post:
      operationId: postApiV4GroupsIdPlaceholderReassignments
      summary: Reassign placeholders
      description: Reassigns placeholder users with an uploaded CSV file.
      tags:
      - Groups
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdPlaceholderReassignmentsRequest"
  "/api/v4/groups/{id}/placeholder_reassignments/authorize":
    post:
      operationId: postApiV4GroupsIdPlaceholderReassignmentsAuthorize
      summary: Workhorse authorization for the reassignment CSV file
      description: |-
        Authorizes Workhorse to handle CSV file uploads for placeholder reassignments.
                  This feature was introduced in GitLab 17.10
      tags:
      - Groups
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/packages":
    get:
      operationId: getApiV4GroupsIdPackages
      summary: List all packages for a group
      description: Lists all packages for a specified group. When accessed without
        authentication, only packages of public projects are returned. By default,
        packages with `default`, `deprecated`, and `error` status are returned. Use
        the `status` parameter to view other packages. Packages of non-public projects
        are returned only for projects where you have at least the Reporter role.
        Packages with `processing` status can contain malformed data or be broken.
        In the response, `creator_id` is the ID of the user who created the package,
        and is `null` when a deploy token created the package. For a Conan package,
        `name` contains the recipe, and `conan_package_name` contains the package
        name. Other package types do not have this field. In `_links`, `web_path`
        is the path to the package details page in GitLab, returned only if the package
        has status `default` or `deprecated`, and `delete_api_path` is the API path
        to delete the package, returned only if you have permission to delete it.
      tags:
      - Packages
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesPackage"
        '401':
          description: Unauthorized
        '404':
          description: Group Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: exclude_subgroups
        required: false
        description: If `true`, excludes packages from subgroup projects.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - created_at
          - name
          - version
          - type
          - project_path
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: asc
        in: query
      - name: package_type
        required: false
        description: Filter packages by type.
        schema:
          type: string
          enum:
          - maven
          - npm
          - conan
          - nuget
          - pypi
          - composer
          - generic
          - golang
          - debian
          - rubygems
          - helm
          - terraform_module
          - rpm
          - ml_model
          - cargo
          - swift
          nullable: true
        in: query
      - name: package_name
        required: false
        description: Filter packages by name, using a fuzzy search.
        schema:
          type: string
          nullable: true
        in: query
      - name: package_version
        required: false
        description: Filter packages by version. When used together with `include_versionless`,
          versionless packages are not returned.
        schema:
          type: string
          nullable: true
        in: query
      - name: include_versionless
        required: false
        description: If `true`, includes versionless packages in the response.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: status
        required: false
        description: Filter packages by status.
        schema:
          type: string
          enum:
          - default
          - hidden
          - processing
          - error
          - pending_destruction
          - deprecated
          nullable: true
        in: query
  "/api/v4/groups/import/authorize":
    post:
      operationId: postApiV4GroupsImportAuthorize
      summary: Workhorse authorize the group import upload
      description: This feature was introduced in GitLab 12.8
      tags:
      - Group import and export
      responses:
        '201':
          description: Created
        '400':
          description: Bad Request
  "/api/v4/groups/import":
    post:
      operationId: postApiV4GroupsImport
      summary: Create a group import
      description: Creates a group import. The maximum import file size can be set
        by the Administrator on GitLab Self-Managed (defaults to `0` (unlimited)).
        Administrators can set it in the Admin area or with the `max_import_size`
        application setting.
      tags:
      - Group import and export
      responses:
        '202':
          description: Accepted
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '400':
          description: Bad request
        '429':
          description: Too many requests
        '503':
          description: Service unavailable
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsImportRequest"
  "/api/v4/groups/{id}/export/download":
    get:
      operationId: getApiV4GroupsIdExportDownload
      summary: Retrieve a group export download
      description: Retrieves the exported archive for a specified group. Time spent
        on exporting a group might vary depending on the size of the group. This endpoint
        returns the exported archive when it is available, or a `404` message otherwise.
      tags:
      - Group import and export
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '503':
          description: Service unavailable
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/export":
    post:
      operationId: postApiV4GroupsIdExport
      summary: Create a group export
      description: Creates a group export for a specified group.
      tags:
      - Group import and export
      responses:
        '202':
          description: Accepted
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
        '503':
          description: Service unavailable
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/export_relations":
    post:
      operationId: postApiV4GroupsIdExportRelations
      summary: Schedule a relations export for a group
      description: Schedules a relations export for a specified group. By default,
        this endpoint has a rate limit of 6 requests per minute for each user and
        group. On GitLab Self-Managed and GitLab Dedicated, an administrator can change
        this limit in the application settings.
      tags:
      - Group import and export
      responses:
        '202':
          description: Accepted
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
        '503':
          description: Service unavailable
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdExportRelationsRequest"
  "/api/v4/groups/{id}/export_relations/download":
    get:
      operationId: getApiV4GroupsIdExportRelationsDownload
      summary: Download a relations export for a group
      description: Downloads a group relations export file. By default, this endpoint
        has a rate limit of 100 requests per minute for each user and group. On GitLab
        Self-Managed and GitLab Dedicated, an administrator can change this limit
        in the application settings.
      tags:
      - Group import and export
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too many requests
        '503':
          description: Service unavailable
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: relation
        required: true
        description: Name of the group top-level relation to download or view.
        schema:
          type: string
          nullable: true
        in: query
      - name: batched
        required: false
        description: If `true`, downloads the export in batches. All or none of `batched`,
          `batch_number` must be provided.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: batch_number
        required: false
        description: Number of the export batch to download. All or none of `batched`,
          `batch_number` must be provided.
        schema:
          type: integer
          nullable: true
        in: query
  "/api/v4/groups/{id}/export_relations/status":
    get:
      operationId: getApiV4GroupsIdExportRelationsStatus
      summary: Retrieve the status of an relations export for a group
      description: Retrieves the status of a relations export for a group. The status
        is one of `0` (started), `1` (finished), or `-1` (failed).
      tags:
      - Group import and export
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBulkImportsExportStatus"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '503':
          description: Service unavailable
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: relation
        required: false
        description: Name of the group top-level relation to download or view.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/groups/{id}/-/debian_distributions":
    post:
      operationId: postApiV4GroupsIdDashDebianDistributions
      summary: Create a Debian group distribution
      description: Creates a Debian group distribution for a specified group.
      tags:
      - 'Packages: Debian'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesDebianDistribution"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdDashDebianDistributionsRequest"
    get:
      operationId: getApiV4GroupsIdDashDebianDistributions
      summary: List all Debian group distributions
      description: Lists all Debian distributions for a specified group. `suite` filters
        the results by suite.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesPackagesDebianDistribution"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: codename
        required: false
        description: Codename of the Debian distribution. Filters the results by codename.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        in: query
        example: sid
      - name: suite
        required: false
        description: Suite of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        in: query
        example: unstable
      - name: origin
        required: false
        description: Origin of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        in: query
        example: Grep
      - name: label
        required: false
        description: Label of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        in: query
        example: grep.be
      - name: version
        required: false
        description: Version of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:(?:([0-9]{1,9}):)?([0-9][+.0-9A-Za-z~\\u017F\\u212A]*)(-[+.0-9A-Za-z~\\u017F\\u212A]+){0,14}(?<!-))$)"
          nullable: true
        in: query
        example: '12'
      - name: description
        required: false
        description: Description of the Debian distribution.
        schema:
          type: string
          nullable: true
        in: query
        example: My description
      - name: valid_time_duration_seconds
        required: false
        description: Duration, in seconds, before the Release file is considered expired
          by the client.
        schema:
          type: integer
          nullable: true
        in: query
        example: 604800
      - name: components
        required: false
        description: List of components of the Debian distribution.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        example:
        - main
        style: form
        explode: false
      - name: architectures
        required: false
        description: List of architectures of the Debian distribution.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        example:
        - amd64
        style: form
        explode: false
  "/api/v4/groups/{id}/-/debian_distributions/{codename}":
    get:
      operationId: getApiV4GroupsIdDashDebianDistributionsCodename
      summary: Retrieve a Debian group distribution
      description: Retrieves a specified Debian group distribution for a group.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesDebianDistribution"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: codename
        required: true
        description: Codename of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
        in: path
        example: sid
    put:
      operationId: putApiV4GroupsIdDashDebianDistributionsCodename
      summary: Update a Debian group distribution
      description: Updates a specified Debian group distribution for a group.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesDebianDistribution"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: codename
        required: true
        description: Codename of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
        in: path
        example: sid
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdDashDebianDistributionsCodenameRequest"
    delete:
      operationId: deleteApiV4GroupsIdDashDebianDistributionsCodename
      summary: Delete a Debian group distribution
      description: Deletes a specified Debian group distribution for a group.
      tags:
      - 'Packages: Debian'
      responses:
        '202':
          description: Accepted
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: codename
        required: true
        description: Codename of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
        in: path
        example: sid
      - name: suite
        required: false
        description: Suite of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        in: query
        example: unstable
      - name: origin
        required: false
        description: Origin of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        in: query
        example: Grep
      - name: label
        required: false
        description: Label of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        in: query
        example: grep.be
      - name: version
        required: false
        description: Version of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:(?:([0-9]{1,9}):)?([0-9][+.0-9A-Za-z~\\u017F\\u212A]*)(-[+.0-9A-Za-z~\\u017F\\u212A]+){0,14}(?<!-))$)"
          nullable: true
        in: query
        example: '12'
      - name: description
        required: false
        description: Description of the Debian distribution.
        schema:
          type: string
          nullable: true
        in: query
        example: My description
      - name: valid_time_duration_seconds
        required: false
        description: Duration, in seconds, before the Release file is considered expired
          by the client.
        schema:
          type: integer
          nullable: true
        in: query
        example: 604800
      - name: components
        required: false
        description: List of components of the Debian distribution.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        example:
        - main
        style: form
        explode: false
      - name: architectures
        required: false
        description: List of architectures of the Debian distribution.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        example:
        - amd64
        style: form
        explode: false
  "/api/v4/groups/{id}/-/debian_distributions/{codename}/key.asc":
    get:
      operationId: getApiV4GroupsIdDashDebianDistributionsCodenameKeyAsc
      summary: Retrieve a Debian group distribution key
      description: Retrieves a specified Debian group distribution key for a group.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesDebianDistribution"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: codename
        required: true
        description: Codename of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
        in: path
        example: sid
  "/api/v4/groups/{id}/registry/repositories":
    get:
      operationId: getApiV4GroupsIdRegistryRepositories
      summary: List all registry repositories for a group
      description: Lists all registry repositories for a specified group.
      tags:
      - Container registry
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesContainerRegistryRepository"
        '401':
          description: Unauthorized
        '404':
          description: Group Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/groups/{id}/clusters":
    get:
      operationId: getApiV4GroupsIdClusters
      summary: List all group clusters
      description: Lists all group clusters for a specified group.
      tags:
      - Clusters
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCluster"
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/groups/{id}/clusters/{cluster_id}":
    get:
      operationId: getApiV4GroupsIdClustersClusterId
      summary: Retrieve a group cluster
      description: Retrieves a specified group cluster.
      tags:
      - Clusters
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesClusterGroup"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: cluster_id
        required: true
        description: ID of the cluster.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4GroupsIdClustersClusterId
      summary: Update a group cluster
      description: Updates a specified group cluster. The `name`, `api_url`, `ca_cert`,
        and `token` attributes can be updated only if the cluster was added as an
        existing Kubernetes cluster.
      tags:
      - Clusters
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesClusterGroup"
        '400':
          description: Validation error
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: cluster_id
        required: true
        description: ID of the cluster.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdClustersClusterIdRequest"
    delete:
      operationId: deleteApiV4GroupsIdClustersClusterId
      summary: Delete a group cluster
      description: Deletes a specified group cluster. Does not remove existing resources
        in the connected Kubernetes cluster.
      tags:
      - Clusters
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesClusterGroup"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: cluster_id
        required: true
        description: ID of the cluster.
        schema:
          type: integer
        in: path
  "/api/v4/groups/{id}/clusters/user":
    post:
      operationId: postApiV4GroupsIdClustersUser
      summary: Create a group cluster
      description: Creates a group cluster for a specified group by adding an existing
        Kubernetes cluster.
      tags:
      - Clusters
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesClusterGroup"
        '400':
          description: Validation error
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdClustersUserRequest"
  "/api/v4/groups/{id}/avatar":
    get:
      operationId: getApiV4GroupsIdAvatar
      summary: Download a group avatar
      description: Downloads a group avatar image. You can access this endpoint without
        authentication if the group is publicly accessible.
      tags:
      - Avatars
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/applications":
    post:
      operationId: postApiV4GroupsIdApplications
      summary: Create a group application
      description: Creates an OAuth application owned by the specified group. This
        feature was introduced in GitLab 19.6
      tags:
      - Group applications
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesApplicationWithSecret"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the group
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdApplicationsRequest"
    get:
      operationId: getApiV4GroupsIdApplications
      summary: List all group applications
      description: Lists all OAuth applications owned by a specified group.
      tags:
      - Group applications
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesApplication"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the group
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/groups/{id}/applications/{application_id}":
    get:
      operationId: getApiV4GroupsIdApplicationsApplicationId
      summary: Retrieve a group application
      description: Retrieves details of a specified OAuth application owned by a group.
      tags:
      - Group applications
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesApplication"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the group
        schema:
          type: string
        in: path
      - name: application_id
        required: true
        description: ID of the application. Differs from the `application_id` in the
          response.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4GroupsIdApplicationsApplicationId
      summary: Update a group application
      description: Updates a specified OAuth application owned by a group. You cannot
        update the `redirect_uri` and `confidential` attributes of an existing application.
        To change them, delete the application and create it again.
      tags:
      - Group applications
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesApplication"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the group
        schema:
          type: string
        in: path
      - name: application_id
        required: true
        description: ID of the application. Differs from the `application_id` in the
          response.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdApplicationsApplicationIdRequest"
    delete:
      operationId: deleteApiV4GroupsIdApplicationsApplicationId
      summary: Delete a group application
      description: Deletes a specified OAuth application owned by a group.
      tags:
      - Group applications
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the group
        schema:
          type: string
        in: path
      - name: application_id
        required: true
        description: ID of the application. Differs from the `application_id` in the
          response.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/packages/go/{module_name}/@v/list":
    get:
      operationId: getApiV4ProjectsIdPackagesGoModuleNameVList
      summary: List
      description: Get all tagged versions for a given Go module. Returns the versions
        as plain text, one per line. See `go help goproxy`, GET $GOPROXY/<module>/@v/list.
        This endpoint is used by the `go` command and is not meant for manual consumption.
        It does not follow the standard API authentication methods. Undocumented authentication
        methods might be removed in the future. This feature was introduced in GitLab
        13.1.
      tags:
      - Packages
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The project ID or full path of a project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: module_name
        required: true
        description: The name of the Go module
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/go/{module_name}/@v/{module_version}.info":
    get:
      operationId: getApiV4ProjectsIdPackagesGoModuleNameVModuleVersionInfo
      summary: Version metadata
      description: Get the metadata of a given Go module version. See `go help goproxy`,
        GET $GOPROXY/<module>/@v/<version>.info. This endpoint is used by the `go`
        command and is not meant for manual consumption. It does not follow the standard
        API authentication methods. Undocumented authentication methods might be removed
        in the future. This feature was introduced in GitLab 13.1.
      tags:
      - Packages
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGoModuleVersion"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The project ID or full path of a project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: module_name
        required: true
        description: The name of the Go module
        schema:
          type: string
        in: path
      - name: module_version
        required: true
        description: The version of the Go module
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/go/{module_name}/@v/{module_version}.mod":
    get:
      operationId: getApiV4ProjectsIdPackagesGoModuleNameVModuleVersionMod
      summary: Download module file
      description: Get the module file of a given module version. See `go help goproxy`,
        GET $GOPROXY/<module>/@v/<version>.mod. This endpoint is used by the `go`
        command and is not meant for manual consumption. It does not follow the standard
        API authentication methods. Undocumented authentication methods might be removed
        in the future. This feature was introduced in GitLab 13.1.
      tags:
      - Packages
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The project ID or full path of a project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: module_name
        required: true
        description: The name of the Go module
        schema:
          type: string
        in: path
      - name: module_version
        required: true
        description: The version of the Go module
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/go/{module_name}/@v/{module_version}.zip":
    get:
      operationId: getApiV4ProjectsIdPackagesGoModuleNameVModuleVersionZip
      summary: Download module source
      description: Get a zip of the source of the given module version. See `go help
        goproxy`, GET $GOPROXY/<module>/@v/<version>.zip. This endpoint is used by
        the `go` command and is not meant for manual consumption. It does not follow
        the standard API authentication methods. Undocumented authentication methods
        might be removed in the future. This feature was introduced in GitLab 13.1.
      tags:
      - Packages
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The project ID or full path of a project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: module_name
        required: true
        description: The name of the Go module
        schema:
          type: string
        in: path
      - name: module_version
        required: true
        description: The version of the Go module
        schema:
          type: string
        in: path
  "/api/v4/geo/proxy":
    get:
      operationId: getApiV4GeoProxy
      summary: Returns a Geo proxy response
      description: Determines if the current Geo site should proxy requests.
      tags:
      - Geo
      responses:
        '200':
          description: OK
        '403':
          description: Forbidden
  "/api/v4/geo/retrieve/{replicable_name}/{replicable_id}":
    get:
      operationId: getApiV4GeoRetrieveReplicableNameReplicableId
      summary: Retrieve a replicable file
      description: Retrieves a replicable file for a Geo secondary site. Serves the
        file through a CDN or sendfile.
      tags:
      - Geo
      responses:
        '200':
          description: OK
        '401':
          description: 401 Unauthorized
        '404':
          description: 404 Not found
        '400':
          description: Bad Request
      parameters:
      - name: replicable_name
        required: true
        description: Name of the replicable type, for example `package_file`.
        schema:
          type: string
        in: path
        example: package_file
      - name: replicable_id
        required: true
        description: ID of the replicable.
        schema:
          type: integer
        in: path
  "/api/v4/geo/repositories/{gl_repository}/pipeline_refs":
    get:
      operationId: getApiV4GeoRepositoriesGlRepositoryPipelineRefs
      summary: List all pipeline refs for a project
      description: Lists all pipeline refs for a project. Secondary runners use them
        to check the site is up to date.
      tags:
      - Geo
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesGeoPipelineRefs"
        '401':
          description: 401 Unauthorized
        '404':
          description: 404 Not found
        '400':
          description: Bad Request
      parameters:
      - name: gl_repository
        required: true
        description: Repository to check.
        schema:
          type: string
        in: path
  "/api/v4/geo/status":
    post:
      operationId: postApiV4GeoStatus
      summary: Create a status for a secondary site
      description: Creates a status for a secondary Geo site on the primary site,
        including replication metrics.
      tags:
      - Geo
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGeoNodeStatus"
        '400':
          description: 400 Bad Request
        '401':
          description: 401 Unauthorized
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GeoStatusRequest"
  "/api/v4/geo/failures":
    post:
      operationId: postApiV4GeoFailures
      summary: Create a report of persistent verification failures
      description: Creates a report on the primary site of resources that persistently
        fail verification on a secondary site.
      tags:
      - Geo
      responses:
        '202':
          description: Accepted
        '401':
          description: 401 Unauthorized
        '404':
          description: 404 Not found
        '400':
          description: 400 Bad request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GeoFailuresRequest"
  "/api/v4/geo/proxy_git_ssh/info_refs_upload_pack":
    post:
      operationId: postApiV4GeoProxyGitSshInfoRefsUploadPack
      summary: Proxy a git-upload-pack info/refs request to the primary site
      description: Proxies a git-upload-pack info/refs request from a secondary site
        to the primary site.
      tags:
      - Geo
      responses:
        '200':
          description: OK
        '401':
          description: 401 Unauthorized
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GeoProxyGitSshInfoRefsUploadPackRequest"
  "/api/v4/geo/proxy_git_ssh/upload_pack":
    post:
      operationId: postApiV4GeoProxyGitSshUploadPack
      summary: Proxy a git-upload-pack request to the primary site
      description: Proxies a git-upload-pack request from a secondary site to the
        primary site.
      tags:
      - Geo
      responses:
        '200':
          description: OK
        '401':
          description: 401 Unauthorized
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GeoProxyGitSshUploadPackRequest"
  "/api/v4/geo/proxy_git_ssh/info_refs_receive_pack":
    post:
      operationId: postApiV4GeoProxyGitSshInfoRefsReceivePack
      summary: Proxy a git-receive-pack info/refs request to the primary site
      description: Proxies a git-receive-pack info/refs request from a secondary site
        to the primary site.
      tags:
      - Geo
      responses:
        '200':
          description: OK
        '401':
          description: 401 Unauthorized
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GeoProxyGitSshInfoRefsReceivePackRequest"
  "/api/v4/geo/proxy_git_ssh/receive_pack":
    post:
      operationId: postApiV4GeoProxyGitSshReceivePack
      summary: Proxy a git-receive-pack request to the primary site
      description: Proxies a git-receive-pack request from a secondary site to the
        primary site.
      tags:
      - Geo
      responses:
        '200':
          description: OK
        '401':
          description: 401 Unauthorized
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GeoProxyGitSshReceivePackRequest"
  "/api/v4/geo/node_proxy/{id}/graphql":
    post:
      operationId: postApiV4GeoNodeProxyIdGraphql
      summary: Query the GraphQL endpoint of an existing Geo site
      description: Queries the GraphQL endpoint of an existing Geo site.
      tags:
      - Geo
      responses:
        '200':
          description: OK
        '404':
          description: 404 GeoNode Not Found
        '500':
          description: 500 Internal Server Error
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The ID of the Geo node
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/packages/generic/{package_name}/{package_version}/{file_name}/authorize":
    put:
      operationId: putApiV4ProjectsIdPackagesGenericPackageNamePackageVersionFileNameAuthorize
      summary: Workhorse authorize generic package file
      description: This feature was introduced in GitLab 13.5
      tags:
      - Packages
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Package name
        schema:
          type: string
          pattern: "^[A-Za-z0-9._\\-+]+$"
        in: path
      - name: file_name
        required: true
        description: Package file name
        schema:
          type: string
          pattern: "^(?!~)(?!@)[A-Za-z0-9._\\-+~@]+(?<!~)(?<!@)$"
        in: path
      - name: package_version
        required: true
        description: Package version
        schema:
          type: string
          pattern: "^(?!(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\n\\uD800-\\uDFFF])*\\.\\.)[\\w+.\\-]+$"
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesGenericPackageNamePackageVersionFileNameAuthorizeRequest"
  "/api/v4/projects/{id}/packages/generic/{package_name}/{package_version}/{path}/{file_name}/authorize":
    put:
      operationId: putApiV4ProjectsIdPackagesGenericPackageNamePackageVersionPathFileNameAuthorize
      summary: Workhorse authorize generic package file
      description: This feature was introduced in GitLab 13.5
      tags:
      - Packages
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Package name
        schema:
          type: string
          pattern: "^[A-Za-z0-9._\\-+]+$"
        in: path
      - name: file_name
        required: true
        description: Package file name
        schema:
          type: string
          pattern: "^(?!~)(?!@)[A-Za-z0-9._\\-+~@]+(?<!~)(?<!@)$"
        in: path
      - name: package_version
        required: true
        description: Package version
        schema:
          type: string
          pattern: "^(?!(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\n\\uD800-\\uDFFF])*\\.\\.)[\\w+.\\-]+$"
        in: path
      - name: path
        required: true
        schema: {}
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesGenericPackageNamePackageVersionPathFileNameAuthorizeRequest"
  "/api/v4/projects/{id}/packages/generic/{package_name}/{package_version}/{file_name}":
    put:
      operationId: putApiV4ProjectsIdPackagesGenericPackageNamePackageVersionFileName
      summary: Upload package file
      description: This feature was introduced in GitLab 13.5
      tags:
      - Packages
      responses:
        '200':
          description: OK
        '201':
          description: Created
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Package name
        schema:
          type: string
          pattern: "^[A-Za-z0-9._\\-+]+$"
        in: path
      - name: file_name
        required: true
        description: Package file name
        schema:
          type: string
          pattern: "^(?!~)(?!@)[A-Za-z0-9._\\-+~@]+(?<!~)(?<!@)$"
        in: path
      - name: package_version
        required: true
        description: Package version
        schema:
          type: string
          pattern: "^(?!(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\n\\uD800-\\uDFFF])*\\.\\.)[\\w+.\\-]+$"
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesGenericPackageNamePackageVersionFileNameRequest"
    get:
      operationId: getApiV4ProjectsIdPackagesGenericPackageNamePackageVersionFileName
      summary: Download package file
      description: This feature was introduced in GitLab 13.5
      tags:
      - Packages
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Package name
        schema:
          type: string
          pattern: "^[A-Za-z0-9._\\-+]+$"
        in: path
      - name: file_name
        required: true
        description: Package file name
        schema:
          type: string
          pattern: "^(?!~)(?!@)[A-Za-z0-9._\\-+~@]+(?<!~)(?<!@)$"
        in: path
      - name: package_version
        required: true
        description: Package version
        schema:
          type: string
          pattern: "^(?!(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\n\\uD800-\\uDFFF])*\\.\\.)[\\w+.\\-]+$"
        in: path
      - name: download_mode
        required: false
        description: Requested download transfer mode (`proxy` or `direct`). Only
          honored when allowed by the object storage configuration.
        schema:
          type: string
          enum:
          - proxy
          - direct
          nullable: true
        in: query
  "/api/v4/projects/{id}/packages/generic/{package_name}/{package_version}/{path}/{file_name}":
    put:
      operationId: putApiV4ProjectsIdPackagesGenericPackageNamePackageVersionPathFileName
      summary: Upload package file
      description: This feature was introduced in GitLab 13.5
      tags:
      - Packages
      responses:
        '200':
          description: OK
        '201':
          description: Created
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Package name
        schema:
          type: string
          pattern: "^[A-Za-z0-9._\\-+]+$"
        in: path
      - name: file_name
        required: true
        description: Package file name
        schema:
          type: string
          pattern: "^(?!~)(?!@)[A-Za-z0-9._\\-+~@]+(?<!~)(?<!@)$"
        in: path
      - name: package_version
        required: true
        description: Package version
        schema:
          type: string
          pattern: "^(?!(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\n\\uD800-\\uDFFF])*\\.\\.)[\\w+.\\-]+$"
        in: path
      - name: path
        required: true
        description: File directory path
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesGenericPackageNamePackageVersionPathFileNameRequest"
    get:
      operationId: getApiV4ProjectsIdPackagesGenericPackageNamePackageVersionPathFileName
      summary: Download package file
      description: This feature was introduced in GitLab 13.5
      tags:
      - Packages
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: The ID or URL-encoded path of the project
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Package name
        schema:
          type: string
          pattern: "^[A-Za-z0-9._\\-+]+$"
        in: path
      - name: file_name
        required: true
        description: Package file name
        schema:
          type: string
          pattern: "^(?!~)(?!@)[A-Za-z0-9._\\-+~@]+(?<!~)(?<!@)$"
        in: path
      - name: package_version
        required: true
        description: Package version
        schema:
          type: string
          pattern: "^(?!(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\n\\uD800-\\uDFFF])*\\.\\.)[\\w+.\\-]+$"
        in: path
      - name: path
        required: true
        description: File directory path
        schema:
          type: string
        in: path
      - name: download_mode
        required: false
        description: Requested download transfer mode (`proxy` or `direct`). Only
          honored when allowed by the object storage configuration.
        schema:
          type: string
          enum:
          - proxy
          - direct
          nullable: true
        in: query
  "/api/v4/projects/{id}/freeze_periods":
    get:
      operationId: getApiV4ProjectsIdFreezePeriods
      summary: List all freeze periods
      description: Lists all freeze periods for a specified project, sorted by `created_at`
        in ascending order. You must have the Reporter, Developer, Maintainer, or
        Owner role for the project.
      tags:
      - Freeze periods
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesFreezePeriod"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdFreezePeriods
      summary: Create a freeze period
      description: Creates a freeze period for a specified project. You must have
        the Maintainer or Owner role for the project.
      tags:
      - Freeze periods
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesFreezePeriod"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdFreezePeriodsRequest"
  "/api/v4/projects/{id}/freeze_periods/{freeze_period_id}":
    get:
      operationId: getApiV4ProjectsIdFreezePeriodsFreezePeriodId
      summary: Retrieve a freeze period
      description: Retrieves a freeze period for a specified `freeze_period_id`. You
        must have the Reporter, Developer, Maintainer, or Owner role for the project.
      tags:
      - Freeze periods
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesFreezePeriod"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: freeze_period_id
        required: true
        description: ID of the freeze period.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdFreezePeriodsFreezePeriodId
      summary: Update a freeze period
      description: Updates a freeze period for a specified `freeze_period_id`. You
        must have the Maintainer or Owner role for the project.
      tags:
      - Freeze periods
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesFreezePeriod"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: freeze_period_id
        required: true
        description: ID of the freeze period.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdFreezePeriodsFreezePeriodIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdFreezePeriodsFreezePeriodId
      summary: Delete a freeze period
      description: Deletes a freeze period for a specified `freeze_period_id`. You
        must have the Maintainer or Owner role for the project.
      tags:
      - Freeze periods
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesFreezePeriod"
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: freeze_period_id
        required: true
        description: ID of the freeze period.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/repository/files/{file_path}/blame":
    head:
      operationId: headApiV4ProjectsIdRepositoryFilesFilePathBlame
      summary: Retrieve file blame metadata
      description: Retrieves blame metadata for lines in a specified file. Uses the
        `HEAD` method and returns the metadata in `X-Gitlab-*` response headers, such
        as `X-Gitlab-Blob-Id`, `X-Gitlab-Commit-Id`, `X-Gitlab-Content-Sha256`, `X-Gitlab-File-Name`,
        `X-Gitlab-Last-Commit-Id`, `X-Gitlab-Ref`, and `X-Gitlab-Size`.
      tags:
      - Files
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: gitlab-org/gitlab
      - name: file_path
        required: true
        description: URL-encoded full path to the file, for example `lib%2Fclass%2Erb`.
        schema:
          type: string
        in: path
        example: lib%2Fclass%2Erb
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/headApiV4ProjectsIdRepositoryFilesFilePathBlameRequest"
    get:
      operationId: getApiV4ProjectsIdRepositoryFilesFilePathBlame
      summary: Retrieve file blame history from a repository
      description: Retrieves blame history for a specified file in a repository. Each
        blame range contains lines and their corresponding commit information. This
        endpoint is rate-limited for each authenticated user for a given project,
        and for each IP address for unauthenticated requests. On GitLab Self-Managed
        and GitLab Dedicated, an administrator can change these limits in the application
        settings. The default limits are 400 requests every minute for each user and
        project, set by `project_repositories_blame_limit`, and 400 requests every
        minute for each IP address, set by `project_repositories_blame_unauthenticated_limit`.
        A limit of `0` disables it. `HEAD` requests do not count toward these limits.
        The GraphQL `blame` field on `RepositoryBlob` shares these limits.
      tags:
      - Files
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBlameRange"
        '429':
          description: Too many requests
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: gitlab-org/gitlab
      - name: file_path
        required: true
        description: URL-encoded full path to the file, for example `lib%2Fclass%2Erb`.
        schema:
          type: string
        in: path
        example: lib%2Fclass%2Erb
      - name: ref
        required: true
        description: Commit SHA or name of a repository branch or tag. Use `HEAD`
          to use the default branch.
        schema:
          type: string
          minLength: 1
        in: query
        example: main
      - name: range
        required: false
        description: Range of lines to return blame information for.
        schema:
          type: object
          nullable: true
        in: query
      - name: range[start]
        required: true
        description: First line number of the range to blame.
        schema:
          type: integer
          minimum: 1
        in: query
      - name: range[end]
        required: true
        description: Last line number of the range to blame.
        schema:
          type: integer
          minimum: 1
        in: query
  "/api/v4/projects/{id}/repository/files/{file_path}/raw":
    get:
      operationId: getApiV4ProjectsIdRepositoryFilesFilePathRaw
      summary: Retrieve a raw file from a repository
      description: Retrieves the raw file contents for a specified file in a repository.
        To get only the file metadata, use the `HEAD` method on the file endpoint.
      tags:
      - Files
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: gitlab-org/gitlab
      - name: file_path
        required: true
        description: URL-encoded full path to the file, for example `lib%2Fclass%2Erb`.
        schema:
          type: string
        in: path
        example: lib%2Fclass%2Erb
      - name: ref
        required: false
        description: Commit SHA or name of a repository branch or tag. Default is
          the `HEAD` of the project.
        schema:
          type: string
          minLength: 1
        in: query
        example: main
      - name: lfs
        required: false
        description: If `true`, returns the Git LFS file contents instead of the pointer.
          Ignored if the file isn't tracked by Git LFS.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
  "/api/v4/projects/{id}/repository/files/{file_path}":
    head:
      operationId: headApiV4ProjectsIdRepositoryFilesFilePath
      summary: Retrieve file metadata
      description: Retrieves metadata for a specified file in a repository. Uses the
        `HEAD` method and returns the metadata in `X-Gitlab-*` response headers, such
        as `X-Gitlab-Blob-Id`, `X-Gitlab-Commit-Id`, `X-Gitlab-Content-Sha256`, `X-Gitlab-File-Name`,
        `X-Gitlab-Last-Commit-Id`, `X-Gitlab-Ref`, and `X-Gitlab-Size`.
      tags:
      - Files
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: gitlab-org/gitlab
      - name: file_path
        required: true
        description: URL-encoded full path to the file, for example `lib%2Fclass%2Erb`.
        schema:
          type: string
        in: path
        example: lib%2Fclass%2Erb
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/headApiV4ProjectsIdRepositoryFilesFilePathRequest"
    get:
      operationId: getApiV4ProjectsIdRepositoryFilesFilePath
      summary: Retrieve a file from a repository
      description: Retrieves information about a specified file in a repository. This
        includes information like the name, size, and the file contents. File content
        is Base64 encoded. You can access this endpoint without authentication if
        the repository is publicly accessible. For blobs larger than 10 MB, this endpoint
        has a rate limit of 5 requests every minute for each project. For text files
        not stored as valid UTF-8 in Git, `content` is converted to UTF-8 before Base64
        encoding. In that case, `size` is the raw blob size, which might differ from
        the length of the decoded content, and `content_sha256` is the hash of the
        converted content, not the raw blob. To retrieve the exact bytes stored in
        Git, use the raw file endpoint.
      tags:
      - Files
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: gitlab-org/gitlab
      - name: file_path
        required: true
        description: URL-encoded full path to the file, for example `lib%2Fclass%2Erb`.
        schema:
          type: string
        in: path
        example: lib%2Fclass%2Erb
      - name: ref
        required: true
        description: Commit SHA or name of a repository branch or tag. Use `HEAD`
          to use the default branch.
        schema:
          type: string
          minLength: 1
        in: query
        example: main
    post:
      operationId: postApiV4ProjectsIdRepositoryFilesFilePath
      summary: Create a file in a repository
      description: Creates a file in a specified repository. Use the Commits API to
        create multiple files with a single request. Requests larger than 300 MB by
        default are rejected. Requests larger than 20 MB are rate-limited to 3 requests
        every 30 seconds for each user.
      tags:
      - Files
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: gitlab-org/gitlab
      - name: file_path
        required: true
        description: URL-encoded full path to the file, for example `lib%2Fclass%2Erb`.
        schema:
          type: string
        in: path
        example: lib%2Fclass%2Erb
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdRepositoryFilesFilePathRequest"
    put:
      operationId: putApiV4ProjectsIdRepositoryFilesFilePath
      summary: Update a file in a repository
      description: Updates a specified file in a repository. Use the Commits API to
        update multiple files with a single request. Requests larger than 300 MB by
        default are rejected. Requests larger than 20 MB are rate-limited to 3 requests
        every 30 seconds for each user. If the commit fails, returns `400 Bad Request`
        with an error message. Possible causes are a `file_path` that contains `/../`,
        new file contents that are identical to the current contents, or a `git push`
        to the branch while the edit was in progress.
      tags:
      - Files
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: gitlab-org/gitlab
      - name: file_path
        required: true
        description: URL-encoded full path to the file, for example `lib%2Fclass%2Erb`.
        schema:
          type: string
        in: path
        example: lib%2Fclass%2Erb
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdRepositoryFilesFilePathRequest"
    delete:
      operationId: deleteApiV4ProjectsIdRepositoryFilesFilePath
      summary: Delete a file in a repository
      description: Deletes a specified file in a repository. Use the Commits API to
        delete multiple files with a single request.
      tags:
      - Files
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: gitlab-org/gitlab
      - name: file_path
        required: true
        description: URL-encoded full path to the file, for example `lib%2Fclass%2Erb`.
        schema:
          type: string
        in: path
        example: lib%2Fclass%2Erb
      - name: branch
        required: true
        description: Name of the branch to commit the deletion into. Combine with
          `start_branch` to create a new branch.
        schema:
          type: string
          minLength: 1
        in: query
        example: main
      - name: commit_message
        required: true
        description: Commit message.
        schema:
          type: string
          minLength: 1
        in: query
        example: Initial commit
      - name: start_branch
        required: false
        description: Name of the base branch to create the branch from.
        schema:
          type: string
          nullable: true
        in: query
        example: main
      - name: author_email
        required: false
        description: Email address of the commit author.
        schema:
          type: string
          nullable: true
        in: query
        example: johndoe@example.com
      - name: author_name
        required: false
        description: Name of the commit author.
        schema:
          type: string
          nullable: true
        in: query
        example: John Doe
      - name: last_commit_id
        required: false
        description: Last known file commit ID.
        schema:
          type: string
          nullable: true
        in: query
        example: 2695effb5807a22ff3d138d593fd856244e155e7
  "/api/v4/features":
    get:
      operationId: getApiV4Features
      summary: List all feature flags
      description: Lists all feature flags for the instance.
      tags:
      - Features
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesFeature"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
  "/api/v4/features/definitions":
    get:
      operationId: getApiV4FeaturesDefinitions
      summary: List all feature flag definitions
      description: Lists all feature flag definitions.
      tags:
      - Features
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesFeatureDefinition"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
  "/api/v4/features/{name}":
    post:
      operationId: postApiV4FeaturesName
      summary: Create or update a feature flag
      description: Creates or updates a feature flag value. If a feature with the
        given name doesn't exist yet, the operation creates one. The value can be
        a boolean or an integer to indicate percentage of time.
      tags:
      - Features
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesFeature"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: name
        required: true
        description: Name of the feature flag.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4FeaturesNameRequest"
    delete:
      operationId: deleteApiV4FeaturesName
      summary: Delete a feature
      description: Deletes a feature gate. Returns the same response if the feature
        gate does not exist.
      tags:
      - Features
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: name
        required: true
        description: Name of the feature flag.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/feature_flags_user_lists":
    get:
      operationId: getApiV4ProjectsIdFeatureFlagsUserLists
      summary: List all feature flag user lists for a project
      description: Lists all feature flag user lists for a specified project.
      tags:
      - Feature flags
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesFeatureFlagUserList"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: search
        required: false
        description: Return user lists matching the search criteria.
        schema:
          type: string
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdFeatureFlagsUserLists
      summary: Create a feature flag user list
      description: Creates a feature flag user list in a specified project. The bytes
        of `user_xids` written count toward a per-user rate limit (`feature_flag_user_list_write_bytes_limit_per_user`
        application setting). Until the `rate_limit_feature_flag_user_list_write_bytes`
        feature flag is enabled, requests over this limit are logged but not blocked.
      tags:
      - Feature flags
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesFeatureFlagUserList"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdFeatureFlagsUserListsRequest"
  "/api/v4/projects/{id}/feature_flags_user_lists/{iid}":
    get:
      operationId: getApiV4ProjectsIdFeatureFlagsUserListsIid
      summary: Retrieve a feature flag user list
      description: Retrieves a specified feature flag user list.
      tags:
      - Feature flags
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesFeatureFlagUserList"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: iid
        required: true
        description: Internal ID of the project's feature flag user list.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdFeatureFlagsUserListsIid
      summary: Update a feature flag user list
      description: Updates a specified feature flag user list. The bytes of `user_xids`
        written count toward a per-user rate limit (`feature_flag_user_list_write_bytes_limit_per_user`
        application setting). Until the `rate_limit_feature_flag_user_list_write_bytes`
        feature flag is enabled, requests over this limit are logged but not blocked.
      tags:
      - Feature flags
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesFeatureFlagUserList"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '429':
          description: Too many requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: iid
        required: true
        description: Internal ID of the project's feature flag user list.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdFeatureFlagsUserListsIidRequest"
    delete:
      operationId: deleteApiV4ProjectsIdFeatureFlagsUserListsIid
      summary: Delete feature flag user list
      description: Deletes a specified feature flag user list.
      tags:
      - Feature flags
      responses:
        '204':
          description: Resource deleted
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '409':
          description: Conflict
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: iid
        required: true
        description: Internal ID of the project's feature flag user list.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/feature_flags":
    get:
      operationId: getApiV4ProjectsIdFeatureFlags
      summary: List all feature flags for a project
      description: Lists all feature flags of the requested project. Use the `page`
        and `per_page` pagination parameters to control the pagination of results.
      tags:
      - Feature flags
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesFeatureFlag"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: scope
        required: false
        description: Filter feature flags by condition.
        schema:
          type: string
          enum:
          - enabled
          - disabled
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdFeatureFlags
      summary: Create a feature flag
      description: Creates a feature flag for a specified project.
      tags:
      - Feature flags
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesFeatureFlag"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdFeatureFlagsRequest"
  "/api/v4/projects/{id}/feature_flags_settings":
    get:
      operationId: getApiV4ProjectsIdFeatureFlagsSettings
      summary: Retrieve feature flag settings
      description: Retrieves the feature flag settings of a specified project. Enforcement
        of `minimum_role` is behind a feature flag named `feature_flag_management_permissions`,
        disabled by default. This feature was introduced in GitLab 19.4.
      tags:
      - Feature flags
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesFeatureFlagSettings"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdFeatureFlagsSettings
      summary: Update feature flag settings
      description: Updates the feature flag settings of a specified project. You must
        have the Maintainer or Owner role for the project. To change `minimum_role`
        from `owner` or `no_one_allowed`, you must have the Owner role. Enforcement
        of `minimum_role` is behind a feature flag named `feature_flag_management_permissions`,
        disabled by default. This feature was introduced in GitLab 19.4.
      tags:
      - Feature flags
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesFeatureFlagSettings"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdFeatureFlagsSettingsRequest"
  "/api/v4/projects/{id}/feature_flags/{feature_flag_name}":
    get:
      operationId: getApiV4ProjectsIdFeatureFlagsFeatureFlagName
      summary: Retrieve a feature flag
      description: Retrieves a specified feature flag.
      tags:
      - Feature flags
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesFeatureFlag"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: feature_flag_name
        required: true
        description: Name of the feature flag.
        schema:
          type: string
        in: path
    put:
      operationId: putApiV4ProjectsIdFeatureFlagsFeatureFlagName
      summary: Update a feature flag
      description: Updates a specified feature flag.
      tags:
      - Feature flags
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesFeatureFlag"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: feature_flag_name
        required: true
        description: Name of the feature flag.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdFeatureFlagsFeatureFlagNameRequest"
    delete:
      operationId: deleteApiV4ProjectsIdFeatureFlagsFeatureFlagName
      summary: Delete a feature flag
      description: Deletes a specified feature flag.
      tags:
      - Feature flags
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesFeatureFlag"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: feature_flag_name
        required: true
        description: Name of the feature flag.
        schema:
          type: string
        in: path
  "/api/v4/events":
    get:
      operationId: getApiV4Events
      summary: List all events
      description: Lists all events for the authenticated user. Does not return events
        associated with epics or merge requests. Returns bulk push events with limited
        commit details. Events about a wiki page include a `wiki_page` object. To
        return only those events, set `target_type` to `wiki`. Requires a token with
        the `read_user` or `api` scope.
      tags:
      - Events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesEvent"
        '401':
          description: Unauthorized
        '400':
          description: Bad Request
      parameters:
      - name: scope
        required: false
        description: Include all events across the user's projects.
        schema:
          type: string
          nullable: true
        in: query
        example: all
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: action
        required: false
        description: Filter events by the specified [action type](https://docs.gitlab.com/user/profile/contributions_calendar/#user-contribution-events).
        schema:
          type: string
          nullable: true
        in: query
      - name: target_type
        required: false
        description: Filter events by target type.
        schema:
          type: string
          enum:
          - issue
          - milestone
          - merge_request
          - note
          - project
          - snippet
          - user
          - wiki
          - design
          nullable: true
        in: query
      - name: before
        required: false
        description: Return events created before the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
      - name: after
        required: false
        description: Return events created after the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order by creation date.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
  "/api/v4/users/{id}/events":
    get:
      operationId: getApiV4UsersIdEvents
      summary: Retrieve contribution events for a user
      description: Retrieves the contribution events for a specified user. Does not
        return events associated with epics or merge requests. Returns bulk push events
        with limited commit details. A token used to authenticate must have the `read_user`
        or `api` scope.
      tags:
      - Events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesEvent"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or username of the user.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: action
        required: false
        description: Filter events by the specified [action type](https://docs.gitlab.com/user/profile/contributions_calendar/#user-contribution-events).
        schema:
          type: string
          nullable: true
        in: query
      - name: target_type
        required: false
        description: Filter events by target type.
        schema:
          type: string
          enum:
          - issue
          - milestone
          - merge_request
          - note
          - project
          - snippet
          - user
          - wiki
          - design
          nullable: true
        in: query
      - name: before
        required: false
        description: Return events created before the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
      - name: after
        required: false
        description: Return events created after the specified date.
        schema:
          type: string
          format: date
          nullable: true
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order by creation date.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
  "/api/v4/projects/{id}/error_tracking/settings":
    get:
      operationId: getApiV4ProjectsIdErrorTrackingSettings
      summary: Retrieve Error Tracking settings for a project
      description: Retrieves the Error Tracking settings for a specified project.
      tags:
      - Error tracking
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesErrorTrackingProjectSetting"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
    patch:
      operationId: patchApiV4ProjectsIdErrorTrackingSettings
      summary: Update Error Tracking settings for a project
      description: Updates Error Tracking settings for a specified project. You must
        have the Maintainer or Owner role for the project.
      tags:
      - Error tracking
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesErrorTrackingProjectSetting"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4ProjectsIdErrorTrackingSettingsRequest"
    put:
      operationId: putApiV4ProjectsIdErrorTrackingSettings
      summary: Create Error Tracking settings for a project
      description: Creates Error Tracking settings for a specified project. You must
        have the Maintainer or Owner role for the project.
      tags:
      - Error tracking
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesErrorTrackingProjectSetting"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdErrorTrackingSettingsRequest"
  "/api/v4/projects/{id}/error_tracking/client_keys":
    get:
      operationId: getApiV4ProjectsIdErrorTrackingClientKeys
      summary: List all project client keys
      description: Lists all integrated error tracking client keys for a specified
        project.
      tags:
      - Error tracking
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesErrorTrackingClientKey"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
    post:
      operationId: postApiV4ProjectsIdErrorTrackingClientKeys
      summary: Create a client key
      description: Creates a client key for integrated error tracking in a specified
        project. The public key attribute is generated automatically.
      tags:
      - Error tracking
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesErrorTrackingClientKey"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/error_tracking/client_keys/{key_id}":
    delete:
      operationId: deleteApiV4ProjectsIdErrorTrackingClientKeysKeyId
      summary: Delete a client key
      description: Deletes an integrated error tracking client key from a specified
        project.
      tags:
      - Error tracking
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesErrorTrackingClientKey"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: key_id
        required: true
        description: ID of the client key.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/environments":
    get:
      operationId: getApiV4ProjectsIdEnvironments
      summary: List all environments
      description: Lists all environments for a specified project.
      tags:
      - Environments
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesEnvironment"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: name
        required: false
        description: Return the environment with this name. Mutually exclusive with
          `search`.
        schema:
          type: string
          nullable: true
        in: query
      - name: search
        required: false
        description: Return list of environments matching the search criteria. Must
          be at least 3 characters. Mutually exclusive with `name`.
        schema:
          type: string
          nullable: true
        in: query
      - name: states
        required: false
        description: Filter environments by state. If omitted, returns all environments.
        schema:
          type: string
          enum:
          - stopped
          - stopping
          - available
          nullable: true
        in: query
    post:
      operationId: postApiV4ProjectsIdEnvironments
      summary: Create an environment
      description: Creates an environment for a specified project.
      tags:
      - Environments
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEnvironment"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdEnvironmentsRequest"
  "/api/v4/projects/{id}/environments/{environment_id}":
    put:
      operationId: putApiV4ProjectsIdEnvironmentsEnvironmentId
      summary: Update an existing environment
      description: Updates an existing environment for a project.
      tags:
      - Environments
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEnvironment"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: environment_id
        required: true
        description: ID of the environment.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdEnvironmentsEnvironmentIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdEnvironmentsEnvironmentId
      summary: Delete an environment
      description: 'Deletes an environment from a project. The environment must be
        stopped first. When the `environment_delete_in_batches` feature flag is enabled,
        a large environment is deleted over several requests: each request returns
        `409` until the environment is gone, and the rows deleted count toward a per-user
        rate limit (`environment_delete_rows_limit_per_user` application setting).
        Until the `rate_limit_environment_delete_rows` feature flag is enabled, requests
        over this limit are logged but not blocked.'
      tags:
      - Environments
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden. The user cannot delete the environment, or the environment
            is not stopped
        '404':
          description: Not found
        '409':
          description: Conflict
        '422':
          description: Unprocessable entity
        '429':
          description: Too many requests
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: environment_id
        required: true
        description: ID of the environment.
        schema:
          type: integer
        in: path
    get:
      operationId: getApiV4ProjectsIdEnvironmentsEnvironmentId
      summary: Retrieve an environment
      description: Retrieves a specified environment for a project.
      tags:
      - Environments
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEnvironment"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: environment_id
        required: true
        description: ID of the environment.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/environments/review_apps":
    delete:
      operationId: deleteApiV4ProjectsIdEnvironmentsReviewApps
      summary: Schedule multiple stopped review apps for deletion
      description: Schedules multiple stopped review apps for deletion. Only stopped
        environments in the review app folder are scheduled. The deletion is performed
        after 1 week. By default, only environments 30 days or older are deleted.
      tags:
      - Environments
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEnvironmentBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '409':
          description: Conflict
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: before
        required: false
        description: Date before which environments can be deleted. Defaults to 30
          days ago.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2015-12-24T15:51:21.880Z'
      - name: limit
        required: false
        description: Maximum number of environments to delete.
        schema:
          type: integer
          minimum: 1
          maximum: 1000
          nullable: true
          default: 100
        in: query
      - name: dry_run
        required: false
        description: If `true`, performs a dry run where no deletion is actually performed.
          If `false`, deletes the environment.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
  "/api/v4/projects/{id}/environments/{environment_id}/stop":
    post:
      operationId: postApiV4ProjectsIdEnvironmentsEnvironmentIdStop
      summary: Stop an environment
      description: Stops a specified running environment.
      tags:
      - Environments
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesEnvironment"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: environment_id
        required: true
        description: ID of the environment.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdEnvironmentsEnvironmentIdStopRequest"
  "/api/v4/projects/{id}/environments/stop_stale":
    post:
      operationId: postApiV4ProjectsIdEnvironmentsStopStale
      summary: Stop stale environments
      description: Stops all environments that were last modified or deployed to before
        a specified date. Excludes protected environments.
      tags:
      - Environments
      responses:
        '201':
          description: Created
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdEnvironmentsStopStaleRequest"
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/draft_notes":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotes
      summary: List all merge request draft notes
      description: Lists all merge request draft notes.
      tags:
      - Draft notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDraftNote"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotes
      summary: Create a draft note
      description: Creates a draft note for a specified merge request.
      tags:
      - Draft notes
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDraftNote"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesRequest"
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/draft_notes/{draft_note_id}":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteId
      summary: Retrieve a draft note
      description: Retrieves a draft note for a specified merge request.
      tags:
      - Draft notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDraftNote"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      - name: draft_note_id
        required: true
        description: ID of the draft note.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteId
      summary: Update a draft note
      description: Updates a draft note for a specified merge request.
      tags:
      - Draft notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDraftNote"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      - name: draft_note_id
        required: true
        description: ID of the draft note.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteId
      summary: Delete a draft note
      description: Deletes a draft note for a specified merge request.
      tags:
      - Draft notes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDraftNote"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      - name: draft_note_id
        required: true
        description: ID of the draft note.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/draft_notes/{draft_note_id}/publish":
    put:
      operationId: putApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteIdPublish
      summary: Publish a draft note
      description: Publishes a draft note for a specified merge request.
      tags:
      - Draft notes
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      - name: draft_note_id
        required: true
        description: ID of the draft note.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/draft_notes/bulk_publish":
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesBulkPublish
      summary: Publish all pending draft notes
      description: Publishes all pending draft notes for the current user on the specified
        merge request. Optionally sets the reviewer state and posts a summary note.
      tags:
      - Draft notes
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesBulkPublishRequest"
  "/api/v4/projects/{id}/deployments":
    get:
      operationId: getApiV4ProjectsIdDeployments
      summary: List all project deployments
      description: Lists all deployments in a project. Some filters, sort orders,
        and statuses work only in certain combinations. Returns `400 Bad Request`
        when a request filters by `updated_after` or `updated_before` without `order_by=updated_at`,
        filters by `finished_after` or `finished_before` without both `order_by=finished_at`
        and `status=success`, sets `order_by=finished_at` without filtering by `finished_after`,
        `finished_before`, or a `status` of `success`, `failed`, or `canceled`, or
        combines `updated_after` or `updated_before` with `finished_after` or `finished_before`.
      tags:
      - Deploy resources
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDeployment"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - id
          - iid
          - created_at
          - updated_at
          - finished_at
          nullable: true
          default: id
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: asc
        in: query
      - name: updated_after
        required: false
        description: Return deployments updated after the specified date. Expected
          in ISO 8601 format (`2019-03-15T08:00:00Z`)
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: updated_before
        required: false
        description: Return deployments updated before the specified date. Expected
          in ISO 8601 format (`2019-03-15T08:00:00Z`)
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: finished_after
        required: false
        description: Return deployments finished after the specified date. Expected
          in ISO 8601 format (`2019-03-15T08:00:00Z`)
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: finished_before
        required: false
        description: Return deployments finished before the specified date. Expected
          in ISO 8601 format (`2019-03-15T08:00:00Z`)
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: environment
        required: false
        description: Name of the [environment](https://docs.gitlab.com/ci/environments/)
          to filter deployments by.
        schema:
          type: string
          nullable: true
        in: query
      - name: status
        required: false
        description: Filter deployments by status.
        schema:
          type: string
          enum:
          - created
          - running
          - success
          - failed
          - canceled
          - skipped
          - blocked
          nullable: true
        in: query
    post:
      operationId: postApiV4ProjectsIdDeployments
      summary: Create a deployment
      description: Creates a deployment. The response includes the `approvals` and
        `pending_approval_count` properties.
      tags:
      - Deploy resources
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDeploymentExtended"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdDeploymentsRequest"
  "/api/v4/projects/{id}/deployments/{deployment_id}":
    get:
      operationId: getApiV4ProjectsIdDeploymentsDeploymentId
      summary: Retrieve a deployment
      description: Retrieves a specified deployment. When multiple approval rules
        are configured, the response includes the `approval_summary` property.
      tags:
      - Deploy resources
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDeploymentExtended"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: deployment_id
        required: true
        description: ID of the deployment.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdDeploymentsDeploymentId
      summary: Update a deployment
      description: Updates a specified deployment. The response includes the `approvals`
        and `pending_approval_count` properties.
      tags:
      - Deploy resources
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDeploymentExtended"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: deployment_id
        required: true
        description: ID of the deployment.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdDeploymentsDeploymentIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdDeploymentsDeploymentId
      summary: Delete a deployment
      description: Deletes a specified deployment that is not currently the last deployment
        for an environment or in a `running` state.
      tags:
      - Deploy resources
      responses:
        '204':
          description: Deployment destroyed
        '403':
          description: Forbidden
        '400':
          description: '"Cannot destroy running deployment" or "Deployment currently
            deployed to environment"'
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: deployment_id
        required: true
        description: ID of the deployment.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/deployments/{deployment_id}/merge_requests":
    get:
      operationId: getApiV4ProjectsIdDeploymentsDeploymentIdMergeRequests
      summary: List all merge requests associated with a deployment
      description: Lists all merge requests shipped with a specified deployment. Not
        all deployments can be associated with merge requests.
      tags:
      - Deploy resources
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMergeRequestBasic"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: deployment_id
        required: true
        description: ID of the deployment.
        schema:
          type: integer
        in: path
      - name: author_id
        required: false
        description: Returns merge requests created by the given user `id`. Combine
          with `scope=all` or `scope=assigned_to_me`. Mutually exclusive with `author_username`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: author_username
        required: false
        description: Returns merge requests created by the given `username`. Mutually
          exclusive with `author_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: assignee_id
        required: false
        description: Returns merge requests assigned to the given user `id`. `None`
          returns unassigned merge requests. `Any` returns merge requests with an
          assignee. Mutually exclusive with `assignee_username`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: assignee_username
        required: false
        description: Returns merge requests assigned to the given usernames. Instances
          without a license accept only one username. Mutually exclusive with `assignee_id`.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: reviewer_username
        required: false
        description: Returns merge requests which have the user as a reviewer with
          the given `username`. Introduced in GitLab 13.8. Mutually exclusive with
          `reviewer_id`.
        schema:
          type: string
          nullable: true
        in: query
      - name: labels
        required: false
        description: Returns merge requests matching a comma-separated list of labels.
          `None` lists all merge requests with no labels. `Any` lists all merge requests
          with at least one label. Predefined names are case-insensitive.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        style: form
        explode: false
      - name: milestone
        required: false
        description: Returns merge requests for a specific milestone. `None` returns
          merge requests with no milestone. `Any` returns merge requests that have
          an assigned milestone.
        schema:
          type: string
          nullable: true
        in: query
      - name: my_reaction_emoji
        required: false
        description: Returns merge requests reacted by the authenticated user by the
          given `emoji`. `None` returns issues not given a reaction. `Any` returns
          issues given at least one reaction.
        schema:
          type: string
          nullable: true
        in: query
      - name: reviewer_id
        required: false
        description: Returns merge requests which have the user as a reviewer with
          the given user `id`. `None` returns merge requests with no reviewers. `Any`
          returns merge requests with any reviewer. Mutually exclusive with `reviewer_username`.
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: state
        required: false
        description: Filter merge requests by state. Filtering by `locked` usually
          returns no results, because the `locked` state is short-lived.
        schema:
          type: string
          enum:
          - opened
          - closed
          - locked
          - merged
          - all
          nullable: true
          default: all
        in: query
      - name: order_by
        required: false
        description: Returns merge requests ordered by `created_at`, `label_priority`,
          `milestone_due`, `popularity`, `priority`, `title`, `updated_at` or `merged_at`
          fields. Introduced in GitLab 14.8. `merged_at` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/147052)
          in GitLab 17.2.
        schema:
          type: string
          enum:
          - created_at
          - label_priority
          - milestone_due
          - popularity
          - priority
          - title
          - updated_at
          - merged_at
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: with_labels_details
        required: false
        description: 'If `true`, the response returns more details for each label
          in the labels field: `name`, `color`, `description`, `description_html`,
          `text_color`.'
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_merge_status_recheck
        required: false
        description: If `true`, this projection requests (but does not guarantee)
          an asynchronous recalculation of the `merge_status` field. GitLab ignores
          this attribute when it is requested by users without the Developer, Maintainer,
          or Owner role.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: created_after
        required: false
        description: Return merge requests created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: created_before
        required: false
        description: Return merge requests created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: updated_after
        required: false
        description: Return merge requests updated on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: updated_before
        required: false
        description: Return merge requests updated on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: merged_after
        required: false
        description: Return merge requests merged on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: merged_before
        required: false
        description: Return merge requests merged on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: view
        required: false
        description: If `simple`, returns the `iid`, URL, title, description, and
          basic state of merge request.
        schema:
          type: string
          enum:
          - simple
          nullable: true
        in: query
      - name: scope
        required: false
        description: Return merge requests for the given scope. `reviews_for_me` returns
          merge requests where the current user is assigned as a reviewer. Default
          is `all`.
        schema:
          type: string
          enum:
          - created-by-me
          - assigned-to-me
          - created_by_me
          - assigned_to_me
          - reviews_for_me
          - all
          nullable: true
        in: query
      - name: source_branch
        required: false
        description: Return merge requests with the given source branch.
        schema:
          type: string
          nullable: true
        in: query
      - name: source_project_id
        required: false
        description: Return merge requests with the given source project ID.
        schema:
          type: integer
          nullable: true
        in: query
      - name: target_branch
        required: false
        description: Return merge requests with the given target branch.
        schema:
          type: string
          nullable: true
        in: query
      - name: search
        required: false
        description: Search merge requests against their `title` and `description`.
          Combine with the `in` attribute.
        schema:
          type: string
          nullable: true
        in: query
      - name: in
        required: false
        description: Modify the scope of the `search` attribute to `title`, `description`,
          or `title,description`. If omitted, defaults to `title,description`.
        schema:
          type: string
          nullable: true
        in: query
        example: title,description
      - name: wip
        required: false
        description: Filter merge requests by their `wip` status. `yes` returns only
          draft merge requests, `no` returns non-draft merge requests. [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/234098)
          in GitLab 19.0. Use `draft` instead. Mutually exclusive with `draft`.
        schema:
          type: string
          enum:
          - 'yes'
          - 'no'
          nullable: true
        in: query
      - name: draft
        required: false
        description: If `true`, returns only draft merge requests. If `false`, returns
          only non-draft merge requests. Mutually exclusive with `wip`.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: not
        required: false
        description: 'Return merge requests that do not match the parameters supplied.
          Accepts: `labels`, `milestone`, `author_id`, `author_username`, `assignee_id`,
          `assignee_username`, `reviewer_id`, `reviewer_username`, `my_reaction_emoji`.'
        schema:
          type: object
          nullable: true
        in: query
      - name: not[author_id]
        required: false
        description: "`<Negated>` Returns merge requests created by the given user
          `id`. Combine with `scope=all` or `scope=assigned_to_me`. Mutually exclusive
          with `not[author_username]`."
        schema:
          type: integer
          nullable: true
        in: query
      - name: not[author_username]
        required: false
        description: "`<Negated>` Returns merge requests created by the given `username`.
          Mutually exclusive with `not[author_id]`."
        schema:
          type: string
          nullable: true
        in: query
      - name: not[assignee_id]
        required: false
        description: "`<Negated>` Returns merge requests assigned to the given user
          `id`. `None` returns unassigned merge requests. `Any` returns merge requests
          with an assignee. Mutually exclusive with `not[assignee_username]`."
        schema:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
        in: query
      - name: not[assignee_username]
        required: false
        description: "`<Negated>` Returns merge requests assigned to the given usernames.
          Instances without a license accept only one username. Mutually exclusive
          with `not[assignee_id]`."
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: not[reviewer_username]
        required: false
        description: "`<Negated>` Returns merge requests which have the user as a
          reviewer with the given `username`. Introduced in GitLab 13.8. Mutually
          exclusive with `not[reviewer_id]`."
        schema:
          type: string
          nullable: true
        in: query
      - name: not[labels]
        required: false
        description: "`<Negated>` Returns merge requests matching a comma-separated
          list of labels. `None` lists all merge requests with no labels. `Any` lists
          all merge requests with at least one label. Predefined names are case-insensitive."
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
      - name: not[milestone]
        required: false
        description: "`<Negated>` Returns merge requests for a specific milestone.
          `None` returns merge requests with no milestone. `Any` returns merge requests
          that have an assigned milestone."
        schema:
          type: string
          nullable: true
        in: query
      - name: not[my_reaction_emoji]
        required: false
        description: "`<Negated>` Returns merge requests reacted by the authenticated
          user by the given `emoji`. `None` returns issues not given a reaction. `Any`
          returns issues given at least one reaction."
        schema:
          type: string
          nullable: true
        in: query
      - name: not[reviewer_id]
        required: false
        description: "`<Negated>` Returns merge requests which have the user as a
          reviewer with the given user `id`. Mutually exclusive with `not[reviewer_username]`."
        schema:
          type: integer
          nullable: true
        in: query
      - name: deployed_before
        required: false
        description: Return merge requests deployed before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: deployed_after
        required: false
        description: Return merge requests deployed after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2019-03-15T08:00:00Z'
      - name: environment
        required: false
        description: Return merge requests deployed to the given environment.
        schema:
          type: string
          nullable: true
        in: query
        example: production
      - name: merge_user_id
        required: false
        description: Returns merge requests which have been merged by the user with
          the given user `id`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/140002)
          in GitLab 17.0. Mutually exclusive with `merge_user_username`.
        schema:
          type: integer
          nullable: true
        in: query
      - name: merge_user_username
        required: false
        description: Returns merge requests which have been merged by the user with
          the given `username`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/140002)
          in GitLab 17.0. Mutually exclusive with `merge_user_id`.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/projects/{id}/deployments/{deployment_id}/approval":
    post:
      operationId: postApiV4ProjectsIdDeploymentsDeploymentIdApproval
      summary: Approve or reject a deployment
      description: Approves or rejects a deployment.
      tags:
      - Deploy resources
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDeploymentsApproval"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: deployment_id
        required: true
        description: ID of the deployment.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdDeploymentsDeploymentIdApprovalRequest"
      x-gitlab-tier: premium
  "/api/v4/deploy_tokens":
    get:
      operationId: getApiV4DeployTokens
      summary: List all deploy tokens
      description: Lists all deploy tokens for the instance. Requires administrator
        access.
      tags:
      - Deploy resources
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDeployToken"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: active
        required: false
        description: If `true`, returns only active deploy tokens.
        schema:
          type: boolean
          nullable: true
        in: query
  "/api/v4/projects/{id}/deploy_tokens":
    get:
      operationId: getApiV4ProjectsIdDeployTokens
      summary: List all project deploy tokens
      description: Lists all project deploy tokens.
      tags:
      - Deploy resources
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDeployToken"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: active
        required: false
        description: If `true`, returns only active deploy tokens.
        schema:
          type: boolean
          nullable: true
        in: query
    post:
      operationId: postApiV4ProjectsIdDeployTokens
      summary: Create a project deploy token
      description: Creates a project deploy token.
      tags:
      - Deploy resources
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDeployTokenWithToken"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdDeployTokensRequest"
  "/api/v4/projects/{id}/deploy_tokens/{token_id}":
    get:
      operationId: getApiV4ProjectsIdDeployTokensTokenId
      summary: Retrieve a project deploy token
      description: Retrieves a project deploy token.
      tags:
      - Deploy resources
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDeployToken"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: token_id
        required: true
        description: ID of the deploy token.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdDeployTokensTokenId
      summary: Delete a project deploy token
      description: Deletes a project deploy token.
      tags:
      - Deploy resources
      responses:
        '204':
          description: Resource deleted
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: token_id
        required: true
        description: ID of the deploy token.
        schema:
          type: integer
        in: path
  "/api/v4/groups/{id}/deploy_tokens":
    get:
      operationId: getApiV4GroupsIdDeployTokens
      summary: List all group deploy tokens
      description: Lists all group deploy tokens.
      tags:
      - Deploy resources
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDeployToken"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: active
        required: false
        description: If `true`, returns only active deploy tokens.
        schema:
          type: boolean
          nullable: true
        in: query
    post:
      operationId: postApiV4GroupsIdDeployTokens
      summary: Create a group deploy token
      description: Creates a group deploy token.
      tags:
      - Deploy resources
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDeployTokenWithToken"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdDeployTokensRequest"
  "/api/v4/groups/{id}/deploy_tokens/{token_id}":
    get:
      operationId: getApiV4GroupsIdDeployTokensTokenId
      summary: Retrieve a group deploy token
      description: 'Get a single group''s deploy token by ID. This feature was introduced
        in GitLab 14.9. '
      tags:
      - Deploy resources
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDeployToken"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: token_id
        required: true
        description: ID of the deploy token.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4GroupsIdDeployTokensTokenId
      summary: Delete a group deploy token
      description: Deletes a group deploy token.
      tags:
      - Deploy resources
      responses:
        '204':
          description: Resource deleted
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: integer
          - type: string
        in: path
      - name: token_id
        required: true
        description: ID of the deploy token.
        schema:
          type: integer
        in: path
  "/api/v4/deploy_keys":
    get:
      operationId: getApiV4DeployKeys
      summary: List all deploy keys
      description: Lists all deploy keys for the instance. Requires administrator
        access.
      tags:
      - Deploy resources
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDeployKey"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: public
        required: false
        description: If `true`, returns only deploy keys that are public.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
    post:
      operationId: postApiV4DeployKeys
      summary: Create a deploy key
      description: Creates a deploy key for the GitLab instance. Requires administrator
        access. This feature was introduced in GitLab 17.5.
      tags:
      - Deploy resources
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDeployKey"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4DeployKeysRequest"
  "/api/v4/projects/{id}/deploy_keys":
    get:
      operationId: getApiV4ProjectsIdDeployKeys
      summary: List all deploy keys for project
      description: Lists all deploy keys for a specified project.
      tags:
      - Deploy resources
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDeployKeysProject"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdDeployKeys
      summary: Add a deploy key for a project
      description: Adds a deploy key for a specified project. If the deploy key already
        exists in another project, it is joined to the current project only if the
        original one is accessible by the same user.
      tags:
      - Deploy resources
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDeployKeysProject"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdDeployKeysRequest"
  "/api/v4/projects/{id}/deploy_keys/{key_id}":
    get:
      operationId: getApiV4ProjectsIdDeployKeysKeyId
      summary: Retrieve a deploy key
      description: Retrieves a specified deploy key.
      tags:
      - Deploy resources
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDeployKeysProject"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: key_id
        required: true
        description: ID of the deploy key.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdDeployKeysKeyId
      summary: Update a deploy key
      description: Updates a deploy key for a project.
      tags:
      - Deploy resources
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDeployKey"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: key_id
        required: true
        description: ID of the deploy key.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdDeployKeysKeyIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdDeployKeysKeyId
      summary: Delete a deploy key
      description: Deletes a deploy key from the project. If the deploy key is used
        only for this project, it is deleted from the system.
      tags:
      - Deploy resources
      responses:
        '204':
          description: Resource deleted
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: key_id
        required: true
        description: ID of the deploy key.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/deploy_keys/{key_id}/enable":
    post:
      operationId: postApiV4ProjectsIdDeployKeysKeyIdEnable
      summary: Enable a deploy key
      description: Enables a deploy key for a project so this can be used. Returns
        the enabled key, with a status code 201 when successful.
      tags:
      - Deploy resources
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDeployKey"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: key_id
        required: true
        description: ID of the deploy key.
        schema:
          type: integer
        in: path
  "/api/v4/groups/{id}/dependency_proxy/cache":
    delete:
      operationId: deleteApiV4GroupsIdDependencyProxyCache
      summary: Purge the dependency proxy for a group
      description: Purges the dependency proxy for a specified group and schedules
        the cached manifests and blobs for deletion. This endpoint requires the Owner
        role for the group.
      tags:
      - Dependency proxy
      responses:
        '202':
          description: Accepted
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/groups/{id}/-/packages/debian/dists/{distribution}/Release.gpg":
    get:
      operationId: getApiV4GroupsIdDashPackagesDebianDistsDistributionReleaseGpg
      summary: The Release file signature
      description: Downloads a specified Debian release file signature. This feature
        was introduced in GitLab 13.5.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: distribution
        required: true
        description: The Debian Codename or Suite
        schema:
          type: string
        in: path
        example: my-distro
  "/api/v4/groups/{id}/-/packages/debian/dists/{distribution}/Release":
    get:
      operationId: getApiV4GroupsIdDashPackagesDebianDistsDistributionRelease
      summary: The unsigned Release file
      description: Downloads a specified Debian distribution Release file. This feature
        was introduced in GitLab 13.5.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: distribution
        required: true
        description: The Debian Codename or Suite
        schema:
          type: string
        in: path
        example: my-distro
  "/api/v4/groups/{id}/-/packages/debian/dists/{distribution}/InRelease":
    get:
      operationId: getApiV4GroupsIdDashPackagesDebianDistsDistributionInrelease
      summary: The signed Release file
      description: Downloads a specified signed Debian distribution Release file.
        This feature was introduced in GitLab 13.5.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: distribution
        required: true
        description: The Debian Codename or Suite
        schema:
          type: string
        in: path
        example: my-distro
  "/api/v4/groups/{id}/-/packages/debian/dists/{distribution}/{component}/debian-installer/binary-{architecture}/Packages":
    get:
      operationId: getApiV4GroupsIdDashPackagesDebianDistsDistributionComponentDebianInstallerBinaryArchitecturePackages
      summary: The installer (udeb) binary files index
      description: Downloads a specified Debian Installer packages index. This feature
        was introduced in GitLab 15.4.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: distribution
        required: true
        description: The Debian Codename or Suite
        schema:
          type: string
        in: path
        example: my-distro
      - name: component
        required: true
        description: The Debian Component
        schema:
          type: string
        in: path
        example: main
      - name: architecture
        required: true
        description: The Debian Architecture
        schema:
          type: string
        in: path
        example: binary-amd64
  ? "/api/v4/groups/{id}/-/packages/debian/dists/{distribution}/{component}/debian-installer/binary-{architecture}/by-hash/SHA256/{file_sha256}"
  : get:
      operationId: getApiV4GroupsIdDashPackagesDebianDistsDistributionComponentDebianInstallerBinaryArchitectureByHashSha256FileSha256
      summary: The installer (udeb) binary files index by hash
      description: Downloads a specified Debian Installer packages index by hash.
        This feature was introduced in GitLab 15.4.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: distribution
        required: true
        description: The Debian Codename or Suite
        schema:
          type: string
        in: path
        example: my-distro
      - name: component
        required: true
        description: The Debian Component
        schema:
          type: string
        in: path
        example: main
      - name: architecture
        required: true
        description: The Debian Architecture
        schema:
          type: string
        in: path
        example: binary-amd64
      - name: file_sha256
        required: true
        description: The SHA256 checksum of the index file
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/-/packages/debian/dists/{distribution}/{component}/source/Sources":
    get:
      operationId: getApiV4GroupsIdDashPackagesDebianDistsDistributionComponentSourceSources
      summary: The source files index
      description: Downloads a specified source packages index. This feature was introduced
        in GitLab 15.4.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: distribution
        required: true
        description: The Debian Codename or Suite
        schema:
          type: string
        in: path
        example: my-distro
      - name: component
        required: true
        description: The Debian Component
        schema:
          type: string
        in: path
        example: main
  "/api/v4/groups/{id}/-/packages/debian/dists/{distribution}/{component}/source/by-hash/SHA256/{file_sha256}":
    get:
      operationId: getApiV4GroupsIdDashPackagesDebianDistsDistributionComponentSourceByHashSha256FileSha256
      summary: The source files index by hash
      description: Downloads a specified source packages index by hash. This feature
        was introduced in GitLab 15.4.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: distribution
        required: true
        description: The Debian Codename or Suite
        schema:
          type: string
        in: path
        example: my-distro
      - name: component
        required: true
        description: The Debian Component
        schema:
          type: string
        in: path
        example: main
      - name: file_sha256
        required: true
        description: The SHA256 checksum of the index file
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/-/packages/debian/dists/{distribution}/{component}/binary-{architecture}/Packages":
    get:
      operationId: getApiV4GroupsIdDashPackagesDebianDistsDistributionComponentBinaryArchitecturePackages
      summary: The binary files index
      description: Downloads a specified packages index. This feature was introduced
        in GitLab 13.5.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: distribution
        required: true
        description: The Debian Codename or Suite
        schema:
          type: string
        in: path
        example: my-distro
      - name: component
        required: true
        description: The Debian Component
        schema:
          type: string
        in: path
        example: main
      - name: architecture
        required: true
        description: The Debian Architecture
        schema:
          type: string
        in: path
        example: binary-amd64
  "/api/v4/groups/{id}/-/packages/debian/dists/{distribution}/{component}/binary-{architecture}/by-hash/SHA256/{file_sha256}":
    get:
      operationId: getApiV4GroupsIdDashPackagesDebianDistsDistributionComponentBinaryArchitectureByHashSha256FileSha256
      summary: The binary files index by hash
      description: Downloads a specified packages index by hash. This feature was
        introduced in GitLab 15.4.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: distribution
        required: true
        description: The Debian Codename or Suite
        schema:
          type: string
        in: path
        example: my-distro
      - name: component
        required: true
        description: The Debian Component
        schema:
          type: string
        in: path
        example: main
      - name: architecture
        required: true
        description: The Debian Architecture
        schema:
          type: string
        in: path
        example: binary-amd64
      - name: file_sha256
        required: true
        description: The SHA256 checksum of the index file
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/-/packages/debian/pool/{distribution}/{project_id}/{letter}/{package_name}/{package_version}/{file_name}":
    get:
      operationId: getApiV4GroupsIdDashPackagesDebianPoolDistributionProjectIdLetterPackageNamePackageVersionFileName
      summary: Download Debian package
      description: This feature was introduced in GitLab 14.2
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: project_id
        required: true
        description: ID of the project.
        schema:
          type: integer
        in: path
      - name: distribution
        required: true
        description: Codename or suite of the Debian distribution.
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
        in: path
        example: my-distro
      - name: letter
        required: true
        description: Debian classification of the package, either first-letter or
          lib-first-letter.
        schema:
          type: string
        in: path
        example: a
      - name: package_name
        required: true
        description: Name of the source package.
        schema:
          type: string
          pattern: "^[a-z0-9][\\-+.a-z0-9]+$"
        in: path
        example: my-pkg
      - name: package_version
        required: true
        description: Version of the source package.
        schema:
          type: string
          pattern: "(?:^(?:(?:([0-9]{1,9}):)?([0-9][+.0-9A-Za-z~\\u017F\\u212A]*)(-[+.0-9A-Za-z~\\u017F\\u212A]+){0,14}(?<!-))$)"
        in: path
        example: 1.0.0
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
        in: path
        example: example_1.0.0~alpha2_amd64.deb
  "/api/v4/projects/{id}/packages/debian/dists/{distribution}/Release.gpg":
    get:
      operationId: getApiV4ProjectsIdPackagesDebianDistsDistributionReleaseGpg
      summary: The Release file signature
      description: Downloads a specified Debian release file signature. This feature
        was introduced in GitLab 13.5.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: distribution
        required: true
        description: The Debian Codename or Suite
        schema:
          type: string
        in: path
        example: my-distro
  "/api/v4/projects/{id}/packages/debian/dists/{distribution}/Release":
    get:
      operationId: getApiV4ProjectsIdPackagesDebianDistsDistributionRelease
      summary: The unsigned Release file
      description: Downloads a specified Debian distribution Release file. This feature
        was introduced in GitLab 13.5.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: distribution
        required: true
        description: The Debian Codename or Suite
        schema:
          type: string
        in: path
        example: my-distro
  "/api/v4/projects/{id}/packages/debian/dists/{distribution}/InRelease":
    get:
      operationId: getApiV4ProjectsIdPackagesDebianDistsDistributionInrelease
      summary: The signed Release file
      description: Downloads a specified signed Debian distribution Release file.
        This feature was introduced in GitLab 13.5.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: distribution
        required: true
        description: The Debian Codename or Suite
        schema:
          type: string
        in: path
        example: my-distro
  "/api/v4/projects/{id}/packages/debian/dists/{distribution}/{component}/debian-installer/binary-{architecture}/Packages":
    get:
      operationId: getApiV4ProjectsIdPackagesDebianDistsDistributionComponentDebianInstallerBinaryArchitecturePackages
      summary: The installer (udeb) binary files index
      description: Downloads a specified Debian Installer packages index. This feature
        was introduced in GitLab 15.4.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: distribution
        required: true
        description: The Debian Codename or Suite
        schema:
          type: string
        in: path
        example: my-distro
      - name: component
        required: true
        description: The Debian Component
        schema:
          type: string
        in: path
        example: main
      - name: architecture
        required: true
        description: The Debian Architecture
        schema:
          type: string
        in: path
        example: binary-amd64
  ? "/api/v4/projects/{id}/packages/debian/dists/{distribution}/{component}/debian-installer/binary-{architecture}/by-hash/SHA256/{file_sha256}"
  : get:
      operationId: getApiV4ProjectsIdPackagesDebianDistsDistributionComponentDebianInstallerBinaryArchitectureByHashSha256FileSha256
      summary: The installer (udeb) binary files index by hash
      description: Downloads a specified Debian Installer packages index by hash.
        This feature was introduced in GitLab 15.4.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: distribution
        required: true
        description: The Debian Codename or Suite
        schema:
          type: string
        in: path
        example: my-distro
      - name: component
        required: true
        description: The Debian Component
        schema:
          type: string
        in: path
        example: main
      - name: architecture
        required: true
        description: The Debian Architecture
        schema:
          type: string
        in: path
        example: binary-amd64
      - name: file_sha256
        required: true
        description: The SHA256 checksum of the index file
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/debian/dists/{distribution}/{component}/source/Sources":
    get:
      operationId: getApiV4ProjectsIdPackagesDebianDistsDistributionComponentSourceSources
      summary: The source files index
      description: Downloads a specified source packages index. This feature was introduced
        in GitLab 15.4.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: distribution
        required: true
        description: The Debian Codename or Suite
        schema:
          type: string
        in: path
        example: my-distro
      - name: component
        required: true
        description: The Debian Component
        schema:
          type: string
        in: path
        example: main
  "/api/v4/projects/{id}/packages/debian/dists/{distribution}/{component}/source/by-hash/SHA256/{file_sha256}":
    get:
      operationId: getApiV4ProjectsIdPackagesDebianDistsDistributionComponentSourceByHashSha256FileSha256
      summary: The source files index by hash
      description: Downloads a specified source packages index by hash. This feature
        was introduced in GitLab 15.4.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: distribution
        required: true
        description: The Debian Codename or Suite
        schema:
          type: string
        in: path
        example: my-distro
      - name: component
        required: true
        description: The Debian Component
        schema:
          type: string
        in: path
        example: main
      - name: file_sha256
        required: true
        description: The SHA256 checksum of the index file
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/debian/dists/{distribution}/{component}/binary-{architecture}/Packages":
    get:
      operationId: getApiV4ProjectsIdPackagesDebianDistsDistributionComponentBinaryArchitecturePackages
      summary: The binary files index
      description: Downloads a specified packages index. This feature was introduced
        in GitLab 13.5.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: distribution
        required: true
        description: The Debian Codename or Suite
        schema:
          type: string
        in: path
        example: my-distro
      - name: component
        required: true
        description: The Debian Component
        schema:
          type: string
        in: path
        example: main
      - name: architecture
        required: true
        description: The Debian Architecture
        schema:
          type: string
        in: path
        example: binary-amd64
  "/api/v4/projects/{id}/packages/debian/dists/{distribution}/{component}/binary-{architecture}/by-hash/SHA256/{file_sha256}":
    get:
      operationId: getApiV4ProjectsIdPackagesDebianDistsDistributionComponentBinaryArchitectureByHashSha256FileSha256
      summary: The binary files index by hash
      description: Downloads a specified packages index by hash. This feature was
        introduced in GitLab 15.4.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: distribution
        required: true
        description: The Debian Codename or Suite
        schema:
          type: string
        in: path
        example: my-distro
      - name: component
        required: true
        description: The Debian Component
        schema:
          type: string
        in: path
        example: main
      - name: architecture
        required: true
        description: The Debian Architecture
        schema:
          type: string
        in: path
        example: binary-amd64
      - name: file_sha256
        required: true
        description: The SHA256 checksum of the index file
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/debian/pool/{distribution}/{letter}/{package_name}/{package_version}/{file_name}":
    get:
      operationId: getApiV4ProjectsIdPackagesDebianPoolDistributionLetterPackageNamePackageVersionFileName
      summary: Download a Debian package file
      description: Downloads a specified Debian package file for a project.
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: distribution
        required: true
        description: The Debian Codename or Suite
        schema:
          type: string
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
        in: path
        example: my-distro
      - name: letter
        required: true
        description: The Debian Classification (first-letter or lib-first-letter)
        schema:
          type: string
        in: path
        example: a
      - name: package_name
        required: true
        description: The Debian Source Package Name
        schema:
          type: string
          pattern: "^[a-z0-9][\\-+.a-z0-9]+$"
        in: path
        example: my-pkg
      - name: package_version
        required: true
        description: The Debian Source Package Version
        schema:
          type: string
          pattern: "(?:^(?:(?:([0-9]{1,9}):)?([0-9][+.0-9A-Za-z~\\u017F\\u212A]*)(-[+.0-9A-Za-z~\\u017F\\u212A]+){0,14}(?<!-))$)"
        in: path
        example: 1.0.0
      - name: file_name
        required: true
        description: The Debian File Name
        schema:
          type: string
        in: path
        example: example_1.0.0~alpha2_amd64.deb
  "/api/v4/projects/{id}/packages/debian/{file_name}":
    put:
      operationId: putApiV4ProjectsIdPackagesDebianFileName
      summary: Upload a Debian package file
      description: Uploads a Debian package file for a specified project.
      tags:
      - 'Packages: Debian'
      responses:
        '201':
          description: Created
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
          pattern: "^(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\n\\uD800-\\uDFFF])*\\.(deb|udeb|ddeb)$"
        in: path
        example: example_1.0.0~alpha2_amd64.deb
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesDebianFileNameRequest"
  "/api/v4/projects/{id}/packages/debian/{file_name}/authorize":
    put:
      operationId: putApiV4ProjectsIdPackagesDebianFileNameAuthorize
      summary: Authorize Debian package upload
      description: This feature was introduced in GitLab 13.5
      tags:
      - 'Packages: Debian'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
          pattern: "^(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\n\\uD800-\\uDFFF])*\\.(deb|udeb|ddeb)$"
        in: path
        example: example_1.0.0~alpha2_amd64.deb
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesDebianFileNameAuthorizeRequest"
  "/api/v4/databases/{database_name}/dictionary/tables":
    get:
      operationId: getApiV4DatabasesDatabaseNameDictionaryTables
      summary: List dictionary tables
      description: Returns database dictionary tables filtered by database and optional
        table size
      tags:
      - Database dictionary
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDictionaryTable"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: database_name
        required: true
        description: Name of the database.
        schema:
          type: string
          enum:
          - main
          - ci
          - sec
          - mr_diff
          - embedding
          - geo
          minLength: 1
        in: path
      - name: table_size
        required: false
        description: Filter by table size classification.
        schema:
          type: string
          enum:
          - small
          - medium
          - large
          - over_limit
          nullable: true
        in: query
  "/api/v4/registry/repositories/{id}":
    get:
      operationId: getApiV4RegistryRepositoriesId
      summary: Retrieve details of a container registry repository
      description: Retrieves details of a specified container registry repository.
      tags:
      - Container registry
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesContainerRegistryRepository"
        '401':
          description: Unauthorized
        '404':
          description: Repository Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the repository.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: tags
        required: false
        description: If `true`, includes an array of `tags` in the response.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: tags_count
        required: false
        description: If `true`, includes `tags_count` in the response.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: size
        required: false
        description: If `true`, response includes the deduplicated size of all images
          in the repository. Only available on GitLab.com for repositories created
          after `2021-11-04`.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
  "/api/v4/container_registry_event/events":
    post:
      operationId: postApiV4ContainerRegistryEventEvents
      summary: Receives notifications from the container registry when an operation
        occurs
      description: This feature was introduced in GitLab 12.10
      tags:
      - Container registry
      responses:
        '200':
          description: Success
        '401':
          description: Invalid Token
        '400':
          description: Bad Request
  "/api/v4/projects/{id}/packages/conan/v2/users/authenticate":
    get:
      operationId: getApiV4ProjectsIdPackagesConanV2UsersAuthenticate
      summary: Retrieve an authentication token
      description: 'Retrieves an authentication token. Creates a JSON Web Token (JWT)
        for use as a Bearer header in other requests to the package registry. The
        request authenticates with Basic Auth, sending the base64-encoded `<username>:<access_token>`
        pair in the `Authorization: Basic` header.'
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/packages/conan/v2/users/check_credentials":
    get:
      operationId: getApiV4ProjectsIdPackagesConanV2UsersCheckCredentials
      summary: Verify authentication credentials
      description: Verifies authentication credentials for a Conan package registry.
        Accepts Basic Auth credentials or a Conan JWT generated by the `users/authenticate`
        endpoint.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/packages/conan/v2/conans/search":
    get:
      operationId: getApiV4ProjectsIdPackagesConanV2ConansSearch
      summary: Search for a Conan package
      description: Searches the instance for a specified Conan package. The project
        endpoint searches only the specified project.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: q
        required: true
        description: Search query. Use `*` as a wildcard.
        schema:
          type: string
          nullable: true
        in: query
        example: Hello*
      - name: ignorecase
        required: false
        description: If `true`, ignores case when searching.
        schema:
          type: boolean
          nullable: true
        in: query
        example: false
  "/api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/search":
    get:
      operationId: getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelSearch
      summary: Retrieve package references metadata
      description: 'Retrieves the metadata for all package references of a specified
        package. The response maps each package reference to its metadata: `settings`,
        the build settings; `options`, the package options; `requires`, the required
        dependencies; and `recipe_hash`, the hash of the recipe. This feature was
        introduced in GitLab 18.0.'
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
  "/api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/latest":
    get:
      operationId: getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelLatest
      summary: Retrieve latest recipe revision
      description: Retrieves the revision hash and creation date of the latest package
        recipe. This feature was introduced in GitLab 17.11.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanRevision"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
  "/api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions":
    get:
      operationId: getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisions
      summary: List all recipe revisions
      description: Lists all revisions for a package recipe. This feature was introduced
        in GitLab 17.11.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanRecipeRevisions"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
  ? "/api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}"
  : delete:
      operationId: deleteApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevision
      summary: Delete recipe revision
      description: Deletes a specified recipe revision from the registry. If the recipe
        revision is the only one, the package is deleted as well. This feature was
        introduced in GitLab 18.1.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe.
        schema:
          type: string
        in: path
        example: df28fd816be3a119de5ce4d374436b25
  ? "/api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/files"
  : get:
      operationId: getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionFiles
      summary: List all recipe files
      description: Lists all recipe files from the package registry. This feature
        was introduced in GitLab 17.11.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanFilesList"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe.
        schema:
          type: string
        in: path
        example: df28fd816be3a119de5ce4d374436b25
  ? "/api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/files/{file_name}"
  : get:
      operationId: getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionFilesFileName
      summary: Retrieve a recipe file
      description: Retrieves a specified recipe file from the package registry. This
        feature was introduced in GitLab 17.8.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe.
        schema:
          type: string
        in: path
        example: df28fd816be3a119de5ce4d374436b25
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
          enum:
          - conanfile.py
          - conanmanifest.txt
          - conan_sources.tgz
          - conan_export.tgz
          - conaninfo.txt
          - conan_package.tgz
          minLength: 1
        in: path
        example: conanfile.py
    put:
      operationId: putApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionFilesFileName
      summary: Upload a recipe file
      description: Uploads a specified recipe file to the package registry. This feature
        was introduced in GitLab 17.10.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe.
        schema:
          type: string
        in: path
        example: df28fd816be3a119de5ce4d374436b25
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
          enum:
          - conanfile.py
          - conanmanifest.txt
          - conan_sources.tgz
          - conan_export.tgz
          - conaninfo.txt
          - conan_package.tgz
          minLength: 1
        in: path
        example: conanfile.py
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionFilesFileNameRequest"
  ? "/api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/files/{file_name}/authorize"
  : put:
      operationId: putApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionFilesFileNameAuthorize
      summary: Workhorse authorize the Conan recipe file
      description: Authorizes the Conan recipe file. This feature was introduced in
        GitLab 17.10.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe.
        schema:
          type: string
        in: path
        example: df28fd816be3a119de5ce4d374436b25
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
          enum:
          - conanfile.py
          - conanmanifest.txt
          - conan_sources.tgz
          - conan_export.tgz
          - conaninfo.txt
          - conan_package.tgz
          minLength: 1
        in: path
        example: conanfile.py
  ? "/api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/search"
  : get:
      operationId: getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionSearch
      summary: Retrieve package references metadata by recipe revision
      description: 'Retrieves the metadata for all package references associated with
        a specified recipe revision. The response maps each package reference to its
        metadata: `settings`, the build settings; `options`, the package options;
        `requires`, the required dependencies; and `recipe_hash`, the hash of the
        recipe. This feature was introduced in GitLab 18.1.'
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe.
        schema:
          type: string
        in: path
        example: df28fd816be3a119de5ce4d374436b25
  ? "/api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/packages/{conan_package_reference}/latest"
  : get:
      operationId: getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionPackagesConanPackageReferenceLatest
      summary: Retrieve latest package revision
      description: Retrieves the revision hash and creation date of the latest package
        revision for a specified recipe revision and package reference. This feature
        was introduced in GitLab 17.11.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanRevision"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe.
        schema:
          type: string
        in: path
        example: df28fd816be3a119de5ce4d374436b25
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
  ? "/api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/packages/{conan_package_reference}/revisions"
  : get:
      operationId: getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionPackagesConanPackageReferenceRevisions
      summary: List all package revisions
      description: Lists all package revisions for a specified recipe revision and
        package reference. This feature was introduced in GitLab 18.0.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanPackageRevisions"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe.
        schema:
          type: string
        in: path
        example: df28fd816be3a119de5ce4d374436b25
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
  ? "/api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/packages/{conan_package_reference}/revisions/{package_revision}"
  : delete:
      operationId: deleteApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionPackagesConanPackageReferenceRevisionsPackageRevision
      summary: Delete a package revision
      description: Deletes a specified package revision from the registry. If the
        package reference has only one package revision, the package reference is
        deleted as well. This feature was introduced in GitLab 18.1.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe.
        schema:
          type: string
        in: path
        example: df28fd816be3a119de5ce4d374436b25
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
      - name: package_revision
        required: true
        description: Revision of the package.
        schema:
          type: string
        in: path
        example: 3bdd2d8c8e76c876ebd1ac0469a4e72c
  ? "/api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/packages/{conan_package_reference}/revisions/{package_revision}/files"
  : get:
      operationId: getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionPackagesConanPackageReferenceRevisionsPackageRevisionFiles
      summary: List all package files
      description: Lists all package files. This feature was introduced in GitLab
        18.0.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanFilesList"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe.
        schema:
          type: string
        in: path
        example: df28fd816be3a119de5ce4d374436b25
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
      - name: package_revision
        required: true
        description: Revision of the package.
        schema:
          type: string
        in: path
        example: 3bdd2d8c8e76c876ebd1ac0469a4e72c
  ? "/api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/packages/{conan_package_reference}/revisions/{package_revision}/files/{file_name}"
  : get:
      operationId: getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionPackagesConanPackageReferenceRevisionsPackageRevisionFilesFileName
      summary: Retrieve a package file
      description: Retrieves a specified package file from the package registry. This
        feature was introduced in GitLab 17.11.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe.
        schema:
          type: string
        in: path
        example: df28fd816be3a119de5ce4d374436b25
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
      - name: package_revision
        required: true
        description: Revision of the package.
        schema:
          type: string
        in: path
        example: 3bdd2d8c8e76c876ebd1ac0469a4e72c
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
          enum:
          - conanfile.py
          - conanmanifest.txt
          - conan_sources.tgz
          - conan_export.tgz
          - conaninfo.txt
          - conan_package.tgz
          minLength: 1
        in: path
        example: conaninfo.txt
    put:
      operationId: putApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionPackagesConanPackageReferenceRevisionsPackageRevisionFilesFileName
      summary: Upload a package file
      description: Uploads a specified package file to the package registry. This
        feature was introduced in GitLab 17.11.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe.
        schema:
          type: string
        in: path
        example: df28fd816be3a119de5ce4d374436b25
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
      - name: package_revision
        required: true
        description: Revision of the package.
        schema:
          type: string
        in: path
        example: 3bdd2d8c8e76c876ebd1ac0469a4e72c
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
          enum:
          - conanfile.py
          - conanmanifest.txt
          - conan_sources.tgz
          - conan_export.tgz
          - conaninfo.txt
          - conan_package.tgz
          minLength: 1
        in: path
        example: conaninfo.txt
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionPackagesConanPackageReferenceRevisionsPackageRevisionFilesFileNameRequest"
  ? "/api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/packages/{conan_package_reference}/revisions/{package_revision}/files/{file_name}/authorize"
  : put:
      operationId: putApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionPackagesConanPackageReferenceRevisionsPackageRevisionFilesFileNameAuthorize
      summary: Workhorse authorize the Conan package file
      description: Authorizes the Conan package file. This feature was introduced
        in GitLab 17.11.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe.
        schema:
          type: string
        in: path
        example: df28fd816be3a119de5ce4d374436b25
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
      - name: package_revision
        required: true
        description: Revision of the package.
        schema:
          type: string
        in: path
        example: 3bdd2d8c8e76c876ebd1ac0469a4e72c
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
          enum:
          - conanfile.py
          - conanmanifest.txt
          - conan_sources.tgz
          - conan_export.tgz
          - conaninfo.txt
          - conan_package.tgz
          minLength: 1
        in: path
        example: conaninfo.txt
  "/api/v4/projects/{id}/packages/conan/v1/users/authenticate":
    get:
      operationId: getApiV4ProjectsIdPackagesConanV1UsersAuthenticate
      summary: Retrieve an authentication token
      description: 'Retrieves an authentication token. Creates a JSON Web Token (JWT)
        for use as a Bearer header in other requests to the package registry. The
        request authenticates with Basic Auth, sending the base64-encoded `<username>:<access_token>`
        pair in the `Authorization: Basic` header.'
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/packages/conan/v1/users/check_credentials":
    get:
      operationId: getApiV4ProjectsIdPackagesConanV1UsersCheckCredentials
      summary: Verify authentication credentials
      description: Verifies authentication credentials for a Conan package registry.
        Accepts Basic Auth credentials or a Conan JWT generated by the `users/authenticate`
        endpoint.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/packages/conan/v1/conans/search":
    get:
      operationId: getApiV4ProjectsIdPackagesConanV1ConansSearch
      summary: Search for a Conan package
      description: Searches the instance for a specified Conan package. The project
        endpoint searches only the specified project.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: q
        required: true
        description: Search query. Use `*` as a wildcard.
        schema:
          type: string
          nullable: true
        in: query
        example: Hello*
      - name: ignorecase
        required: false
        description: If `true`, ignores case when searching.
        schema:
          type: boolean
          nullable: true
        in: query
        example: false
  "/api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/search":
    get:
      operationId: getApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelSearch
      summary: Retrieve package references metadata
      description: 'Retrieves the metadata for all package references of a specified
        package. The response maps each package reference to its metadata: `settings`,
        the build settings; `options`, the package options; `requires`, the required
        dependencies; and `recipe_hash`, the hash of the recipe. This feature was
        introduced in GitLab 18.0.'
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
  "/api/v4/projects/{id}/packages/conan/v1/ping":
    get:
      operationId: getApiV4ProjectsIdPackagesConanV1Ping
      summary: Verify availability of a Conan repository
      description: Verifies availability of a Conan repository.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  ? "/api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}"
  : get:
      operationId: getApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReference
      summary: Retrieve a package snapshot
      description: Retrieves a snapshot of the files for a specified Conan package
        and reference. The snapshot is a list of filenames with their associated MD5
        hash.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanPackageSnapshot"
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 103f6067a947f366ef91fc1b7da351c588d1827f
  "/api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}":
    get:
      operationId: getApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannel
      summary: Retrieve a recipe snapshot
      description: Retrieves a snapshot of the files for a specified Conan recipe.
        The snapshot is a list of filenames with their associated MD5 hash.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanRecipeSnapshot"
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
    delete:
      operationId: deleteApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannel
      summary: Delete a recipe and package
      description: Deletes a specified Conan recipe and associated package files from
        the package registry.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
  ? "/api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}/digest"
  : get:
      operationId: getApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceDigest
      summary: Retrieve a package manifest
      description: Retrieves a manifest that includes a list of files and associated
        download URLs for a specified package.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanPackageManifest"
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 103f6067a947f366ef91fc1b7da351c588d1827f
  "/api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/digest":
    get:
      operationId: getApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelDigest
      summary: Retrieve a recipe manifest
      description: Retrieves a manifest that includes a list of files and associated
        download URLs for a specified recipe.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanRecipeManifest"
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
  ? "/api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}/download_urls"
  : get:
      operationId: getApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceDownloadUrls
      summary: List all package download URLs
      description: Lists all files and associated download URLs for a specified package
        in the package registry. Returns the same payload as the package manifest
        endpoint.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanPackageManifest"
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 103f6067a947f366ef91fc1b7da351c588d1827f
  ? "/api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/download_urls"
  : get:
      operationId: getApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelDownloadUrls
      summary: List all recipe download URLs
      description: Lists all files and associated download URLs for a specified recipe
        in the package registry. Returns the same payload as the recipe manifest endpoint.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanRecipeManifest"
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
  ? "/api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}/upload_urls"
  : post:
      operationId: postApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceUploadUrls
      summary: List all package upload URLs
      description: Lists all the upload URLs for a specified collection of package
        files. The request must include a JSON object with the name and size of the
        individual files. The response maps each file name to its upload URL.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanUploadUrls"
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 103f6067a947f366ef91fc1b7da351c588d1827f
  "/api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/upload_urls":
    post:
      operationId: postApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelUploadUrls
      summary: List all recipe upload URLs
      description: Lists all the upload URLs for a specified collection of recipe
        files. The request must include a JSON object with the name and size of the
        individual files. The response maps each file name to its upload URL.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanUploadUrls"
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
  ? "/api/v4/projects/{id}/packages/conan/v1/files/{package_name}/{package_version}/{package_username}/{package_channel}/{recipe_revision}/export/{file_name}"
  : get:
      operationId: getApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName
      summary: Retrieve a recipe file
      description: Retrieves a specified recipe file from the package registry. You
        must use the download URL returned from the recipe download URLs endpoint.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe. GitLab does not yet support Conan revisions,
          so the default value of `0` is always used.
        schema:
          type: string
        in: path
        example: '0'
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
          enum:
          - conanfile.py
          - conanmanifest.txt
          - conan_sources.tgz
          - conan_export.tgz
          - conaninfo.txt
          - conan_package.tgz
          minLength: 1
        in: path
        example: conanfile.py
    put:
      operationId: putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName
      summary: Upload a recipe file
      description: Uploads a specified recipe file to the package registry. You must
        use the upload URL returned from the recipe upload URLs endpoint.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe. GitLab does not yet support Conan revisions,
          so the default value of `0` is always used.
        schema:
          type: string
        in: path
        example: '0'
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
          enum:
          - conanfile.py
          - conanmanifest.txt
          - conan_sources.tgz
          - conan_export.tgz
          - conaninfo.txt
          - conan_package.tgz
          minLength: 1
        in: path
        example: conanfile.py
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileNameRequest"
  ? "/api/v4/projects/{id}/packages/conan/v1/files/{package_name}/{package_version}/{package_username}/{package_channel}/{recipe_revision}/export/{file_name}/authorize"
  : put:
      operationId: putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileNameAuthorize
      summary: Workhorse authorize the Conan recipe file
      description: Authorizes the Conan recipe file.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe. GitLab does not yet support Conan revisions,
          so the default value of `0` is always used.
        schema:
          type: string
        in: path
        example: '0'
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
          enum:
          - conanfile.py
          - conanmanifest.txt
          - conan_sources.tgz
          - conan_export.tgz
          - conaninfo.txt
          - conan_package.tgz
          minLength: 1
        in: path
        example: conanfile.py
  ? "/api/v4/projects/{id}/packages/conan/v1/files/{package_name}/{package_version}/{package_username}/{package_channel}/{recipe_revision}/package/{conan_package_reference}/{package_revision}/{file_name}"
  : get:
      operationId: getApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName
      summary: Retrieve a package file
      description: Retrieves a specified package file from the package registry. You
        must use the download URL returned from the package download URLs endpoint.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe. GitLab does not yet support Conan revisions,
          so the default value of `0` is always used.
        schema:
          type: string
        in: path
        example: '0'
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 103f6067a947f366ef91fc1b7da351c588d1827f
      - name: package_revision
        required: true
        description: Revision of the package. GitLab does not yet support Conan revisions,
          so the default value of `0` is always used.
        schema:
          type: string
        in: path
        example: '0'
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
          enum:
          - conanfile.py
          - conanmanifest.txt
          - conan_sources.tgz
          - conan_export.tgz
          - conaninfo.txt
          - conan_package.tgz
          minLength: 1
        in: path
        example: conaninfo.txt
    put:
      operationId: putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName
      summary: Upload a package file
      description: Uploads a specified package file to the package registry. You must
        use the upload URL returned from the package upload URLs endpoint.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe. GitLab does not yet support Conan revisions,
          so the default value of `0` is always used.
        schema:
          type: string
        in: path
        example: '0'
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 103f6067a947f366ef91fc1b7da351c588d1827f
      - name: package_revision
        required: true
        description: Revision of the package. GitLab does not yet support Conan revisions,
          so the default value of `0` is always used.
        schema:
          type: string
        in: path
        example: '0'
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
          enum:
          - conanfile.py
          - conanmanifest.txt
          - conan_sources.tgz
          - conan_export.tgz
          - conaninfo.txt
          - conan_package.tgz
          minLength: 1
        in: path
        example: conaninfo.txt
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileNameRequest"
  ? "/api/v4/projects/{id}/packages/conan/v1/files/{package_name}/{package_version}/{package_username}/{package_channel}/{recipe_revision}/package/{conan_package_reference}/{package_revision}/{file_name}/authorize"
  : put:
      operationId: putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileNameAuthorize
      summary: Workhorse authorize the Conan package file
      description: Authorizes the Conan package file.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe. GitLab does not yet support Conan revisions,
          so the default value of `0` is always used.
        schema:
          type: string
        in: path
        example: '0'
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 103f6067a947f366ef91fc1b7da351c588d1827f
      - name: package_revision
        required: true
        description: Revision of the package. GitLab does not yet support Conan revisions,
          so the default value of `0` is always used.
        schema:
          type: string
        in: path
        example: '0'
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
          enum:
          - conanfile.py
          - conanmanifest.txt
          - conan_sources.tgz
          - conan_export.tgz
          - conaninfo.txt
          - conan_package.tgz
          minLength: 1
        in: path
        example: conaninfo.txt
  "/api/v4/packages/conan/v1/users/authenticate":
    get:
      operationId: getApiV4PackagesConanV1UsersAuthenticate
      summary: Retrieve an authentication token
      description: 'Retrieves an authentication token. Creates a JSON Web Token (JWT)
        for use as a Bearer header in other requests to the package registry. The
        request authenticates with Basic Auth, sending the base64-encoded `<username>:<access_token>`
        pair in the `Authorization: Basic` header.'
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '404':
          description: Not Found
  "/api/v4/packages/conan/v1/users/check_credentials":
    get:
      operationId: getApiV4PackagesConanV1UsersCheckCredentials
      summary: Verify authentication credentials
      description: Verifies authentication credentials for a Conan package registry.
        Accepts Basic Auth credentials or a Conan JWT generated by the `users/authenticate`
        endpoint.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '404':
          description: Not Found
  "/api/v4/packages/conan/v1/conans/search":
    get:
      operationId: getApiV4PackagesConanV1ConansSearch
      summary: Search for a Conan package
      description: Searches the instance for a specified Conan package. The project
        endpoint searches only the specified project.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '404':
          description: Not Found
      parameters:
      - name: q
        required: true
        description: Search query. Use `*` as a wildcard.
        schema:
          type: string
          nullable: true
        in: query
        example: Hello*
      - name: ignorecase
        required: false
        description: If `true`, ignores case when searching.
        schema:
          type: boolean
          nullable: true
        in: query
        example: false
  "/api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/search":
    get:
      operationId: getApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelSearch
      summary: Retrieve package references metadata
      description: 'Retrieves the metadata for all package references of a specified
        package. The response maps each package reference to its metadata: `settings`,
        the build settings; `options`, the package options; `requires`, the required
        dependencies; and `recipe_hash`, the hash of the recipe. This feature was
        introduced in GitLab 18.0.'
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
  "/api/v4/packages/conan/v1/ping":
    get:
      operationId: getApiV4PackagesConanV1Ping
      summary: Verify availability of a Conan repository
      description: Verifies availability of a Conan repository.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '404':
          description: Not Found
  ? "/api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}"
  : get:
      operationId: getApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReference
      summary: Retrieve a package snapshot
      description: Retrieves a snapshot of the files for a specified Conan package
        and reference. The snapshot is a list of filenames with their associated MD5
        hash.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanPackageSnapshot"
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 103f6067a947f366ef91fc1b7da351c588d1827f
  "/api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}":
    get:
      operationId: getApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannel
      summary: Retrieve a recipe snapshot
      description: Retrieves a snapshot of the files for a specified Conan recipe.
        The snapshot is a list of filenames with their associated MD5 hash.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanRecipeSnapshot"
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
    delete:
      operationId: deleteApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannel
      summary: Delete a recipe and package
      description: Deletes a specified Conan recipe and associated package files from
        the package registry.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
  ? "/api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}/digest"
  : get:
      operationId: getApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceDigest
      summary: Retrieve a package manifest
      description: Retrieves a manifest that includes a list of files and associated
        download URLs for a specified package.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanPackageManifest"
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 103f6067a947f366ef91fc1b7da351c588d1827f
  "/api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/digest":
    get:
      operationId: getApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelDigest
      summary: Retrieve a recipe manifest
      description: Retrieves a manifest that includes a list of files and associated
        download URLs for a specified recipe.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanRecipeManifest"
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
  ? "/api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}/download_urls"
  : get:
      operationId: getApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceDownloadUrls
      summary: List all package download URLs
      description: Lists all files and associated download URLs for a specified package
        in the package registry. Returns the same payload as the package manifest
        endpoint.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanPackageManifest"
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 103f6067a947f366ef91fc1b7da351c588d1827f
  "/api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/download_urls":
    get:
      operationId: getApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelDownloadUrls
      summary: List all recipe download URLs
      description: Lists all files and associated download URLs for a specified recipe
        in the package registry. Returns the same payload as the recipe manifest endpoint.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanRecipeManifest"
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
  ? "/api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}/upload_urls"
  : post:
      operationId: postApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceUploadUrls
      summary: List all package upload URLs
      description: Lists all the upload URLs for a specified collection of package
        files. The request must include a JSON object with the name and size of the
        individual files. The response maps each file name to its upload URL.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanUploadUrls"
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 103f6067a947f366ef91fc1b7da351c588d1827f
  "/api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/upload_urls":
    post:
      operationId: postApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelUploadUrls
      summary: List all recipe upload URLs
      description: Lists all the upload URLs for a specified collection of recipe
        files. The request must include a JSON object with the name and size of the
        individual files. The response maps each file name to its upload URL.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPackagesConanUploadUrls"
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
  ? "/api/v4/packages/conan/v1/files/{package_name}/{package_version}/{package_username}/{package_channel}/{recipe_revision}/export/{file_name}"
  : get:
      operationId: getApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName
      summary: Retrieve a recipe file
      description: Retrieves a specified recipe file from the package registry. You
        must use the download URL returned from the recipe download URLs endpoint.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe. GitLab does not yet support Conan revisions,
          so the default value of `0` is always used.
        schema:
          type: string
        in: path
        example: '0'
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
          enum:
          - conanfile.py
          - conanmanifest.txt
          - conan_sources.tgz
          - conan_export.tgz
          - conaninfo.txt
          - conan_package.tgz
          minLength: 1
        in: path
        example: conanfile.py
    put:
      operationId: putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName
      summary: Upload a recipe file
      description: Uploads a specified recipe file to the package registry. You must
        use the upload URL returned from the recipe upload URLs endpoint.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe. GitLab does not yet support Conan revisions,
          so the default value of `0` is always used.
        schema:
          type: string
        in: path
        example: '0'
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
          enum:
          - conanfile.py
          - conanmanifest.txt
          - conan_sources.tgz
          - conan_export.tgz
          - conaninfo.txt
          - conan_package.tgz
          minLength: 1
        in: path
        example: conanfile.py
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileNameRequest"
  ? "/api/v4/packages/conan/v1/files/{package_name}/{package_version}/{package_username}/{package_channel}/{recipe_revision}/export/{file_name}/authorize"
  : put:
      operationId: putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileNameAuthorize
      summary: Workhorse authorize the Conan recipe file
      description: Authorizes the Conan recipe file.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe. GitLab does not yet support Conan revisions,
          so the default value of `0` is always used.
        schema:
          type: string
        in: path
        example: '0'
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
          enum:
          - conanfile.py
          - conanmanifest.txt
          - conan_sources.tgz
          - conan_export.tgz
          - conaninfo.txt
          - conan_package.tgz
          minLength: 1
        in: path
        example: conanfile.py
  ? "/api/v4/packages/conan/v1/files/{package_name}/{package_version}/{package_username}/{package_channel}/{recipe_revision}/package/{conan_package_reference}/{package_revision}/{file_name}"
  : get:
      operationId: getApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName
      summary: Retrieve a package file
      description: Retrieves a specified package file from the package registry. You
        must use the download URL returned from the package download URLs endpoint.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe. GitLab does not yet support Conan revisions,
          so the default value of `0` is always used.
        schema:
          type: string
        in: path
        example: '0'
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 103f6067a947f366ef91fc1b7da351c588d1827f
      - name: package_revision
        required: true
        description: Revision of the package. GitLab does not yet support Conan revisions,
          so the default value of `0` is always used.
        schema:
          type: string
        in: path
        example: '0'
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
          enum:
          - conanfile.py
          - conanmanifest.txt
          - conan_sources.tgz
          - conan_export.tgz
          - conaninfo.txt
          - conan_package.tgz
          minLength: 1
        in: path
        example: conaninfo.txt
    put:
      operationId: putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName
      summary: Upload a package file
      description: Uploads a specified package file to the package registry. You must
        use the upload URL returned from the package upload URLs endpoint.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe. GitLab does not yet support Conan revisions,
          so the default value of `0` is always used.
        schema:
          type: string
        in: path
        example: '0'
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 103f6067a947f366ef91fc1b7da351c588d1827f
      - name: package_revision
        required: true
        description: Revision of the package. GitLab does not yet support Conan revisions,
          so the default value of `0` is always used.
        schema:
          type: string
        in: path
        example: '0'
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
          enum:
          - conanfile.py
          - conanmanifest.txt
          - conan_sources.tgz
          - conan_export.tgz
          - conaninfo.txt
          - conan_package.tgz
          minLength: 1
        in: path
        example: conaninfo.txt
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileNameRequest"
  ? "/api/v4/packages/conan/v1/files/{package_name}/{package_version}/{package_username}/{package_channel}/{recipe_revision}/package/{conan_package_reference}/{package_revision}/{file_name}/authorize"
  : put:
      operationId: putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileNameAuthorize
      summary: Workhorse authorize the Conan package file
      description: Authorizes the Conan package file.
      tags:
      - 'Packages: Conan'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: package_name
        required: true
        description: Name of the package.
        schema:
          type: string
        in: path
        example: my-package
      - name: package_version
        required: true
        description: Version of the package.
        schema:
          type: string
        in: path
        example: '1.0'
      - name: package_username
        required: true
        description: Conan username of the package. This is the `+`-separated full
          path of the project.
        schema:
          type: string
        in: path
        example: my-group+my-project
      - name: package_channel
        required: true
        description: Channel of the package.
        schema:
          type: string
        in: path
        example: stable
      - name: recipe_revision
        required: true
        description: Revision of the recipe. GitLab does not yet support Conan revisions,
          so the default value of `0` is always used.
        schema:
          type: string
        in: path
        example: '0'
      - name: conan_package_reference
        required: true
        description: Reference hash of the Conan package. Conan generates this value.
        schema:
          type: string
        in: path
        example: 103f6067a947f366ef91fc1b7da351c588d1827f
      - name: package_revision
        required: true
        description: Revision of the package. GitLab does not yet support Conan revisions,
          so the default value of `0` is always used.
        schema:
          type: string
        in: path
        example: '0'
      - name: file_name
        required: true
        description: Name of the package file.
        schema:
          type: string
          enum:
          - conanfile.py
          - conanmanifest.txt
          - conan_sources.tgz
          - conan_export.tgz
          - conaninfo.txt
          - conan_package.tgz
          minLength: 1
        in: path
        example: conaninfo.txt
  "/api/v4/group/{id}/-/packages/composer/packages":
    get:
      operationId: getApiV4GroupIdDashPackagesComposerPackages
      summary: Retrieve repository URL templates
      description: Retrieves the repository URL templates for requesting individual
        packages for a group. Composer V1 and V2 both use this endpoint. If the `User-Agent`
        header contains `Composer/2`, the endpoint returns the V2 response, which
        contains only `packages` and the `metadata-url` template. Composer V2 is recommended
        over V1.
      tags:
      - 'Packages: Composer'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/group/{id}/-/packages/composer/p/{sha}":
    get:
      operationId: getApiV4GroupIdDashPackagesComposerPSha
      summary: List all packages for a group
      description: Lists all repository packages for a specified group. Composer V2
        is recommended over V1.
      tags:
      - 'Packages: Composer'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: sha
        required: true
        description: Provider SHA from the repository URL templates response.
        schema:
          type: string
        in: path
        example: 673594f85a55fe3c0eb45df7bd2fa9d95a1601ab
  "/api/v4/group/{id}/-/packages/composer/p2/{package_name}":
    get:
      operationId: getApiV4GroupIdDashPackagesComposerP2PackageName
      summary: Composer v2 packages p2 endpoint for a group's package versions metadata
      description: Retrieves the list of versions and metadata for a specified package
        for a group. This feature was introduced in GitLab 13.1
      tags:
      - 'Packages: Composer'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: The Composer package name
        schema:
          type: string
        in: path
        example: my-composer-package
  "/api/v4/group/{id}/-/packages/composer/{package_name}":
    get:
      operationId: getApiV4GroupIdDashPackagesComposerPackageName
      summary: Composer packages endpoint for a group's package versions metadata
      description: Retrieves the list of versions and metadata for a specified package
        for a group. Composer V2 is recommended over V1. This feature was introduced
        in GitLab 12.1
      tags:
      - 'Packages: Composer'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: The Composer package name, followed by `$` and the SHA digest
          of the package from the V1 packages list. URL-encode `$` as `%24`.
        schema:
          type: string
        in: path
        example: my-composer-package
  "/api/v4/projects/{id}/packages/composer":
    post:
      operationId: postApiV4ProjectsIdPackagesComposer
      summary: Create a package
      description: Creates a Composer package from a specified Git tag or branch for
        a project.
      tags:
      - 'Packages: Composer'
      responses:
        '201':
          description: Created
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdPackagesComposerRequest"
  "/api/v4/projects/{id}/packages/composer/archives/{package_name}":
    get:
      operationId: getApiV4ProjectsIdPackagesComposerArchivesPackageName
      summary: Composer package endpoint to download a package archive
      description: Downloads a specified Composer package archive for a project. The
        V1 and V2 package metadata responses provide this URL. The request must include
        a `.zip` file extension. This feature was introduced in GitLab 13.1
      tags:
      - 'Packages: Composer'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: sha
        required: true
        description: Target SHA of the requested package version.
        schema:
          type: string
          nullable: true
        in: query
        example: 673594f85a55fe3c0eb45df7bd2fa9d95a1601ab
      - name: package_name
        required: true
        description: The Composer package name
        schema:
          type: string
        in: path
        example: my-composer-package
  "/api/v4/projects/{id}/repository/commits/{sha}/statuses":
    get:
      operationId: getApiV4ProjectsIdRepositoryCommitsShaStatuses
      summary: List all commit statuses
      description: Lists all commit statuses for a specified project.
      tags:
      - Commit statuses
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCommitStatus"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: sha
        required: true
        description: Commit SHA.
        schema:
          type: string
        in: path
        example: 18f3e63d05582537db6d183d9d557be09e1f90c8
      - name: ref
        required: false
        description: Name of the branch or tag. Defaults to the default branch.
        schema:
          type: string
          nullable: true
        in: query
        example: develop
      - name: stage
        required: false
        description: Filter statuses by [build stage](https://docs.gitlab.com/ci/yaml/#stages).
          For example, `test`.
        schema:
          type: string
          nullable: true
        in: query
        example: test
      - name: name
        required: false
        description: Filter statuses by [job name](https://docs.gitlab.com/ci/yaml/#job-keywords).
        schema:
          type: string
          nullable: true
        in: query
        example: bundler:audit
      - name: pipeline_id
        required: false
        description: Filter statuses by pipeline ID. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/176142)
          in GitLab 17.9.
        schema:
          type: integer
          nullable: true
        in: query
        example: 1234
      - name: all
        required: false
        description: If `true`, includes all statuses instead of only the latest.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: order_by
        required: false
        description: Sort results by the specified field. With `pipeline_id`, statuses
          of the same pipeline are also sorted by `id` in the `sort` direction. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/176142)
          in GitLab 17.9.
        schema:
          type: string
          enum:
          - id
          - pipeline_id
          nullable: true
          default: id
        in: query
      - name: sort
        required: false
        description: Sort statuses in ascending or descending order. Defaults to `asc`.
          [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/176142)
          in GitLab 17.9.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/statuses/{sha}":
    post:
      operationId: postApiV4ProjectsIdStatusesSha
      summary: Create or update a commit pipeline status
      description: 'Creates or updates the status of a commit represented by a job
        in an `external` stage. If the commit is associated with a merge request,
        target the commit in the merge request source branch. The job is added to
        the newest matching pipeline for the commit. If no matching pipeline exists,
        a new pipeline is created with `CI_PIPELINE_SOURCE: external`. When duplicate
        pipelines exist for the same commit, the newest one receives the status. If
        the matching pipeline exceeds the maximum number of jobs in a pipeline, a
        `422` error is returned when `pipeline_id` is specified. Otherwise, a new
        pipeline is created. If an update is already in progress for the same SHA
        and ref, a `409` error is returned, and the request can be retried.'
      tags:
      - Commit statuses
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCommitStatus"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Another update to this commit status is in progress
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: sha
        required: true
        description: Commit SHA.
        schema:
          type: string
        in: path
        example: 18f3e63d05582537db6d183d9d557be09e1f90c8
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdStatusesShaRequest"
  "/api/v4/projects/{id}/repository/commits":
    get:
      operationId: getApiV4ProjectsIdRepositoryCommits
      summary: List all repository commits
      description: Lists all commits for a specified project repository.
      tags:
      - Commits
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCommit"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: ref_name
        required: false
        description: Name of a repository branch, tag, or revision range. Uses the
          default branch if not given.
        schema:
          type: string
          nullable: true
        in: query
        example: v1.1.0
      - name: since
        required: false
        description: Only commits after or on this date are returned.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-09-20T11:50:22.001Z'
      - name: until
        required: false
        description: Only commits before or on this date are returned.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2021-09-20T11:50:22.001Z'
      - name: path
        required: false
        description: File path relative to the repository.
        schema:
          type: string
          nullable: true
        in: query
        example: README.md
      - name: follow
        required: false
        description: If `true`, follows file renames when filtering commits by `path`
          and returns commits for the file even if it was renamed. If `false`, returns
          only commits where the file existed at its current path. Used only when
          `path` specifies a single file. Default is `true`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/225733)
          in GitLab 18.10.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: author
        required: false
        description: Filter commits by commit author.
        schema:
          type: string
          nullable: true
        in: query
        example: John Smith
      - name: all
        required: false
        description: If `true`, retrieves every commit from the repository and ignores
          the `ref_name` parameter.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: with_stats
        required: false
        description: If `true`, includes statistics for each commit in the response.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: first_parent
        required: false
        description: If `true`, follows only the first parent commit upon seeing a
          merge commit.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: order
        required: false
        description: Order in which to list commits, either reverse chronological
          or [topological](https://git-scm.com/docs/git-log#Documentation/git-log.txt---topo-order).
        schema:
          type: string
          enum:
          - default
          - topo
          nullable: true
          default: default
        in: query
      - name: trailers
        required: false
        description: If `true`, parses and includes [Git trailers](https://git-scm.com/docs/git-interpret-trailers)
          for every commit.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: pagination
        required: false
        description: Specify the pagination method.
        schema:
          type: string
          enum:
          - legacy
          - keyset
          nullable: true
          default: legacy
        in: query
      - name: page_token
        required: false
        description: Record from which to start the keyset pagination.
        schema:
          type: string
          nullable: true
        in: query
    post:
      operationId: postApiV4ProjectsIdRepositoryCommits
      summary: Create a commit
      description: Creates a commit in the specified project from a JSON payload.
        The request body can also be form-encoded, with each action sent as `actions[][<attribute>]`
        fields. By default, requests larger than 300 MB are rejected. Requests larger
        than 20 MB are rate-limited to 3 requests every 30 seconds for each user.
        This feature was introduced in GitLab 8.13
      tags:
      - Commits
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCommitDetail"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdRepositoryCommitsRequest"
  "/api/v4/projects/{id}/repository/commits/{sha}":
    get:
      operationId: getApiV4ProjectsIdRepositoryCommitsSha
      summary: Retrieve a commit
      description: Retrieves a specified commit identified by the commit hash or name
        of a branch or tag.
      tags:
      - Commits
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCommitDetail"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: sha
        required: true
        description: Commit SHA or name of a repository branch or tag.
        schema:
          type: string
        in: path
      - name: stats
        required: false
        description: If `true`, includes commit statistics in the response.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
  "/api/v4/projects/{id}/repository/commits/{sha}/diff":
    get:
      operationId: getApiV4ProjectsIdRepositoryCommitsShaDiff
      summary: Retrieve a commit diff
      description: Retrieves the diff of a commit in a project. Diff limits apply.
        When a commit exceeds the maximum number of files, pagination stops and no
        files beyond the limit are returned.
      tags:
      - Commits
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesDiff"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: sha
        required: true
        description: Commit SHA or name of a repository branch or tag.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: unidiff
        required: false
        description: If `true`, presents diffs in the [unified diff](https://www.gnu.org/software/diffutils/manual/html_node/Detailed-Unified.html)
          format.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
  "/api/v4/projects/{id}/repository/commits/{sha}/comments":
    get:
      operationId: getApiV4ProjectsIdRepositoryCommitsShaComments
      summary: List all commit comments
      description: Lists all the comments of a commit in a project.
      tags:
      - Commits
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCommitNote"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: sha
        required: true
        description: Commit SHA or name of a repository branch or tag.
        schema:
          type: string
        in: path
    post:
      operationId: postApiV4ProjectsIdRepositoryCommitsShaComments
      summary: Create a comment on a commit
      description: Creates a comment on a commit. To comment on a specific line in
        a file, specify the full commit SHA, `path`, `line`, and set `line_type` to
        `new`. If `path` or `line` does not exist in the commit diff, the comment
        is added to the commit without a line position, and `line`, `line_type`, and
        `path` are `null` in the response. GitLab might change the comment body before
        saving it, for example by running and removing quick actions.
      tags:
      - Commits
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCommitNote"
        '400':
          description: Bad request
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: sha
        required: true
        description: Commit SHA or name of a repository branch or tag.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdRepositoryCommitsShaCommentsRequest"
  "/api/v4/projects/{id}/repository/commits/{sha}/sequence":
    get:
      operationId: getApiV4ProjectsIdRepositoryCommitsShaSequence
      summary: Retrieve a commit sequence
      description: Retrieves the sequence number of a specified commit, found by following
        the parent links from the commit. The result is the same as `git rev-list
        --count` for the commit SHA.
      tags:
      - Commits
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCommitSequence"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: sha
        required: true
        description: Commit SHA.
        schema:
          type: string
        in: path
      - name: first_parent
        required: false
        description: If `true`, follows only the first parent commit upon seeing a
          merge commit.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
  "/api/v4/projects/{id}/repository/commits/{sha}/cherry_pick":
    post:
      operationId: postApiV4ProjectsIdRepositoryCommitsShaCherryPick
      summary: Cherry-pick a commit
      description: 'Cherry-picks a commit to a specified branch. If the cherry-pick
        fails, the `400` response contains a `message` and an `error_code`. The `error_code`
        is `empty` when the changeset is empty, which usually means the commit already
        exists in the target branch, or `conflict` when there is a merge conflict.
        If `dry_run` is `true`, a successful check returns `{"dry_run": "success"}`,
        and a failed check returns the same error response with `"dry_run": "error"`
        added.'
      tags:
      - Commits
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCommit"
        '400':
          description: Bad request
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: sha
        required: true
        description: Commit SHA, or name of a repository branch or tag, to cherry-pick.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdRepositoryCommitsShaCherryPickRequest"
  "/api/v4/projects/{id}/repository/commits/{sha}/revert":
    post:
      operationId: postApiV4ProjectsIdRepositoryCommitsShaRevert
      summary: Revert a commit
      description: 'Reverts a commit in a specified branch. If the revert fails, the
        `400` response contains a `message` and an `error_code`. The `error_code`
        is `conflict` when the revert causes a merge conflict, or `empty` when the
        revert changes nothing on the branch, for example because the changes were
        already reverted or were never on the branch. If `dry_run` is `true`, a successful
        check returns `{"dry_run": "success"}`, and a failed check returns the same
        error response with `"dry_run": "error"` added.'
      tags:
      - Commits
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCommit"
        '400':
          description: Bad request
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: sha
        required: true
        description: Commit SHA to revert.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdRepositoryCommitsShaRevertRequest"
  "/api/v4/projects/{id}/repository/commits/{sha}/refs":
    get:
      operationId: getApiV4ProjectsIdRepositoryCommitsShaRefs
      summary: List all references a commit is pushed to
      description: Lists all references (from branches or tags) a commit is pushed
        to. The pagination parameters `page` and `per_page` can be used to restrict
        the list of references.
      tags:
      - Commits
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBasicRef"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: sha
        required: true
        description: Commit SHA.
        schema:
          type: string
        in: path
      - name: type
        required: false
        description: Type of references to return for the commit.
        schema:
          type: string
          enum:
          - branch
          - tag
          - all
          nullable: true
          default: all
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/repository/commits/{sha}/merge_requests":
    get:
      operationId: getApiV4ProjectsIdRepositoryCommitsShaMergeRequests
      summary: List all merge requests associated with a commit
      description: Lists all merge requests associated with a specified commit.
      tags:
      - Commits
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMergeRequestBasic"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: sha
        required: true
        description: Commit SHA or name of a repository branch or tag.
        schema:
          type: string
        in: path
      - name: state
        required: false
        description: 'Filter merge requests by state: `opened`, `closed`, `locked`,
          or `merged`. If omitted, merge requests of all states are returned. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/191169)
          in GitLab 18.2.'
        schema:
          type: string
          nullable: true
        in: query
        example: merged
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/repository/commits/{sha}/signature":
    get:
      operationId: getApiV4ProjectsIdRepositoryCommitsShaSignature
      summary: Retrieve a commit signature
      description: Retrieves the signature from a commit, if it is signed. For unsigned
        commits, it results in a 404 response.
      tags:
      - Commits
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCommitSignature"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: sha
        required: true
        description: Commit SHA or name of a repository branch or tag.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/cargo/config.json":
    get:
      operationId: getApiV4ProjectsIdPackagesCargoConfigJson
      summary: Get config.json
      description: This will be used by cargo for further requests
      tags:
      - 'Packages: Cargo'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/packages/cargo/1/{package_name}":
    get:
      operationId: getApiV4ProjectsIdPackagesCargo1PackageName
      summary: Get the sparse index for a Cargo crate (1-character name)
      description: Returns newline-delimited JSON, one line per published version,
        most recently published first. Limited to the 500 most recently published
        versions.
      tags:
      - 'Packages: Cargo'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: string
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the Cargo package.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/cargo/2/{package_name}":
    get:
      operationId: getApiV4ProjectsIdPackagesCargo2PackageName
      summary: Get the sparse index for a Cargo crate (2-character name)
      description: Returns newline-delimited JSON, one line per published version,
        most recently published first. Limited to the 500 most recently published
        versions.
      tags:
      - 'Packages: Cargo'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: string
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the Cargo package.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/cargo/3/{first_char}/{package_name}":
    get:
      operationId: getApiV4ProjectsIdPackagesCargo3FirstCharPackageName
      summary: Get the sparse index for a Cargo crate (3-character name)
      description: Returns newline-delimited JSON, one line per published version,
        most recently published first. Limited to the 500 most recently published
        versions.
      tags:
      - 'Packages: Cargo'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: string
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: first_char
        required: true
        description: First character of the Cargo package name.
        schema:
          type: string
        in: path
      - name: package_name
        required: true
        description: Name of the Cargo package.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/cargo/{prefix_1}/{prefix_2}/{package_name}":
    get:
      operationId: getApiV4ProjectsIdPackagesCargoPrefix1Prefix2PackageName
      summary: Get the sparse index for a Cargo crate (4+ character name)
      description: Returns newline-delimited JSON, one line per published version,
        most recently published first. Limited to the 500 most recently published
        versions.
      tags:
      - 'Packages: Cargo'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: string
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: prefix_1
        required: true
        description: First two characters of the Cargo package name.
        schema:
          type: string
        in: path
      - name: prefix_2
        required: true
        description: Next two characters of the Cargo package name.
        schema:
          type: string
        in: path
      - name: package_name
        required: true
        description: Name of the Cargo package.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/cargo/{package_name}/{package_version}/download":
    get:
      operationId: getApiV4ProjectsIdPackagesCargoPackageNamePackageVersionDownload
      summary: Download a Cargo crate
      description: This endpoint serves the .crate file for a given package name and
        version
      tags:
      - 'Packages: Cargo'
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: package_name
        required: true
        description: Name of the Cargo package.
        schema:
          type: string
        in: path
      - name: package_version
        required: true
        description: Version of the Cargo package.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/packages/cargo/api/v1/crates/new":
    put:
      operationId: putApiV4ProjectsIdPackagesCargoApiV1CratesNew
      summary: Publish a Cargo crate
      description: Receives the cargo publish body and extracts the crate asynchronously
      tags:
      - 'Packages: Cargo'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPackagesCargoApiV1CratesNewRequest"
  "/api/v4/projects/{id}/cluster_agents":
    get:
      operationId: getApiV4ProjectsIdClusterAgents
      summary: List all agents
      description: Lists all agents registered for the project. You must have the
        Developer, Maintainer, or Owner role to use this endpoint.
      tags:
      - Cluster agents
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesClustersAgent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdClusterAgents
      summary: Create an agent
      description: Creates an agent for the project. You must have the Maintainer
        or Owner role to use this endpoint.
      tags:
      - Cluster agents
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesClustersAgent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdClusterAgentsRequest"
  "/api/v4/projects/{id}/cluster_agents/{agent_id}":
    get:
      operationId: getApiV4ProjectsIdClusterAgentsAgentId
      summary: Retrieve details on an agent
      description: Retrieves details on a specified agent. You must have the Developer,
        Maintainer, or Owner role to use this endpoint.
      tags:
      - Cluster agents
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesClustersAgent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: agent_id
        required: true
        description: ID of the agent.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdClusterAgentsAgentId
      summary: Delete an agent
      description: Deletes an existing agent registration. You must have the Maintainer
        or Owner role to use this endpoint.
      tags:
      - Cluster agents
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: agent_id
        required: true
        description: ID of the agent.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/cluster_agents/{agent_id}/tokens":
    get:
      operationId: getApiV4ProjectsIdClusterAgentsAgentIdTokens
      summary: List all agent tokens
      description: Lists all active tokens for an agent. You must have the Developer,
        Maintainer, or Owner role to use this endpoint. The `last_used_at` field is
        returned only when retrieving a single agent token.
      tags:
      - Cluster agents
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesClustersAgentTokenBasic"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: agent_id
        required: true
        description: ID of the agent.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdClusterAgentsAgentIdTokens
      summary: Create an agent token
      description: Creates a token for an agent. You must have the Maintainer or Owner
        role to use this endpoint. An agent can have only two active tokens at one
        time. The `token` value is returned only in this response and cannot be retrieved
        later.
      tags:
      - Cluster agents
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesClustersAgentTokenWithToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: agent_id
        required: true
        description: ID of the agent.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdClusterAgentsAgentIdTokensRequest"
  "/api/v4/projects/{id}/cluster_agents/{agent_id}/tokens/{token_id}":
    get:
      operationId: getApiV4ProjectsIdClusterAgentsAgentIdTokensTokenId
      summary: Retrieve an agent token
      description: Retrieves a specified agent token. You must have the Developer,
        Maintainer, or Owner role to use this endpoint. Returns a `404` if the agent
        token has been revoked.
      tags:
      - Cluster agents
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesClustersAgentToken"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: agent_id
        required: true
        description: ID of the agent.
        schema:
          type: integer
        in: path
      - name: token_id
        required: true
        description: ID of the agent token.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdClusterAgentsAgentIdTokensTokenId
      summary: Revoke an agent token
      description: Revokes an agent token. You must have the Maintainer or Owner role
        to use this endpoint.
      tags:
      - Cluster agents
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: agent_id
        required: true
        description: ID of the agent.
        schema:
          type: integer
        in: path
      - name: token_id
        required: true
        description: ID of the agent token.
        schema:
          type: integer
        in: path
  "/api/v4/discover-cert-based-clusters":
    get:
      operationId: getApiV4DiscoverCertBasedClusters
      summary: List all certificate-based clusters
      description: Lists all certificate-based clusters registered to a group, its
        subgroups, or its projects. Both enabled and disabled clusters are returned.
        Only clusters in groups and projects where the user has at least the Maintainer
        role are returned. This feature was introduced in GitLab 17.9.
      tags:
      - Clusters
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDiscoveredClusters"
        '403':
          description: Forbidden
        '400':
          description: Bad Request
      parameters:
      - name: group_id
        required: true
        description: ID of the group to find all certificate-based clusters in the
          hierarchy.
        schema:
          type: integer
          nullable: true
        in: query
  "/api/v4/projects/{id}/variables":
    get:
      operationId: getApiV4ProjectsIdVariables
      summary: List all project variables
      description: Lists all variables for a project. Use the `page` and `per_page`
        pagination parameters to control the pagination of results.
      tags:
      - CI variables
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiVariable"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdVariables
      summary: Create a variable
      description: 'Creates a variable. If a variable with the same `key` already
        exists, the variable must have a different `environment_scope`. Otherwise,
        GitLab returns a message similar to: `VARIABLE_NAME has already been taken`.'
      tags:
      - CI variables
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiVariable"
        '400':
          description: 400 Bad Request
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdVariablesRequest"
  "/api/v4/projects/{id}/variables/{key}":
    get:
      operationId: getApiV4ProjectsIdVariablesKey
      summary: Retrieve a single variable
      description: Retrieves details of a specified variable. If there are multiple
        variables with the same key, use `filter` to select the correct `environment_scope`.
      tags:
      - CI variables
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiVariable"
        '404':
          description: Variable Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: key
        required: true
        description: Key of the project variable. Must be 255 characters or fewer
          and contain only `A-Z`, `a-z`, `0-9`, and `_`.
        schema:
          type: string
        in: path
      - name: filter
        required: false
        description: Filter results when multiple variables share the same key. Supports
          `filter[environment_scope]`.
        schema:
          type: object
          nullable: true
        in: query
      - name: filter[environment_scope]
        required: false
        description: Environment scope of the variable.
        schema:
          type: string
          nullable: true
        in: query
    put:
      operationId: putApiV4ProjectsIdVariablesKey
      summary: Update a variable
      description: Updates a project variable. If there are multiple variables with
        the same key, use `filter` to select the correct `environment_scope`.
      tags:
      - CI variables
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiVariable"
        '404':
          description: Variable Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: key
        required: true
        description: Key of the project variable. Must be 255 characters or fewer
          and contain only `A-Z`, `a-z`, `0-9`, and `_`.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdVariablesKeyRequest"
    delete:
      operationId: deleteApiV4ProjectsIdVariablesKey
      summary: Delete a variable
      description: Deletes a project variable. If there are multiple variables with
        the same key, use `filter` to select the correct `environment_scope`.
      tags:
      - CI variables
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiVariable"
        '404':
          description: Variable Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: key
        required: true
        description: Key of the project variable. Must be 255 characters or fewer
          and contain only `A-Z`, `a-z`, `0-9`, and `_`.
        schema:
          type: string
        in: path
      - name: filter
        required: false
        description: Filter results when multiple variables share the same key. Supports
          `filter[environment_scope]`.
        schema:
          type: object
          nullable: true
        in: query
      - name: filter[environment_scope]
        required: false
        description: Environment scope of the variable.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/projects/{id}/trigger/pipeline":
    post:
      operationId: postApiV4ProjectsIdTriggerPipeline
      summary: Trigger a pipeline with a token
      description: Triggers a pipeline with a token. With a CI/CD job token, the triggered
        pipeline is a multi-project pipeline. The job that authenticates the request
        becomes associated with the upstream pipeline, which is visible on the pipeline
        graph. If you use a trigger token in a job, the job is not associated with
        the upstream pipeline.
      tags:
      - CI triggers
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiPipeline"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 18
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdTriggerPipelineRequest"
  "/api/v4/projects/{id}/ref/{ref}/trigger/pipeline":
    post:
      operationId: postApiV4ProjectsIdRefRefTriggerPipeline
      summary: Trigger a pipeline with a token
      description: Triggers a pipeline with a token. With a CI/CD job token, the triggered
        pipeline is a multi-project pipeline. The job that authenticates the request
        becomes associated with the upstream pipeline, which is visible on the pipeline
        graph. If you use a trigger token in a job, the job is not associated with
        the upstream pipeline.
      tags:
      - CI triggers
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiPipeline"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 18
      - name: ref
        required: true
        description: Name of the branch or tag to run the pipeline on.
        schema:
          type: string
          minLength: 1
        in: path
        example: develop
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdRefRefTriggerPipelineRequest"
  "/api/v4/projects/{id}/triggers":
    get:
      operationId: getApiV4ProjectsIdTriggers
      summary: List all project trigger tokens
      description: Lists all pipeline trigger tokens for a specified project. The
        trigger token is displayed in full if the trigger token was created by the
        authenticated user. Trigger tokens created by other users are shortened to
        four characters.
      tags:
      - CI triggers
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesTrigger"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 18
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdTriggers
      summary: Create a trigger token
      description: Creates a pipeline trigger token for a project.
      tags:
      - CI triggers
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesTrigger"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too Many Requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 18
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdTriggersRequest"
  "/api/v4/projects/{id}/triggers/{trigger_id}":
    get:
      operationId: getApiV4ProjectsIdTriggersTriggerId
      summary: Retrieve trigger token details
      description: Retrieves details of a pipeline trigger token for a project.
      tags:
      - CI triggers
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesTrigger"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 18
      - name: trigger_id
        required: true
        description: ID of the trigger token.
        schema:
          type: integer
        in: path
        example: 10
    put:
      operationId: putApiV4ProjectsIdTriggersTriggerId
      summary: Update a pipeline trigger token
      description: Updates a pipeline trigger token for a project.
      tags:
      - CI triggers
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesTrigger"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too Many Requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 18
      - name: trigger_id
        required: true
        description: ID of the trigger token.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdTriggersTriggerIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdTriggersTriggerId
      summary: Delete a pipeline trigger token
      description: Deletes a pipeline trigger token for a project.
      tags:
      - CI triggers
      responses:
        '204':
          description: No Content
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '412':
          description: Precondition Failed
        '429':
          description: Too Many Requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 18
      - name: trigger_id
        required: true
        description: ID of the trigger token.
        schema:
          type: integer
        in: path
        example: 10
  "/api/v4/pipelines":
    get:
      operationId: getApiV4Pipelines
      summary: List pipelines triggered by the authenticated user
      description: Lists recently created pipelines across all projects that were
        triggered by the authenticated user. By default, child pipelines are not included
        in the results. To return child pipelines, set `source` to `parent_pipeline`.
        Pipelines from projects the user can no longer access are not included. The
        `merge_request` field is included only for merge request pipelines whose merge
        request is visible to the user. This endpoint only supports keyset pagination,
        and returns up to 100 records per page, 20 by default. To retrieve the next
        page of results, use the URL in the `Link` response header. This feature was
        introduced in GitLab 19.3.
      tags:
      - Pipelines
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiUserPipeline"
        '401':
          description: Unauthorized
        '400':
          description: Bad Request
      parameters:
      - name: source
        required: false
        description: The source of pipelines
        schema:
          type: string
          enum:
          - unknown
          - push
          - web
          - trigger
          - schedule
          - api
          - external
          - pipeline
          - chat
          - webide
          - merge_request_event
          - external_pull_request_event
          - parent_pipeline
          - ondemand_dast_scan
          - ondemand_dast_validation
          - security_orchestration_policy
          - container_registry_push
          - duo_workflow
          - pipeline_execution_policy_schedule
          - dependency_management_security_update
          nullable: true
        in: query
        example: push
      - name: created_before
        required: false
        description: 'Return pipelines created before the specified datetime. Format:
          ISO 8601 YYYY-MM-DDTHH:MM:SSZ'
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2015-12-24T15:51:21.880Z'
      - name: created_after
        required: false
        description: 'Return pipelines created after the specified datetime. Format:
          ISO 8601 YYYY-MM-DDTHH:MM:SSZ'
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2015-12-24T15:51:21.880Z'
      - name: order_by
        required: false
        description: Return pipelines ordered by `created_at`
        schema:
          type: string
          enum:
          - created_at
          nullable: true
          default: created_at
        in: query
        example: created_at
      - name: sort
        required: false
        description: Return pipelines sorted in `desc` order
        schema:
          type: string
          enum:
          - desc
          nullable: true
          default: desc
        in: query
        example: desc
      - name: cursor
        required: false
        description: Cursor for obtaining the next set of records, from the `Link`
          header of a previous response.
        schema:
          type: string
          nullable: true
        in: query
        example: eyJpZCI6IjE0In0
      - name: per_page
        required: false
        description: Number of items per page
        schema:
          type: integer
          minimum: 1
          maximum: 100
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/pipeline_schedules":
    get:
      operationId: getApiV4ProjectsIdPipelineSchedules
      summary: List all pipeline schedules
      description: Lists all pipeline schedules for a project. The `inputs` field
        is included only for users with the Maintainer or Owner role, or for the schedule
        owner.
      tags:
      - Pipeline schedules
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiPipelineSchedule"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 18
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: scope
        required: false
        description: Scope of pipeline schedules.
        schema:
          type: string
          enum:
          - active
          - inactive
          nullable: true
        in: query
        example: active
    post:
      operationId: postApiV4ProjectsIdPipelineSchedules
      summary: Create a pipeline schedule
      description: Creates a pipeline schedule.
      tags:
      - Pipeline schedules
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiPipelineScheduleDetails"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too Many Requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 18
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdPipelineSchedulesRequest"
  "/api/v4/projects/{id}/pipeline_schedules/{pipeline_schedule_id}":
    get:
      operationId: getApiV4ProjectsIdPipelineSchedulesPipelineScheduleId
      summary: Retrieve a pipeline schedule
      description: Retrieves a pipeline schedule for a project. The `inputs` and `variables`
        fields are included only for users with the Maintainer or Owner role, or for
        the schedule owner.
      tags:
      - Pipeline schedules
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiPipelineScheduleDetails"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 18
      - name: pipeline_schedule_id
        required: true
        description: ID of the pipeline schedule.
        schema:
          type: integer
        in: path
        example: 13
    put:
      operationId: putApiV4ProjectsIdPipelineSchedulesPipelineScheduleId
      summary: Update a pipeline schedule
      description: Updates a pipeline schedule for a project. After the update is
        done, it is rescheduled automatically.
      tags:
      - Pipeline schedules
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiPipelineScheduleDetails"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too Many Requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 18
      - name: pipeline_schedule_id
        required: true
        description: ID of the pipeline schedule.
        schema:
          type: integer
        in: path
        example: 13
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdPipelineSchedulesPipelineScheduleId
      summary: Delete a pipeline schedule
      description: Deletes a pipeline schedule for a project.
      tags:
      - Pipeline schedules
      responses:
        '204':
          description: No Content
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '412':
          description: Precondition Failed
        '429':
          description: Too Many Requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 18
      - name: pipeline_schedule_id
        required: true
        description: ID of the pipeline schedule.
        schema:
          type: integer
        in: path
        example: 13
  "/api/v4/projects/{id}/pipeline_schedules/{pipeline_schedule_id}/pipelines":
    get:
      operationId: getApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdPipelines
      summary: List all pipelines triggered by a pipeline schedule
      description: Lists all pipelines triggered by a pipeline schedule in a project.
      tags:
      - Pipeline schedules
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiPipelineBasic"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 18
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: pipeline_schedule_id
        required: true
        description: ID of the pipeline schedule.
        schema:
          type: integer
        in: path
        example: 13
      - name: scope
        required: false
        description: Return pipelines in the specified scope.
        schema:
          type: string
          enum:
          - running
          - pending
          - finished
          - branches
          - tags
          nullable: true
        in: query
        example: pending
      - name: status
        required: false
        description: Return pipelines with the specified status.
        schema:
          type: string
          enum:
          - created
          - waiting_for_resource
          - preparing
          - waiting_for_callback
          - pending
          - running
          - success
          - failed
          - canceling
          - canceled
          - skipped
          - manual
          - scheduled
          nullable: true
        in: query
        example: pending
      - name: updated_before
        required: false
        description: Return pipelines updated on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2015-12-24T15:51:21.880Z'
      - name: updated_after
        required: false
        description: Return pipelines updated on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2015-12-24T15:51:21.880Z'
      - name: created_before
        required: false
        description: Return pipelines created before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2015-12-24T15:51:21.880Z'
      - name: created_after
        required: false
        description: Return pipelines created after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2015-12-24T15:51:21.880Z'
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: asc
        in: query
        example: desc
  "/api/v4/projects/{id}/pipeline_schedules/{pipeline_schedule_id}/take_ownership":
    post:
      operationId: postApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdTakeOwnership
      summary: Create or update ownership of a pipeline schedule
      description: Creates or updates the owner of a pipeline schedule for a project.
      tags:
      - Pipeline schedules
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiPipelineScheduleDetails"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too Many Requests
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 18
      - name: pipeline_schedule_id
        required: true
        description: ID of the pipeline schedule.
        schema:
          type: integer
        in: path
        example: 13
  "/api/v4/projects/{id}/pipeline_schedules/{pipeline_schedule_id}/play":
    post:
      operationId: postApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdPlay
      summary: Run a pipeline schedule
      description: Runs a pipeline schedule immediately. The next scheduled run of
        this pipeline is not affected. This endpoint has a rate limit of one request
        per minute for each user for a given pipeline schedule.
      tags:
      - Pipeline schedules
      responses:
        '201':
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too Many Requests
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 18
      - name: pipeline_schedule_id
        required: true
        description: ID of the pipeline schedule.
        schema:
          type: integer
        in: path
        example: 13
  "/api/v4/projects/{id}/pipeline_schedules/{pipeline_schedule_id}/variables":
    post:
      operationId: postApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariables
      summary: Create a variable for a pipeline schedule
      description: Creates a variable for a pipeline schedule.
      tags:
      - Pipeline schedules
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiVariable"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 18
      - name: pipeline_schedule_id
        required: true
        description: ID of the pipeline schedule.
        schema:
          type: integer
        in: path
        example: 13
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariablesRequest"
  "/api/v4/projects/{id}/pipeline_schedules/{pipeline_schedule_id}/variables/{key}":
    get:
      operationId: getApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariablesKey
      summary: Retrieve a variable for a pipeline schedule
      description: Retrieves a specified variable for a pipeline schedule. This feature
        was introduced in GitLab 18.7.
      tags:
      - Pipeline schedules
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiVariable"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 18
      - name: pipeline_schedule_id
        required: true
        description: ID of the pipeline schedule.
        schema:
          type: integer
        in: path
        example: 13
      - name: key
        required: true
        description: Key of the pipeline schedule variable. Must be 255 characters
          or fewer and contain only `A-Z`, `a-z`, `0-9`, and `_`.
        schema:
          type: string
        in: path
        example: NEW_VARIABLE
    put:
      operationId: putApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariablesKey
      summary: Update a variable for a pipeline schedule
      description: Updates a variable for a pipeline schedule.
      tags:
      - Pipeline schedules
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiVariable"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 18
      - name: pipeline_schedule_id
        required: true
        description: ID of the pipeline schedule.
        schema:
          type: integer
        in: path
        example: 13
      - name: key
        required: true
        description: Key of the pipeline schedule variable. Must be 255 characters
          or fewer and contain only `A-Z`, `a-z`, `0-9`, and `_`.
        schema:
          type: string
        in: path
        example: NEW_VARIABLE
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariablesKeyRequest"
    delete:
      operationId: deleteApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariablesKey
      summary: Delete a variable for a pipeline schedule
      description: Deletes a specified variable for a pipeline schedule.
      tags:
      - Pipeline schedules
      responses:
        '202':
          description: Accepted
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiVariable"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 18
      - name: pipeline_schedule_id
        required: true
        description: ID of the pipeline schedule.
        schema:
          type: integer
        in: path
        example: 13
      - name: key
        required: true
        description: Key of the pipeline schedule variable. Must be 255 characters
          or fewer and contain only `A-Z`, `a-z`, `0-9`, and `_`.
        schema:
          type: string
        in: path
        example: NEW_VARIABLE
  "/api/v4/projects/{id}/pipelines":
    get:
      operationId: getApiV4ProjectsIdPipelines
      summary: List all project pipelines
      description: Lists all pipelines in a project. By default, child pipelines are
        not included in the results. To return child pipelines, set `source` to `parent_pipeline`.
        Child pipelines are also returned when requested by `iids` or `ids`.
      tags:
      - Pipelines
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiPipelineBasic"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: '11'
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: scope
        required: false
        description: Return pipelines in the specified scope. `branches` and `tags`
          return only the latest pipeline for each branch or tag.
        schema:
          type: string
          enum:
          - running
          - pending
          - finished
          - branches
          - tags
          nullable: true
        in: query
        example: pending
      - name: status
        required: false
        description: Return pipelines with the specified status.
        schema:
          type: string
          enum:
          - created
          - waiting_for_resource
          - preparing
          - waiting_for_callback
          - pending
          - running
          - success
          - failed
          - canceling
          - canceled
          - skipped
          - manual
          - scheduled
          nullable: true
        in: query
        example: pending
      - name: ref
        required: false
        description: Return pipelines for the specified branch or tag.
        schema:
          type: string
          nullable: true
        in: query
        example: develop
      - name: sha
        required: false
        description: Return pipelines for the specified commit SHA.
        schema:
          type: string
          nullable: true
        in: query
        example: a91957a858320c0e17f3a0eca7cfacbff50ea29a
      - name: yaml_errors
        required: false
        description: If `true`, returns only pipelines with invalid configurations.
        schema:
          type: boolean
          nullable: true
        in: query
        example: false
      - name: username
        required: false
        description: Return pipelines triggered by the specified username.
        schema:
          type: string
          nullable: true
        in: query
        example: root
      - name: updated_before
        required: false
        description: Return pipelines updated on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2015-12-24T15:51:21.880Z'
      - name: updated_after
        required: false
        description: Return pipelines updated on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2015-12-24T15:51:21.880Z'
      - name: created_before
        required: false
        description: Return pipelines created before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2015-12-24T15:51:21.880Z'
      - name: created_after
        required: false
        description: Return pipelines created after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2015-12-24T15:51:21.880Z'
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - id
          - status
          - ref
          - updated_at
          - user_id
          nullable: true
          default: id
        in: query
        example: status
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
        example: asc
      - name: source
        required: false
        description: The source of pipelines
        schema:
          type: string
          enum:
          - unknown
          - push
          - web
          - trigger
          - schedule
          - api
          - external
          - pipeline
          - chat
          - webide
          - merge_request_event
          - external_pull_request_event
          - parent_pipeline
          - ondemand_dast_scan
          - ondemand_dast_validation
          - security_orchestration_policy
          - container_registry_push
          - duo_workflow
          - pipeline_execution_policy_schedule
          - dependency_management_security_update
          nullable: true
        in: query
        example: push
      - name: name
        required: false
        description: Return pipelines with the specified name.
        schema:
          type: string
          nullable: true
        in: query
        example: Build pipeline
      - name: iids
        required: false
        description: Return pipelines with the specified IIDs. Child pipelines are
          included when requested by IID.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        example:
        - 1
        - 2
        style: form
        explode: false
      - name: ids
        required: false
        description: Return pipelines with the specified IDs. Child pipelines are
          included when requested by ID.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        example:
        - 1
        - 2
        style: form
        explode: false
  "/api/v4/projects/{id}/pipeline":
    post:
      operationId: postApiV4ProjectsIdPipeline
      summary: Create a pipeline
      description: Creates a pipeline in the specified project.
      tags:
      - Pipelines
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiPipeline"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: '11'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdPipelineRequest"
  "/api/v4/projects/{id}/pipelines/latest":
    get:
      operationId: getApiV4ProjectsIdPipelinesLatest
      summary: Retrieve the latest pipeline
      description: Retrieves the latest pipeline for the most recent commit on a specified
        ref in a project. If no pipeline exists for the commit, a `403` status code
        is returned. Use the `page` and `per_page` pagination parameters to control
        the pagination of results.
      tags:
      - Pipelines
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiPipelineWithMetadata"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: '11'
      - name: ref
        required: false
        description: Branch or tag to check for the latest pipeline. If omitted, uses
          the default branch.
        schema:
          type: string
          nullable: true
        in: query
        example: develop
  "/api/v4/projects/{id}/pipelines/{pipeline_id}":
    get:
      operationId: getApiV4ProjectsIdPipelinesPipelineId
      summary: Retrieve a pipeline
      description: Retrieves a specified pipeline from a project. You can also get
        a child pipeline.
      tags:
      - Pipelines
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiPipelineWithMetadata"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: '11'
      - name: pipeline_id
        required: true
        description: ID of the pipeline.
        schema:
          type: integer
        in: path
        example: 18
    delete:
      operationId: deleteApiV4ProjectsIdPipelinesPipelineId
      summary: Delete a pipeline
      description: Deletes a specified pipeline for a project. Deleting a pipeline
        expires all pipeline caches and deletes all immediately related objects, such
        as jobs, logs, artifacts, and triggers. This action cannot be undone. Child
        pipelines of the pipeline are not deleted. This endpoint requires the Owner
        role for the project.
      tags:
      - Pipelines
      responses:
        '204':
          description: Pipeline was deleted
        '403':
          description: Forbidden
        '429':
          description: Too Many Requests
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: '11'
      - name: pipeline_id
        required: true
        description: ID of the pipeline.
        schema:
          type: integer
        in: path
        example: 18
  "/api/v4/projects/{id}/pipelines/{pipeline_id}/jobs":
    get:
      operationId: getApiV4ProjectsIdPipelinesPipelineIdJobs
      summary: List all jobs by pipeline
      description: Lists all jobs for a specified pipeline, including a child pipeline.
        Retried jobs are not included by default. Jobs are sorted by ID in descending
        order.
      tags:
      - Pipelines
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiJob"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: '11'
      - name: pipeline_id
        required: true
        description: ID of the pipeline. In a CI/CD job, the `CI_PIPELINE_ID` predefined
          variable holds this value.
        schema:
          type: integer
        in: path
        example: 18
      - name: include_retried
        required: false
        description: If `true`, includes retried jobs in the response.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: scope
        required: false
        description: Scope of jobs to show. Accepts a single job status or an array
          of job statuses. If omitted, returns all jobs.
        schema:
          oneOf:
          - type: string
            enum:
            - created
            - waiting_for_resource
            - preparing
            - waiting_for_callback
            - pending
            - running
            - success
            - failed
            - canceling
            - canceled
            - skipped
            - manual
            - scheduled
            nullable: true
          - type: array
            items:
              type: string
            nullable: true
        in: query
        example:
        - pending
        - running
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/pipelines/{pipeline_id}/bridges":
    get:
      operationId: getApiV4ProjectsIdPipelinesPipelineIdBridges
      summary: List all bridge jobs by pipeline
      description: Deprecated in GitLab 19.2. Use trigger_jobs endpoint instead.
      tags:
      - Pipelines
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiBridge"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      deprecated: true
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: '11'
      - name: pipeline_id
        required: true
        description: ID of the pipeline.
        schema:
          type: integer
        in: path
        example: 18
      - name: scope
        required: false
        description: Scope of jobs to show. Accepts a single job status or an array
          of job statuses. If omitted, returns all jobs.
        schema:
          oneOf:
          - type: string
            enum:
            - created
            - waiting_for_resource
            - preparing
            - waiting_for_callback
            - pending
            - running
            - success
            - failed
            - canceling
            - canceled
            - skipped
            - manual
            - scheduled
            nullable: true
          - type: array
            items:
              type: string
            nullable: true
        in: query
        example:
        - pending
        - running
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/pipelines/{pipeline_id}/trigger_jobs":
    get:
      operationId: getApiV4ProjectsIdPipelinesPipelineIdTriggerJobs
      summary: List all trigger jobs by pipeline
      description: Lists all trigger jobs for a specified pipeline. This feature was
        introduced in GitLab 19.2.
      tags:
      - Pipelines
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiBridge"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: '11'
      - name: pipeline_id
        required: true
        description: ID of the pipeline.
        schema:
          type: integer
        in: path
        example: 18
      - name: scope
        required: false
        description: Scope of jobs to show. Accepts a single job status or an array
          of job statuses. If omitted, returns all jobs.
        schema:
          oneOf:
          - type: string
            enum:
            - created
            - waiting_for_resource
            - preparing
            - waiting_for_callback
            - pending
            - running
            - success
            - failed
            - canceling
            - canceled
            - skipped
            - manual
            - scheduled
            nullable: true
          - type: array
            items:
              type: string
            nullable: true
        in: query
        example:
        - pending
        - running
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/pipelines/{pipeline_id}/variables":
    get:
      operationId: getApiV4ProjectsIdPipelinesPipelineIdVariables
      summary: List all pipeline variables
      description: Lists all pipeline variables for a specified pipeline.
      tags:
      - Pipelines
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiVariable"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: '11'
      - name: pipeline_id
        required: true
        description: ID of the pipeline.
        schema:
          type: integer
        in: path
        example: 18
  "/api/v4/projects/{id}/pipelines/{pipeline_id}/test_report":
    get:
      operationId: getApiV4ProjectsIdPipelinesPipelineIdTestReport
      summary: Retrieve a test report for a pipeline
      description: Retrieves a test report for a pipeline.
      tags:
      - Pipelines
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/TestReportEntity"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: '11'
      - name: pipeline_id
        required: true
        description: ID of the pipeline.
        schema:
          type: integer
        in: path
        example: 18
  "/api/v4/projects/{id}/pipelines/{pipeline_id}/test_report_summary":
    get:
      operationId: getApiV4ProjectsIdPipelinesPipelineIdTestReportSummary
      summary: Retrieve a test report summary for a pipeline
      description: Retrieves a test report summary for a pipeline.
      tags:
      - Pipelines
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/TestReportSummaryEntity"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: '11'
      - name: pipeline_id
        required: true
        description: ID of the pipeline.
        schema:
          type: integer
        in: path
        example: 18
  "/api/v4/projects/{id}/pipelines/{pipeline_id}/metadata":
    put:
      operationId: putApiV4ProjectsIdPipelinesPipelineIdMetadata
      summary: Update pipeline metadata
      description: Updates pipeline metadata. The metadata contains the name of the
        pipeline. This feature was introduced in GitLab 16.6.
      tags:
      - Pipelines
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiPipelineWithMetadata"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: '11'
      - name: pipeline_id
        required: true
        description: ID of the pipeline.
        schema:
          type: integer
        in: path
        example: 18
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdPipelinesPipelineIdMetadataRequest"
  "/api/v4/projects/{id}/pipelines/{pipeline_id}/retry":
    post:
      operationId: postApiV4ProjectsIdPipelinesPipelineIdRetry
      summary: Retry jobs in a pipeline
      description: Retries failed or canceled jobs in a pipeline. If there are no
        failed or canceled jobs in the pipeline, calling this endpoint has no effect.
        Only one retry of a pipeline runs at a time. If a retry of the same pipeline
        is in progress, returns `409 Conflict`. Wait for the retry to finish, then
        send the request again.
      tags:
      - Pipelines
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiPipeline"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Conflict
        '429':
          description: Too Many Requests
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: '11'
      - name: pipeline_id
        required: true
        description: ID of the pipeline.
        schema:
          type: integer
        in: path
        example: 18
  "/api/v4/projects/{id}/pipelines/{pipeline_id}/cancel":
    post:
      operationId: postApiV4ProjectsIdPipelinesPipelineIdCancel
      summary: Cancel all jobs for a pipeline
      description: Cancels all jobs in a specified pipeline. If the pipeline cancellation
        rate limit is exceeded, returns `429 Too Many Requests` with a `Retry-After`
        header.
      tags:
      - Pipelines
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiPipeline"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too Many Requests
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
        example: '11'
      - name: pipeline_id
        required: true
        description: ID of the pipeline.
        schema:
          type: integer
        in: path
        example: 18
  "/api/v4/projects/{id}/secure_files":
    get:
      operationId: getApiV4ProjectsIdSecureFiles
      summary: List all secure files for a project
      description: Lists all secure files for a specified project.
      tags:
      - Secure files
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiSecureFile"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdSecureFiles
      summary: Create a secure file
      description: Creates a secure file in a specified project.
      tags:
      - Secure files
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiSecureFile"
        '400':
          description: 400 Bad Request
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdSecureFilesRequest"
  "/api/v4/projects/{id}/secure_files/{secure_file_id}":
    get:
      operationId: getApiV4ProjectsIdSecureFilesSecureFileId
      summary: Retrieve details of a secure file
      description: Retrieves details of a specified secure file in a project.
      tags:
      - Secure files
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiSecureFile"
        '404':
          description: 404 Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: secure_file_id
        required: true
        description: ID of the secure file.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdSecureFilesSecureFileId
      summary: Delete a secure file
      description: Deletes a specified secure file from a project.
      tags:
      - Secure files
      responses:
        '204':
          description: Resource deleted
        '404':
          description: 404 Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: secure_file_id
        required: true
        description: ID of the secure file.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/secure_files/{secure_file_id}/download":
    get:
      operationId: getApiV4ProjectsIdSecureFilesSecureFileIdDownload
      summary: Download a secure file
      description: Downloads the contents of a specified secure file in a project.
      tags:
      - Secure files
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '404':
          description: 404 Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: secure_file_id
        required: true
        description: ID of the secure file.
        schema:
          type: integer
        in: path
  "/api/v4/runners":
    get:
      operationId: getApiV4Runners
      summary: List all available runners
      description: Lists all runners available to the user. For group runners, you
        must have the Owner role in the owner namespace. For project runners, you
        must have the Maintainer or Owner role in a project assigned to the runner.
        Requires a token with the `api` or `read_api` scope.
      tags:
      - Runners
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiRunnerWithUuid"
        '400':
          description: Scope contains invalid value
        '401':
          description: Unauthorized
      parameters:
      - name: scope
        required: false
        description: Scope of runners to return. If omitted, all runners are returned.
          Deprecated. Use `type` or `status` instead.
        schema:
          type: string
          enum:
          - specific
          - shared
          - instance_type
          - group_type
          - project_type
          - active
          - paused
          - online
          - offline
          - never_contacted
          - stale
          nullable: true
        in: query
      - name: type
        required: false
        description: Type of runners to return.
        schema:
          type: string
          enum:
          - instance_type
          - group_type
          - project_type
          nullable: true
        in: query
      - name: paused
        required: false
        description: If `true`, returns only runners that are ignoring new jobs. If
          `false`, returns only runners that are accepting new jobs.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: status
        required: false
        description: Status of runners to return. The `active` and `paused` values
          are deprecated. Use the `paused` parameter instead. Requesting `offline`
          runners might also return `stale` runners, because `stale` is included in
          `offline`.
        schema:
          type: string
          enum:
          - active
          - paused
          - online
          - offline
          - never_contacted
          - stale
          nullable: true
        in: query
      - name: tag_list
        required: false
        description: List of runner tags.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        example:
        - macos
        - shell
        style: form
        explode: false
      - name: version_prefix
        required: false
        description: Version prefix of runners to return.
        schema:
          type: string
          pattern: "(?<=^|\\n(?!$))[\\d+.]+"
          nullable: true
        in: query
        example: 15.1.
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4Runners
      summary: Create a runner
      description: Creates a runner with a runner registration token. Runner registration
        tokens are deprecated and disabled by default in GitLab 17.0 and later. If
        registration with runner registration tokens is disabled in the instance,
        project, or group settings, returns `410 Gone`. Use `POST /user/runners` to
        create runners instead.
      tags:
      - CI runners
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiRunnerRegistrationDetails"
        '400':
          description: Bad Request
        '403':
          description: Invalid runner registration token
        '410':
          description: Runner registration disabled
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4RunnersRequest"
    delete:
      operationId: deleteApiV4Runners
      summary: Delete a registered runner
      description: Deletes a registered runner by using its authentication token.
      tags:
      - CI runners
      responses:
        '204':
          description: Resource deleted
        '403':
          description: Forbidden
        '400':
          description: Bad Request
      parameters:
      - name: token
        required: true
        description: Authentication token of the runner.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/runners/all":
    get:
      operationId: getApiV4RunnersAll
      summary: List all runners
      description: Lists all runners in the GitLab instance (project and shared).
        You must have either administrator access or auditor access.
      tags:
      - Runners
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiRunnerWithUuid"
        '400':
          description: Scope contains invalid value
        '401':
          description: Unauthorized
      parameters:
      - name: scope
        required: false
        description: Scope of runners to return. If omitted, all runners are returned.
          Deprecated. Use `type` or `status` instead.
        schema:
          type: string
          enum:
          - specific
          - shared
          - instance_type
          - group_type
          - project_type
          - active
          - paused
          - online
          - offline
          - never_contacted
          - stale
          nullable: true
        in: query
      - name: type
        required: false
        description: Type of runners to return.
        schema:
          type: string
          enum:
          - instance_type
          - group_type
          - project_type
          nullable: true
        in: query
      - name: paused
        required: false
        description: If `true`, returns only runners that are ignoring new jobs. If
          `false`, returns only runners that are accepting new jobs.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: status
        required: false
        description: Status of runners to return. The `active` and `paused` values
          are deprecated. Use the `paused` parameter instead. Requesting `offline`
          runners might also return `stale` runners, because `stale` is included in
          `offline`.
        schema:
          type: string
          enum:
          - active
          - paused
          - online
          - offline
          - never_contacted
          - stale
          nullable: true
        in: query
      - name: tag_list
        required: false
        description: List of runner tags.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        example:
        - macos
        - shell
        style: form
        explode: false
      - name: version_prefix
        required: false
        description: Version prefix of runners to return.
        schema:
          type: string
          pattern: "(?<=^|\\n(?!$))[\\d+.]+"
          nullable: true
        in: query
        example: 15.1.
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/runners/{id}":
    get:
      operationId: getApiV4RunnersId
      summary: Retrieve details on a runner
      description: Retrieves details of a runner. Instance runner details are available
        to all authenticated users through this endpoint. For groups and projects,
        you must have the Maintainer or Owner role for the associated project or group.
        The Security Manager role in the associated project or group, or a custom
        role with the `admin_runners` permission in the owner group or project, also
        grants access. Requires a token with the `api`, `read_api`, or `manage_runner`
        scope.
      tags:
      - Runners
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiRunnerDetails"
        '401':
          description: Unauthorized
        '403':
          description: No access granted
        '404':
          description: Runner not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the runner.
        schema:
          type: integer
        in: path
      - name: include_projects
        required: false
        description: If `true`, includes projects in the response. If `false`, improves
          performance for runners with many projects.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
    put:
      operationId: putApiV4RunnersId
      summary: Update a runner
      description: Updates a specified runner. For instance runners, you must be an
        administrator. For group runners, you must have the Owner role in the owner
        group. For project runners, you must have the Maintainer or Owner role in
        a project assigned to the runner. A custom role with the `admin_runners` permission
        in the owner group or project also grants access. Requires a token with the
        `api` or `manage_runner` scope.
      tags:
      - Runners
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiRunnerDetails"
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: No access granted
        '404':
          description: Runner not found
      parameters:
      - name: id
        required: true
        description: ID of the runner.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4RunnersIdRequest"
    delete:
      operationId: deleteApiV4RunnersId
      summary: Delete a runner
      description: Deletes a specified runner. For instance runners, you must be an
        administrator. For group runners, you must have the Owner role in the owner
        group. For project runners, you must have the Maintainer or Owner role in
        the project that owns the runner. A custom role with the `admin_runners` permission
        in the owner group or project also grants access. Requires a token with the
        `api` or `manage_runner` scope.
      tags:
      - Runners
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiRunner"
        '401':
          description: Unauthorized
        '403':
          description: Runner associated with more than one project
        '404':
          description: Runner not found
        '412':
          description: Precondition Failed
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the runner.
        schema:
          type: integer
        in: path
  "/api/v4/runners/{id}/managers":
    get:
      operationId: getApiV4RunnersIdManagers
      summary: List all managers for a runner
      description: List all managers for a specified runner. Each request counts the
        runner's managers toward a per-user rate limit (`runner_manager_list_limit_per_user`
        application setting). Until the `ci_rate_limit_rest_runner_manager_list` feature
        flag is enabled, requests over this limit are logged but not blocked.
      tags:
      - Runners
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiRunnerManager"
        '403':
          description: Forbidden
        '429':
          description: Too many requests
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the runner.
        schema:
          type: integer
        in: path
  "/api/v4/runners/{id}/projects":
    get:
      operationId: getApiV4RunnersIdProjects
      summary: Get projects associated with a runner
      description: Get a paginated list of all projects associated with the specified
        runner. Access is restricted based on user permissions.
      tags:
      - Runners
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBasicProjectDetails"
        '401':
          description: Unauthorized
        '403':
          description: No access granted
        '404':
          description: Runner not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the runner.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/runners/{id}/jobs":
    get:
      operationId: getApiV4RunnersIdJobs
      summary: List all jobs processed by a runner
      description: Lists all jobs that are being processed or were processed by a
        specified runner. The list of jobs is limited to projects where the user has
        the Reporter, Developer, Maintainer, or Owner role. When the `ci_rate_limit_rest_runner_job_list_completed_statuses`
        feature flag is enabled, requests filtered by `success`, `failed`, or `canceled`
        are rate limited per user (`runner_job_list_completed_statuses_limit_per_user`
        application setting), and statuses a runner's jobs cannot have, such as `pending`,
        match no jobs. Until the `ci_enforce_runner_job_list_completed_statuses_limit`
        feature flag is enabled, requests over this limit are logged but not blocked.
        Requests that list only jobs from the user's projects, which is every user
        except administrators in Admin Mode and auditors, are rate limited per user
        (`runner_job_list_project_filtered_limit_per_user` application setting). Until
        the `ci_rate_limit_rest_runner_job_list_project_filtered` feature flag is
        enabled, requests over this limit are logged but not blocked.
      tags:
      - Runners
      - Jobs
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiJobBasicWithProject"
        '401':
          description: Unauthorized
        '403':
          description: No access granted
        '404':
          description: Runner not found
        '429':
          description: Too Many Requests
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the runner.
        schema:
          type: integer
        in: path
      - name: system_id
        required: false
        description: System ID associated with the runner manager.
        schema:
          type: string
          nullable: true
        in: query
      - name: status
        required: false
        description: Status of the job.
        schema:
          type: string
          enum:
          - created
          - waiting_for_resource
          - preparing
          - waiting_for_callback
          - pending
          - running
          - success
          - failed
          - canceling
          - canceled
          - skipped
          - manual
          - scheduled
          nullable: true
        in: query
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - id
          nullable: true
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order. Specify `order_by`
          as well, including for `id`.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: cursor
        required: false
        description: Cursor for obtaining the next set of records.
        schema:
          type: string
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/runners/{id}/reset_authentication_token":
    post:
      operationId: postApiV4RunnersIdResetAuthenticationToken
      summary: Reset an authentication token for a runner
      description: Resets the authentication token for a specified runner. For instance
        runners, you must be an administrator. For group runners, you must have the
        Owner role in the owner group. For project runners, you must have the Maintainer
        or Owner role in a project assigned to the runner. A custom role with the
        `admin_runners` permission in the owner group or project also grants access.
        Requires a token with the `api` or `manage_runner` scope.
      tags:
      - Runners
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiResetTokenResult"
        '403':
          description: No access granted
        '404':
          description: Runner not found
        '422':
          description: Unprocessable Entity
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the runner.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/runners":
    get:
      operationId: getApiV4ProjectsIdRunners
      summary: List all runners for a project
      description: Lists all runners available in the project, including from ancestor
        groups and any allowed instance runners. You must be an administrator of the
        GitLab instance or have at least the Maintainer or Auditor role for the target
        project.
      tags:
      - Runners
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiRunnerWithUuid"
        '400':
          description: Scope contains invalid value
        '403':
          description: No access granted
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: scope
        required: false
        description: Scope of runners to return. If omitted, all runners are returned.
          Deprecated. Use `type` or `status` instead.
        schema:
          type: string
          enum:
          - specific
          - shared
          - instance_type
          - group_type
          - project_type
          - active
          - paused
          - online
          - offline
          - never_contacted
          - stale
          nullable: true
        in: query
      - name: type
        required: false
        description: Type of runners to return.
        schema:
          type: string
          enum:
          - instance_type
          - group_type
          - project_type
          nullable: true
        in: query
      - name: paused
        required: false
        description: If `true`, returns only runners that are ignoring new jobs. If
          `false`, returns only runners that are accepting new jobs.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: status
        required: false
        description: Status of runners to return. The `active` and `paused` values
          are deprecated. Use the `paused` parameter instead. Requesting `offline`
          runners might also return `stale` runners, because `stale` is included in
          `offline`.
        schema:
          type: string
          enum:
          - active
          - paused
          - online
          - offline
          - never_contacted
          - stale
          nullable: true
        in: query
      - name: tag_list
        required: false
        description: List of runner tags.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        example:
        - macos
        - shell
        style: form
        explode: false
      - name: version_prefix
        required: false
        description: Version prefix of runners to return.
        schema:
          type: string
          pattern: "(?<=^|\\n(?!$))[\\d+.]+"
          nullable: true
        in: query
        example: 15.1.
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdRunners
      summary: Assign a runner to a project
      description: Assigns an available project runner to a project. You must have
        the Maintainer or Owner role in the target project and in a project assigned
        to the runner, or a custom role with the `admin_runners` permission. Requires
        a token with the `api` scope.
      tags:
      - Runners
      - Projects
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiRunnerWithUuid"
        '400':
          description: Bad Request
        '403':
          description: Runner is locked
        '404':
          description: Runner not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdRunnersRequest"
  "/api/v4/projects/{id}/runners/{runner_id}":
    delete:
      operationId: deleteApiV4ProjectsIdRunnersRunnerId
      summary: Unassign a runner from a project
      description: Unassigns a specified project runner from a project. You cannot
        unassign a runner from the owner project. Use the delete a runner operation
        instead. If the runner is locked, only administrators can unassign it. You
        must have the Maintainer or Owner role in the project, or a custom role with
        the `admin_runners` permission. Requires a token with the `api` scope.
      tags:
      - Runners
      - Projects
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiRunner"
        '400':
          description: Bad Request
        '403':
          description: You cannot unassign a runner from the owner project. Delete
            the runner instead
        '404':
          description: Runner not found
        '412':
          description: Precondition Failed
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: runner_id
        required: true
        description: ID of the runner.
        schema:
          type: integer
        in: path
  "/api/v4/groups/{id}/runners":
    get:
      operationId: getApiV4GroupsIdRunners
      summary: List all runners in a group
      description: Lists all runners available in a specified group and any ancestor
        groups, including any allowed instance runners. You must be an administrator
        or auditor, or have the Security Manager, Maintainer, or Owner role in the
        group, or a custom role with the `admin_runners` permission in the group.
        Requires a token with the `api` or `read_api` scope.
      tags:
      - Runners
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiRunnerWithUuid"
        '400':
          description: Scope contains invalid value
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: type
        required: false
        description: Type of runners to return.
        schema:
          type: string
          enum:
          - instance_type
          - group_type
          - project_type
          nullable: true
        in: query
      - name: paused
        required: false
        description: If `true`, returns only runners that are ignoring new jobs. If
          `false`, returns only runners that are accepting new jobs.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: status
        required: false
        description: Status of runners to return. The `active` and `paused` values
          are deprecated. Use the `paused` parameter instead. Requesting `offline`
          runners might also return `stale` runners, because `stale` is included in
          `offline`.
        schema:
          type: string
          enum:
          - active
          - paused
          - online
          - offline
          - never_contacted
          - stale
          nullable: true
        in: query
      - name: tag_list
        required: false
        description: List of runner tags.
        schema:
          type: array
          items:
            type: string
          nullable: true
        in: query
        example:
        - macos
        - shell
        style: form
        explode: false
      - name: version_prefix
        required: false
        description: Version prefix of runners to return.
        schema:
          type: string
          pattern: "(?<=^|\\n(?!$))[\\d+.]+"
          nullable: true
        in: query
        example: 15.1.
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/runners/reset_registration_token":
    post:
      operationId: postApiV4RunnersResetRegistrationToken
      summary: Reset the runner registration token for the instance
      description: Resets the runner registration token for the GitLab instance. Registering
        runners with a registration token is deprecated. Create runners with `POST
        /user/runners` and use their authentication token instead.
      tags:
      - Runners
      - Groups
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiResetTokenResult"
        '403':
          description: Forbidden
        '400':
          description: Bad Request
  "/api/v4/projects/{id}/runners/reset_registration_token":
    post:
      operationId: postApiV4ProjectsIdRunnersResetRegistrationToken
      summary: Reset the runner registration token for a project
      description: Resets the runner registration token for a specified project. Registering
        runners with a registration token is deprecated. Create runners with `POST
        /user/runners` and use their authentication token instead.
      tags:
      - Runners
      - Projects
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiResetTokenResult"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Project Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/runners/reset_registration_token":
    post:
      operationId: postApiV4GroupsIdRunnersResetRegistrationToken
      summary: Reset the runner registration token for a group
      description: Resets the runner registration token for a specified group. Registering
        runners with a registration token is deprecated. Create runners with `POST
        /user/runners` and use their authentication token instead.
      tags:
      - Runners
      - Groups
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiResetTokenResult"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Group Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
  "/api/v4/runners/managers":
    delete:
      operationId: deleteApiV4RunnersManagers
      summary: Delete a registered runner manager
      description: Deletes a runner manager identified by the runner authentication
        token and system ID.
      tags:
      - CI runners
      responses:
        '204':
          description: Runner manager was deleted
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Not Found
      parameters:
      - name: token
        required: true
        description: Authentication token of the runner.
        schema:
          type: string
          nullable: true
        in: query
      - name: system_id
        required: true
        description: System identifier of the runner.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/runners/verify":
    post:
      operationId: postApiV4RunnersVerify
      summary: Verify authentication for a registered runner
      description: Verifies authentication for a registered runner.
      tags:
      - CI runners
      responses:
        '200':
          description: Credentials are valid
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiRunnerRegistrationDetails"
        '403':
          description: Credentials are invalid
        '422':
          description: Runner is orphaned
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4RunnersVerifyRequest"
  "/api/v4/runners/reset_authentication_token":
    post:
      operationId: postApiV4RunnersResetAuthenticationToken
      summary: Reset a runner authentication token with the current token
      description: Resets a runner authentication token with the token used to authenticate
        the request.
      tags:
      - CI runners
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiResetTokenResult"
        '403':
          description: Forbidden
        '422':
          description: Unprocessable Entity
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4RunnersResetAuthenticationTokenRequest"
  "/api/v4/runners/router/discovery":
    get:
      operationId: getApiV4RunnersRouterDiscovery
      summary: Discover Job Router information
      description: Discovers Job Router information for a runner. You must provide
        a valid runner authentication token. This feature was introduced in GitLab
        18.7.
      tags:
      - CI runners
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiJobRouterDiscoveryInformation"
        '403':
          description: 403 Forbidden
        '501':
          description: Job Router is not available
  "/api/v4/jobs/request":
    post:
      operationId: postApiV4JobsRequest
      summary: Request a job
      description: Requests a job for a runner to execute.
      tags:
      - Jobs
      responses:
        '201':
          description: Job was scheduled
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiJobRequestResponse"
        '204':
          description: No job for Runner
        '403':
          description: Forbidden
        '409':
          description: Conflict
        '422':
          description: Runner is orphaned
        '429':
          description: Too Many Requests
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4JobsRequestRequest"
  "/api/v4/jobs/{id}":
    put:
      operationId: putApiV4JobsId
      summary: Update a job
      description: Updates the state and other attributes of a job. Used by runners
        while executing a job.
      tags:
      - Jobs
      responses:
        '200':
          description: Job was updated
        '202':
          description: Update accepted
        '400':
          description: Unknown parameters
        '403':
          description: Forbidden
        '409':
          description: Conflict
        '429':
          description: Too Many Requests
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4JobsIdRequest"
  "/api/v4/jobs/{id}/runtime_environment_key":
    get:
      operationId: getApiV4JobsIdRuntimeEnvironmentKey
      summary: Get the runtime environment key for a job
      description: Retrieves the runtime environment key linked to a job, if the job
        is resuming a suspended environment.
      tags:
      - Jobs
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiRuntimeEnvironmentKey"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too Many Requests
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
      - name: token
        required: false
        description: Authentication token of the job.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/jobs/{id}/trace":
    patch:
      operationId: patchApiV4JobsIdTrace
      summary: Update the trace of a job
      description: Updates the trace of a job by appending a chunk of log output.
        Used by runners while executing a job.
      tags:
      - Jobs
      responses:
        '202':
          description: Trace was patched
        '400':
          description: Missing Content-Range header
        '403':
          description: Forbidden
        '416':
          description: Range not satisfiable
        '429':
          description: Too Many Requests
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/patchApiV4JobsIdTraceRequest"
  "/api/v4/jobs/{id}/artifacts/authorize":
    post:
      operationId: postApiV4JobsIdArtifactsAuthorize
      summary: Authorize artifacts upload
      description: Authorizes uploading artifacts for a specified job.
      tags:
      - Jobs
      responses:
        '200':
          description: Upload allowed
        '403':
          description: Forbidden
        '405':
          description: Artifacts support not enabled
        '413':
          description: File too large
        '429':
          description: Too Many Requests
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4JobsIdArtifactsAuthorizeRequest"
  "/api/v4/jobs/{id}/artifacts":
    post:
      operationId: postApiV4JobsIdArtifacts
      summary: Upload job artifacts
      description: Uploads artifacts for a specified job.
      tags:
      - Jobs
      responses:
        '201':
          description: Created
        '400':
          description: Bad request
        '403':
          description: Forbidden
        '405':
          description: Artifacts support not enabled
        '409':
          description: Conflict
        '413':
          description: File too large
        '429':
          description: Too Many Requests
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4JobsIdArtifactsRequest"
    get:
      operationId: getApiV4JobsIdArtifacts
      summary: Download job artifacts
      description: Downloads artifacts for a specified job.
      tags:
      - Jobs
      responses:
        '200':
          description: Download allowed
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '302':
          description: Found
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Artifact not found
        '429':
          description: Too Many Requests
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
      - name: token
        required: false
        description: Authentication token of the job.
        schema:
          type: string
          nullable: true
        in: query
      - name: direct_download
        required: false
        description: If `true`, performs a direct download of artifacts from remote
          storage instead of proxying them.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: download_mode
        required: false
        description: Requested download transfer mode (`proxy` or `direct`). Only
          honored when allowed by the object storage configuration.
        schema:
          type: string
          enum:
          - proxy
          - direct
          nullable: true
        in: query
  "/api/v4/projects/{id}/resource_groups":
    get:
      operationId: getApiV4ProjectsIdResourceGroups
      summary: List all resource groups
      description: Lists all resource groups for a specified project.
      tags:
      - CI resource groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiResourceGroup"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/resource_groups/{key}":
    get:
      operationId: getApiV4ProjectsIdResourceGroupsKey
      summary: Retrieve a resource group
      description: Retrieves a specified resource group for a project.
      tags:
      - CI resource groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiResourceGroup"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: key
        required: true
        description: URL-encoded key of the resource group, for example `resource%5Fa`
          instead of `resource_a`.
        schema:
          type: string
        in: path
    put:
      operationId: putApiV4ProjectsIdResourceGroupsKey
      summary: Update a resource group
      description: Updates the properties for a specified resource group. It returns
        `200` if the resource group was successfully updated. In case of an error,
        a status code `400` is returned.
      tags:
      - CI resource groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiResourceGroup"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: key
        required: true
        description: URL-encoded key of the resource group, for example `resource%5Fa`
          instead of `resource_a`.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdResourceGroupsKeyRequest"
  "/api/v4/projects/{id}/resource_groups/{key}/current_job":
    get:
      operationId: getApiV4ProjectsIdResourceGroupsKeyCurrentJob
      summary: Retrieve current job for a resource group
      description: Retrieves the current job for a specified resource group in a project.
        This feature was introduced in GitLab 18.6.
      tags:
      - CI resource groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiJobBasic"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: key
        required: true
        description: URL-encoded key of the resource group, for example `resource%5Fa`
          instead of `resource_a`.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/resource_groups/{key}/upcoming_jobs":
    get:
      operationId: getApiV4ProjectsIdResourceGroupsKeyUpcomingJobs
      summary: List all upcoming jobs for a resource group
      description: Lists all upcoming jobs for a specified resource group.
      tags:
      - CI resource groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiJobBasic"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: key
        required: true
        description: URL-encoded key of the resource group, for example `resource%5Fa`
          instead of `resource_a`.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/jobs":
    get:
      operationId: getApiV4ProjectsIdJobs
      summary: List all jobs for a project
      description: Lists all jobs for a specified project. By default, this request
        returns 20 results at a time because the API results are paginated. This endpoint
        supports offset-based and keyset-based pagination. Keyset-based pagination
        is recommended when requesting consecutive pages of results. Jobs are returned
        by ID in descending order.
      tags:
      - CI jobs
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiJob"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: scope
        required: false
        description: Filter jobs by status. Accepts a single value or an array of
          values. If omitted, returns all jobs.
        schema:
          type: array
          items:
            type: string
            enum:
            - created
            - waiting_for_resource
            - preparing
            - waiting_for_callback
            - pending
            - running
            - success
            - failed
            - canceling
            - canceled
            - skipped
            - manual
            - scheduled
          nullable: true
        in: query
        example:
        - pending
        - running
      - name: ref
        required: false
        description: Branch name (ref) to filter jobs by.
        schema:
          type: string
          nullable: true
        in: query
        example: feature-branch
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/jobs/{job_id}":
    get:
      operationId: getApiV4ProjectsIdJobsJobId
      summary: Retrieve a job
      description: Retrieves a job with the specified job ID.
      tags:
      - CI jobs
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiJob"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: job_id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
        example: 88
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/jobs/{job_id}/trace":
    get:
      operationId: getApiV4ProjectsIdJobsJobIdTrace
      summary: Get a trace of a specific job of a project
      description: Retrieves a log file for a job.
      tags:
      - CI jobs
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiJob"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: job_id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
        example: 88
      - name: byte_offset
        required: false
        description: Byte offset to start reading the trace from.
        schema:
          type: integer
          minimum: 0
          nullable: true
        in: query
        example: 0
      - name: byte_limit
        required: false
        description: Maximum number of bytes to return.
        schema:
          type: integer
          minimum: 1
          maximum: 512000
          nullable: true
        in: query
        example: 51200
  "/api/v4/projects/{id}/jobs/{job_id}/cancel":
    post:
      operationId: postApiV4ProjectsIdJobsJobIdCancel
      summary: Cancel a job
      description: Cancels a specified job in a project. If the job cancellation rate
        limit is exceeded, returns `429 Too Many Requests` with a `Retry-After` header.
      tags:
      - CI jobs
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiJob"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too Many Requests
        '400':
          description: Bad Request
      parameters:
      - name: job_id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
        example: 88
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdJobsJobIdCancelRequest"
  "/api/v4/projects/{id}/jobs/{job_id}/retry":
    post:
      operationId: postApiV4ProjectsIdJobsJobIdRetry
      summary: Retry a job
      description: Retries a specified job in a project. Retries both CI/CD jobs and
        trigger jobs. If the job retry rate limit is exceeded, returns `429 Too Many
        Requests` with a `Retry-After` header.
      tags:
      - CI jobs
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiJob"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too Many Requests
        '400':
          description: Bad Request
      parameters:
      - name: job_id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
        example: 88
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdJobsJobIdRetryRequest"
  "/api/v4/projects/{id}/jobs/{job_id}/erase":
    post:
      operationId: postApiV4ProjectsIdJobsJobIdErase
      summary: Erase a job
      description: Erases a specified job in a project. This removes job artifacts
        and the job log. If the job erasure rate limit is exceeded, returns `429 Too
        Many Requests` with a `Retry-After` header.
      tags:
      - CI jobs
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiJob"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Conflict
        '429':
          description: Too Many Requests
        '400':
          description: Bad Request
      parameters:
      - name: job_id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
        example: 88
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
  "/api/v4/projects/{id}/jobs/{job_id}/play":
    post:
      operationId: postApiV4ProjectsIdJobsJobIdPlay
      summary: Run a job
      description: Runs a specified job. For a job in manual status, triggers an action
        to start the job. If the manual job run rate limit is exceeded, returns `429
        Too Many Requests` with a `Retry-After` header.
      tags:
      - CI jobs
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiJobBasic"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '429':
          description: Too Many Requests
      parameters:
      - name: job_id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
        example: 88
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdJobsJobIdPlayRequest"
  "/api/v4/job":
    get:
      operationId: getApiV4Job
      summary: Retrieve a job by job token
      description: Retrieves a job that was generated by a specified job token. The
        request must run as part of the `script` section of a CI/CD job.
      tags:
      - CI jobs
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiJob"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
  "/api/v4/job/allowed_agents":
    get:
      operationId: getApiV4JobAllowedAgents
      summary: List all GitLab agents for Kubernetes by job token
      description: Retrieves the job that generated the specified `CI_JOB_TOKEN`,
        along with a list of the GitLab agents for Kubernetes the job is allowed to
        access.
      tags:
      - Agents
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiJob"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
  "/api/v4/groups/{id}/custom_attributes":
    get:
      operationId: getApiV4GroupsIdCustomAttributes
      summary: List all custom attributes for a group
      description: Lists all custom attributes for a specified group.
      tags:
      - Custom attributes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/groups/{id}/custom_attributes/{key}":
    get:
      operationId: getApiV4GroupsIdCustomAttributesKey
      summary: Retrieve a custom attribute for a group
      description: Retrieves a specified custom attribute for a group.
      tags:
      - Custom attributes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: key
        required: true
        description: Key of the custom attribute.
        schema:
          type: string
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
    put:
      operationId: putApiV4GroupsIdCustomAttributesKey
      summary: Creates or updates a custom attribute for a group
      description: Creates or updates a custom attribute for a specified group. If
        the attribute already exists, it is updated, otherwise a new attribute is
        created.
      tags:
      - Custom attributes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: key
        required: true
        description: Key of the custom attribute.
        schema:
          type: string
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdCustomAttributesKeyRequest"
    delete:
      operationId: deleteApiV4GroupsIdCustomAttributesKey
      summary: Delete a custom attribute for a group
      description: Deletes a specified custom attribute for a group.
      tags:
      - Custom attributes
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: key
        required: true
        description: Key of the custom attribute.
        schema:
          type: string
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/groups":
    get:
      operationId: getApiV4Groups
      summary: List all groups
      description: Lists all visible groups for the authenticated user. Unauthenticated
        requests return only public groups. Unauthenticated requests also support
        keyset pagination. For unauthenticated requests, offset pagination is unavailable
        beyond the maximum allowed offset. Use keyset pagination to request consecutive
        pages.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesGroup"
        '400':
          description: Bad Request
      parameters:
      - name: statistics
        required: false
        description: If `true`, includes group statistics. Administrators only. For
          top-level groups, the response also includes `root_storage_statistics`.
          `root_storage_statistics` [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/469254)
          in GitLab 17.4.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: archived
        required: false
        description: If `true`, returns only archived groups or projects. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/519587)
          in GitLab 18.2.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: skip_groups
        required: false
        description: Skip the specified group IDs.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
      - name: all_available
        required: false
        description: If `true`, returns all accessible groups. If `false`, returns
          only groups where the user is a member. When omitted, administrators receive
          all groups and other authenticated users receive only their own. Unauthenticated
          requests always return all public groups. The `owned` and `min_access_level`
          attributes take precedence.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: visibility
        required: false
        description: Return groups with the specified visibility.
        schema:
          type: string
          enum:
          - private
          - internal
          - public
          nullable: true
        in: query
      - name: search
        required: false
        description: Return the list of authorized groups matching the search criteria.
          Matches group names and paths. When listing subgroups or descendant groups,
          only short paths are searched, not full paths.
        schema:
          type: string
          nullable: true
        in: query
      - name: owned
        required: false
        description: If `true`, returns only groups explicitly owned by the current
          user.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - name
          - path
          - id
          - similarity
          nullable: true
          default: name
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: asc
        in: query
      - name: min_access_level
        required: false
        description: Return groups where the current user has at least the specified
          access level. For a list of values, see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
        schema:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          nullable: true
        in: query
      - name: top_level_only
        required: false
        description: If `true`, returns only top-level groups, excluding subgroups.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: marked_for_deletion_on
        required: false
        description: Return groups that are marked for deletion on this date. Premium
          and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/429315)
          in GitLab 17.1.
        schema:
          type: string
          format: date
          nullable: true
        in: query
      - name: active
        required: false
        description: If `true`, returns only groups that are not archived and not
          marked for deletion.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: repository_storage
        required: false
        description: Filter by repository storage used by the group. Administrators
          only. Premium and Ultimate only.
        schema:
          type: string
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: with_custom_attributes
        required: false
        description: If `true`, includes [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          in the response. Administrators only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: custom_attributes
        required: false
        description: Filter by [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          that match all of the specified key and value pairs. Administrators only.
        schema:
          type: object
          nullable: true
        in: query
    post:
      operationId: postApiV4Groups
      summary: Create a group
      description: Creates a project group. Available only for users who can create
        groups. On GitLab.com, top-level groups cannot be created with the API.
      tags:
      - Groups
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroup"
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsRequest"
  "/api/v4/groups/{id}":
    put:
      operationId: putApiV4GroupsId
      summary: Update group attributes
      description: Updates the attributes for a specified group. You must be an administrator
        or have the Owner role for the group. The `projects` and `shared_projects`
        attributes in the response are deprecated and scheduled for removal in API
        v5. Each returns at most 100 projects.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupDetail"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdRequest"
    get:
      operationId: getApiV4GroupsId
      summary: Retrieve a group
      description: Retrieves a specified group by ID or path. Public groups can be
        retrieved without authentication. The `runners_token` attribute is returned
        only to administrators and users with the Owner role for the group. The `enabled_git_access_protocol`
        attribute is returned only to those users, and only for top-level groups.
        The `projects` and `shared_projects` attributes are deprecated and scheduled
        for removal in API v5. Each returns at most 100 projects.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupDetail"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: with_custom_attributes
        required: false
        description: If `true`, includes [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          in the response. Administrators only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: custom_attributes
        required: false
        description: Filter by [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          that match all of the specified key and value pairs. Administrators only.
        schema:
          type: object
          nullable: true
        in: query
      - name: with_projects
        required: false
        description: If `true`, includes details of the projects that belong to the
          group. Deprecated and [scheduled for removal in API v5](https://gitlab.com/gitlab-org/gitlab/-/issues/213797).
          To list the projects in a group, use the List all projects in a group operation
          instead.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
    delete:
      operationId: deleteApiV4GroupsId
      summary: Schedule a group for deletion
      description: Schedules a group for deletion. Groups are deleted at the end of
        the retention period (30 days by default). Use the `permanently_remove` param
        to override the retention period. On GitLab.com, groups are retained for 30
        days. On GitLab Self-Managed, the retention period is set in the instance
        settings. A group that is linked to a subscription cannot be deleted. You
        must be an administrator or have the Owner role for the group.
      tags:
      - Groups
      responses:
        '202':
          description: Accepted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/archive":
    post:
      operationId: postApiV4GroupsIdArchive
      summary: Archive a group
      description: Archives a specified group. You must be an administrator or have
        the Owner role for the group. This feature was introduced in GitLab 18.0.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroup"
        '403':
          description: Unauthenticated
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/unarchive":
    post:
      operationId: postApiV4GroupsIdUnarchive
      summary: Unarchive a group
      description: Unarchives a specified group. You must be an administrator or have
        the Owner role for the group. This feature was introduced in GitLab 18.0.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroup"
        '403':
          description: Unauthenticated
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/restore":
    post:
      operationId: postApiV4GroupsIdRestore
      summary: Restore a group
      description: Restores a specified group that was previously scheduled for deletion.
        Can not restore groups outside of the retention period (30 days by default).
      tags:
      - Groups
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/groups/shared":
    get:
      operationId: getApiV4GroupsIdGroupsShared
      summary: List all shared groups
      description: Lists all groups shared with a specified group. Unauthenticated
        requests return only public shared groups.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesGroup"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: skip_groups
        required: false
        description: Skip the specified group IDs.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
      - name: visibility
        required: false
        description: Return groups with the specified visibility.
        schema:
          type: string
          enum:
          - private
          - internal
          - public
          nullable: true
        in: query
      - name: search
        required: false
        description: Return the list of authorized groups matching the search criteria.
        schema:
          type: string
          nullable: true
        in: query
      - name: min_access_level
        required: false
        description: Return groups where the current user has at least the specified
          access level. For a list of values, see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
        schema:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          nullable: true
        in: query
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - name
          - path
          - id
          - similarity
          nullable: true
          default: name
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: asc
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: with_custom_attributes
        required: false
        description: If `true`, includes [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          in the response. Administrators only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: custom_attributes
        required: false
        description: Filter by [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          that match all of the specified key and value pairs. Administrators only.
        schema:
          type: object
          nullable: true
        in: query
  "/api/v4/groups/{id}/invited_groups":
    get:
      operationId: getApiV4GroupsIdInvitedGroups
      summary: List all invited groups
      description: Lists all groups invited to a specified group. Unauthenticated
        requests return only public invited groups. By default, this endpoint is rate-limited
        to 60 requests per minute for each user, or for each IP address for unauthenticated
        requests.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesGroup"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: relation
        required: false
        description: Filter groups by relation.
        schema:
          type: array
          items:
            type: string
            enum:
            - direct
            - inherited
          nullable: true
        in: query
        style: form
        explode: false
      - name: search
        required: false
        description: Return the list of authorized groups matching the search criteria.
        schema:
          type: string
          nullable: true
        in: query
      - name: min_access_level
        required: false
        description: Return groups where the current user has at least the specified
          access level. For a list of values, see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
        schema:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: with_custom_attributes
        required: false
        description: If `true`, includes [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          in the response. Administrators only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: custom_attributes
        required: false
        description: Filter by [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          that match all of the specified key and value pairs. Administrators only.
        schema:
          type: object
          nullable: true
        in: query
  "/api/v4/groups/{id}/projects":
    get:
      operationId: getApiV4GroupsIdProjects
      summary: List all projects in a group
      description: Lists all projects in a specified group accessible to the authenticated
        user. Unauthenticated requests return only public projects with a limited
        subset of attributes.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProject"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: active
        required: false
        description: If `true`, returns active projects. If `false`, returns projects
          that are archived or marked for deletion. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/218053)
          in GitLab 18.8.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: archived
        required: false
        description: If `true`, returns only archived groups or projects.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: visibility
        required: false
        description: Return projects with the specified visibility.
        schema:
          type: string
          enum:
          - private
          - internal
          - public
          nullable: true
        in: query
      - name: search
        required: false
        description: Return the list of authorized projects matching the search criteria.
        schema:
          type: string
          nullable: true
        in: query
      - name: order_by
        required: false
        description: Sort results by the specified field. With `similarity`, results
          are ordered by similarity to `search` and `sort` is ignored. Without `search`,
          `similarity` orders results by `name`.
        schema:
          type: string
          enum:
          - id
          - name
          - path
          - created_at
          - updated_at
          - last_activity_at
          - similarity
          - star_count
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: simple
        required: false
        description: If `true`, returns only limited fields for each project. Without
          authentication, only limited fields are returned regardless of this setting.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: owned
        required: false
        description: If `true`, returns only projects owned by the current user.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: starred
        required: false
        description: If `true`, returns only projects starred by the current user.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_issues_enabled
        required: false
        description: If `true`, returns only projects that have the issues feature
          enabled.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_merge_requests_enabled
        required: false
        description: If `true`, returns only projects that have the merge requests
          feature enabled.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_shared
        required: false
        description: If `true`, includes projects shared with the group.
        schema:
          type: boolean
          nullable: true
          default: true
        in: query
      - name: include_subgroups
        required: false
        description: If `true`, includes projects in subgroups of this group.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: include_ancestor_groups
        required: false
        description: If `true`, includes projects in the ancestors of this group.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: min_access_level
        required: false
        description: Return projects where the current user has at least the specified
          access level. For a list of values, see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
        schema:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: with_custom_attributes
        required: false
        description: If `true`, includes [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          in the response. Administrators only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: custom_attributes
        required: false
        description: Filter by [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          that match all of the specified key and value pairs. Administrators only.
        schema:
          type: object
          nullable: true
        in: query
      - name: with_security_reports
        required: false
        description: If `true`, returns only projects that have security report artifacts
          present in any of their builds. Ultimate only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
  "/api/v4/groups/{id}/projects/shared":
    get:
      operationId: getApiV4GroupsIdProjectsShared
      summary: List all shared projects
      description: Lists all projects shared with a specified group. Unauthenticated
        requests return only public shared projects.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesProject"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: archived
        required: false
        description: If `true`, returns only archived groups or projects.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: visibility
        required: false
        description: Return projects with the specified visibility.
        schema:
          type: string
          enum:
          - private
          - internal
          - public
          nullable: true
        in: query
      - name: search
        required: false
        description: Return the list of authorized projects matching the search criteria.
        schema:
          type: string
          nullable: true
        in: query
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - id
          - name
          - path
          - created_at
          - updated_at
          - last_activity_at
          - star_count
          nullable: true
          default: created_at
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: simple
        required: false
        description: If `true`, returns only limited fields for each project. Without
          authentication, only limited fields are returned regardless of this setting.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: starred
        required: false
        description: If `true`, returns only projects starred by the current user.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_issues_enabled
        required: false
        description: If `true`, returns only projects that have the issues feature
          enabled.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: with_merge_requests_enabled
        required: false
        description: If `true`, returns only projects that have the merge requests
          feature enabled.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: min_access_level
        required: false
        description: Return projects where the current user has at least the specified
          access level. For a list of values, see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
        schema:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: with_custom_attributes
        required: false
        description: If `true`, includes [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          in the response. Administrators only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: custom_attributes
        required: false
        description: Filter by [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          that match all of the specified key and value pairs. Administrators only.
        schema:
          type: object
          nullable: true
        in: query
  "/api/v4/groups/{id}/subgroups":
    get:
      operationId: getApiV4GroupsIdSubgroups
      summary: List all subgroups
      description: Lists the visible direct subgroups of a specified group.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesGroup"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: statistics
        required: false
        description: If `true`, includes group statistics. Administrators only. For
          top-level groups, the response also includes `root_storage_statistics`.
          `root_storage_statistics` [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/469254)
          in GitLab 17.4.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: archived
        required: false
        description: If `true`, returns only archived groups or projects. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/519587)
          in GitLab 18.2.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: skip_groups
        required: false
        description: Skip the specified group IDs.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
      - name: all_available
        required: false
        description: If `true`, returns all accessible groups. If `false`, returns
          only groups where the user is a member. When omitted, administrators receive
          all groups and other authenticated users receive only their own. Unauthenticated
          requests always return all public groups. The `owned` and `min_access_level`
          attributes take precedence.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: visibility
        required: false
        description: Return groups with the specified visibility.
        schema:
          type: string
          enum:
          - private
          - internal
          - public
          nullable: true
        in: query
      - name: search
        required: false
        description: Return the list of authorized groups matching the search criteria.
          Matches group names and paths. When listing subgroups or descendant groups,
          only short paths are searched, not full paths.
        schema:
          type: string
          nullable: true
        in: query
      - name: owned
        required: false
        description: If `true`, returns only groups explicitly owned by the current
          user.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - name
          - path
          - id
          - similarity
          nullable: true
          default: name
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: asc
        in: query
      - name: min_access_level
        required: false
        description: Return groups where the current user has at least the specified
          access level. For a list of values, see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
        schema:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          nullable: true
        in: query
      - name: top_level_only
        required: false
        description: If `true`, returns only top-level groups, excluding subgroups.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: marked_for_deletion_on
        required: false
        description: Return groups that are marked for deletion on this date. Premium
          and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/429315)
          in GitLab 17.1.
        schema:
          type: string
          format: date
          nullable: true
        in: query
      - name: active
        required: false
        description: If `true`, returns only groups that are not archived and not
          marked for deletion.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: repository_storage
        required: false
        description: Filter by repository storage used by the group. Administrators
          only. Premium and Ultimate only.
        schema:
          type: string
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: with_custom_attributes
        required: false
        description: If `true`, includes [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          in the response. Administrators only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: custom_attributes
        required: false
        description: Filter by [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          that match all of the specified key and value pairs. Administrators only.
        schema:
          type: object
          nullable: true
        in: query
  "/api/v4/groups/{id}/descendant_groups":
    get:
      operationId: getApiV4GroupsIdDescendantGroups
      summary: List all descendant groups
      description: Lists all descendant groups for a specified group. Unauthenticated
        requests return only public groups.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesGroup"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: statistics
        required: false
        description: If `true`, includes group statistics. Administrators only. For
          top-level groups, the response also includes `root_storage_statistics`.
          `root_storage_statistics` [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/469254)
          in GitLab 17.4.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: archived
        required: false
        description: If `true`, returns only archived groups or projects. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/519587)
          in GitLab 18.2.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: skip_groups
        required: false
        description: Skip the specified group IDs.
        schema:
          type: array
          items:
            type: integer
          nullable: true
        in: query
        style: form
        explode: false
      - name: all_available
        required: false
        description: If `true`, returns all accessible groups. If `false`, returns
          only groups where the user is a member. When omitted, administrators receive
          all groups and other authenticated users receive only their own. Unauthenticated
          requests always return all public groups. The `owned` and `min_access_level`
          attributes take precedence.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: visibility
        required: false
        description: Return groups with the specified visibility.
        schema:
          type: string
          enum:
          - private
          - internal
          - public
          nullable: true
        in: query
      - name: search
        required: false
        description: Return the list of authorized groups matching the search criteria.
          Matches group names and paths. When listing subgroups or descendant groups,
          only short paths are searched, not full paths.
        schema:
          type: string
          nullable: true
        in: query
      - name: owned
        required: false
        description: If `true`, returns only groups explicitly owned by the current
          user.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: order_by
        required: false
        description: Sort results by the specified field.
        schema:
          type: string
          enum:
          - name
          - path
          - id
          - similarity
          nullable: true
          default: name
        in: query
      - name: sort
        required: false
        description: Sort results in ascending or descending order.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: asc
        in: query
      - name: min_access_level
        required: false
        description: Return groups where the current user has at least the specified
          access level. For a list of values, see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
        schema:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          nullable: true
        in: query
      - name: top_level_only
        required: false
        description: If `true`, returns only top-level groups, excluding subgroups.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: marked_for_deletion_on
        required: false
        description: Return groups that are marked for deletion on this date. Premium
          and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/429315)
          in GitLab 17.1.
        schema:
          type: string
          format: date
          nullable: true
        in: query
      - name: active
        required: false
        description: If `true`, returns only groups that are not archived and not
          marked for deletion.
        schema:
          type: boolean
          nullable: true
        in: query
      - name: repository_storage
        required: false
        description: Filter by repository storage used by the group. Administrators
          only. Premium and Ultimate only.
        schema:
          type: string
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: with_custom_attributes
        required: false
        description: If `true`, includes [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          in the response. Administrators only.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: custom_attributes
        required: false
        description: Filter by [custom attributes](https://docs.gitlab.com/api/custom_attributes/)
          that match all of the specified key and value pairs. Administrators only.
        schema:
          type: object
          nullable: true
        in: query
  "/api/v4/groups/{id}/projects/{project_id}":
    post:
      operationId: postApiV4GroupsIdProjectsProjectId
      summary: Transfer a project to a group
      description: Transfers a specified project to another group. Administrators
        only. To transfer a project to any namespace, use `PUT /projects/:id/transfer`
        instead. The transfer can fail if image tags are present in the project's
        container registry.
      tags:
      - Groups
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupDetail"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: project_id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/transfer_locations":
    get:
      operationId: getApiV4GroupsIdTransferLocations
      summary: List all transfer locations for a group
      description: Lists all groups that a specified source group can be transferred
        to.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesGroup"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: search
        required: false
        description: Group name to search for.
        schema:
          type: string
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/groups/{id}/transfer":
    post:
      operationId: postApiV4GroupsIdTransfer
      summary: Transfer a group
      description: Transfers a group to another parent group or transforms a subgroup
        into a top-level group. You must be an administrator or have the Owner role
        for the group. To transfer the group to a new parent group, you must be able
        to create subgroups in it. To make a subgroup a top-level group, you must
        be able to create top-level groups. The transfer runs asynchronously. To confirm
        it, retrieve the group until its `parent_id` matches the ID of the new parent
        group, or is `null` for a top-level group. If the transfer fails, the user
        who requested it gets a to-do item with the `transfer_failed` action.
      tags:
      - Groups
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdTransferRequest"
  "/api/v4/groups/{id}/transfer_to_organization":
    post:
      operationId: postApiV4GroupsIdTransferToOrganization
      summary: Transfer a group to an organization
      description: Transfers a group to another organization asynchronously. Requires
        the Owner role.
      tags:
      - Groups
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupDetail"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Group or Organization not found
        '422':
          description: Unprocessable entity
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdTransferToOrganizationRequest"
      x-gitlab-lifecycle: experiment
  "/api/v4/groups/{id}/share":
    post:
      operationId: postApiV4GroupsIdShare
      summary: Add a group to a group
      description: Adds a group to a group.
      tags:
      - Groups
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesGroupDetail"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdShareRequest"
  "/api/v4/groups/{id}/share/{group_id}":
    delete:
      operationId: deleteApiV4GroupsIdShareGroupId
      summary: Remove a group from a group
      description: Removes a group from a group.
      tags:
      - Groups
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: group_id
        required: true
        description: ID of the shared group.
        schema:
          type: integer
        in: path
  "/api/v4/groups/{id}/shared_projects/{project_id}":
    delete:
      operationId: deleteApiV4GroupsIdSharedProjectsProjectId
      summary: Remove a shared project from a group
      description: Removes a shared project targeting this group. The group Owner
        can remove a shared project without access to the source project. You must
        be an administrator or have the Owner role for the group.
      tags:
      - Groups
      responses:
        '204':
          description: No Content
        '400':
          description: Bad request
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: project_id
        required: true
        description: ID of the shared project.
        schema:
          type: integer
        in: path
  "/api/v4/groups/{id}/ldap_sync":
    post:
      operationId: postApiV4GroupsIdLdapSync
      summary: Sync a group with LDAP
      description: Syncs a specified group with its linked LDAP group. You must be
        an administrator or have the Owner role for the group.
      tags:
      - LDAP
      responses:
        '201':
          description: Created
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/audit_events":
    get:
      operationId: getApiV4GroupsIdAuditEvents
      summary: List all group audit events
      description: Lists all audit events for a specified group.
      tags:
      - Audit events
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAuditEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: created_after
        required: false
        description: Return group audit events created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2016-01-19T09:05:50.355Z'
      - name: created_before
        required: false
        description: Return group audit events created on or before the specified
          time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
        example: '2016-01-19T09:05:50.355Z'
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/audit_events/{audit_event_id}":
    get:
      operationId: getApiV4GroupsIdAuditEventsAuditEventId
      summary: Retrieve a group audit event
      description: Retrieves an audit event for a specified group. Only available
        to group Owners and administrators.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAuditEvent"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: audit_event_id
        required: true
        description: ID of the audit event.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/saml_users":
    get:
      operationId: getApiV4GroupsIdSamlUsers
      summary: List all SAML users
      description: Lists all SAML users for a specified top-level group. Use the `page`
        and `per_page` pagination parameters to filter the results. This feature was
        introduced in GitLab 18.1.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesUserPublic"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: username
        required: false
        description: Return a user with the given username.
        schema:
          type: string
          nullable: true
        in: query
      - name: search
        required: false
        description: Return users with a matching name, email, or username. Use partial
          values to increase results.
        schema:
          type: string
          nullable: true
        in: query
      - name: active
        required: false
        description: If `true`, returns only active users.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: blocked
        required: false
        description: If `true`, returns only blocked users.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: created_after
        required: false
        description: Return users created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: created_before
        required: false
        description: Return users created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/provisioned_users":
    get:
      operationId: getApiV4GroupsIdProvisionedUsers
      summary: List all provisioned users
      description: Lists all provisioned users for a specified group. Subgroups are
        not included. Requires the Maintainer or Owner role for the group.
      tags:
      - Groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesUserPublic"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: username
        required: false
        description: Return a user with the given username.
        schema:
          type: string
          nullable: true
        in: query
      - name: search
        required: false
        description: Search users by name, email, or username.
        schema:
          type: string
          nullable: true
        in: query
      - name: active
        required: false
        description: If `true`, returns only active users.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: blocked
        required: false
        description: If `true`, returns only blocked users.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: created_after
        required: false
        description: Return users created on or after the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: created_before
        required: false
        description: Return users created on or before the specified time.
        schema:
          type: string
          format: date-time
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/ssh_certificates":
    get:
      operationId: getApiV4GroupsIdSshCertificates
      summary: List all group SSH certificates
      description: Lists all SSH certificates for a specified group. This feature
        was introduced in GitLab 16.4.
      tags:
      - Keys
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesSshCertificate"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: 404 Not Found
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: premium
    post:
      operationId: postApiV4GroupsIdSshCertificates
      summary: Add a group SSH certificate
      description: Adds a group SSH certificate for a specified group. This feature
        was introduced in GitLab 16.4.
      tags:
      - Keys
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSshCertificate"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdSshCertificatesRequest"
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/ssh_certificates/{ssh_certificates_id}":
    delete:
      operationId: deleteApiV4GroupsIdSshCertificatesSshCertificatesId
      summary: Delete a group SSH certificate
      description: Deletes a specified group SSH certificate. This feature was introduced
        in GitLab 16.4.
      tags:
      - Keys
      responses:
        '204':
          description: No Content
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '422':
          description: Unprocessable entity
        '404':
          description: Not Found
      parameters:
      - name: ssh_certificates_id
        required: true
        description: ID of the group SSH certificate.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/projects/{id}/jobs/artifacts/{ref_name}/download":
    get:
      operationId: getApiV4ProjectsIdJobsArtifactsRefNameDownload
      summary: Retrieve job artifacts
      description: 'Retrieves the artifacts archive for the latest successful job
        on a specified branch or tag. The latest successful pipeline is determined
        by its creation time. The start or end time of individual jobs does not affect
        which pipeline is the latest. When `search_recent_successful_pipelines` is
        `true`, the search includes up to 100 recent successful pipelines for the
        ref. Otherwise, for parent and child pipelines, artifacts are searched in
        hierarchical order from parent to child. If both parent and child pipelines
        have a job with the same name, the artifact from the parent pipeline is returned.
        The pipeline must have completed with a `success` status, so any manual jobs
        in it must either complete successfully or have `allow_failure: true` set.
        On GitLab.com, the request might redirect through a CDN, so clients must follow
        redirects, for example with the cURL `--location` option.'
      tags:
      - Job artifacts
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: ref_name
        required: true
        description: Branch or tag name in the repository. `HEAD` or SHA references
          are not supported. For merge request pipelines, use `refs/merge-requests/:iid/head`
          instead of the branch name.
        schema:
          type: string
        in: path
      - name: job
        required: true
        description: Name of the job.
        schema:
          type: string
          nullable: true
        in: query
      - name: job_token
        required: false
        description: CI/CD job token for multi-project pipelines. Premium and Ultimate
          only.
        schema:
          type: string
          nullable: true
        in: query
      - name: search_recent_successful_pipelines
        required: false
        description: If `true`, searches across recent successful pipelines instead
          of just the latest one. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/515864)
          in GitLab 18.7.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
      - name: download_mode
        required: false
        description: Requested download transfer mode (`proxy` or `direct`). Only
          honored when allowed by the object storage configuration.
        schema:
          type: string
          enum:
          - proxy
          - direct
          nullable: true
        in: query
  "/api/v4/projects/{id}/jobs/artifacts/{ref_name}/raw/{artifact_path}":
    get:
      operationId: getApiV4ProjectsIdJobsArtifactsRefNameRawArtifactPath
      summary: Download a specific file from artifacts archive from a ref
      description: 'Downloads a single file from the artifacts of the latest successful
        job on a specified branch or tag. The file is extracted from the archive and
        streamed to the client. When `search_recent_successful_pipelines` is `true`,
        the search includes up to 100 recent successful pipelines for the ref. Otherwise,
        for parent and child pipelines, artifacts are searched in hierarchical order
        from parent to child. If both parent and child pipelines have a job with the
        same name, the artifact from the parent pipeline is returned. The pipeline
        must have completed with a `success` status, so any manual jobs in it must
        either complete successfully or have `allow_failure: true` set. On GitLab.com,
        the request might redirect through a CDN, so clients must follow redirects,
        for example with the cURL `--location` option. This feature was introduced
        in GitLab 11.5'
      tags:
      - Job artifacts
      responses:
        '200':
          description: OK
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: ref_name
        required: true
        description: Branch or tag name in the repository. `HEAD` or SHA references
          are not supported. For merge request pipelines, use `refs/merge-requests/:iid/head`
          instead of the branch name.
        schema:
          type: string
        in: path
      - name: job
        required: true
        description: Name of the job.
        schema:
          type: string
          nullable: true
        in: query
      - name: artifact_path
        required: true
        description: Path to a file inside the artifacts archive.
        schema:
          type: string
        in: path
      - name: job_token
        required: false
        description: CI/CD job token for multi-project pipelines. Premium and Ultimate
          only.
        schema:
          type: string
          nullable: true
        in: query
      - name: search_recent_successful_pipelines
        required: false
        description: If `true`, searches across recent successful pipelines instead
          of just the latest one. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/515864)
          in GitLab 18.9.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
  "/api/v4/projects/{id}/jobs/{job_id}/artifacts":
    get:
      operationId: getApiV4ProjectsIdJobsJobIdArtifacts
      summary: Download an artifact from a job
      description: Downloads the artifacts archive of a specified job. To download
        a specific report file, such as JUnit test results, use the `file_type` attribute.
        On GitLab.com, the request might redirect through a CDN, so clients must follow
        redirects, for example with the cURL `--location` option. This feature was
        introduced in GitLab 8.5. The `file_type` attribute was added in GitLab 19.4.
      tags:
      - Job artifacts
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: job_id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
      - name: file_type
        required: false
        description: Type of artifact to download. Set a specific report type to download
          that report file directly instead of the full artifacts archive. `performance`
          and `browser_performance` share a report group. If the job uploaded both,
          the requested type is returned, and if it uploaded only one, that artifact
          is returned whichever type was requested. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/35805)
          in GitLab 19.4.
        schema:
          type: string
          enum:
          - accessibility
          - api_fuzzing
          - archive
          - cobertura
          - jacoco
          - codequality
          - container_scanning
          - dast
          - dependency_scanning
          - dotenv
          - junit
          - license_scanning
          - lsif
          - metrics
          - performance
          - browser_performance
          - load_performance
          - sast
          - secret_detection
          - requirements
          - requirements_v2
          - cluster_image_scanning
          - cyclonedx
          - sarif
          nullable: true
          default: archive
        in: query
      - name: job_token
        required: false
        description: CI/CD job token for multi-project pipelines. Premium and Ultimate
          only.
        schema:
          type: string
          nullable: true
        in: query
      - name: download_mode
        required: false
        description: Requested download transfer mode (`proxy` or `direct`). Only
          honored when allowed by the object storage configuration.
        schema:
          type: string
          enum:
          - proxy
          - direct
          nullable: true
        in: query
    delete:
      operationId: deleteApiV4ProjectsIdJobsJobIdArtifacts
      summary: Delete job artifacts
      description: Deletes job artifacts from a specified job in a project. This includes
        archived files, metadata, and report artifacts such as JUnit reports. The
        job log is not deleted. Artifacts cannot be recovered after deletion. You
        must have the Maintainer or Owner role for the project.
      tags:
      - Job artifacts
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '409':
          description: Conflict
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: job_id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/jobs/{job_id}/artifacts/tree":
    get:
      operationId: getApiV4ProjectsIdJobsJobIdArtifactsTree
      summary: List all files in an artifacts archive
      description: Lists all files and directories in a specified artifacts archive.
        It reads the artifact metadata without extracting the archive. This feature
        was introduced in GitLab 18.8.
      tags:
      - Job artifacts
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiJobArtifactEntry"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: job_id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
        example: 42
      - name: path
        required: false
        description: Path to browse in the artifacts archive. Defaults to the root
          directory.
        schema:
          type: string
          nullable: true
          default: ''
        in: query
        example: coverage/reports
      - name: recursive
        required: false
        description: If `true`, returns all entries recursively.
        schema:
          type: boolean
          nullable: true
          default: false
        in: query
        example: false
      - name: job_token
        required: false
        description: CI/CD job token for multi-project pipelines. Premium and Ultimate
          only.
        schema:
          type: string
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/projects/{id}/jobs/{job_id}/artifacts/{artifact_path}":
    get:
      operationId: getApiV4ProjectsIdJobsJobIdArtifactsArtifactPath
      summary: Download a specific file from artifacts archive
      description: Downloads a single file from the artifacts of a specified job.
        The file is extracted from the archive and streamed to the client. On GitLab.com,
        the request might redirect through a CDN, so clients must follow redirects,
        for example with the cURL `--location` option. This feature was introduced
        in GitLab 10.0
      tags:
      - Job artifacts
      responses:
        '200':
          description: OK
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: job_id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
      - name: artifact_path
        required: true
        description: Path to a file inside the artifacts archive.
        schema:
          type: string
        in: path
      - name: job_token
        required: false
        description: CI/CD job token for multi-project pipelines. Premium and Ultimate
          only.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/projects/{id}/jobs/{job_id}/artifacts/keep":
    post:
      operationId: postApiV4ProjectsIdJobsJobIdArtifactsKeep
      summary: Retain job artifacts
      description: Retains job artifacts. Prevents artifacts for a job from being
        automatically deleted when they reach their expiration date.
      tags:
      - Job artifacts
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiJob"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: job_id
        required: true
        description: ID of the job.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/artifacts":
    delete:
      operationId: deleteApiV4ProjectsIdArtifacts
      summary: Delete all job artifacts in a project
      description: Deletes job artifacts that are eligible for deletion from all jobs
        in a specified project. By default, artifacts from the most recently completed
        pipeline and the most recent successful pipeline for each ref are kept, regardless
        of expiration. The request sets the expiry of all deletable job artifacts
        to the current time. The files are then deleted by the regular cleanup of
        expired job artifacts, which runs asynchronously on a schedule, so deletion
        might take a short time. Job logs are never deleted. Artifacts cannot be recovered
        after deletion. You must have the Maintainer or Owner role for the project.
      tags:
      - Job artifacts
      responses:
        '202':
          description: Accepted
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '409':
          description: Conflict
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/projects/{id}/catalog/publish":
    post:
      operationId: postApiV4ProjectsIdCatalogPublish
      summary: Publish a new component project release as version to the CI/CD catalog
      description: Publishes a release of a catalog resource as version to the CI/CD
        catalog.
      tags:
      - CI catalog
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiCatalogResourcesVersion"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdCatalogPublishRequest"
  "/api/v4/bulk_imports":
    post:
      operationId: postApiV4BulkImports
      summary: Start a group or project migration
      description: Starts a group or project migration. To migrate a project, specify
        `entities[project_entity]`.
      tags:
      - Imports
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBulkImport"
        '401':
          description: Unauthorized
        '400':
          description: Bad request
        '404':
          description: Not found
        '422':
          description: Unprocessable entity
        '503':
          description: Service unavailable
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              "$ref": "#/components/schemas/postApiV4BulkImportsRequest"
    get:
      operationId: getApiV4BulkImports
      summary: List all group or project migrations
      description: Lists all group or project migrations.
      tags:
      - Imports
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBulkImport"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '503':
          description: Service unavailable
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: sort
        required: false
        description: Sort results in ascending or descending order by creation date.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: status
        required: false
        description: Filter migrations by import status.
        schema:
          type: string
          enum:
          - created
          - started
          - finished
          - timeout
          - failed
          - canceled
          nullable: true
        in: query
  "/api/v4/bulk_imports/entities":
    get:
      operationId: getApiV4BulkImportsEntities
      summary: List all group or project migration entities
      description: Lists all group or project migration entities.
      tags:
      - Imports
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBulkImportsEntity"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '503':
          description: Service unavailable
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: sort
        required: false
        description: Sort results in ascending or descending order by creation date.
        schema:
          type: string
          enum:
          - asc
          - desc
          nullable: true
          default: desc
        in: query
      - name: status
        required: false
        description: Filter entities by import status.
        schema:
          type: string
          enum:
          - created
          - started
          - finished
          - timeout
          - failed
          - canceled
          nullable: true
        in: query
  "/api/v4/bulk_imports/{import_id}":
    get:
      operationId: getApiV4BulkImportsImportId
      summary: Retrieve a group or project migration
      description: Retrieves details of a group or project migration.
      tags:
      - Imports
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBulkImport"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '503':
          description: Service unavailable
        '400':
          description: Bad Request
      parameters:
      - name: import_id
        required: true
        description: ID of the GitLab Migration.
        schema:
          type: integer
        in: path
  "/api/v4/bulk_imports/{import_id}/entities":
    get:
      operationId: getApiV4BulkImportsImportIdEntities
      summary: List all group or project migration entities
      description: Lists all group or project migration entities for a specified migration.
      tags:
      - Imports
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBulkImportsEntity"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '503':
          description: Service unavailable
        '400':
          description: Bad Request
      parameters:
      - name: import_id
        required: true
        description: ID of the GitLab Migration.
        schema:
          type: integer
        in: path
      - name: status
        required: false
        description: Filter entities by import status.
        schema:
          type: string
          enum:
          - created
          - started
          - finished
          - timeout
          - failed
          - canceled
          nullable: true
        in: query
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
  "/api/v4/bulk_imports/{import_id}/entities/{entity_id}":
    get:
      operationId: getApiV4BulkImportsImportIdEntitiesEntityId
      summary: Retrieve a group or project migration entity
      description: Retrieves details of a group or project migration entity.
      tags:
      - Imports
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBulkImportsEntity"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '503':
          description: Service unavailable
        '400':
          description: Bad Request
      parameters:
      - name: import_id
        required: true
        description: ID of the GitLab Migration.
        schema:
          type: integer
        in: path
      - name: entity_id
        required: true
        description: ID of the GitLab Migration entity.
        schema:
          type: integer
        in: path
  "/api/v4/bulk_imports/{import_id}/entities/{entity_id}/failures":
    get:
      operationId: getApiV4BulkImportsImportIdEntitiesEntityIdFailures
      summary: List all failed import records for a migration entity
      description: Lists all failed import records for a group or project migration
        entity. This feature was introduced in GitLab 16.6.
      tags:
      - Imports
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBulkImportsEntityFailure"
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '503':
          description: Service unavailable
        '400':
          description: Bad Request
      parameters:
      - name: import_id
        required: true
        description: ID of the GitLab Migration.
        schema:
          type: integer
        in: path
      - name: entity_id
        required: true
        description: ID of the GitLab Migration entity.
        schema:
          type: integer
        in: path
  "/api/v4/bulk_imports/{import_id}/cancel":
    post:
      operationId: postApiV4BulkImportsImportIdCancel
      summary: Cancel a migration
      description: Cancels a direct transfer or offline transfer migration. Migrations
        that already finished, failed, timed out, or were canceled keep their status,
        but any entities still running are canceled. This feature was introduced in
        GitLab 17.1.
      tags:
      - Imports
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBulkImport"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '503':
          description: Service unavailable
        '400':
          description: Bad Request
      parameters:
      - name: import_id
        required: true
        description: ID of the GitLab Migration.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/repository/branches":
    get:
      operationId: getApiV4ProjectsIdRepositoryBranches
      summary: List all repository branches
      description: Lists all repository branches from a specified project, sorted
        alphabetically by name. Search by name, or use regular expressions to find
        specific branch patterns. Returns detailed information about the branch, including
        its protection status, merge status, and commit details. This endpoint can
        be accessed without authentication if the repository is publicly accessible.
      tags:
      - Branches
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBranch"
        '404':
          description: 404 Project Not Found
        '422':
          description: Unprocessable entity
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: search
        required: false
        description: Return branches containing the search string. Use `^term` to
          find branches that begin with `term`, and `term$` to find branches that
          end with `term`.
        schema:
          type: string
          nullable: true
        in: query
      - name: regex
        required: false
        description: Return branches with names matching an [RE2](https://github.com/google/re2/wiki/Syntax)
          regular expression. Cannot be used together with `search`.
        schema:
          type: string
          nullable: true
        in: query
      - name: sort
        required: false
        description: Sort results by the specified field and direction.
        schema:
          type: string
          enum:
          - name_asc
          - updated_asc
          - updated_desc
          nullable: true
        in: query
      - name: page_token
        required: false
        description: Token for the next page of results, from the `Link` header of
          the previous response. Do not create or edit this token. Used for keyset
          pagination.
        schema:
          type: string
          nullable: true
        in: query
    post:
      operationId: postApiV4ProjectsIdRepositoryBranches
      summary: Create a repository branch
      description: Creates a branch in the repository.
      tags:
      - Branches
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBranch"
        '400':
          description: Branch already exists
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdRepositoryBranchesRequest"
  "/api/v4/projects/{id}/repository/branches/{branch}":
    head:
      operationId: headApiV4ProjectsIdRepositoryBranchesBranch
      summary: Check if a branch exists
      description: Checks whether a branch exists in the repository, without returning
        the branch.
      tags:
      - Branches
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: branch
        required: true
        description: URL-encoded name of the branch.
        schema:
          type: string
        in: path
    get:
      operationId: getApiV4ProjectsIdRepositoryBranchesBranch
      summary: Retrieve a repository branch
      description: Retrieves a specified project repository branch. This endpoint
        can be accessed without authentication if the repository is publicly accessible.
      tags:
      - Branches
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBranch"
        '404':
          description: Project Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: branch
        required: true
        description: URL-encoded name of the branch.
        schema:
          type: string
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdRepositoryBranchesBranch
      summary: Delete a repository branch
      description: Deletes a specified branch from the repository. If an error occurs,
        the response includes a message that explains it. Deleting a branch does not
        completely erase all related data. Some information persists to maintain project
        history and to support recovery processes.
      tags:
      - Branches
      responses:
        '204':
          description: No Content
        '404':
          description: Branch Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: branch
        required: true
        description: URL-encoded name of the branch. Cannot be the default branch.
          Only users with the Maintainer or Owner role can delete a protected branch.
        schema:
          type: string
          minLength: 1
        in: path
  "/api/v4/projects/{id}/repository/branches/{branch}/protect":
    put:
      operationId: putApiV4ProjectsIdRepositoryBranchesBranchProtect
      summary: Protect a single branch
      description: Protects a single branch, or updates its protection if it is already
        protected. Only users with the Maintainer role can push or merge unless `developers_can_push`
        or `developers_can_merge` is `true`.
      tags:
      - Branches
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBranch"
        '404':
          description: 404 Branch Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: branch
        required: true
        description: Name of the branch.
        schema:
          type: string
          minLength: 1
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdRepositoryBranchesBranchProtectRequest"
  "/api/v4/projects/{id}/repository/branches/{branch}/unprotect":
    put:
      operationId: putApiV4ProjectsIdRepositoryBranchesBranchUnprotect
      summary: Unprotect a single branch
      description: Removes the protection from a single protected branch.
      tags:
      - Branches
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBranch"
        '404':
          description: 404 Branch Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: branch
        required: true
        description: Name of the branch.
        schema:
          type: string
          minLength: 1
        in: path
  "/api/v4/projects/{id}/repository/merged_branches":
    delete:
      operationId: deleteApiV4ProjectsIdRepositoryMergedBranches
      summary: Delete all merged branches
      description: Deletes all branches that are merged into the default branch for
        a project. Protected branches are not deleted.
      tags:
      - Branches
      responses:
        '202':
          description: 202 Accepted
        '404':
          description: 404 Project Not Found
        '429':
          description: 429 Too Many Requests
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
  "/api/v4/groups/{id}/badges":
    get:
      operationId: getApiV4GroupsIdBadges
      summary: List all badges for a group
      description: Lists all badges for a specified group.
      tags:
      - Badges
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBadge"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: name
        required: false
        description: Name of the badges to return. Case-sensitive.
        schema:
          type: string
          nullable: true
        in: query
    post:
      operationId: postApiV4GroupsIdBadges
      summary: Create a badge for a group
      description: Creates a badge for a specified group.
      tags:
      - Badges
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBadge"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdBadgesRequest"
  "/api/v4/groups/{id}/badges/render":
    get:
      operationId: getApiV4GroupsIdBadgesRender
      summary: Retrieve a badge preview for a group
      description: Previews the final `link_url` and `image_url` for a specified group
        after resolving the placeholder interpolation.
      tags:
      - Badges
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBasicBadgeDetails"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: link_url
        required: true
        description: URL of the badge link.
        schema:
          type: string
          nullable: true
        in: query
      - name: image_url
        required: true
        description: URL of the badge image.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/groups/{id}/badges/{badge_id}":
    get:
      operationId: getApiV4GroupsIdBadgesBadgeId
      summary: Retrieve a badge for a group
      description: Retrieves a specified badge for a group.
      tags:
      - Badges
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBadge"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: badge_id
        required: true
        description: ID of the badge.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4GroupsIdBadgesBadgeId
      summary: Update a badge for a group
      description: Updates a specified badge for a group.
      tags:
      - Badges
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBadge"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: badge_id
        required: true
        description: ID of the badge.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdBadgesBadgeIdRequest"
    delete:
      operationId: deleteApiV4GroupsIdBadgesBadgeId
      summary: Delete a badge from a group
      description: Deletes a specified badge from a group.
      tags:
      - Badges
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: badge_id
        required: true
        description: ID of the badge.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/badges":
    get:
      operationId: getApiV4ProjectsIdBadges
      summary: List all badges for a project
      description: Lists all badges for a specified project, including group badges.
      tags:
      - Badges
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBadge"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: name
        required: false
        description: Name of the badges to return. Case-sensitive.
        schema:
          type: string
          nullable: true
        in: query
    post:
      operationId: postApiV4ProjectsIdBadges
      summary: Create a badge for a project
      description: Creates a badge for a specified project.
      tags:
      - Badges
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBadge"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdBadgesRequest"
  "/api/v4/projects/{id}/badges/render":
    get:
      operationId: getApiV4ProjectsIdBadgesRender
      summary: Retrieve a badge preview for a project
      description: Previews the final `link_url` and `image_url` for a specified project
        after resolving the placeholder interpolation.
      tags:
      - Badges
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBasicBadgeDetails"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: link_url
        required: true
        description: URL of the badge link.
        schema:
          type: string
          nullable: true
        in: query
      - name: image_url
        required: true
        description: URL of the badge image.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/projects/{id}/badges/{badge_id}":
    get:
      operationId: getApiV4ProjectsIdBadgesBadgeId
      summary: Retrieve a badge for a project
      description: Retrieves a specified badge for a project.
      tags:
      - Badges
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBadge"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: badge_id
        required: true
        description: ID of the badge.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4ProjectsIdBadgesBadgeId
      summary: Update a badge for a project
      description: Updates a specified badge for a project.
      tags:
      - Badges
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBadge"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: badge_id
        required: true
        description: ID of the badge.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdBadgesBadgeIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdBadgesBadgeId
      summary: Delete a badge from a project
      description: Deletes a specified badge from a project. To delete group badges,
        use the group badges endpoint instead.
      tags:
      - Badges
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: badge_id
        required: true
        description: ID of the badge.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/issues/{issue_iid}/award_emoji":
    get:
      operationId: getApiV4ProjectsIdIssuesIssueIidAwardEmoji
      summary: List all emoji reactions for an issue
      description: Lists all emoji reactions for a specified issue. This endpoint
        can be accessed without authentication if the issue is publicly accessible.
      tags:
      - Award emoji
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: issue_iid
        required: true
        description: ID (`iid` for merge requests/issues/epics, `id` for snippets)
          of an awardable.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdIssuesIssueIidAwardEmoji
      summary: Add an emoji reaction to an issue
      description: Adds an emoji reaction to an issue.
      tags:
      - Award emoji
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '400':
          description: Bad Request
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: issue_iid
        required: true
        description: The internal ID of an issuable
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdIssuesIssueIidAwardEmojiRequest"
  "/api/v4/projects/{id}/issues/{issue_iid}/award_emoji/{award_id}":
    get:
      operationId: getApiV4ProjectsIdIssuesIssueIidAwardEmojiAwardId
      summary: Retrieve an emoji reaction from an issue
      description: Retrieves a specified emoji reaction from an issue. This endpoint
        can be accessed without authentication if the issue is publicly accessible.
      tags:
      - Award emoji
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: award_id
        required: true
        description: ID of the emoji reaction.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: issue_iid
        required: true
        description: The internal ID of an issuable
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdIssuesIssueIidAwardEmojiAwardId
      summary: Delete an emoji reaction from an issue
      description: Deletes a specified emoji reaction from an issue. Only an administrator
        or the user who added the reaction can delete it.
      tags:
      - Award emoji
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: award_id
        required: true
        description: ID of the emoji reaction.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: issue_iid
        required: true
        description: The internal ID of an issuable
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/issues/{issue_iid}/notes/{note_id}/award_emoji":
    get:
      operationId: getApiV4ProjectsIdIssuesIssueIidNotesNoteIdAwardEmoji
      summary: List all emoji reactions for an issue comment
      description: Lists all emoji reactions for a specified comment on an issue.
        This endpoint can be accessed without authentication if the comment is publicly
        accessible.
      tags:
      - Award emoji
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: issue_iid
        required: true
        description: The internal ID of an issuable
        schema:
          type: integer
        in: path
    post:
      operationId: postApiV4ProjectsIdIssuesIssueIidNotesNoteIdAwardEmoji
      summary: Add an emoji reaction to an issue comment
      description: Adds an emoji reaction to a comment on an issue.
      tags:
      - Award emoji
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '400':
          description: Bad Request
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: issue_iid
        required: true
        description: The internal ID of an issuable
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdIssuesIssueIidNotesNoteIdAwardEmojiRequest"
  "/api/v4/projects/{id}/issues/{issue_iid}/notes/{note_id}/award_emoji/{award_id}":
    get:
      operationId: getApiV4ProjectsIdIssuesIssueIidNotesNoteIdAwardEmojiAwardId
      summary: Retrieve an emoji reaction from an issue comment
      description: Retrieves a specified emoji reaction from a comment on an issue.
        This endpoint can be accessed without authentication if the comment is publicly
        accessible.
      tags:
      - Award emoji
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: award_id
        required: true
        description: ID of the emoji reaction.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: issue_iid
        required: true
        description: The internal ID of an issuable
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdIssuesIssueIidNotesNoteIdAwardEmojiAwardId
      summary: Delete an emoji reaction from an issue comment
      description: Deletes a specified emoji reaction from a comment on an issue.
        Only an administrator or the user who added the reaction can delete it.
      tags:
      - Award emoji
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: award_id
        required: true
        description: ID of the emoji reaction.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: issue_iid
        required: true
        description: The internal ID of an issuable
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/award_emoji":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidAwardEmoji
      summary: List all emoji reactions for a merge request
      description: Lists all emoji reactions for a specified merge request. This endpoint
        can be accessed without authentication if the merge request is publicly accessible.
      tags:
      - Award emoji
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: merge_request_iid
        required: true
        description: ID (`iid` for merge requests/issues/epics, `id` for snippets)
          of an awardable.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidAwardEmoji
      summary: Add an emoji reaction to a merge request
      description: Adds an emoji reaction to a merge request.
      tags:
      - Award emoji
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '400':
          description: Bad Request
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMergeRequestsMergeRequestIidAwardEmojiRequest"
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/award_emoji/{award_id}":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidAwardEmojiAwardId
      summary: Retrieve an emoji reaction from a merge request
      description: Retrieves a specified emoji reaction from a merge request. This
        endpoint can be accessed without authentication if the merge request is publicly
        accessible.
      tags:
      - Award emoji
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: award_id
        required: true
        description: ID of the emoji reaction.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdMergeRequestsMergeRequestIidAwardEmojiAwardId
      summary: Delete an emoji reaction from a merge request
      description: Deletes a specified emoji reaction from a merge request. Only an
        administrator or the user who added the reaction can delete it.
      tags:
      - Award emoji
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: award_id
        required: true
        description: ID of the emoji reaction.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/notes/{note_id}/award_emoji":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidNotesNoteIdAwardEmoji
      summary: List all emoji reactions for a merge request comment
      description: Lists all emoji reactions for a specified comment on a merge request.
        This endpoint can be accessed without authentication if the comment is publicly
        accessible.
      tags:
      - Award emoji
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
    post:
      operationId: postApiV4ProjectsIdMergeRequestsMergeRequestIidNotesNoteIdAwardEmoji
      summary: Add an emoji reaction to a merge request comment
      description: Adds an emoji reaction to a comment on a merge request.
      tags:
      - Award emoji
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '400':
          description: Bad Request
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdMergeRequestsMergeRequestIidNotesNoteIdAwardEmojiRequest"
  "/api/v4/projects/{id}/merge_requests/{merge_request_iid}/notes/{note_id}/award_emoji/{award_id}":
    get:
      operationId: getApiV4ProjectsIdMergeRequestsMergeRequestIidNotesNoteIdAwardEmojiAwardId
      summary: Retrieve an emoji reaction from a merge request comment
      description: Retrieves a specified emoji reaction from a comment on a merge
        request. This endpoint can be accessed without authentication if the comment
        is publicly accessible.
      tags:
      - Award emoji
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: award_id
        required: true
        description: ID of the emoji reaction.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdMergeRequestsMergeRequestIidNotesNoteIdAwardEmojiAwardId
      summary: Delete an emoji reaction from a merge request comment
      description: Deletes a specified emoji reaction from a comment on a merge request.
        Only an administrator or the user who added the reaction can delete it.
      tags:
      - Award emoji
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: award_id
        required: true
        description: ID of the emoji reaction.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: merge_request_iid
        required: true
        description: Internal ID of the merge request.
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/snippets/{snippet_id}/award_emoji":
    get:
      operationId: getApiV4ProjectsIdSnippetsSnippetIdAwardEmoji
      summary: List all emoji reactions for a snippet
      description: Lists all emoji reactions for a specified snippet. This endpoint
        can be accessed without authentication if the snippet is publicly accessible.
      tags:
      - Award emoji
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: snippet_id
        required: true
        description: ID (`iid` for merge requests/issues/epics, `id` for snippets)
          of an awardable.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdSnippetsSnippetIdAwardEmoji
      summary: Add an emoji reaction to a snippet
      description: Adds an emoji reaction to a snippet.
      tags:
      - Award emoji
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '400':
          description: Bad Request
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: snippet_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdSnippetsSnippetIdAwardEmojiRequest"
  "/api/v4/projects/{id}/snippets/{snippet_id}/award_emoji/{award_id}":
    get:
      operationId: getApiV4ProjectsIdSnippetsSnippetIdAwardEmojiAwardId
      summary: Retrieve an emoji reaction from a snippet
      description: Retrieves a specified emoji reaction from a snippet. This endpoint
        can be accessed without authentication if the snippet is publicly accessible.
      tags:
      - Award emoji
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: award_id
        required: true
        description: ID of the emoji reaction.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: snippet_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdSnippetsSnippetIdAwardEmojiAwardId
      summary: Delete an emoji reaction from a snippet
      description: Deletes a specified emoji reaction from a snippet. Only an administrator
        or the user who added the reaction can delete it.
      tags:
      - Award emoji
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: award_id
        required: true
        description: ID of the emoji reaction.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: snippet_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/snippets/{snippet_id}/notes/{note_id}/award_emoji":
    get:
      operationId: getApiV4ProjectsIdSnippetsSnippetIdNotesNoteIdAwardEmoji
      summary: List all emoji reactions for a snippet comment
      description: Lists all emoji reactions for a specified comment on a snippet.
        This endpoint can be accessed without authentication if the comment is publicly
        accessible.
      tags:
      - Award emoji
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: snippet_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
    post:
      operationId: postApiV4ProjectsIdSnippetsSnippetIdNotesNoteIdAwardEmoji
      summary: Add an emoji reaction to a snippet comment
      description: Adds an emoji reaction to a comment on a snippet.
      tags:
      - Award emoji
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '400':
          description: Bad Request
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: snippet_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdSnippetsSnippetIdNotesNoteIdAwardEmojiRequest"
  "/api/v4/projects/{id}/snippets/{snippet_id}/notes/{note_id}/award_emoji/{award_id}":
    get:
      operationId: getApiV4ProjectsIdSnippetsSnippetIdNotesNoteIdAwardEmojiAwardId
      summary: Retrieve an emoji reaction from a snippet comment
      description: Retrieves a specified emoji reaction from a comment on a snippet.
        This endpoint can be accessed without authentication if the comment is publicly
        accessible.
      tags:
      - Award emoji
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: award_id
        required: true
        description: ID of the emoji reaction.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: snippet_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
    delete:
      operationId: deleteApiV4ProjectsIdSnippetsSnippetIdNotesNoteIdAwardEmojiAwardId
      summary: Delete an emoji reaction from a snippet comment
      description: Deletes a specified emoji reaction from a comment on a snippet.
        Only an administrator or the user who added the reaction can delete it.
      tags:
      - Award emoji
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: award_id
        required: true
        description: ID of the emoji reaction.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 1
      - name: snippet_id
        required: true
        description: ID of the snippet.
        schema:
          type: integer
        in: path
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
  "/api/v4/groups/{id}/epics/{epic_iid}/award_emoji":
    get:
      operationId: getApiV4GroupsIdEpicsEpicIidAwardEmoji
      summary: List all emoji reactions for an epic
      description: Lists all emoji reactions for a specified epic. This endpoint can
        be accessed without authentication if the epic is publicly accessible.
      tags:
      - Award emoji
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: epic_iid
        required: true
        description: ID (`iid` for merge requests/issues/epics, `id` for snippets)
          of an awardable.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      x-gitlab-tier: premium
    post:
      operationId: postApiV4GroupsIdEpicsEpicIidAwardEmoji
      summary: Add an emoji reaction to an epic
      description: Adds an emoji reaction to an epic.
      tags:
      - Award emoji
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '400':
          description: Bad Request
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          type: integer
        in: path
        example: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdEpicsEpicIidAwardEmojiRequest"
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/epics/{epic_iid}/award_emoji/{award_id}":
    get:
      operationId: getApiV4GroupsIdEpicsEpicIidAwardEmojiAwardId
      summary: Retrieve an emoji reaction from an epic
      description: Retrieves a specified emoji reaction from an epic. This endpoint
        can be accessed without authentication if the epic is publicly accessible.
      tags:
      - Award emoji
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: award_id
        required: true
        description: ID of the emoji reaction.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          type: integer
        in: path
        example: 1
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4GroupsIdEpicsEpicIidAwardEmojiAwardId
      summary: Delete an emoji reaction from an epic
      description: Deletes a specified emoji reaction from an epic. Only an administrator
        or the user who added the reaction can delete it.
      tags:
      - Award emoji
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: award_id
        required: true
        description: ID of the emoji reaction.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          type: integer
        in: path
        example: 1
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/epics/{epic_iid}/notes/{note_id}/award_emoji":
    get:
      operationId: getApiV4GroupsIdEpicsEpicIidNotesNoteIdAwardEmoji
      summary: List all emoji reactions for an epic comment
      description: Lists all emoji reactions for a specified comment on an epic. This
        endpoint can be accessed without authentication if the comment is publicly
        accessible.
      tags:
      - Award emoji
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          type: integer
        in: path
        example: 1
      x-gitlab-tier: premium
    post:
      operationId: postApiV4GroupsIdEpicsEpicIidNotesNoteIdAwardEmoji
      summary: Add an emoji reaction to an epic comment
      description: Adds an emoji reaction to a comment on an epic.
      tags:
      - Award emoji
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '400':
          description: Bad Request
        '404':
          description: Not Found
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          type: integer
        in: path
        example: 1
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4GroupsIdEpicsEpicIidNotesNoteIdAwardEmojiRequest"
      x-gitlab-tier: premium
  "/api/v4/groups/{id}/epics/{epic_iid}/notes/{note_id}/award_emoji/{award_id}":
    get:
      operationId: getApiV4GroupsIdEpicsEpicIidNotesNoteIdAwardEmojiAwardId
      summary: Retrieve an emoji reaction from an epic comment
      description: Retrieves a specified emoji reaction from a comment on an epic.
        This endpoint can be accessed without authentication if the comment is publicly
        accessible.
      tags:
      - Award emoji
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAwardEmoji"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: award_id
        required: true
        description: ID of the emoji reaction.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          type: integer
        in: path
        example: 1
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
    delete:
      operationId: deleteApiV4GroupsIdEpicsEpicIidNotesNoteIdAwardEmojiAwardId
      summary: Delete an emoji reaction from an epic comment
      description: Deletes a specified emoji reaction from a comment on an epic. Only
        an administrator or the user who added the reaction can delete it.
      tags:
      - Award emoji
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: award_id
        required: true
        description: ID of the emoji reaction.
        schema:
          type: integer
        in: path
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
      - name: epic_iid
        required: true
        description: Internal ID of the epic.
        schema:
          type: integer
        in: path
        example: 1
      - name: note_id
        required: true
        description: ID of the note.
        schema:
          type: integer
        in: path
      x-gitlab-tier: premium
  "/api/v4/avatar":
    get:
      operationId: getApiV4Avatar
      summary: Return avatar url for a user
      description: Returns the avatar URL for the user with the given public email
        address. If no account is associated with the email address, returns the URL
        from an external avatar service. This endpoint does not require authentication.
      tags:
      - Avatars
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAvatar"
        '403':
          description: Public visibility is restricted and the request is not authenticated
        '400':
          description: Bad Request
      parameters:
      - name: email
        required: true
        description: Public email address of the user.
        schema:
          type: string
          nullable: true
        in: query
      - name: size
        required: false
        description: Single pixel dimension for the avatar image. Only used for avatar
          lookups at Gravatar or a configured Libravatar server.
        schema:
          type: integer
          nullable: true
        in: query
  "/api/v4/iam/userinfo":
    get:
      operationId: getApiV4IamUserinfo
      summary: Return the OIDC ID-token claims for the caller identified by an IAM
        OAuth token
      description: Authenticates exclusively via an IAM-issued OAuth JWT and returns
        the subset of OIDC claims documented as "Included in ID Token" in the OpenID
        Connect provider docs
      tags:
      - Authn
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
  "/api/v4/applications":
    post:
      operationId: postApiV4Applications
      summary: Create a new application
      description: This feature was introduced in GitLab 10.5. The granular_scopes
        parameter requires the granular_oauth_tokens feature flag.
      tags:
      - Applications
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesApplicationWithSecret"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4ApplicationsRequest"
    get:
      operationId: getApiV4Applications
      summary: Get applications
      description: List all registered applications
      tags:
      - Applications
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesApplication"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
  "/api/v4/applications/{id}":
    delete:
      operationId: deleteApiV4ApplicationsId
      summary: Delete an application
      description: Delete a specific application
      tags:
      - Applications
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the application. Not the `application_id`, which is the
          OAuth client ID.
        schema:
          type: integer
        in: path
  "/api/v4/applications/{id}/renew-secret":
    post:
      operationId: postApiV4ApplicationsIdRenewSecret
      summary: Renew an application secret
      description: Renew the secret of a specific application
      tags:
      - Applications
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesApplicationWithSecret"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the application. Not the `application_id`, which is the
          OAuth client ID.
        schema:
          type: integer
        in: path
  "/api/v4/application/appearance":
    get:
      operationId: getApiV4ApplicationAppearance
      summary: Get the current appearance
      description: Retrieves the instance's branding and appearance configuration
        including logos, colors, and custom headers.
      tags:
      - Instance
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAppearance"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
    put:
      operationId: putApiV4ApplicationAppearance
      summary: Modify appearance
      description: Updates instance appearance settings like branding, logos, headers,
        and footer messages.
      tags:
      - Instance
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAppearance"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      requestBody:
        required: false
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4ApplicationAppearanceRequest"
  "/api/v4/projects/{id}/alert_management_alerts/{alert_iid}/metric_images/authorize":
    post:
      operationId: postApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesAuthorize
      summary: Workhorse authorize metric image file upload
      description: Pre-upload authorization endpoint for metric images attached to
        alerts. Called by GitLab Workhorse.
      tags:
      - Alert management
      responses:
        '200':
          description: OK
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 17
      - name: alert_iid
        required: true
        description: Internal ID of the alert.
        schema:
          type: integer
        in: path
        example: 23
  "/api/v4/projects/{id}/alert_management_alerts/{alert_iid}/metric_images":
    post:
      operationId: postApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImages
      summary: Upload a metric image
      description: Uploads a metric image for a specified alert.
      tags:
      - Alert management
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMetricImage"
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 17
      - name: alert_iid
        required: true
        description: Internal ID of the alert.
        schema:
          type: integer
        in: path
        example: 23
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/postApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesRequest"
    get:
      operationId: getApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImages
      summary: List all metric images
      description: Lists all metric images for a specified alert.
      tags:
      - Alert management
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesMetricImage"
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 17
      - name: alert_iid
        required: true
        description: Internal ID of the alert.
        schema:
          type: integer
        in: path
        example: 23
  "/api/v4/projects/{id}/alert_management_alerts/{alert_iid}/metric_images/{metric_image_id}":
    put:
      operationId: putApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesMetricImageId
      summary: Update a metric image
      description: Updates a specified metric image for an alert.
      tags:
      - Alert management
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMetricImage"
        '403':
          description: Forbidden
        '422':
          description: Unprocessable entity
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 17
      - name: alert_iid
        required: true
        description: Internal ID of the alert.
        schema:
          type: integer
        in: path
        example: 23
      - name: metric_image_id
        required: true
        description: ID of the metric image.
        schema:
          type: integer
        in: path
        example: 42
      requestBody:
        required: false
        content:
          multipart/form-data:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesMetricImageIdRequest"
    delete:
      operationId: deleteApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesMetricImageId
      summary: Delete a metric image
      description: Deletes a specified metric image for an alert.
      tags:
      - Alert management
      responses:
        '204':
          description: No Content
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMetricImage"
        '403':
          description: Forbidden
        '422':
          description: Unprocessable entity
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          oneOf:
          - type: string
          - type: integer
        in: path
        example: 17
      - name: alert_iid
        required: true
        description: Internal ID of the alert.
        schema:
          type: integer
        in: path
        example: 23
      - name: metric_image_id
        required: true
        description: ID of the metric image.
        schema:
          type: integer
        in: path
        example: 42
  "/api/v4/admin/token":
    post:
      operationId: postApiV4AdminToken
      summary: Get information about a token.
      description: This feature was introduced in GitLab 17.5.
      tags:
      - Access tokens
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '422':
          description: Unprocessable
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4AdminTokenRequest"
    delete:
      operationId: deleteApiV4AdminToken
      summary: Revoke a token.
      description: This feature was introduced in GitLab 17.7.
      tags:
      - Access tokens
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '422':
          description: Unprocessable
        '400':
          description: Bad Request
      parameters:
      - name: token
        required: true
        description: The token to revoke. To avoid exposing the token in the URL,
          send it in the JSON request body instead of as a query parameter.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/application/plan_limits":
    get:
      operationId: getApiV4ApplicationPlanLimits
      summary: Get current plan limits
      description: List the current limits of a plan on the GitLab instance.
      tags:
      - Plan limits
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPlanLimit"
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '400':
          description: Bad Request
      parameters:
      - name: plan_name
        required: false
        description: Name of the plan to get the limits from.
        schema:
          type: string
          enum:
          - default
          - free
          - bronze
          - silver
          - premium
          - gold
          - ultimate
          - ultimate_trial
          - ultimate_trial_paid_customer
          - premium_trial
          - opensource
          nullable: true
          default: default
        in: query
    put:
      operationId: putApiV4ApplicationPlanLimits
      summary: Change plan limits
      description: Modify the limits of a plan on the GitLab instance.
      tags:
      - Plan limits
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesPlanLimit"
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ApplicationPlanLimitsRequest"
  "/api/v4/admin/migrations/pending":
    get:
      operationId: getApiV4AdminMigrationsPending
      summary: List all pending migrations
      description: Lists all pending migrations for the instance.
      tags:
      - Migrations
      responses:
        '200':
          description: 200 OK
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '400':
          description: Bad Request
      parameters:
      - name: database
        required: false
        description: Database name to query.
        schema:
          type: string
          enum:
          - main
          - ci
          - sec
          - mr_diff
          - embedding
          - geo
          nullable: true
          default: main
        in: query
  "/api/v4/admin/migrations/{timestamp}/mark":
    post:
      operationId: postApiV4AdminMigrationsTimestampMark
      summary: Update status of a migration
      description: Updates the status of a migration to indicate a successful execution.
        This prevent them from being executed by the `db:migrate` tasks. Use this
        API to skip failing migrations after you determine they are safe to skip.
      tags:
      - Migrations
      responses:
        '201':
          description: 201 Created
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
        '422':
          description: You can mark only pending migrations
        '400':
          description: Bad Request
      parameters:
      - name: timestamp
        required: true
        description: Version timestamp of the migration.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4AdminMigrationsTimestampMarkRequest"
  "/api/v4/admin/clusters":
    get:
      operationId: getApiV4AdminClusters
      summary: List all instance clusters
      description: Lists all instance clusters for the instance.
      tags:
      - Clusters
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCluster"
        '403':
          description: Forbidden
  "/api/v4/admin/clusters/{cluster_id}":
    get:
      operationId: getApiV4AdminClustersClusterId
      summary: Retrieve a single instance cluster
      description: Retrieves a specified instance cluster.
      tags:
      - Clusters
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCluster"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: cluster_id
        required: true
        description: ID of the cluster.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4AdminClustersClusterId
      summary: Update an instance cluster
      description: Updates an existing instance cluster.
      tags:
      - Clusters
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCluster"
        '400':
          description: Validation error
        '403':
          description: Forbidden
        '404':
          description: Not found
      parameters:
      - name: cluster_id
        required: true
        description: ID of the cluster.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4AdminClustersClusterIdRequest"
    delete:
      operationId: deleteApiV4AdminClustersClusterId
      summary: Delete instance cluster
      description: Deletes an existing instance cluster. Does not remove existing
        resources in the connected Kubernetes cluster.
      tags:
      - Clusters
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCluster"
        '403':
          description: Forbidden
        '404':
          description: Not found
        '400':
          description: Bad Request
      parameters:
      - name: cluster_id
        required: true
        description: ID of the cluster.
        schema:
          type: integer
        in: path
  "/api/v4/admin/clusters/add":
    post:
      operationId: postApiV4AdminClustersAdd
      summary: Create an instance cluster
      description: Creates an instance cluster by adding an existing Kubernetes cluster.
      tags:
      - Clusters
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCluster"
        '400':
          description: Validation error
        '403':
          description: Forbidden
        '404':
          description: Not found
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4AdminClustersAddRequest"
  "/api/v4/admin/databases/{database_name}/dictionary/tables/{table_name}":
    get:
      operationId: getApiV4AdminDatabasesDatabaseNameDictionaryTablesTableName
      summary: Retrieve dictionary details
      description: Provides table schema and column information from the GitLab database
        dictionary.
      tags:
      - Database dictionary
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesDictionaryTable"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
        '400':
          description: Bad Request
      parameters:
      - name: database_name
        required: true
        description: Name of the database.
        schema:
          type: string
          enum:
          - main
          - ci
          minLength: 1
        in: path
      - name: table_name
        required: true
        description: Name of the table.
        schema:
          type: string
        in: path
  "/api/v4/admin/ci/variables":
    get:
      operationId: getApiV4AdminCiVariables
      summary: List all instance variables
      description: Lists all instance-level variables. Use the `page` and `per_page`
        pagination parameters to control the pagination of results.
      tags:
      - CI variables
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesCiVariable"
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4AdminCiVariables
      summary: Create instance variable
      description: Creates a instance-level variable. The maximum number of instance-level
        variables can be changed.
      tags:
      - CI variables
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiVariable"
        '400':
          description: 400 Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4AdminCiVariablesRequest"
  "/api/v4/admin/ci/variables/{key}":
    get:
      operationId: getApiV4AdminCiVariablesKey
      summary: Retrieve instance variable details
      description: Retrieves details of a specified instance-level variable.
      tags:
      - CI variables
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiVariable"
        '404':
          description: Instance Variable Not Found
        '400':
          description: Bad Request
      parameters:
      - name: key
        required: true
        description: Key of the instance variable. Must be 255 characters or fewer
          and contain only `A-Z`, `a-z`, `0-9`, and `_`.
        schema:
          type: string
        in: path
    put:
      operationId: putApiV4AdminCiVariablesKey
      summary: Update an instance variable
      description: Updates a specified instance variable.
      tags:
      - CI variables
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiVariable"
        '404':
          description: Instance Variable Not Found
        '400':
          description: Bad Request
      parameters:
      - name: key
        required: true
        description: Key of the instance variable. Must be 255 characters or fewer
          and contain only `A-Z`, `a-z`, `0-9`, and `_`.
        schema:
          type: string
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4AdminCiVariablesKeyRequest"
    delete:
      operationId: deleteApiV4AdminCiVariablesKey
      summary: Delete instance variable
      description: Deletes a specified instance variable.
      tags:
      - CI variables
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesCiVariable"
        '404':
          description: Instance Variable Not Found
        '400':
          description: Bad Request
      parameters:
      - name: key
        required: true
        description: Key of the instance variable. Must be 255 characters or fewer
          and contain only `A-Z`, `a-z`, `0-9`, and `_`.
        schema:
          type: string
        in: path
  "/api/v4/broadcast_messages":
    get:
      operationId: getApiV4BroadcastMessages
      summary: List all broadcast messages
      description: Lists all broadcast messages for the instance.
      tags:
      - Broadcast messages
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesSystemBroadcastMessage"
        '400':
          description: Bad Request
      parameters:
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4BroadcastMessages
      summary: Create a broadcast message
      description: Creates a broadcast message.
      tags:
      - Broadcast messages
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSystemBroadcastMessage"
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4BroadcastMessagesRequest"
  "/api/v4/broadcast_messages/{id}":
    get:
      operationId: getApiV4BroadcastMessagesId
      summary: Retrieve a broadcast message
      description: Retrieves a specified broadcast message.
      tags:
      - Broadcast messages
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSystemBroadcastMessage"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the broadcast message.
        schema:
          type: integer
        in: path
    put:
      operationId: putApiV4BroadcastMessagesId
      summary: Update a broadcast message
      description: Updates a specified broadcast message.
      tags:
      - Broadcast messages
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSystemBroadcastMessage"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the broadcast message.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4BroadcastMessagesIdRequest"
    delete:
      operationId: deleteApiV4BroadcastMessagesId
      summary: Delete a broadcast message
      description: Deletes a specified broadcast message.
      tags:
      - Broadcast messages
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesSystemBroadcastMessage"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the broadcast message.
        schema:
          type: integer
        in: path
  "/api/v4/admin/batched_background_operations":
    get:
      operationId: getApiV4AdminBatchedBackgroundOperations
      summary: Get the list of batched background operations
      description: This feature was introduced in GitLab 19.1.
      tags:
      - Batched background operations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBatchedBackgroundOperation"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
        '400':
          description: Bad Request
      parameters:
      - name: database
        required: false
        description: Name of the database.
        schema:
          type: string
          enum:
          - main
          - ci
          - sec
          - mr_diff
          - embedding
          - geo
          nullable: true
          default: main
        in: query
      - name: job_class_name
        required: false
        description: Filter operations by job class name.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/admin/batched_background_operations/{id}":
    get:
      operationId: getApiV4AdminBatchedBackgroundOperationsId
      summary: Retrieve a batched background operation
      description: This feature was introduced in GitLab 19.1.
      tags:
      - Batched background operations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBatchedBackgroundOperation"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the batched background operation.
        schema:
          type: integer
        in: path
      - name: database
        required: false
        description: Name of the database.
        schema:
          type: string
          enum:
          - main
          - ci
          - sec
          - mr_diff
          - embedding
          - geo
          nullable: true
          default: main
        in: query
  "/api/v4/admin/batched_background_operations/{id}/stop":
    put:
      operationId: putApiV4AdminBatchedBackgroundOperationsIdStop
      summary: Stop a batched background operation
      description: This feature was introduced in GitLab 19.2.
      tags:
      - Batched background operations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBatchedBackgroundOperation"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
        '422':
          description: You can stop only `queued`, `active` or `paused` operations.
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the batched background operation.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4AdminBatchedBackgroundOperationsIdStopRequest"
  "/api/v4/admin/batched_background_operations/{id}/restart":
    put:
      operationId: putApiV4AdminBatchedBackgroundOperationsIdRestart
      summary: Restart a batched background operation
      description: This feature was introduced in GitLab 19.2.
      tags:
      - Batched background operations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBatchedBackgroundOperation"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
        '422':
          description: You can restart only `stopped` operations.
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the batched background operation.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4AdminBatchedBackgroundOperationsIdRestartRequest"
  "/api/v4/admin/batched_background_migrations/{id}":
    get:
      operationId: getApiV4AdminBatchedBackgroundMigrationsId
      summary: Retrieve a batched background migration
      description: Fetches details of a specific batched migration, with optional
        filtering by database target.
      tags:
      - Batched background migrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBatchedBackgroundMigration"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the batched background migration.
        schema:
          type: integer
        in: path
      - name: database
        required: false
        description: Name of the database.
        schema:
          type: string
          enum:
          - main
          - ci
          - sec
          - mr_diff
          - embedding
          - geo
          nullable: true
          default: main
        in: query
  "/api/v4/admin/batched_background_migrations":
    get:
      operationId: getApiV4AdminBatchedBackgroundMigrations
      summary: Get the list of batched background migrations
      description: Lists all batched background migrations with optional filters for
        database and job class name.
      tags:
      - Batched background migrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesBatchedBackgroundMigration"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
        '400':
          description: Bad Request
      parameters:
      - name: database
        required: false
        description: Name of the database.
        schema:
          type: string
          enum:
          - main
          - ci
          - sec
          - mr_diff
          - embedding
          - geo
          nullable: true
          default: main
        in: query
      - name: job_class_name
        required: false
        description: Filter migrations by job class name.
        schema:
          type: string
          nullable: true
        in: query
  "/api/v4/admin/batched_background_migrations/{id}/resume":
    put:
      operationId: putApiV4AdminBatchedBackgroundMigrationsIdResume
      summary: Resume a batched background migration
      description: Resumes execution of a previously paused batched background migration.
      tags:
      - Batched background migrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBatchedBackgroundMigration"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
        '422':
          description: You can resume only `paused` batched background migrations.
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the batched background migration.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4AdminBatchedBackgroundMigrationsIdResumeRequest"
  "/api/v4/admin/batched_background_migrations/{id}/pause":
    put:
      operationId: putApiV4AdminBatchedBackgroundMigrationsIdPause
      summary: Pause a batched background migration
      description: Pauses an active batched background migration temporarily.
      tags:
      - Batched background migrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesBatchedBackgroundMigration"
        '401':
          description: 401 Unauthorized
        '403':
          description: 403 Forbidden
        '404':
          description: 404 Not found
        '422':
          description: You can pause only `active` batched background migrations.
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID of the batched background migration.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4AdminBatchedBackgroundMigrationsIdPauseRequest"
  "/api/v4/groups/{id}/access_requests":
    get:
      operationId: getApiV4GroupsIdAccessRequests
      summary: List all access requests for a group
      description: Lists all access requests for a specified group that are viewable
        by the authenticated user.
      tags:
      - Access requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAccessRequester"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4GroupsIdAccessRequests
      summary: Request access to a group
      description: Requests access to a specified group for the authenticated user.
      tags:
      - Access requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAccessRequester"
              example:
                id: 1
                username: raymond_smith
                name: Raymond Smith
                state: active
                requested_at: '2012-10-22T14:13:35Z'
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
  "/api/v4/groups/{id}/access_requests/{user_id}/approve":
    put:
      operationId: putApiV4GroupsIdAccessRequestsUserIdApprove
      summary: Approve an access request
      description: Approves an access request for a specified user in a group.
      tags:
      - Access requests
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMember"
              example:
                id: 1
                username: raymond_smith
                name: Raymond Smith
                state: active
                created_at: '2012-10-22T14:13:35Z'
                access_level: '20'
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: user_id
        required: true
        description: ID of the user requesting access.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4GroupsIdAccessRequestsUserIdApproveRequest"
  "/api/v4/groups/{id}/access_requests/{user_id}":
    delete:
      operationId: deleteApiV4GroupsIdAccessRequestsUserId
      summary: Deny an access request
      description: Denies an access request for a specified user in a group.
      tags:
      - Access requests
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the group.
        schema:
          type: string
        in: path
      - name: user_id
        required: true
        description: ID of the user requesting access.
        schema:
          type: integer
        in: path
  "/api/v4/projects/{id}/access_requests":
    get:
      operationId: getApiV4ProjectsIdAccessRequests
      summary: List all access requests for a project
      description: Lists all access requests for a specified project that are viewable
        by the authenticated user.
      tags:
      - Access requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/APIEntitiesAccessRequester"
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: page
        required: false
        description: Page number of results to retrieve.
        schema:
          type: integer
          nullable: true
          default: 1
        in: query
        example: 1
      - name: per_page
        required: false
        description: Number of items to list per page.
        schema:
          type: integer
          nullable: true
          default: 20
        in: query
        example: 20
    post:
      operationId: postApiV4ProjectsIdAccessRequests
      summary: Request access to a project
      description: Requests access to a specified project for the authenticated user.
      tags:
      - Access requests
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesAccessRequester"
              example:
                id: 1
                username: raymond_smith
                name: Raymond Smith
                state: active
                requested_at: '2012-10-22T14:13:35Z'
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
  "/api/v4/projects/{id}/access_requests/{user_id}/approve":
    put:
      operationId: putApiV4ProjectsIdAccessRequestsUserIdApprove
      summary: Approve an access request
      description: Approves an access request for a specified user in a project.
      tags:
      - Access requests
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/APIEntitiesMember"
              example:
                id: 1
                username: raymond_smith
                name: Raymond Smith
                state: active
                created_at: '2012-10-22T14:13:35Z'
                access_level: '20'
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: user_id
        required: true
        description: ID of the user requesting access.
        schema:
          type: integer
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/putApiV4ProjectsIdAccessRequestsUserIdApproveRequest"
  "/api/v4/projects/{id}/access_requests/{user_id}":
    delete:
      operationId: deleteApiV4ProjectsIdAccessRequestsUserId
      summary: Deny an access request
      description: Denies an access request for a specified user in a project.
      tags:
      - Access requests
      responses:
        '204':
          description: Resource deleted
        '404':
          description: Not Found
        '400':
          description: Bad Request
      parameters:
      - name: id
        required: true
        description: ID or URL-encoded path of the project.
        schema:
          type: string
        in: path
      - name: user_id
        required: true
        description: ID of the user requesting access.
        schema:
          type: integer
        in: path
  "/api/v4/usage_data/track_event":
    post:
      operationId: postApiV4UsageDataTrackEvent
      summary: Track an internal GitLab event
      description: Tracks a GitLab internal event. This action increments Service
        Ping counters in Redis and is optionally sent to Snowplow. Introduced in GitLab
        16.2.
      tags:
      - Usage data
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '429':
          description: Too many requests
        '400':
          description: Bad Request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/postApiV4UsageDataTrackEventRequest"
  "/api/v4/usage_data/service_ping":
    get:
      operationId: getApiV4UsageDataServicePing
      summary: Retrieve Service Ping payload
      description: Retrieves the Service Ping payload from the application cache as
        JSON. If no cached payload is available, returns an empty response. Requires
        a personal access token with the `read_service_ping` scope. Introduced in
        GitLab 16.9.
      tags:
      - Usage data
      responses:
        '200':
          description: OK
        '401':
          description: 401 Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
components:
  securitySchemes:
    http:
      type: http
      scheme: bearer
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://gitlab.com/oauth/authorize
          tokenUrl: https://gitlab.com/oauth/token
          refreshUrl: https://gitlab.com/oauth/token
          scopes:
            api: Grants complete read/write access to the API, including all groups
              and projects, the container registry, the dependency proxy, and the
              package registry.
            read_api: Grants read access to the API, including all groups and projects,
              the container registry, and the package registry.
            read_user: Grants read-only access to your profile through the /user API
              endpoint, which includes username, public email, and full name. Also
              grants access to read-only API endpoints under /users.
            create_runner: Grants create access to the runners.
            manage_runner: Grants access to manage the runners.
            k8s_proxy: Grants permission to perform Kubernetes API calls using the
              agent for Kubernetes.
            self_rotate: Grants permission for token to rotate itself.
            mcp: Grants read-write access to remote Model Context Protocol (MCP) server
              for tools execution.
            mcp_orbit: Grants access to the Orbit Knowledge Graph MCP server for graph
              queries and schema retrieval.
    apiKey:
      type: apiKey
      name: PRIVATE-TOKEN
      in: header
  schemas:
    APIEntitiesCdRollout:
      type: object
      properties:
        id:
          type: integer
          example: 1
        iid:
          type: integer
          example: 1
        state:
          type: string
          example: in_progress
        workflow_ref:
          type: string
          example: cd-rollout-1
        started_at:
          type: string
          format: date-time
          example: '2026-07-22T11:37:00Z'
        finished_at:
          type: string
          format: date-time
          example: '2026-07-22T11:42:00Z'
    OrbitQueryResponse:
      type: object
      additionalProperties: false
      required:
      - result
      - query_type
      - row_count
      properties:
        result:
          oneOf:
          - type: object
          - type: string
          description: The query result built by the Orbit service. Its shape is set
            by the Orbit query response schema and versioned by its `format_version`
            field. An empty string when the Orbit service returns no result.
          externalDocs:
            description: Orbit query response schema
            url: https://gitlab.com/gitlab-org/orbit/knowledge-graph/-/raw/main/config/schemas/query_response.json
        query_type:
          type: string
          description: The type of query that was run.
          example: traversal
        raw_query_strings:
          type: array
          items:
            type: string
          description: The compiled queries, for debugging. Present only when the
            Orbit service returns them.
        row_count:
          type: integer
          description: The number of rows in the returned page.
          example: 2
    APIEntitiesOrbitContextEntity:
      type: object
      properties:
        token:
          type: string
          description: Token as sent.
          example: MergeRequest[123]
        resolved_token:
          type: string
          description: Token in `Type[id]` form, or `path@ref` for a branch or commit.
            Present only when `found` is `true`.
          example: MergeRequest[123]
        type:
          type: string
          description: 'Type of the entity. Possible values: `MergeRequest`, `WorkItem`,
            `Job`, `Pipeline`, `Branch`, or `Commit`. `null` when `found` is `false`.'
          example: MergeRequest
        id:
          type: string
          description: Global database ID, in the same form as the node IDs in the
            graph result, or the branch name or commit SHA. For `iid` and `path@ref`
            forms, `null` when `found` is `false`. For `Type[id]` and GID tokens,
            the ID that was sent.
          example: '123'
        found:
          type: boolean
          description: If `true`, the entity exists and the user can read it.
        summary:
          type: object
          description: Summary of a found entity. Contains `namespace_path` and `project_path`.
            `project_path` is `null` for group work items. Other fields can be added.
        error:
          type: object
          description: 'Error with a `code`: `invalid_token`, `unsupported_type`,
            or `not_found`. Present when `found` is `false`.'
        expansion:
          type: object
          description: "`null` when `expand` is `false` or the token was not found.
            Otherwise, `result` or `error` with a `code`, plus `query`: the named
            query that ran or would have run, with `name` and `parameters` (`node_ids`
            and `limit`). `query` is absent for `expansion_unsupported_type`."
    APIEntitiesOrbitContext:
      type: object
      properties:
        version:
          type: string
          description: Response contract version.
          example: 1.4.0
        entities:
          type: array
          description: One entry for the one token sent.
          items:
            "$ref": "#/components/schemas/APIEntitiesOrbitContextEntity"
    APIEntitiesOrbitSkillSummary:
      type: object
      properties:
        name:
          type: string
          description: Skill name.
          example: orbit
        version:
          type: string
          description: Skill version from the manifest.
          example: 0.29.0
        compatibility:
          type: string
          description: Environment requirements from the skill manifest.
          example: Orbit CLI
        description:
          type: string
          description: Description from the skill manifest.
          example: Use the glab orbit CLI.
    APIEntitiesOrbitSkillCollection:
      type: object
      properties:
        skills:
          type: array
          description: Deployed skills.
          items:
            "$ref": "#/components/schemas/APIEntitiesOrbitSkillSummary"
        server_version:
          type: string
          description: Version of the deployed Orbit service.
          example: 0.31.0
    APIEntitiesOrbitSkillFile:
      type: object
      properties:
        path:
          type: string
          description: Normalized path relative to the skill root.
          example: SKILL.md
        sha256:
          type: string
          description: SHA-256 hash of the file content.
          example: abc123
        content:
          type: string
          description: UTF-8 file content.
          example: "# Orbit skill"
    APIEntitiesOrbitSkill:
      type: object
      properties:
        name:
          type: string
          description: Skill name.
          example: orbit
        version:
          type: string
          description: Skill version.
          example: 0.29.0
        compatibility:
          type: string
          description: Environment requirements from the skill manifest.
          example: Orbit CLI
        server_version:
          type: string
          description: Version of the deployed Orbit service.
          example: 0.31.0
        files:
          type: array
          description: Files in the skill tree.
          items:
            "$ref": "#/components/schemas/APIEntitiesOrbitSkillFile"
    APIEntitiesSecurityVulnerabilityScanningSbomScan:
      type: object
      properties:
        id:
          type: integer
          format: int64
        download_url:
          type: string
        throttled:
          type: boolean
        project_throttling_resets_in:
          type: integer
        advisory_db_state:
          type: string
    APIEntitiesAuthnTokenExchange:
      type: object
      properties:
        access_token:
          type: string
          example: eyJhbGciOiJSUzI1NiJ9...
        issued_token_type:
          type: string
          example: urn:ietf:params:oauth:token-type:jwt
        token_type:
          type: string
          example: Bearer
        expires_in:
          type: integer
          example: 300
        scope:
          type: string
          description: The actions granted on the resource. Only for an audience bound
            to a resource.
          example: read write
        token:
          type: string
          description: Same value as access_token, for clients that read token, such
            as Docker's registry token auth flow.
          example: eyJhbGciOiJSUzI1NiJ9...
    APIEntitiesAiSemanticCodeSnippetRange:
      type: object
      properties:
        start_line:
          type: integer
          example: 42
        end_line:
          type: integer
          example: 44
        content:
          type: string
          example: |-
            def authenticate
              ...
            end
        score:
          type: number
          example: 0.85
    APIEntitiesAiSemanticCodeGroupedResult:
      type: object
      properties:
        path:
          type: string
          example: app/models/user.rb
        blob_id:
          type: string
          example: abc123def456
        file_url:
          type: string
          example: https://gitlab.com/group/project/-/blob/main/user.rb
        score:
          type: number
          example: 0.92
        snippet_ranges:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesAiSemanticCodeSnippetRange"
    APIEntitiesAiSemanticCodeResponse:
      type: object
      properties:
        confidence:
          type: string
          example: high
        results:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesAiSemanticCodeGroupedResult"
    APIEntitiesAiExternalAgentsSession:
      type: object
      properties:
        id:
          type: integer
          example: 1
        agent_type:
          type: string
          example: claude-code
        user_id:
          type: integer
          example: 1
        status:
          type: string
          example: running
        flow_type:
          type: string
          example: external_agent
        glab_version:
          type: string
          example: glab 1.121.0 (abc1234)
        agent_version:
          type: string
          example: 2.1.295
        sync_type:
          type: string
          example: hook
        external_xid:
          type: string
          example: uuid
        parent_external_xid:
          type: string
          example: agent-session-1
        session_started_at:
          type: string
          example: '2026-06-17T00:00:00.000Z'
        session_finished_at:
          type: string
          example: '2026-06-17T00:00:00.000Z'
        created_at:
          type: string
          example: '2026-06-17T00:00:00.000Z'
        updated_at:
          type: string
          example: '2026-06-17T00:00:00.000Z'
    APIEntitiesAiExternalAgentsIdentity:
      type: object
      properties:
        id:
          type: integer
          example: 1
        agent_type:
          type: string
          example: claude-code
        revoked_at:
          type: string
        created_at:
          type: string
          example: '2026-06-17T00:00:00.000Z'
    APIEntitiesAiDuoWorkflowsSessionCapsule:
      type: object
      properties:
        id:
          type: integer
          example: 1
        workflow_id:
          type: integer
          example: 1
        thread_ts:
          type: string
          example: 1f0a3b2c-4d5e-6f70-8192-a3b4c5d6e7f8
        size:
          type: integer
          example: 4096
        created_at:
          type: string
          format: date-time
          example: '2026-10-14T10:43:27.633Z'
        expire_at:
          type: string
          format: date-time
          example: '2026-11-13T10:43:27.624Z'
        download_url:
          type: string
          example: https://gitlab.example.com/api/v4/ai/duo_workflows/workflows/1/capsules/1/download
    APIEntitiesAiDuoWorkflowsWorkflow:
      type: object
      properties:
        id:
          type: integer
          description: ID of the flow.
        web_url:
          type: string
          description: URL of the session in the GitLab UI. For a group session, the
            URL is on the top-level group.
          example: https://gitlab.example.com/group/project/-/automate/agent-sessions/42
        project_id:
          type: integer
          description: ID of the associated project. `null` if not set.
        namespace_id:
          type: integer
          description: ID of the associated namespace. `null` if not set.
        service_account_id:
          type: integer
          description: ID of the service account the flow runs as. `null` if not set.
        agent_privileges:
          type: array
          description: Privilege IDs assigned to the agent.
          items:
            type: integer
        agent_privileges_names:
          type: array
          description: Names corresponding to `agent_privileges`.
          items:
            type: string
        pre_approved_agent_privileges:
          type: array
          description: Privilege IDs the agent can use without asking for approval.
          items:
            type: integer
        pre_approved_agent_privileges_names:
          type: array
          description: Names corresponding to `pre_approved_agent_privileges`.
          items:
            type: string
        workflow_definition:
          type: string
          description: Flow type identifier.
        status:
          type: string
          description: 'Current flow status. Possible values: `created`, `running`,
            `paused`, `finished`, `failed`, `stopped`, `input_required`, `plan_approval_required`,
            `tool_call_approval_required`, or `idle`. GitLab might add new values.'
        summary:
          type: string
          description: Short text summary of the workflow.
        title:
          type: string
          description: Title of the session.
        allow_agent_to_request_user:
          type: boolean
          description: If `true`, the agent can pause for user input.
        image:
          type: string
          description: Container image for CI pipeline execution. `null` if not set.
        environment:
          type: string
          description: Execution environment. `null` if not set.
        ai_catalog_item_version_id:
          type: integer
          description: ID of the AI Catalog item version. `null` if not set.
        workload:
          type: object
          description: 'Information about the workload: its `id` and a status `message`.
            The `id` is `null` if no workload was created, for example when `start_workflow`
            is not `true`.'
        mcp_enabled:
          type: boolean
          description: If `true`, MCP (Model Context Protocol) tools are enabled for
            the flow.
        incremental_checkpoints_enabled:
          type: boolean
          description: If `true`, the workflow stores checkpoints incrementally. `true`
            for all new workflows. Older workflows can return `false`.
        gitlab_url:
          type: string
          description: Base URL of the GitLab instance.
    APIEntitiesAiDuoWorkflowsBasicCheckpoint:
      type: object
      properties:
        id:
          type: integer
        thread_ts:
          type: string
        parent_ts:
          type: string
        checkpoint_ns:
          type: string
    APIEntitiesAiDuoWorkflowsCheckpointWrite:
      type: object
      properties:
        id:
          type: integer
        thread_ts:
          type: string
        task:
          type: string
        idx:
          type: integer
        channel:
          type: string
        write_type:
          type: string
        data:
          type: string
    APIEntitiesAiDuoWorkflowsCheckpoint:
      type: object
      properties:
        id:
          type: integer
        thread_ts:
          type: string
        parent_ts:
          type: string
        checkpoint_ns:
          type: string
        checkpoint:
          type: object
        compressed_checkpoint:
          type: string
        checkpoint_writes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesAiDuoWorkflowsCheckpointWrite"
        current_thread:
          type: integer
        metadata:
          type: object
    APIEntitiesAiDuoWorkflowsEvent:
      type: object
      properties:
        id:
          type: integer
        correlation_id:
          type: string
        event_type:
          type: string
        event_status:
          type: string
        message:
          type: string
    APIEntitiesAiDuoWorkflowsWorkflowAgentPrivileges:
      type: object
      properties:
        all_privileges:
          type: array
          description: All available agent privileges. Each has an `id`, a machine-readable
            `name`, a human-readable `description`, and `default_enabled`, which is
            `true` if the privilege is enabled by default.
          items:
            type: object
    APIEntitiesCustomAttribute:
      type: object
      properties:
        key:
          type: string
          example: foo
        value:
          type: string
          example: bar
    APIEntitiesIdentity:
      type: object
      properties:
        provider:
          type: string
          description: Name of the identity provider, such as `google_oauth2` or `group_saml`.
        extern_uid:
          type: string
          description: ID of the user at the identity provider.
        saml_provider_id:
          type: integer
          description: ID of the SAML provider for a `group_saml` identity.
    APIEntitiesScimIdentity:
      type: object
      properties:
        extern_uid:
          type: string
        group_id:
          type: integer
        active:
          type: boolean
    APIEntitiesUserPublic:
      type: object
      properties:
        id:
          type: integer
          description: ID of the user.
          format: int64
          example: 1
        username:
          type: string
          description: Username of the user.
          example: admin
        public_email:
          type: string
          description: Public email address of the user.
          example: john@example.com
        name:
          type: string
          description: Name of the user. For a bot user, `****` if the current user
            cannot read the bot's project or group.
          example: Administrator
        state:
          type: string
          description: 'State of the user account. Possible values: `active`, `blocked`,
            `ldap_blocked`, `blocked_pending_approval`, `banned`, or `deactivated`.'
          example: active
        locked:
          type: boolean
          description: If `true`, the user account is locked, and the user cannot
            sign in until the lock expires or an administrator unlocks the account.
        avatar_url:
          type: string
          description: URL of the user's avatar.
          example: https://gravatar.com/avatar/1
        avatar_path:
          type: string
          example: "/user/avatar/28/The-Big-Lebowski-400-400.png"
        custom_attributes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        web_url:
          type: string
          description: URL of the user's profile.
          example: https://gitlab.example.com/root
        created_at:
          type: string
          description: Creation date and time of the user account in ISO 8601 format.
          format: date-time
        bio:
          type: string
          description: Biography of the user.
        location:
          type: string
          description: Location of the user.
        linkedin:
          type: string
          description: LinkedIn username of the user.
        twitter:
          type: string
          description: Twitter username of the user.
        discord:
          type: string
          description: Discord user ID of the user.
        website_url:
          type: string
          description: Website of the user.
        github:
          type: string
          description: GitHub username of the user.
        job_title:
          type: string
          description: Job title of the user.
        pronouns:
          type: string
          description: Pronouns of the user.
        organization:
          type: string
          description: Organization of the user.
        bot:
          type: boolean
        work_information:
          type: string
        followers:
          type: string
        following:
          type: string
        is_followed:
          type: string
        local_time:
          type: string
        last_sign_in_at:
          type: string
          description: Last sign-in date and time of the user in ISO 8601 format.
          format: date-time
          example: '2015-09-03T07:24:01.670Z'
        confirmed_at:
          type: string
          description: Confirmation date and time of the user in ISO 8601 format.
          format: date-time
          example: '2015-09-03T07:24:01.670Z'
        last_activity_on:
          type: string
          description: Last activity date of the user.
          format: date-time
          example: '2015-09-03T07:24:01.670Z'
        email:
          type: string
          description: Email address of the user.
          example: john@example.com
        theme_id:
          type: integer
          description: Theme ID of the user.
          example: 2
        color_scheme_id:
          type: integer
          description: Color scheme ID of the user.
          example: 1
        projects_limit:
          type: integer
          description: Project limit of the user.
          example: 10
        current_sign_in_at:
          type: string
          description: Current sign-in date and time of the user in ISO 8601 format.
            Updated when the user signs in to GitLab, at most once an hour.
          format: date-time
          example: '2015-09-03T07:24:01.670Z'
        identities:
          type: array
          description: Identities associated with the user. An identity with the `group_saml`
            provider also has `saml_provider_id`.
          items:
            "$ref": "#/components/schemas/APIEntitiesIdentity"
        can_create_group:
          type: boolean
          description: If `true`, the user can create groups.
          example: true
        can_create_project:
          type: boolean
          description: If `true`, the user can create projects.
          example: true
        two_factor_enabled:
          type: boolean
          description: If `true`, two-factor authentication is enabled for the user.
          example: true
        external:
          type: boolean
          description: If `true`, the user is external.
        private_profile:
          type: boolean
          description: If `true`, the user's profile is private.
          example: false
        commit_email:
          type: string
        preferred_language:
          type: string
          example: en
        shared_runners_minutes_limit:
          type: integer
          description: Shared runners minutes limit of the user.
        extra_shared_runners_minutes_limit:
          type: integer
          description: Extra shared runners minutes limit of the user.
        scim_identities:
          type: array
          description: SCIM identities of the user.
          items:
            "$ref": "#/components/schemas/APIEntitiesScimIdentity"
    APIEntitiesProtectedRefAccess:
      type: object
      properties:
        id:
          type: integer
          description: ID of the access level configuration.
          format: int64
          example: 1
        access_level:
          type: integer
          description: Access level the configuration grants.
          example: 40
        access_level_description:
          type: string
          description: Human-readable description of the access level.
          example: Maintainers
        deploy_key_id:
          type: integer
          description: ID of the deploy key with access.
          format: int64
          example: 1
        user_id:
          type: integer
          description: ID of the user with access. Premium and Ultimate only.
          format: int64
          example: 1
        group_id:
          type: integer
          description: ID of the group with access. Premium and Ultimate only.
          format: int64
          example: 1
        member_role_id:
          type: integer
          description: ID of the custom member role with access. Ultimate only.
          format: int64
          example: 42
        member_role_name:
          type: string
          example: Lead Developer
    APIEntitiesGroupProtectedBranch:
      type: object
      properties:
        id:
          type: integer
          description: ID of the protected branch.
          format: int64
          example: 1
        name:
          type: string
          description: Name of the protected branch.
          example: main
        push_access_levels:
          type: array
          description: Array of push access level configurations.
          items:
            "$ref": "#/components/schemas/APIEntitiesProtectedRefAccess"
        merge_access_levels:
          type: array
          description: Array of merge access level configurations.
          items:
            "$ref": "#/components/schemas/APIEntitiesProtectedRefAccess"
        allow_force_push:
          type: boolean
          description: If `true`, force push is allowed on the branch.
        unprotect_access_levels:
          type: array
          description: Array of unprotect access level configurations.
          items:
            "$ref": "#/components/schemas/APIEntitiesProtectedRefAccess"
        code_owner_approval_required:
          type: boolean
          description: If `true`, code owner approval is required for pushes to the
            branch.
    APIEntitiesBasicGroupDetails:
      type: object
      properties:
        id:
          type: integer
          description: ID of the group.
          format: int64
        web_url:
          type: string
          description: URL to access the group in a browser.
          example: http://gitlab.example.com/groups/diaspora
        name:
          type: string
          description: Name of the group.
          example: Diaspora
    APIEntitiesGroupsRepositoryStorageMove:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        created_at:
          type: string
          format: date-time
          example: '2020-05-07T04:27:17.234Z'
        state:
          type: string
          example: scheduled
        source_storage_name:
          type: string
          example: default
        destination_storage_name:
          type: string
          example: storage1
        error_message:
          type: string
          example: Failed to move repository
        group:
          "$ref": "#/components/schemas/APIEntitiesBasicGroupDetails"
    APIEntitiesIteration:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        iid:
          type: integer
          example: 1
        sequence:
          type: integer
          example: 1
        group_id:
          type: integer
          format: int64
          example: 1
        title:
          type: string
          example: Iteration I
        description:
          type: string
          example: Iteration description
        state:
          type: integer
          example: 1
        created_at:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        updated_at:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        start_date:
          type: string
          format: date
          example: '2022-01-01'
        due_date:
          type: string
          format: date
          example: '2022-01-31'
        web_url:
          type: string
          example: https://gitlab.example.com/groups/gitlab-org/-/iterations/1
    APIEntitiesDependenciesVulnerabilities:
      type: object
      properties:
        occurrence_id:
          type: integer
          format: int64
        id:
          type: integer
          format: int64
        name:
          type: string
        url:
          type: string
        severity:
          type: string
    APIEntitiesSamlGroupLink:
      type: object
      properties:
        name:
          type: string
          description: Name of the SAML group.
          example: saml-group-1
        access_level:
          type: integer
          description: 'Default access level for members of the SAML group. Possible
            values: `5` (Minimal access), `10` (Guest), `15` (Planner), `20` (Reporter),
            `25` (Security Manager), `30` (Developer), `40` (Maintainer), or `50`
            (Owner).'
          example: 40
        member_role_id:
          type: integer
          description: ID of the custom member role for members of the SAML group.
            Returned only when custom roles are enabled for the group.
          format: int64
          example: 12
        provider:
          type: string
          description: Unique provider name that must match for this group link to
            be applied.
          example: saml
    APIEntitiesUserBasic:
      type: object
      properties:
        id:
          type: integer
          description: ID of the user.
          format: int64
          example: 1
        username:
          type: string
          description: Username of the user.
          example: admin
        public_email:
          type: string
          description: Public email address of the user.
          example: john@example.com
        name:
          type: string
          description: Name of the user. For a bot user, `****` if the current user
            cannot read the bot's project or group.
          example: Administrator
        state:
          type: string
          description: 'State of the user account. Possible values: `active`, `blocked`,
            `ldap_blocked`, `blocked_pending_approval`, `banned`, or `deactivated`.'
          example: active
        locked:
          type: boolean
          description: If `true`, the user account is locked, and the user cannot
            sign in until the lock expires or an administrator unlocks the account.
        avatar_url:
          type: string
          description: URL of the user's avatar.
          example: https://gravatar.com/avatar/1
        avatar_path:
          type: string
          example: "/user/avatar/28/The-Big-Lebowski-400-400.png"
        custom_attributes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        web_url:
          type: string
          description: URL of the user's profile.
          example: https://gitlab.example.com/root
    APIEntitiesResourceIterationEvent:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 142
        user:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        created_at:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        resource_type:
          type: string
          example: Issue
        resource_id:
          type: integer
          format: int64
          example: 253
        iteration:
          "$ref": "#/components/schemas/APIEntitiesIteration"
        action:
          type: string
          example: add
    APIEntitiesResourceWeightEvent:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 142
        user:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        created_at:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        issue_id:
          type: integer
          format: int64
          example: 253
        weight:
          type: integer
          example: 3
    APIEntitiesProtectedEnvironmentsDeployAccessLevel:
      type: object
      properties:
        id:
          type: integer
          description: ID of the access level configuration.
          format: int64
          example: 1
        access_level:
          type: integer
          description: Access level the configuration grants.
          example: 40
        access_level_description:
          type: string
          description: Human-readable description of the access level.
          example: Maintainers
        deploy_key_id:
          type: integer
          description: ID of the deploy key with access.
          format: int64
          example: 1
        user_id:
          type: integer
          description: ID of the user with access. Premium and Ultimate only.
          format: int64
          example: 1
        group_id:
          type: integer
          description: ID of the group with access. Premium and Ultimate only.
          format: int64
          example: 1
        member_role_id:
          type: integer
          description: ID of the custom member role with access. Ultimate only.
          format: int64
          example: 42
        member_role_name:
          type: string
          example: Lead Developer
        group_inheritance_type:
          type: integer
          example: 0
    APIEntitiesProtectedEnvironmentsApprovalRule:
      type: object
      properties:
        id:
          type: integer
          format: int64
        user_id:
          type: integer
          format: int64
        group_id:
          type: integer
          format: int64
        access_level:
          type: integer
        access_level_description:
          type: string
        required_approvals:
          type: integer
        group_inheritance_type:
          type: integer
    APIEntitiesProtectedEnvironment:
      type: object
      properties:
        name:
          type: string
          example: production
        deploy_access_levels:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesProtectedEnvironmentsDeployAccessLevel"
        required_approval_count:
          type: integer
          example: 2
        approval_rules:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesProtectedEnvironmentsApprovalRule"
    APIEntitiesAnalyticsDeploymentFrequency:
      type: object
      properties:
        value:
          type: integer
        from:
          type: string
          format: date
        to:
          type: string
          format: date
    APIEntitiesAnalyticsGroupActivityIssuesCount:
      type: object
      properties:
        issues_count:
          type: integer
          description: Number of issues. Limited to 1000. `null` when `too_large`
            is `true`.
          example: 3
        too_large:
          type: boolean
          description: Present and `true` when the count could not be calculated within
            the time limit. The count is then unknown and `null`.
          example: true
    APIEntitiesAnalyticsGroupActivityMergeRequestsCount:
      type: object
      properties:
        merge_requests_count:
          type: integer
          description: Number of merge requests. Limited to 1000. `null` when `too_large`
            is `true`.
          example: 3
        too_large:
          type: boolean
          description: Present and `true` when the count could not be calculated within
            the time limit. The count is then unknown and `null`.
          example: true
    APIEntitiesAnalyticsGroupActivityNewMembersCount:
      type: object
      properties:
        new_members_count:
          type: integer
          description: Number of new members. Limited to 1000. `null` when `too_large`
            is `true`.
          example: 3
        too_large:
          type: boolean
          description: Present and `true` when the count could not be calculated within
            the time limit. The count is then unknown and `null`.
          example: true
    APIEntitiesMilestone:
      type: object
      properties:
        id:
          type: integer
          format: int64
        iid:
          type: integer
          format: int64
        project_id:
          type: integer
          format: int64
        group_id:
          type: string
        title:
          type: string
        description:
          type: string
        state:
          type: string
        created_at:
          type: string
        updated_at:
          type: string
        due_date:
          type: string
        start_date:
          type: string
        expired:
          type: boolean
        web_url:
          type: string
    APIEntitiesAnalyticsCodeReviewMergeRequest:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 84
        iid:
          type: integer
          example: 14
        project_id:
          type: integer
          format: int64
          example: 4
        title:
          type: string
          description: Title of the merge request.
          example: Test MR 1580978354
        description:
          type: string
          example: Repellendus impedit et vel velit dignissimos.
        state:
          type: string
          example: closed
        created_at:
          type: string
          format: date-time
          example: '2022-08-17T12:46:35.053Z'
        updated_at:
          type: string
          format: date-time
          example: '2022-11-14T17:22:01.470Z'
        web_url:
          type: string
          description: Web URL of the merge request.
          example: http://local.gitlab.test:8181/root/merge-train-race-condition/-/merge_requests/59
        milestone:
          "$ref": "#/components/schemas/APIEntitiesMilestone"
        author:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        approved_by:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        notes_count:
          type: integer
          example: 10
        review_time:
          type: integer
          description: Review time in hours
          example: 6
        diff_stats:
          type: object
    DependencyEntityVulnerabilityEntity:
      type: object
      properties:
        severity:
          type: string
        id:
          type: string
        name:
          type: string
        url:
          type: string
    DependencyEntityLicenseEntity:
      type: object
      properties:
        spdx_identifier:
          type: string
        name:
          type: string
        url:
          type: string
    APIEntitiesDependency:
      type: object
      properties:
        name:
          type: string
        version:
          type: string
        package_manager:
          type: string
        dependency_file_path:
          type: string
        vulnerabilities:
          type: array
          items:
            "$ref": "#/components/schemas/DependencyEntityVulnerabilityEntity"
        licenses:
          type: array
          items:
            "$ref": "#/components/schemas/DependencyEntityLicenseEntity"
        malware:
          type: boolean
          description: 'Malware status: true if the package version matches a malware
            advisory, false otherwise. Omitted when the user cannot read security
            resources.'
    APIEntitiesProjectAlias:
      type: object
      properties:
        id:
          type: integer
          description: ID of the project alias.
          format: int64
          example: 1
        project_id:
          type: integer
          description: ID of the associated project.
          format: int64
          example: 1
        name:
          type: string
          description: Name of the alias.
          example: gitlab
    APIEntitiesNamespaceRootStorageStatistics:
      type: object
      properties:
        build_artifacts_size:
          type: integer
          description: CI artifacts size in bytes.
        container_registry_size:
          type: integer
          description: container registry size in bytes.
        container_registry_size_is_estimated:
          type: boolean
          description: Indicates whether the deduplicated container registry size
            for the namespace is an estimated value or not.
        dependency_proxy_size:
          type: integer
          description: Dependency Proxy sizes in bytes.
        lfs_objects_size:
          type: integer
          description: LFS objects size in bytes.
        packages_size:
          type: integer
          description: Packages size in bytes.
        pipeline_artifacts_size:
          type: integer
          description: CI pipeline artifacts size in bytes.
        repository_size:
          type: integer
          description: Git repository size in bytes.
        snippets_size:
          type: integer
          description: Snippets size in bytes.
        storage_size:
          type: integer
          description: Total storage in bytes.
        uploads_size:
          type: integer
          description: Uploads size in bytes.
        wiki_size:
          type: integer
          description: Wiki size in bytes.
    APIEntitiesLdapGroupLink:
      type: object
      properties:
        cn:
          type: string
          example: ldap-group-1
        group_access:
          type: integer
          example: 10
        provider:
          type: string
          example: ldapmain
        filter:
          type: string
          example: id >= 500
        member_role_id:
          type: integer
          format: int64
          example: 12
    APIEntitiesGroup:
      type: object
      properties:
        id:
          type: integer
          description: ID of the group.
          format: int64
        web_url:
          type: string
          description: URL to access the group in a browser.
          example: http://gitlab.example.com/groups/diaspora
        name:
          type: string
          description: Name of the group.
          example: Diaspora
        path:
          type: string
        description:
          type: string
        visibility:
          type: string
        share_with_group_lock:
          type: boolean
        require_two_factor_authentication:
          type: boolean
          description: If `true`, the group's own setting requires all users to set
            up two-factor authentication.
        two_factor_grace_period:
          type: integer
        project_creation_level:
          type: string
        auto_devops_enabled:
          type: string
        subgroup_creation_level:
          type: string
        emails_disabled:
          type: boolean
        emails_enabled:
          type: boolean
        show_diff_preview_in_email:
          type: boolean
        mentions_disabled:
          type: string
        lfs_enabled:
          type: boolean
        archived:
          type: boolean
        math_rendering_limits_enabled:
          type: boolean
        lock_math_rendering_limits_enabled:
          type: boolean
        crm_enabled:
          type: boolean
        resource_access_token_notify_inherited:
          type: boolean
        lock_resource_access_token_notify_inherited:
          type: boolean
        default_branch:
          type: string
        default_branch_protection:
          type: integer
        default_branch_protection_defaults:
          type: string
        avatar_url:
          type: string
        request_access_enabled:
          type: boolean
        full_name:
          type: string
        full_path:
          type: string
        created_at:
          type: string
        parent_id:
          type: string
        organization_id:
          type: integer
          format: int64
        shared_runners_setting:
          type: string
        max_artifacts_size:
          type: integer
        custom_attributes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        statistics:
          type: object
          properties:
            storage_size:
              type: string
            repository_size:
              type: string
            wiki_size:
              type: string
            lfs_objects_size:
              type: string
            job_artifacts_size:
              type: string
            pipeline_artifacts_size:
              type: string
            packages_size:
              type: string
            snippets_size:
              type: string
            uploads_size:
              type: string
        marked_for_deletion_on:
          type: string
        root_storage_statistics:
          description: Storage statistics for a top-level group. Returned only when
            `statistics` is `true` and the user is an administrator. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/469254)
            in GitLab 17.4.
          "$ref": "#/components/schemas/APIEntitiesNamespaceRootStorageStatistics"
        ldap_cn:
          type: string
        ldap_access:
          type: string
        ldap_group_links:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesLdapGroupLink"
        saml_group_links:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesSamlGroupLink"
        file_template_project_id:
          type: string
        wiki_access_level:
          type: string
        repository_storage:
          type: string
        duo_core_features_enabled:
          type: boolean
          description: "[Experimental] Indicates whether GitLab Duo Core features
            are enabled for the group"
        duo_features_enabled:
          type: boolean
          description: If `true`, GitLab Duo features are enabled for the group. Premium
            and Ultimate only.
        lock_duo_features_enabled:
          type: boolean
          description: If `true`, the GitLab Duo features enabled setting is enforced
            for all subgroups. Premium and Ultimate only.
        duo_code_suggestions_enabled:
          type: boolean
          description: If `true`, GitLab Duo Code Suggestions is turned on for the
            group. Premium and Ultimate only.
        lock_duo_code_suggestions_enabled:
          type: boolean
          description: If `true`, the Code Suggestions enabled setting is enforced
            for all subgroups. Premium and Ultimate only.
        auto_duo_code_review_enabled:
          type: string
        duo_code_review_level_allowed:
          type: boolean
        duo_code_review_default_level:
          type: string
          example: lite
        duo_code_review_decisions_enabled:
          type: string
        web_based_commit_signing_enabled:
          type: string
        allow_personal_snippets:
          type: string
        duo_namespace_access_rules:
          type: string
        built_in_project_templates_enabled:
          type: boolean
        lock_built_in_project_templates_enabled:
          type: boolean
    APIEntitiesMergeRequestApprovalRuleSourceRule:
      type: object
      properties:
        approvals_required:
          type: integer
          example: 2
    APIEntitiesMergeRequestApprovalRule:
      type: object
      properties:
        id:
          type: integer
          description: ID of the approval rule.
          format: int64
          example: 1
        name:
          type: string
          description: Name of the approval rule.
          example: QA
        rule_type:
          type: string
          description: 'Type of the approval rule. Possible values: `any_approver`,
            `code_owner`, `regular`, or `report_approver`.'
          example: regular
        eligible_approvers:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        approvals_required:
          type: integer
          example: 2
        users:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        groups:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesGroup"
        contains_hidden_groups:
          type: boolean
        report_type:
          type: string
        section:
          type: string
          example: Backend
        source_rule:
          "$ref": "#/components/schemas/APIEntitiesMergeRequestApprovalRuleSourceRule"
        overridden:
          type: boolean
    APIEntitiesVulnerabilityExport:
      type: object
      properties:
        id:
          type: integer
          format: int64
        created_at:
          type: string
          format: date-time
        project_id:
          type: integer
          format: int64
        group_id:
          type: integer
          format: int64
        format:
          type: string
        status:
          type: string
        started_at:
          type: string
          format: date-time
        finished_at:
          type: string
          format: date-time
        send_email:
          type: boolean
        expires_at:
          type: string
          format: date-time
        _links:
          type: object
          properties:
            self:
              type: string
            download:
              type: string
    APIEntitiesVulnerabilityArchiveExport:
      type: object
      properties:
        id:
          type: integer
          format: int64
        created_at:
          type: string
          format: date-time
        project_id:
          type: integer
          format: int64
        format:
          type: string
        status:
          type: string
        started_at:
          type: string
          format: date-time
        finished_at:
          type: string
          format: date-time
        _links:
          type: object
          properties:
            self:
              type: string
            download:
              type: string
    APIEntitiesIssuableTimeStats:
      type: object
      properties:
        time_estimate:
          type: integer
          example: 12600
        total_time_spent:
          type: integer
          example: 3600
        human_time_estimate:
          type: string
          example: 3h 30m
        human_total_time_spent:
          type: string
          example: 1h
    APIEntitiesTaskCompletionStatus:
      type: object
      properties:
        count:
          type: integer
          example: 5
        completed_count:
          type: integer
          example: 3
    APIEntitiesVulnerabilityRelatedIssue:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 84
        iid:
          type: integer
          example: 14
        project_id:
          type: integer
          format: int64
          example: 4
        title:
          type: string
          example: Impedit et ut et dolores vero provident ullam est
        description:
          type: string
          example: Repellendus impedit et vel velit dignissimos.
        state:
          type: string
          example: closed
        created_at:
          type: string
          format: date-time
          example: '2022-08-17T12:46:35.053Z'
        updated_at:
          type: string
          format: date-time
          example: '2022-11-14T17:22:01.470Z'
        closed_at:
          type: string
          format: date-time
          example: '2022-11-15T08:30:55.232Z'
        closed_by:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        labels:
          type: array
          example:
          - bug
          items:
            type: string
        milestone:
          "$ref": "#/components/schemas/APIEntitiesMilestone"
        assignees:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        author:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        type:
          type: string
          description: The type of the issue.
          enum:
          - ISSUE
          - INCIDENT
          - TEST_CASE
          - REQUIREMENT
          - TASK
          - TICKET
          example: ISSUE
        assignee:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        user_notes_count:
          type: integer
        merge_requests_count:
          type: integer
        upvotes:
          type: integer
        downvotes:
          type: integer
        start_date:
          type: string
          format: date
          example: '2022-11-18'
        due_date:
          type: string
          format: date
          example: '2022-11-20'
        confidential:
          type: boolean
        discussion_locked:
          type: boolean
        issue_type:
          type: string
          example: issue
        web_url:
          type: string
          example: http://example.com/example/example/issues/14
        time_stats:
          "$ref": "#/components/schemas/APIEntitiesIssuableTimeStats"
        task_completion_status:
          "$ref": "#/components/schemas/APIEntitiesTaskCompletionStatus"
        weight:
          type: integer
          example: 5
        blocking_issues_count:
          type: integer
          example: 2
        vulnerability_link_id:
          type: integer
          format: int64
        vulnerability_link_type:
          type: string
    APIEntitiesProjectIdentity:
      type: object
      properties:
        id:
          type: integer
          description: ID of the project.
          format: int64
          example: 1
        description:
          type: string
          description: Description of the project.
          example: desc
        name:
          type: string
          description: Name of the project.
          example: project1
        name_with_namespace:
          type: string
          description: Name of the project with its namespace.
          example: John Doe / project1
        path:
          type: string
          description: Path of the project.
          example: project1
        path_with_namespace:
          type: string
          description: Path of the project with its namespace.
          example: namespace1/project1
        created_at:
          type: string
          description: Date and time when the project was created.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
    APIEntitiesVulnerability:
      type: object
      properties:
        id:
          type: integer
          format: int64
        title:
          type: string
        description:
          type: string
        state:
          type: string
        severity:
          type: string
        report_type:
          type: string
        project:
          "$ref": "#/components/schemas/APIEntitiesProjectIdentity"
        finding:
          type: object
        resolved_on_default_branch:
          type: boolean
        project_default_branch:
          type: string
        author_id:
          type: integer
          format: int64
        resolved_by_id:
          type: integer
          format: int64
        dismissed_by_id:
          type: integer
          format: int64
        confirmed_by_id:
          type: integer
          format: int64
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        resolved_at:
          type: string
          format: date-time
        dismissed_at:
          type: string
          format: date-time
        confirmed_at:
          type: string
          format: date-time
        last_edited_at:
          type: string
          format: date-time
        start_date:
          type: string
          format: date-time
        updated_by_id:
          type: integer
          format: int64
        last_edited_by_id:
          type: integer
          format: int64
        due_date:
          type: string
          format: date-time
    APIEntitiesIssueBasic:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 84
        iid:
          type: integer
          example: 14
        project_id:
          type: integer
          format: int64
          example: 4
        title:
          type: string
          example: Impedit et ut et dolores vero provident ullam est
        description:
          type: string
          example: Repellendus impedit et vel velit dignissimos.
        state:
          type: string
          example: closed
        created_at:
          type: string
          format: date-time
          example: '2022-08-17T12:46:35.053Z'
        updated_at:
          type: string
          format: date-time
          example: '2022-11-14T17:22:01.470Z'
        closed_at:
          type: string
          format: date-time
          example: '2022-11-15T08:30:55.232Z'
        closed_by:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        labels:
          type: array
          example:
          - bug
          items:
            type: string
        milestone:
          "$ref": "#/components/schemas/APIEntitiesMilestone"
        assignees:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        author:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        type:
          type: string
          description: The type of the issue.
          enum:
          - ISSUE
          - INCIDENT
          - TEST_CASE
          - REQUIREMENT
          - TASK
          - TICKET
          example: ISSUE
        assignee:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        user_notes_count:
          type: integer
        merge_requests_count:
          type: integer
        upvotes:
          type: integer
        downvotes:
          type: integer
        start_date:
          type: string
          format: date
          example: '2022-11-18'
        due_date:
          type: string
          format: date
          example: '2022-11-20'
        confidential:
          type: boolean
        discussion_locked:
          type: boolean
        issue_type:
          type: string
          example: issue
        web_url:
          type: string
          example: http://example.com/example/example/issues/14
        time_stats:
          "$ref": "#/components/schemas/APIEntitiesIssuableTimeStats"
        task_completion_status:
          "$ref": "#/components/schemas/APIEntitiesTaskCompletionStatus"
        weight:
          type: integer
          example: 5
        blocking_issues_count:
          type: integer
          example: 2
    APIEntitiesVulnerabilityIssueLink:
      type: object
      properties:
        id:
          type: integer
          format: int64
        vulnerability:
          "$ref": "#/components/schemas/APIEntitiesVulnerability"
        issue:
          "$ref": "#/components/schemas/APIEntitiesIssueBasic"
        link_type:
          type: string
    VulnerabilitiesScannerEntity:
      type: object
      properties:
        external_id:
          type: string
        name:
          type: string
        vendor:
          type: string
        is_vulnerability_scanner:
          type: string
    VulnerabilitiesIdentifierEntity:
      type: object
      properties:
        external_type:
          type: string
        external_id:
          type: string
        name:
          type: string
        url:
          type: string
    ProjectEntity:
      type: object
      properties:
        id:
          type: integer
          example: 1
        name:
          type: string
          example: GitLab
        full_path:
          type: string
          example: gitlab-org/gitlab
        full_name:
          type: string
          example: GitLab Org / GitLab
        refs_url:
          type: string
        forked:
          type: boolean
          example: true
    APIEntitiesApprovalRuleShort:
      type: object
      properties:
        id:
          type: integer
          description: ID of the approval rule.
          format: int64
          example: 1
        name:
          type: string
          description: Name of the approval rule.
          example: QA
        rule_type:
          type: string
          description: 'Type of the approval rule. Possible values: `any_approver`,
            `code_owner`, `regular`, or `report_approver`.'
          example: regular
    UserEntity:
      type: object
      properties:
        id:
          type: integer
          description: ID of the user.
          format: int64
          example: 1
        username:
          type: string
          description: Username of the user.
          example: admin
        public_email:
          type: string
          description: Public email address of the user.
          example: john@example.com
        name:
          type: string
          description: Name of the user. For a bot user, `****` if the current user
            cannot read the bot's project or group.
          example: Administrator
        state:
          type: string
          description: 'State of the user account. Possible values: `active`, `blocked`,
            `ldap_blocked`, `blocked_pending_approval`, `banned`, or `deactivated`.'
          example: active
        locked:
          type: boolean
          description: If `true`, the user account is locked, and the user cannot
            sign in until the lock expires or an administrator unlocks the account.
        avatar_url:
          type: string
          description: URL of the user's avatar.
          example: https://gravatar.com/avatar/1
        avatar_path:
          type: string
          example: "/user/avatar/28/The-Big-Lebowski-400-400.png"
        custom_attributes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        web_url:
          type: string
          description: URL of the user's profile.
          example: https://gitlab.example.com/root
        status_tooltip_html:
          type: string
        show_status:
          type: string
        availability:
          type: string
        path:
          type: string
          example: "/root"
        applicable_approval_rules:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesApprovalRuleShort"
    VulnerabilitiesFeedbackEntity:
      type: object
      properties:
        id:
          type: string
        created_at:
          type: string
        project_id:
          type: string
        author:
          "$ref": "#/components/schemas/UserEntity"
        comment_details:
          type: object
          properties:
            comment:
              type: string
            comment_timestamp:
              type: string
            comment_author:
              "$ref": "#/components/schemas/UserEntity"
        finding_uuid:
          type: string
        pipeline:
          type: object
          properties:
            id:
              type: string
            path:
              type: string
        issue_iid:
          type: string
        issue_url:
          type: string
        merge_request_iid:
          type: string
        merge_request_path:
          type: string
        category:
          type: string
        feedback_type:
          type: string
        branch:
          type: string
        dismissal_reason:
          type: string
    VulnerabilitiesStateTransitionEntity:
      type: object
      properties:
        author:
          "$ref": "#/components/schemas/UserEntity"
        comment:
          type: string
        from_state:
          type: string
        to_state:
          type: string
        created_at:
          type: string
        dismissal_reason:
          type: string
    VulnerabilitiesIssueLinkEntity:
      type: object
      properties:
        issue_iid:
          type: string
        issue_url:
          type: string
        author:
          "$ref": "#/components/schemas/UserEntity"
        created_at:
          type: string
        link_type:
          type: string
    VulnerabilitiesExternalIssueLinkEntity:
      type: object
      properties:
        external_issue_details:
          type: string
        author:
          "$ref": "#/components/schemas/UserEntity"
        created_at:
          type: string
        updated_at:
          type: string
    VulnerabilitiesMergeRequestLinkEntityAuthorEntity:
      type: object
      properties:
        id:
          type: integer
          description: ID of the user.
          format: int64
          example: 1
        username:
          type: string
          description: Username of the user.
          example: admin
        public_email:
          type: string
          description: Public email address of the user.
          example: john@example.com
        name:
          type: string
          description: Name of the user. For a bot user, `****` if the current user
            cannot read the bot's project or group.
          example: Administrator
        state:
          type: string
          description: 'State of the user account. Possible values: `active`, `blocked`,
            `ldap_blocked`, `blocked_pending_approval`, `banned`, or `deactivated`.'
          example: active
        locked:
          type: boolean
          description: If `true`, the user account is locked, and the user cannot
            sign in until the lock expires or an administrator unlocks the account.
        avatar_url:
          type: string
          description: URL of the user's avatar.
          example: https://gravatar.com/avatar/1
        avatar_path:
          type: string
          example: "/user/avatar/28/The-Big-Lebowski-400-400.png"
        custom_attributes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        web_url:
          type: string
          description: URL of the user's profile.
          example: https://gitlab.example.com/root
        status_tooltip_html:
          type: string
        show_status:
          type: string
        availability:
          type: string
        path:
          type: string
          example: "/root"
        applicable_approval_rules:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesApprovalRuleShort"
        human:
          type: boolean
          example: true
    VulnerabilitiesMergeRequestLinkEntity:
      type: object
      properties:
        merge_request_iid:
          type: string
        merge_request_path:
          type: string
        state:
          type: string
        author:
          "$ref": "#/components/schemas/VulnerabilitiesMergeRequestLinkEntityAuthorEntity"
        created_at:
          type: string
    VulnerabilitiesRequestEntity:
      type: object
      properties:
        headers:
          type: array
          items:
            type: object
        method:
          type: string
        url:
          type: string
        body:
          type: string
    VulnerabilitiesResponseEntity:
      type: object
      properties:
        headers:
          type: array
          items:
            type: object
        reason_phrase:
          type: string
        status_code:
          type: string
        body:
          type: string
    VulnerabilitiesFindingEntity:
      type: object
      properties:
        id:
          type: string
        report_type:
          type: string
        name:
          type: string
        severity:
          type: string
        scanner:
          "$ref": "#/components/schemas/VulnerabilitiesScannerEntity"
        unverified:
          type: string
        identifiers:
          type: array
          items:
            "$ref": "#/components/schemas/VulnerabilitiesIdentifierEntity"
        uuid:
          type: string
        create_jira_issue_url:
          type: string
        false_positive:
          type: string
        create_vulnerability_feedback_issue_path:
          type: string
        create_vulnerability_feedback_merge_request_path:
          type: string
        create_vulnerability_feedback_dismissal_path:
          type: string
        project:
          "$ref": "#/components/schemas/ProjectEntity"
        dismissal_feedback:
          "$ref": "#/components/schemas/VulnerabilitiesFeedbackEntity"
        issue_feedback:
          "$ref": "#/components/schemas/VulnerabilitiesFeedbackEntity"
        merge_request_feedback:
          "$ref": "#/components/schemas/VulnerabilitiesFeedbackEntity"
        state_transitions:
          type: array
          items:
            "$ref": "#/components/schemas/VulnerabilitiesStateTransitionEntity"
        issue_links:
          type: array
          items:
            "$ref": "#/components/schemas/VulnerabilitiesIssueLinkEntity"
        external_issue_links:
          type: array
          items:
            "$ref": "#/components/schemas/VulnerabilitiesExternalIssueLinkEntity"
        merge_request_links:
          type: array
          items:
            "$ref": "#/components/schemas/VulnerabilitiesMergeRequestLinkEntity"
        description:
          type: string
        description_html:
          type: string
        links:
          type: array
          items:
            type: object
        location:
          type: string
        remediations:
          type: array
          items:
            type: object
        solution:
          type: string
        evidence:
          type: string
        request:
          "$ref": "#/components/schemas/VulnerabilitiesRequestEntity"
        response:
          "$ref": "#/components/schemas/VulnerabilitiesResponseEntity"
        evidence_source:
          type: string
        supporting_messages:
          type: string
        assets:
          type: string
        details:
          type: string
        state:
          type: string
        scan:
          type: string
        blob_path:
          type: string
        found_by_pipeline:
          type: object
          properties:
            iid:
              type: string
        ai_resolution_enabled:
          type: string
        matches_auto_dismiss_policy:
          type: string
        auto_severity_override:
          type: string
    APIEntitiesApprover:
      type: object
      properties:
        user:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
    APIEntitiesApproverGroup:
      type: object
      properties:
        group:
          "$ref": "#/components/schemas/APIEntitiesGroup"
    APIEntitiesApprovalSettings:
      type: object
      properties:
        approvers:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesApprover"
        approver_groups:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesApproverGroup"
        approvals_before_merge:
          type: integer
        reset_approvals_on_push:
          type: boolean
        selective_code_owner_removals:
          type: boolean
        disable_overriding_approvers_per_merge_request:
          type: boolean
        merge_requests_author_approval:
          type: boolean
        merge_requests_disable_committers_approval:
          type: boolean
        require_password_to_approve:
          type: boolean
        require_reauthentication_to_approve:
          type: boolean
    APIEntitiesManagedLicense:
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
        approval_status:
          type: string
    APIEntitiesGranularScope:
      type: object
      properties:
        access:
          type: string
          example: personal_projects
        permissions:
          type: array
          example:
          - read_job
        project_id:
          type: integer
          description: ID of the project when the scope targets a project, otherwise
            `null`.
          format: int64
          example: 3
        group_id:
          type: integer
          description: ID of the group when the scope targets a group, otherwise `null`.
          format: int64
          example: 5
    APIEntitiesPersonalAccessToken:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 2
        name:
          type: string
          example: John Doe
        revoked:
          type: boolean
        created_at:
          type: string
          format: date-time
        description:
          type: string
          example: Token to manage api
        scopes:
          type: array
          example:
          - api
        user_id:
          type: integer
          format: int64
          example: 3
        last_used_at:
          type: string
          format: date-time
          example: '2020-08-31T15:53:00.073Z'
        last_used_ips:
          type: array
          description: The five most recent unique IP addresses that have authenticated
            with this token. When the limit is reached, the oldest IP address is removed.
            The list updates once per minute per token.
          example:
          - 127.0.0.1
          - 127.0.0.2
          - 127.0.0.3
          items:
            type: string
        granular_scopes:
          type: array
          description: Granular scopes of the token, each with `access`, `permissions`,
            `group_id`, and `project_id`. Returned only for tokens created with granular
            scopes.
          items:
            "$ref": "#/components/schemas/APIEntitiesGranularScope"
        active:
          type: boolean
        granular:
          type: boolean
        expires_at:
          type: string
          format: date-time
          example: '2020-08-31T15:53:00.073Z'
    APIEntitiesPersonalAccessTokenWithToken:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 2
        name:
          type: string
          example: John Doe
        revoked:
          type: boolean
        created_at:
          type: string
          format: date-time
        description:
          type: string
          example: Token to manage api
        scopes:
          type: array
          example:
          - api
        user_id:
          type: integer
          format: int64
          example: 3
        last_used_at:
          type: string
          format: date-time
          example: '2020-08-31T15:53:00.073Z'
        last_used_ips:
          type: array
          description: The five most recent unique IP addresses that have authenticated
            with this token. When the limit is reached, the oldest IP address is removed.
            The list updates once per minute per token.
          example:
          - 127.0.0.1
          - 127.0.0.2
          - 127.0.0.3
          items:
            type: string
        granular_scopes:
          type: array
          description: Granular scopes of the token, each with `access`, `permissions`,
            `group_id`, and `project_id`. Returned only for tokens created with granular
            scopes.
          items:
            "$ref": "#/components/schemas/APIEntitiesGranularScope"
        active:
          type: boolean
        granular:
          type: boolean
        expires_at:
          type: string
          format: date-time
          example: '2020-08-31T15:53:00.073Z'
        token:
          type: string
          example: glpat-<example-token>
    APIEntitiesResourceAccessToken:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 2
        name:
          type: string
          example: John Doe
        revoked:
          type: boolean
        created_at:
          type: string
          format: date-time
        description:
          type: string
          example: Token to manage api
        scopes:
          type: array
          example:
          - api
        user_id:
          type: integer
          format: int64
          example: 3
        last_used_at:
          type: string
          format: date-time
          example: '2020-08-31T15:53:00.073Z'
        last_used_ips:
          type: array
          description: The five most recent unique IP addresses that have authenticated
            with this token. When the limit is reached, the oldest IP address is removed.
            The list updates once per minute per token.
          example:
          - 127.0.0.1
          - 127.0.0.2
          - 127.0.0.3
          items:
            type: string
        granular_scopes:
          type: array
          description: Granular scopes of the token, each with `access`, `permissions`,
            `group_id`, and `project_id`. Returned only for tokens created with granular
            scopes.
          items:
            "$ref": "#/components/schemas/APIEntitiesGranularScope"
        active:
          type: boolean
        granular:
          type: boolean
        expires_at:
          type: string
          format: date-time
          example: '2020-08-31T15:53:00.073Z'
        access_level:
          type: integer
          enum:
          - 10
          - 20
          - 30
          - 40
          - 50
          example: 40
        resource_type:
          type: string
          enum:
          - project
          - group
          example: project
        resource_id:
          type: integer
          example: 1234
    APIEntitiesSshKeyWithUserId:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        title:
          type: string
          example: Sample key 25
        created_at:
          type: string
          format: date-time
          example: '2015-09-03T07:24:44.627Z'
        expires_at:
          type: string
          format: date-time
          example: '2020-09-03T07:24:44.627Z'
        last_used_at:
          type: string
          format: date-time
          example: '2020-09-03T07:24:44.627Z'
        usage_type:
          type: string
          example: auth
        user_id:
          type: integer
          format: int64
          example: 3
    APIEntitiesMergeRequestAuthor:
      type: object
      properties:
        id:
          type: integer
          description: ID of the user.
          format: int64
          example: 1
        username:
          type: string
          description: Username of the user.
          example: admin
        public_email:
          type: string
          description: Public email address of the user.
          example: john@example.com
        name:
          type: string
          description: Name of the user. For a bot user, `****` if the current user
            cannot read the bot's project or group.
          example: Administrator
        state:
          type: string
          description: 'State of the user account. Possible values: `active`, `blocked`,
            `ldap_blocked`, `blocked_pending_approval`, `banned`, or `deactivated`.'
          example: active
        locked:
          type: boolean
          description: If `true`, the user account is locked, and the user cannot
            sign in until the lock expires or an administrator unlocks the account.
        avatar_url:
          type: string
          description: URL of the user's avatar.
          example: https://gravatar.com/avatar/1
        avatar_path:
          type: string
          example: "/user/avatar/28/The-Big-Lebowski-400-400.png"
        custom_attributes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        web_url:
          type: string
          description: URL of the user's profile.
          example: https://gitlab.example.com/root
        bot:
          type: boolean
          description: If `true`, the author is a bot.
          example: false
    APIEntitiesIssuableReferences:
      type: object
      properties:
        short:
          type: string
          example: "&6"
        relative:
          type: string
          example: "&6"
        full:
          type: string
          example: test&6
    APIEntitiesMergeRequestBasic:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 84
        iid:
          type: integer
          example: 14
        project_id:
          type: integer
          format: int64
          example: 4
        title:
          type: string
          example: Impedit et ut et dolores vero provident ullam est
        description:
          type: string
          example: Repellendus impedit et vel velit dignissimos.
        state:
          type: string
          example: closed
        created_at:
          type: string
          format: date-time
          example: '2022-08-17T12:46:35.053Z'
        updated_at:
          type: string
          format: date-time
          example: '2022-11-14T17:22:01.470Z'
        merged_by:
          description: User who merged the merge request or set it to auto-merge.
            Deprecated. Use `merge_user` instead.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        merge_user:
          description: User who merged the merge request or set it to auto-merge,
            or `null`.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        merged_at:
          type: string
          description: Timestamp of when the merge request was merged.
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        closed_by:
          description: User who closed the merge request. `null` if the merge request
            is not closed.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        closed_at:
          type: string
          description: Timestamp of when the merge request was closed.
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        title_html:
          type: string
          description: Title of the merge request rendered as HTML. Returned only
            if `render_html` is `true`.
        description_html:
          type: string
          description: Description of the merge request rendered as HTML. Returned
            only if `render_html` is `true`.
        target_branch:
          type: string
          description: Name of the target branch.
        source_branch:
          type: string
          description: Name of the source branch.
        user_notes_count:
          type: integer
          description: Number of user comments on the merge request.
        upvotes:
          type: integer
          description: Number of upvotes for the merge request.
        downvotes:
          type: integer
          description: Number of downvotes for the merge request.
        author:
          description: User who created the merge request.
          "$ref": "#/components/schemas/APIEntitiesMergeRequestAuthor"
        assignees:
          type: array
          description: Users assigned to the merge request.
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        assignee:
          description: First user assigned to the merge request. Deprecated. Use `assignees`
            instead.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        reviewers:
          type: array
          description: Reviewers of the merge request.
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        source_project_id:
          type: integer
          description: ID of the source project. Equal to `target_project_id`, unless
            the merge request comes from a fork.
          format: int64
        target_project_id:
          type: integer
          description: ID of the target project.
          format: int64
        labels:
          type: array
          description: Names of the labels assigned to the merge request, sorted by
            name. If `with_labels_details` is `true`, an array of label objects with
            `id`, `name`, `color`, `text_color`, `description`, `description_html`
            and `archived` instead.
          items:
            type: string
        draft:
          type: boolean
          description: If `true`, the merge request is a draft.
        imported:
          type: boolean
          description: If `true`, the merge request was imported.
        imported_from:
          type: string
          description: Source of the import, such as `bitbucket`.
          example: bitbucket
        work_in_progress:
          type: boolean
          description: If `true`, the merge request is a draft. Deprecated. Use `draft`
            instead.
        milestone:
          description: Milestone assigned to the merge request.
          "$ref": "#/components/schemas/APIEntitiesMilestone"
        merge_when_pipeline_succeeds:
          type: boolean
          description: If `true`, the merge request is set to auto-merge.
        merge_status:
          type: string
          description: Status of the merge request. Can be `unchecked`, `checking`,
            `can_be_merged`, `cannot_be_merged` or `cannot_be_merged_recheck`. Affects
            `has_conflicts`. Deprecated. Use `detailed_merge_status` instead.
          example: unchecked
        detailed_merge_status:
          type: string
          description: Detailed merge status of the merge request. Accounts for every
            check that can block a merge. Can be `approvals_syncing` (approvals are
            syncing), `checking` (Git is testing whether a valid merge is possible),
            `ci_must_pass` (a CI/CD pipeline must succeed before merge), `ci_still_running`
            (a CI/CD pipeline is still running), `commits_status` (the source branch
            must exist and contain commits), `conflict` (conflicts exist between the
            source and target branches), `discussions_not_resolved` (all discussions
            must be resolved before merge), `draft_status` (the merge request is a
            draft), `jira_association_missing` (the title or description must reference
            a Jira issue), `locked_lfs_files` (LFS files locked by other users must
            be unlocked before merge), `locked_paths` (paths locked by other users
            must be unlocked before merging to the default branch), `merge_request_blocked`
            (blocked by another merge request), `merge_time` (cannot be merged until
            after the specified time), `mergeable` (the branch can merge cleanly into
            the target branch), `need_rebase` (the merge request must be rebased),
            `not_approved` (approval is required before merge), `not_open` (the merge
            request must be open before merge), `preparing` (the merge request diff
            is being created), `requested_changes` (reviewers have requested changes),
            `security_policy_pipeline_check` (when security policies are enforced,
            all pipelines for the latest commit must succeed before merge), `security_policy_violations`
            (all security policies must be satisfied), `status_checks_must_pass` (all
            status checks must pass before merge), `title_regex` (the title must match
            the regular expression set in the project settings), or `unchecked` (Git
            has not yet tested whether a valid merge is possible).
          example: mergeable
        merge_after:
          type: string
          description: If set, timestamp after which the merge request can be merged.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/510992) in
            GitLab 17.8.
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        sha:
          type: string
          description: SHA of the head commit of the source branch.
          example: 1234abcd
        merge_commit_sha:
          type: string
          description: SHA of the merge commit. `null` until the merge request is
            merged.
          example: 1234abcd
        squash_commit_sha:
          type: string
          description: SHA of the squash commit. Empty until the merge request is
            merged.
          example: 1234abcd
        discussion_locked:
          type: boolean
          description: If `true`, discussions are locked. Only project members can
            add, edit or resolve comments in locked discussions.
        should_remove_source_branch:
          type: boolean
          description: If `true`, the source branch is deleted after merge.
        force_remove_source_branch:
          type: boolean
          description: If `true`, the source branch is forced to be deleted after
            merge.
        prepared_at:
          type: string
          description: Timestamp of when the merge request was prepared. Set one time,
            after the diff is created, pipeline creation and the mergeability check
            are started, Git LFS objects are linked, and notifications are sent. Not
            updated when more changes are added.
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        allow_collaboration:
          type: boolean
          description: If `true`, the fork allows commits from members who can merge
            to the target branch. Returned only for merge requests from forks.
        allow_maintainer_to_push:
          type: boolean
          description: Returned only for merge requests from forks. Deprecated. Use
            `allow_collaboration` instead.
        reference:
          type: string
          description: Internal reference of the merge request, in short format. Deprecated.
            Use `references` instead.
          example: "!1"
        references:
          description: 'Internal references of the merge request: `short`, `relative`
            and `full`. When fetched from the project of the merge request, `relative`
            matches `short`. When fetched from a project or group in another namespace,
            `relative` matches `full`.'
          "$ref": "#/components/schemas/APIEntitiesIssuableReferences"
        web_url:
          type: string
          description: Web URL of the merge request.
          example: https://gitlab.example.com/my-group/my-project/-/merge_requests/1
        time_stats:
          description: 'Time tracking statistics of the merge request: `time_estimate`,
            `total_time_spent`, `human_time_estimate` and `human_total_time_spent`.'
          "$ref": "#/components/schemas/APIEntitiesIssuableTimeStats"
        squash:
          type: boolean
          description: If `true`, squash commits when merging. Project squash settings
            can override this value. Use `squash_on_merge` to take them into account.
        squash_on_merge:
          type: boolean
          description: If `true`, commits are squashed on merge.
        task_completion_status:
          description: 'Completion status of the task list: `count` and `completed_count`.'
          "$ref": "#/components/schemas/APIEntitiesTaskCompletionStatus"
        has_conflicts:
          type: boolean
          description: If `true`, the merge request has conflicts and cannot merge.
            `false` unless `merge_status` is `cannot_be_merged`.
        blocking_discussions_resolved:
          type: boolean
          description: If `true`, no unresolved threads block the merge. Always `true`
            if the project does not require all threads to be resolved before merge.
        approvals_before_merge:
          type: integer
          description: Number of approvals required before the merge request can merge.
            Deprecated. To configure approval rules, use the merge request approvals
            API instead. Premium and Ultimate only.
          example: 2
    APIEntitiesMergeRequestDependency:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 123
        blocking_merge_request:
          "$ref": "#/components/schemas/APIEntitiesMergeRequestBasic"
        blocked_merge_request:
          "$ref": "#/components/schemas/APIEntitiesMergeRequestBasic"
        project_id:
          type: integer
          format: int64
          example: 312
    APIEntitiesMergeRequestApprovalSetting:
      type: object
      properties:
        allow_author_approval:
          type: boolean
          example: true
        allow_committer_approval:
          type: boolean
          example: true
        allow_overrides_to_approver_list_per_merge_request:
          type: boolean
          example: true
        retain_approvals_on_push:
          type: boolean
          example: true
        selective_code_owner_removals:
          type: boolean
          example: true
        require_password_to_approve:
          type: boolean
          example: true
        require_reauthentication_to_approve:
          type: boolean
          example: true
    APIEntitiesGroupHook:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        url:
          type: string
          example: https://webhook.site
        name:
          type: string
          description: Name of the hook. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/460887)
            in GitLab 17.1.
          example: Hook name
        description:
          type: string
          description: Description of the hook. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/460887)
            in GitLab 17.1.
          example: Hook description
        created_at:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        push_events:
          type: boolean
        tag_push_events:
          type: boolean
        merge_requests_events:
          type: boolean
        repository_update_events:
          type: boolean
        enable_ssl_verification:
          type: boolean
        organization_id:
          type: integer
          example: 1
        alert_status:
          type: string
          example: executable
        disabled_until:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        url_variables:
          type: array
          example:
          - token: secr3t
          items:
            type: object
        push_events_branch_filter:
          type: string
          example: my-branch-*
        branch_filter_strategy:
          type: string
          example: wildcard
        custom_webhook_template:
          type: string
          example: '{"event":"{{object_kind}}"}'
        custom_headers:
          type: array
          example:
          - X-Custom-Header: value
          items:
            type: object
        token_present:
          type: boolean
          description: Whether a secret token is configured. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/231325)
            in GitLab 19.0.
          example: false
        signing_token_present:
          type: boolean
          description: Whether an HMAC signing token is configured. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/231325)
            in GitLab 19.0.
          example: false
        group_id:
          type: integer
          format: int64
          example: 1
        issues_events:
          type: boolean
        confidential_issues_events:
          type: boolean
        note_events:
          type: boolean
        confidential_note_events:
          type: boolean
        pipeline_events:
          type: boolean
        wiki_page_events:
          type: boolean
        job_events:
          type: boolean
        deployment_events:
          type: boolean
        feature_flag_events:
          type: boolean
        releases_events:
          type: boolean
        milestone_events:
          type: boolean
        subgroup_events:
          type: boolean
        emoji_events:
          type: boolean
        resource_access_token_events:
          type: boolean
        member_events:
          type: boolean
        vulnerability_events:
          type: boolean
        project_events:
          type: boolean
        duo_flow_callback_enabled:
          type: boolean
    APIEntitiesWebHookLog:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        url:
          type: string
          example: https://example.com
        trigger:
          type: string
          example: push_hooks
        request_headers:
          type: object
          example:
            Content-Type: application/json
        request_data:
          type: object
          example:
            user_id: 72
            event_name: push
        response_headers:
          type: object
          example:
            Content-Type: application/json
        response_body:
          type: string
          example: '"{\"success\":true}"'
        execution_duration:
          type: number
          format: float
          example: 98.29
        response_status:
          type: string
          example: '200'
        created_at:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
    APIEntitiesIdentityDetail:
      type: object
      properties:
        extern_uid:
          type: string
          description: External UID for the user.
        user_id:
          type: integer
          description: ID of the user.
        active:
          type: boolean
          description: If `true`, the identity is active. Returned only for SCIM identities.
    APIEntitiesMemberRole:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 2
        group_id:
          type: integer
          format: int64
          example: 2
        name:
          type: string
          example: Custom guest
        description:
          type: string
          example: Guest user who can also read_code
        base_access_level:
          type: integer
          enum:
          - 5
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          example: 40
        apply_security_scan_profiles:
          type: boolean
          default: false
        admin_merge_request:
          type: boolean
          default: false
        archive_project:
          type: boolean
          default: false
        archive_subgroup:
          type: boolean
          default: false
        admin_ai_catalog_item_consumer:
          type: boolean
          default: false
        create_security_scan_profiles:
          type: boolean
          default: false
        destroy_package:
          type: boolean
          default: false
        remove_project:
          type: boolean
          default: false
        delete_security_scan_profiles:
          type: boolean
          default: false
        remove_group:
          type: boolean
          default: false
        manage_security_policy_link:
          type: boolean
          default: false
        admin_ai_catalog_item:
          type: boolean
          default: false
        admin_compliance_framework:
          type: boolean
          default: false
        admin_cicd_variables:
          type: boolean
          default: false
        manage_deploy_tokens:
          type: boolean
          default: false
        manage_group_access_tokens:
          type: boolean
          default: false
        admin_group_member:
          type: boolean
          default: false
        admin_integrations:
          type: boolean
          default: false
        manage_merge_request_settings:
          type: boolean
          default: false
        manage_project_access_tokens:
          type: boolean
          default: false
        admin_protected_branch:
          type: boolean
          default: false
        admin_protected_environments:
          type: boolean
          default: false
        admin_push_rules:
          type: boolean
          default: false
        admin_runners:
          type: boolean
          default: false
        admin_security_attributes:
          type: boolean
          default: false
        admin_terraform_state:
          type: boolean
          default: false
        admin_vulnerability:
          type: boolean
          default: false
        admin_web_hook:
          type: boolean
          default: false
        pull_container_image:
          type: boolean
          default: false
        push_container_image:
          type: boolean
          default: false
        read_agent_artifacts:
          type: boolean
          default: false
        read_compliance_dashboard:
          type: boolean
          default: false
        read_security_scan_profiles:
          type: boolean
          default: false
        read_virtual_registry:
          type: boolean
          default: false
        update_sec_ai_workflow_settings:
          type: boolean
          default: false
        update_security_scan_profiles:
          type: boolean
          default: false
        read_admin_cicd:
          type: boolean
          default: false
        read_crm_contact:
          type: boolean
          default: false
        read_dependency:
          type: boolean
          default: false
        read_admin_groups:
          type: boolean
          default: false
        read_admin_projects:
          type: boolean
          default: false
        read_code:
          type: boolean
          default: false
        read_runners:
          type: boolean
          default: false
        read_security_attribute:
          type: boolean
          default: false
        read_admin_subscription:
          type: boolean
          default: false
        read_admin_monitoring:
          type: boolean
          default: false
        read_admin_users:
          type: boolean
          default: false
        read_vulnerability:
          type: boolean
          default: false
    APIEntitiesMergeRequestSimple:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 84
        iid:
          type: integer
          example: 14
        project_id:
          type: integer
          format: int64
          example: 4
        title:
          type: string
          description: Title of the merge request.
          example: Test MR 1580978354
        description:
          type: string
          example: Repellendus impedit et vel velit dignissimos.
        state:
          type: string
          example: closed
        created_at:
          type: string
          format: date-time
          example: '2022-08-17T12:46:35.053Z'
        updated_at:
          type: string
          format: date-time
          example: '2022-11-14T17:22:01.470Z'
        web_url:
          type: string
          description: Web URL of the merge request.
          example: http://local.gitlab.test:8181/root/merge-train-race-condition/-/merge_requests/59
    APIEntitiesCiPipelineBasic:
      type: object
      properties:
        id:
          type: integer
          description: ID of the pipeline.
          format: int64
          example: 1
        iid:
          type: integer
          description: Internal ID of the pipeline.
          example: 2
        project_id:
          type: integer
          description: ID of the project of the pipeline.
          format: int64
          example: 3
        sha:
          type: string
          description: SHA of the commit the pipeline runs for.
          example: 0ec9e58fdfca6cdd6652c083c9edb53abc0bad52
        ref:
          type: string
          description: Git reference of the pipeline.
          example: feature-branch
        status:
          type: string
          description: Status of the pipeline.
          example: success
        source:
          type: string
          description: Source that triggered the pipeline.
          example: push
        created_at:
          type: string
          description: Timestamp when the pipeline was created.
          format: date-time
          example: '2022-10-21T16:49:48.000+02:00'
        updated_at:
          type: string
          description: Timestamp when the pipeline was last updated.
          format: date-time
          example: '2022-10-21T16:49:48.000+02:00'
        web_url:
          type: string
          description: URL of the pipeline in the GitLab UI.
          example: https://gitlab.example.com/gitlab-org/gitlab-foss/-/pipelines/61
    APIEntitiesMergeTrainsCar:
      type: object
      properties:
        id:
          type: integer
          description: ID of the merge train.
          format: int64
          example: 38
        merge_request:
          description: Merge request details.
          "$ref": "#/components/schemas/APIEntitiesMergeRequestSimple"
        user:
          description: User who added the merge request to the merge train.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        pipeline:
          description: Pipeline details, or `null` if no pipeline is associated.
          "$ref": "#/components/schemas/APIEntitiesCiPipelineBasic"
        created_at:
          type: string
          description: Timestamp when the merge train was created.
          format: date-time
          example: '2015-12-24T15:51:21.880Z'
        updated_at:
          type: string
          description: Timestamp when the merge train was last updated.
          format: date-time
          example: '2015-12-24T17:54:31.198Z'
        target_branch:
          type: string
          description: Name of the target branch.
          example: develop
        status:
          type: string
          description: Status of the merge request on the merge train. `idle`, `fresh`,
            and `stale` are active statuses. `merging`, `merged`, and `skip_merged`
            are complete statuses.
          enum:
          - idle
          - stale
          - fresh
          - merging
          - merged
          - skip_merged
          example: merging
        merged_at:
          type: string
          description: Timestamp when the merge request was merged, or `null` if not
            merged.
          format: date-time
          example: '2015-12-24T17:54:31.198Z'
        duration:
          type: integer
          description: Time spent on the merge train in seconds, or `null` if the
            merge request is not merged.
          example: 127
    APIEntitiesGroupPushRule:
      type: object
      properties:
        id:
          type: integer
          description: ID of the push rule.
          format: int64
          example: 2
        created_at:
          type: string
          description: Date and time when the push rule was created.
          format: date-time
          example: '2020-08-31T15:53:00.073Z'
        commit_message_regex:
          type: string
          description: Allow only commit messages that match this regular expression.
          example: "[a-zA-Z]"
        commit_message_negative_regex:
          type: string
          description: Reject commit messages matching this regular expression.
          example: "[x+]"
        branch_name_regex:
          type: string
          description: Allow only branch names that match this regular expression.
          example: "[a-z]"
        author_email_regex:
          type: string
          description: Allow only commit author emails that match this regular expression.
          example: "^[A-Za-z0-9.]+@gitlab.com$"
        file_name_regex:
          type: string
          description: Reject filenames matching this regular expression.
          example: "(exe)$"
        deny_delete_tag:
          type: boolean
          description: If `true`, denies deleting a tag.
        member_check:
          type: boolean
          description: If `true`, allows only GitLab users to author commits.
          example: true
        prevent_secrets:
          type: boolean
          description: If `true`, rejects files that are likely to contain secrets.
        max_file_size:
          type: integer
          description: Maximum file size (MB) allowed.
          example: 100
        commit_committer_check:
          type: boolean
          description: If `true`, allows commits from users only if the committer
            email is one of their own verified emails.
        commit_committer_name_check:
          type: boolean
          description: If `true`, allows commits from users only if the commit author
            name is consistent with their GitLab account name.
        reject_unsigned_commits:
          type: boolean
          description: If `true`, rejects a commit when it is not signed.
        reject_non_dco_commits:
          type: boolean
          description: If `true`, rejects a commit when it is not DCO certified.
    APIEntitiesProjectPushRule:
      type: object
      properties:
        id:
          type: integer
          description: ID of the push rule.
          format: int64
          example: 2
        project_id:
          type: integer
          description: ID of the project.
          format: int64
          example: 3
        created_at:
          type: string
          description: Date and time when the push rule was created.
          format: date-time
          example: '2020-08-31T15:53:00.073Z'
        commit_message_regex:
          type: string
          description: All commit messages must match this regular expression.
          example: Fixed \d+\..*
        commit_message_negative_regex:
          type: string
          description: No commit message is allowed to match this regular expression.
          example: ssh\:\/\/
        branch_name_regex:
          type: string
          description: All branch names must match this regular expression.
          example: "(feature|hotfix)\\/.*"
        deny_delete_tag:
          type: boolean
          description: If `true`, denies deleting a tag.
          example: true
        member_check:
          type: boolean
          description: If `true`, restricts commits by author (email) to existing
            GitLab users.
          example: true
        prevent_secrets:
          type: boolean
          description: If `true`, GitLab rejects any files that are likely to contain
            secrets.
          example: true
        author_email_regex:
          type: string
          description: All commit author emails must match this regular expression.
          example: "@my-company.com$"
        file_name_regex:
          type: string
          description: All committed filenames must not match this regular expression.
          example: "(jar|exe)$"
        max_file_size:
          type: integer
          description: Maximum file size (MB).
          example: 1024
        commit_committer_check:
          type: boolean
          description: If `true`, users can only push commits to this repository if
            the committer email is one of their own verified emails.
          example: true
        commit_committer_name_check:
          type: boolean
          description: If `true`, users can only push commits to this repository if
            the commit author name is consistent with their GitLab account name.
          example: true
        reject_unsigned_commits:
          type: boolean
          description: If `true`, rejects commits when not signed.
          example: true
        reject_non_dco_commits:
          type: boolean
          description: If `true`, rejects commits when not DCO certified.
          example: true
    APIEntitiesPullMirror:
      type: object
      properties:
        id:
          type: integer
          description: ID of the mirror configuration.
          format: int64
          example: 101486
        update_status:
          type: string
          description: Status of the mirror update. One of `none`, `scheduled`, `started`,
            `finished`, `failed`, or `canceled`.
          example: finished
        url:
          type: string
          description: URL of the mirrored repository, with credentials masked.
          example: https://*****:*****@gitlab.com/gitlab-org/security/gitlab.git
        last_error:
          type: string
          description: Most recent error message. `null` if no error occurred.
        last_update_at:
          type: string
          description: Timestamp of the most recent mirror update attempt.
          format: date-time
          example: '2020-01-06T17:32:02.823Z'
        last_update_started_at:
          type: string
          description: Timestamp when the last mirror update started.
          format: date-time
          example: '2020-01-06T17:32:02.823Z'
        last_successful_update_at:
          type: string
          description: Timestamp of the last successful mirror update.
          format: date-time
          example: '2020-01-06T17:32:02.823Z'
        enabled:
          type: boolean
          description: If `true`, the mirror is active.
          example: false
        mirror_trigger_builds:
          type: boolean
          description: If `true`, mirror updates trigger pipelines.
          example: false
        only_mirror_protected_branches:
          type: boolean
          description: If `true`, only protected branches are mirrored. `null` if
            not set.
          example: false
        mirror_overwrites_diverged_branches:
          type: boolean
          description: If `true`, the mirror overwrites diverged branches.
          example: false
        mirror_branch_regex:
          type: string
          description: Regular expression that filters which branches are mirrored.
            `null` if not set.
          example: branch_name
    APIEntitiesGitlabLicenseWithActiveUsers:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        plan:
          type: string
          example: silver
        created_at:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        starts_at:
          type: string
          format: date
          example: '2018-01-27'
        expires_at:
          type: string
          format: date
          example: '2022-01-27'
        historical_max:
          type: integer
          example: 300
        maximum_user_count:
          type: integer
          example: 300
        licensee:
          type: object
          example:
            Name: John Doe1
        add_ons:
          type: object
          example:
            GitLab_FileLocks: 1
            GitLab_Auditor_User: 1
        expired:
          type: boolean
        overage:
          type: integer
          description: Difference between the number of billable users and the number
            of licensed users. Calculated differently depending on whether the license
            has expired or not.
          example: 200
        user_limit:
          type: integer
          example: 200
        active_users:
          type: integer
    APIEntitiesBasicSuccess:
      type: object
      properties:
        success:
          type: object
          description: Whether the request succeeded.
    APIEntitiesGitlabLicense:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        plan:
          type: string
          example: silver
        created_at:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        starts_at:
          type: string
          format: date
          example: '2018-01-27'
        expires_at:
          type: string
          format: date
          example: '2022-01-27'
        historical_max:
          type: integer
          example: 300
        maximum_user_count:
          type: integer
          example: 300
        licensee:
          type: object
          example:
            Name: John Doe1
        add_ons:
          type: object
          example:
            GitLab_FileLocks: 1
            GitLab_Auditor_User: 1
        expired:
          type: boolean
        overage:
          type: integer
          description: Difference between the number of billable users and the number
            of licensed users. Calculated differently depending on whether the license
            has expired or not.
          example: 200
        user_limit:
          type: integer
          example: 200
    APIEntitiesLdapGroup:
      type: object
      properties:
        cn:
          type: string
          example: ldap-group-1
    APIEntitiesGeoSite:
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
        url:
          type: string
        internal_url:
          type: string
        primary:
          type: boolean
        enabled:
          type: boolean
        current:
          type: boolean
        files_max_capacity:
          type: integer
        repos_max_capacity:
          type: integer
        verification_max_capacity:
          type: integer
        container_repositories_max_capacity:
          type: integer
        selective_sync_type:
          type: string
        selective_sync_shards:
          type: array
        selective_sync_namespace_ids:
          type: array
        selective_sync_organization_ids:
          type: array
        minimum_reverification_interval:
          type: integer
        blob_download_timeout:
          type: integer
        checksum_mismatch_report_threshold:
          type: integer
        checksum_mismatch_self_heal_cooldown_minutes:
          type: integer
        sync_object_storage:
          type: boolean
        web_edit_url:
          type: string
        web_geo_replication_details_url:
          type: string
        _links:
          type: object
          properties:
            self:
              type: string
            status:
              type: string
            repair:
              type: string
    APIEntitiesNamespaceBasic:
      type: object
      properties:
        id:
          type: integer
          description: ID of the namespace.
          format: int64
          example: 2
        name:
          type: string
          description: Name of the namespace.
          example: project
        path:
          type: string
          description: Path of the namespace.
          example: my_project
        kind:
          type: string
          description: 'Type of the namespace: `user`, `group`, or `project`.'
          example: project
        full_path:
          type: string
          description: Full path of the namespace, including the paths of its parent
            groups.
          example: group/my_project
        parent_id:
          type: integer
          description: ID of the parent namespace. `null` for top-level namespaces.
          format: int64
          example: 1
        avatar_url:
          type: string
          description: URL of the namespace avatar. For a group, `null` if no avatar
            is set.
          example: https://example.com/avatar/12345
        web_url:
          type: string
          description: Web URL of the namespace. For a user namespace, the URL of
            the user profile.
          example: https://example.com/group/my_project
    StorageShardEntity:
      type: object
      properties:
        name:
          type: string
    APIEntitiesGeoSiteStatus:
      type: object
      properties:
        geo_node_id:
          type: string
        projects_count:
          type: string
        container_repositories_replication_enabled:
          type: string
        abuse_report_uploads_count:
          type: string
        abuse_report_uploads_checksum_total_count:
          type: string
        abuse_report_uploads_checksummed_count:
          type: string
        abuse_report_uploads_checksum_failed_count:
          type: string
        abuse_report_uploads_synced_count:
          type: string
        abuse_report_uploads_failed_count:
          type: string
        abuse_report_uploads_registry_count:
          type: string
        abuse_report_uploads_verification_total_count:
          type: string
        abuse_report_uploads_verified_count:
          type: string
        abuse_report_uploads_verification_failed_count:
          type: string
        abuse_report_uploads_oldest_unsynced_time:
          type: string
        achievement_uploads_count:
          type: string
        achievement_uploads_checksum_total_count:
          type: string
        achievement_uploads_checksummed_count:
          type: string
        achievement_uploads_checksum_failed_count:
          type: string
        achievement_uploads_synced_count:
          type: string
        achievement_uploads_failed_count:
          type: string
        achievement_uploads_registry_count:
          type: string
        achievement_uploads_verification_total_count:
          type: string
        achievement_uploads_verified_count:
          type: string
        achievement_uploads_verification_failed_count:
          type: string
        achievement_uploads_oldest_unsynced_time:
          type: string
        alert_management_metric_image_uploads_count:
          type: string
        alert_management_metric_image_uploads_checksum_total_count:
          type: string
        alert_management_metric_image_uploads_checksummed_count:
          type: string
        alert_management_metric_image_uploads_checksum_failed_count:
          type: string
        alert_management_metric_image_uploads_synced_count:
          type: string
        alert_management_metric_image_uploads_failed_count:
          type: string
        alert_management_metric_image_uploads_registry_count:
          type: string
        alert_management_metric_image_uploads_verification_total_count:
          type: string
        alert_management_metric_image_uploads_verified_count:
          type: string
        alert_management_metric_image_uploads_verification_failed_count:
          type: string
        alert_management_metric_image_uploads_oldest_unsynced_time:
          type: string
        appearance_uploads_count:
          type: string
        appearance_uploads_checksum_total_count:
          type: string
        appearance_uploads_checksummed_count:
          type: string
        appearance_uploads_checksum_failed_count:
          type: string
        appearance_uploads_synced_count:
          type: string
        appearance_uploads_failed_count:
          type: string
        appearance_uploads_registry_count:
          type: string
        appearance_uploads_verification_total_count:
          type: string
        appearance_uploads_verified_count:
          type: string
        appearance_uploads_verification_failed_count:
          type: string
        appearance_uploads_oldest_unsynced_time:
          type: string
        bulk_import_export_upload_uploads_count:
          type: string
        bulk_import_export_upload_uploads_checksum_total_count:
          type: string
        bulk_import_export_upload_uploads_checksummed_count:
          type: string
        bulk_import_export_upload_uploads_checksum_failed_count:
          type: string
        bulk_import_export_upload_uploads_synced_count:
          type: string
        bulk_import_export_upload_uploads_failed_count:
          type: string
        bulk_import_export_upload_uploads_registry_count:
          type: string
        bulk_import_export_upload_uploads_verification_total_count:
          type: string
        bulk_import_export_upload_uploads_verified_count:
          type: string
        bulk_import_export_upload_uploads_verification_failed_count:
          type: string
        bulk_import_export_upload_uploads_oldest_unsynced_time:
          type: string
        ci_secure_files_count:
          type: string
        ci_secure_files_checksum_total_count:
          type: string
        ci_secure_files_checksummed_count:
          type: string
        ci_secure_files_checksum_failed_count:
          type: string
        ci_secure_files_synced_count:
          type: string
        ci_secure_files_failed_count:
          type: string
        ci_secure_files_registry_count:
          type: string
        ci_secure_files_verification_total_count:
          type: string
        ci_secure_files_verified_count:
          type: string
        ci_secure_files_verification_failed_count:
          type: string
        ci_secure_files_oldest_unsynced_time:
          type: string
        container_repositories_count:
          type: string
        container_repositories_checksum_total_count:
          type: string
        container_repositories_checksummed_count:
          type: string
        container_repositories_checksum_failed_count:
          type: string
        container_repositories_synced_count:
          type: string
        container_repositories_failed_count:
          type: string
        container_repositories_registry_count:
          type: string
        container_repositories_verification_total_count:
          type: string
        container_repositories_verified_count:
          type: string
        container_repositories_verification_failed_count:
          type: string
        container_repositories_oldest_unsynced_time:
          type: string
        dependency_list_export_part_uploads_count:
          type: string
        dependency_list_export_part_uploads_checksum_total_count:
          type: string
        dependency_list_export_part_uploads_checksummed_count:
          type: string
        dependency_list_export_part_uploads_checksum_failed_count:
          type: string
        dependency_list_export_part_uploads_synced_count:
          type: string
        dependency_list_export_part_uploads_failed_count:
          type: string
        dependency_list_export_part_uploads_registry_count:
          type: string
        dependency_list_export_part_uploads_verification_total_count:
          type: string
        dependency_list_export_part_uploads_verified_count:
          type: string
        dependency_list_export_part_uploads_verification_failed_count:
          type: string
        dependency_list_export_part_uploads_oldest_unsynced_time:
          type: string
        dependency_list_export_uploads_count:
          type: string
        dependency_list_export_uploads_checksum_total_count:
          type: string
        dependency_list_export_uploads_checksummed_count:
          type: string
        dependency_list_export_uploads_checksum_failed_count:
          type: string
        dependency_list_export_uploads_synced_count:
          type: string
        dependency_list_export_uploads_failed_count:
          type: string
        dependency_list_export_uploads_registry_count:
          type: string
        dependency_list_export_uploads_verification_total_count:
          type: string
        dependency_list_export_uploads_verified_count:
          type: string
        dependency_list_export_uploads_verification_failed_count:
          type: string
        dependency_list_export_uploads_oldest_unsynced_time:
          type: string
        dependency_proxy_blobs_count:
          type: string
        dependency_proxy_blobs_checksum_total_count:
          type: string
        dependency_proxy_blobs_checksummed_count:
          type: string
        dependency_proxy_blobs_checksum_failed_count:
          type: string
        dependency_proxy_blobs_synced_count:
          type: string
        dependency_proxy_blobs_failed_count:
          type: string
        dependency_proxy_blobs_registry_count:
          type: string
        dependency_proxy_blobs_verification_total_count:
          type: string
        dependency_proxy_blobs_verified_count:
          type: string
        dependency_proxy_blobs_verification_failed_count:
          type: string
        dependency_proxy_blobs_oldest_unsynced_time:
          type: string
        dependency_proxy_manifests_count:
          type: string
        dependency_proxy_manifests_checksum_total_count:
          type: string
        dependency_proxy_manifests_checksummed_count:
          type: string
        dependency_proxy_manifests_checksum_failed_count:
          type: string
        dependency_proxy_manifests_synced_count:
          type: string
        dependency_proxy_manifests_failed_count:
          type: string
        dependency_proxy_manifests_registry_count:
          type: string
        dependency_proxy_manifests_verification_total_count:
          type: string
        dependency_proxy_manifests_verified_count:
          type: string
        dependency_proxy_manifests_verification_failed_count:
          type: string
        dependency_proxy_manifests_oldest_unsynced_time:
          type: string
        design_management_action_uploads_count:
          type: string
        design_management_action_uploads_checksum_total_count:
          type: string
        design_management_action_uploads_checksummed_count:
          type: string
        design_management_action_uploads_checksum_failed_count:
          type: string
        design_management_action_uploads_synced_count:
          type: string
        design_management_action_uploads_failed_count:
          type: string
        design_management_action_uploads_registry_count:
          type: string
        design_management_action_uploads_verification_total_count:
          type: string
        design_management_action_uploads_verified_count:
          type: string
        design_management_action_uploads_verification_failed_count:
          type: string
        design_management_action_uploads_oldest_unsynced_time:
          type: string
        design_management_repositories_count:
          type: string
        design_management_repositories_checksum_total_count:
          type: string
        design_management_repositories_checksummed_count:
          type: string
        design_management_repositories_checksum_failed_count:
          type: string
        design_management_repositories_synced_count:
          type: string
        design_management_repositories_failed_count:
          type: string
        design_management_repositories_registry_count:
          type: string
        design_management_repositories_verification_total_count:
          type: string
        design_management_repositories_verified_count:
          type: string
        design_management_repositories_verification_failed_count:
          type: string
        design_management_repositories_oldest_unsynced_time:
          type: string
        group_uploads_count:
          type: string
        group_uploads_checksum_total_count:
          type: string
        group_uploads_checksummed_count:
          type: string
        group_uploads_checksum_failed_count:
          type: string
        group_uploads_synced_count:
          type: string
        group_uploads_failed_count:
          type: string
        group_uploads_registry_count:
          type: string
        group_uploads_verification_total_count:
          type: string
        group_uploads_verified_count:
          type: string
        group_uploads_verification_failed_count:
          type: string
        group_uploads_oldest_unsynced_time:
          type: string
        group_wiki_repositories_count:
          type: string
        group_wiki_repositories_checksum_total_count:
          type: string
        group_wiki_repositories_checksummed_count:
          type: string
        group_wiki_repositories_checksum_failed_count:
          type: string
        group_wiki_repositories_synced_count:
          type: string
        group_wiki_repositories_failed_count:
          type: string
        group_wiki_repositories_registry_count:
          type: string
        group_wiki_repositories_verification_total_count:
          type: string
        group_wiki_repositories_verified_count:
          type: string
        group_wiki_repositories_verification_failed_count:
          type: string
        group_wiki_repositories_oldest_unsynced_time:
          type: string
        import_export_upload_uploads_count:
          type: string
        import_export_upload_uploads_checksum_total_count:
          type: string
        import_export_upload_uploads_checksummed_count:
          type: string
        import_export_upload_uploads_checksum_failed_count:
          type: string
        import_export_upload_uploads_synced_count:
          type: string
        import_export_upload_uploads_failed_count:
          type: string
        import_export_upload_uploads_registry_count:
          type: string
        import_export_upload_uploads_verification_total_count:
          type: string
        import_export_upload_uploads_verified_count:
          type: string
        import_export_upload_uploads_verification_failed_count:
          type: string
        import_export_upload_uploads_oldest_unsynced_time:
          type: string
        issuable_metric_image_uploads_count:
          type: string
        issuable_metric_image_uploads_checksum_total_count:
          type: string
        issuable_metric_image_uploads_checksummed_count:
          type: string
        issuable_metric_image_uploads_checksum_failed_count:
          type: string
        issuable_metric_image_uploads_synced_count:
          type: string
        issuable_metric_image_uploads_failed_count:
          type: string
        issuable_metric_image_uploads_registry_count:
          type: string
        issuable_metric_image_uploads_verification_total_count:
          type: string
        issuable_metric_image_uploads_verified_count:
          type: string
        issuable_metric_image_uploads_verification_failed_count:
          type: string
        issuable_metric_image_uploads_oldest_unsynced_time:
          type: string
        job_artifacts_count:
          type: string
        job_artifacts_checksum_total_count:
          type: string
        job_artifacts_checksummed_count:
          type: string
        job_artifacts_checksum_failed_count:
          type: string
        job_artifacts_synced_count:
          type: string
        job_artifacts_failed_count:
          type: string
        job_artifacts_registry_count:
          type: string
        job_artifacts_verification_total_count:
          type: string
        job_artifacts_verified_count:
          type: string
        job_artifacts_verification_failed_count:
          type: string
        job_artifacts_oldest_unsynced_time:
          type: string
        lfs_objects_count:
          type: string
        lfs_objects_checksum_total_count:
          type: string
        lfs_objects_checksummed_count:
          type: string
        lfs_objects_checksum_failed_count:
          type: string
        lfs_objects_synced_count:
          type: string
        lfs_objects_failed_count:
          type: string
        lfs_objects_registry_count:
          type: string
        lfs_objects_verification_total_count:
          type: string
        lfs_objects_verified_count:
          type: string
        lfs_objects_verification_failed_count:
          type: string
        lfs_objects_oldest_unsynced_time:
          type: string
        merge_request_diffs_count:
          type: string
        merge_request_diffs_checksum_total_count:
          type: string
        merge_request_diffs_checksummed_count:
          type: string
        merge_request_diffs_checksum_failed_count:
          type: string
        merge_request_diffs_synced_count:
          type: string
        merge_request_diffs_failed_count:
          type: string
        merge_request_diffs_registry_count:
          type: string
        merge_request_diffs_verification_total_count:
          type: string
        merge_request_diffs_verified_count:
          type: string
        merge_request_diffs_verification_failed_count:
          type: string
        merge_request_diffs_oldest_unsynced_time:
          type: string
        organization_detail_uploads_count:
          type: string
        organization_detail_uploads_checksum_total_count:
          type: string
        organization_detail_uploads_checksummed_count:
          type: string
        organization_detail_uploads_checksum_failed_count:
          type: string
        organization_detail_uploads_synced_count:
          type: string
        organization_detail_uploads_failed_count:
          type: string
        organization_detail_uploads_registry_count:
          type: string
        organization_detail_uploads_verification_total_count:
          type: string
        organization_detail_uploads_verified_count:
          type: string
        organization_detail_uploads_verification_failed_count:
          type: string
        organization_detail_uploads_oldest_unsynced_time:
          type: string
        package_files_count:
          type: string
        package_files_checksum_total_count:
          type: string
        package_files_checksummed_count:
          type: string
        package_files_checksum_failed_count:
          type: string
        package_files_synced_count:
          type: string
        package_files_failed_count:
          type: string
        package_files_registry_count:
          type: string
        package_files_verification_total_count:
          type: string
        package_files_verified_count:
          type: string
        package_files_verification_failed_count:
          type: string
        package_files_oldest_unsynced_time:
          type: string
        packages_debian_project_component_files_count:
          type: string
        packages_debian_project_component_files_checksum_total_count:
          type: string
        packages_debian_project_component_files_checksummed_count:
          type: string
        packages_debian_project_component_files_checksum_failed_count:
          type: string
        packages_debian_project_component_files_synced_count:
          type: string
        packages_debian_project_component_files_failed_count:
          type: string
        packages_debian_project_component_files_registry_count:
          type: string
        packages_debian_project_component_files_verification_total_count:
          type: string
        packages_debian_project_component_files_verified_count:
          type: string
        packages_debian_project_component_files_verification_failed_count:
          type: string
        packages_debian_project_component_files_oldest_unsynced_time:
          type: string
        packages_helm_metadata_caches_count:
          type: string
        packages_helm_metadata_caches_checksum_total_count:
          type: string
        packages_helm_metadata_caches_checksummed_count:
          type: string
        packages_helm_metadata_caches_checksum_failed_count:
          type: string
        packages_helm_metadata_caches_synced_count:
          type: string
        packages_helm_metadata_caches_failed_count:
          type: string
        packages_helm_metadata_caches_registry_count:
          type: string
        packages_helm_metadata_caches_verification_total_count:
          type: string
        packages_helm_metadata_caches_verified_count:
          type: string
        packages_helm_metadata_caches_verification_failed_count:
          type: string
        packages_helm_metadata_caches_oldest_unsynced_time:
          type: string
        packages_nuget_symbols_count:
          type: string
        packages_nuget_symbols_checksum_total_count:
          type: string
        packages_nuget_symbols_checksummed_count:
          type: string
        packages_nuget_symbols_checksum_failed_count:
          type: string
        packages_nuget_symbols_synced_count:
          type: string
        packages_nuget_symbols_failed_count:
          type: string
        packages_nuget_symbols_registry_count:
          type: string
        packages_nuget_symbols_verification_total_count:
          type: string
        packages_nuget_symbols_verified_count:
          type: string
        packages_nuget_symbols_verification_failed_count:
          type: string
        packages_nuget_symbols_oldest_unsynced_time:
          type: string
        pages_deployments_count:
          type: string
        pages_deployments_checksum_total_count:
          type: string
        pages_deployments_checksummed_count:
          type: string
        pages_deployments_checksum_failed_count:
          type: string
        pages_deployments_synced_count:
          type: string
        pages_deployments_failed_count:
          type: string
        pages_deployments_registry_count:
          type: string
        pages_deployments_verification_total_count:
          type: string
        pages_deployments_verified_count:
          type: string
        pages_deployments_verification_failed_count:
          type: string
        pages_deployments_oldest_unsynced_time:
          type: string
        personal_snippet_uploads_count:
          type: string
        personal_snippet_uploads_checksum_total_count:
          type: string
        personal_snippet_uploads_checksummed_count:
          type: string
        personal_snippet_uploads_checksum_failed_count:
          type: string
        personal_snippet_uploads_synced_count:
          type: string
        personal_snippet_uploads_failed_count:
          type: string
        personal_snippet_uploads_registry_count:
          type: string
        personal_snippet_uploads_verification_total_count:
          type: string
        personal_snippet_uploads_verified_count:
          type: string
        personal_snippet_uploads_verification_failed_count:
          type: string
        personal_snippet_uploads_oldest_unsynced_time:
          type: string
        pipeline_artifacts_count:
          type: string
        pipeline_artifacts_checksum_total_count:
          type: string
        pipeline_artifacts_checksummed_count:
          type: string
        pipeline_artifacts_checksum_failed_count:
          type: string
        pipeline_artifacts_synced_count:
          type: string
        pipeline_artifacts_failed_count:
          type: string
        pipeline_artifacts_registry_count:
          type: string
        pipeline_artifacts_verification_total_count:
          type: string
        pipeline_artifacts_verified_count:
          type: string
        pipeline_artifacts_verification_failed_count:
          type: string
        pipeline_artifacts_oldest_unsynced_time:
          type: string
        project_import_export_relation_export_upload_uploads_count:
          type: string
        project_import_export_relation_export_upload_uploads_checksum_total_count:
          type: string
        project_import_export_relation_export_upload_uploads_checksummed_count:
          type: string
        project_import_export_relation_export_upload_uploads_checksum_failed_count:
          type: string
        project_import_export_relation_export_upload_uploads_synced_count:
          type: string
        project_import_export_relation_export_upload_uploads_failed_count:
          type: string
        project_import_export_relation_export_upload_uploads_registry_count:
          type: string
        project_import_export_relation_export_upload_uploads_verification_total_count:
          type: string
        project_import_export_relation_export_upload_uploads_verified_count:
          type: string
        project_import_export_relation_export_upload_uploads_verification_failed_count:
          type: string
        project_import_export_relation_export_upload_uploads_oldest_unsynced_time:
          type: string
        project_repositories_count:
          type: string
        project_repositories_checksum_total_count:
          type: string
        project_repositories_checksummed_count:
          type: string
        project_repositories_checksum_failed_count:
          type: string
        project_repositories_synced_count:
          type: string
        project_repositories_failed_count:
          type: string
        project_repositories_registry_count:
          type: string
        project_repositories_verification_total_count:
          type: string
        project_repositories_verified_count:
          type: string
        project_repositories_verification_failed_count:
          type: string
        project_repositories_oldest_unsynced_time:
          type: string
        project_topic_uploads_count:
          type: string
        project_topic_uploads_checksum_total_count:
          type: string
        project_topic_uploads_checksummed_count:
          type: string
        project_topic_uploads_checksum_failed_count:
          type: string
        project_topic_uploads_synced_count:
          type: string
        project_topic_uploads_failed_count:
          type: string
        project_topic_uploads_registry_count:
          type: string
        project_topic_uploads_verification_total_count:
          type: string
        project_topic_uploads_verified_count:
          type: string
        project_topic_uploads_verification_failed_count:
          type: string
        project_topic_uploads_oldest_unsynced_time:
          type: string
        project_uploads_count:
          type: string
        project_uploads_checksum_total_count:
          type: string
        project_uploads_checksummed_count:
          type: string
        project_uploads_checksum_failed_count:
          type: string
        project_uploads_synced_count:
          type: string
        project_uploads_failed_count:
          type: string
        project_uploads_registry_count:
          type: string
        project_uploads_verification_total_count:
          type: string
        project_uploads_verified_count:
          type: string
        project_uploads_verification_failed_count:
          type: string
        project_uploads_oldest_unsynced_time:
          type: string
        project_wiki_repositories_count:
          type: string
        project_wiki_repositories_checksum_total_count:
          type: string
        project_wiki_repositories_checksummed_count:
          type: string
        project_wiki_repositories_checksum_failed_count:
          type: string
        project_wiki_repositories_synced_count:
          type: string
        project_wiki_repositories_failed_count:
          type: string
        project_wiki_repositories_registry_count:
          type: string
        project_wiki_repositories_verification_total_count:
          type: string
        project_wiki_repositories_verified_count:
          type: string
        project_wiki_repositories_verification_failed_count:
          type: string
        project_wiki_repositories_oldest_unsynced_time:
          type: string
        snippet_repositories_count:
          type: string
        snippet_repositories_checksum_total_count:
          type: string
        snippet_repositories_checksummed_count:
          type: string
        snippet_repositories_checksum_failed_count:
          type: string
        snippet_repositories_synced_count:
          type: string
        snippet_repositories_failed_count:
          type: string
        snippet_repositories_registry_count:
          type: string
        snippet_repositories_verification_total_count:
          type: string
        snippet_repositories_verified_count:
          type: string
        snippet_repositories_verification_failed_count:
          type: string
        snippet_repositories_oldest_unsynced_time:
          type: string
        supply_chain_attestations_count:
          type: string
        supply_chain_attestations_checksum_total_count:
          type: string
        supply_chain_attestations_checksummed_count:
          type: string
        supply_chain_attestations_checksum_failed_count:
          type: string
        supply_chain_attestations_synced_count:
          type: string
        supply_chain_attestations_failed_count:
          type: string
        supply_chain_attestations_registry_count:
          type: string
        supply_chain_attestations_verification_total_count:
          type: string
        supply_chain_attestations_verified_count:
          type: string
        supply_chain_attestations_verification_failed_count:
          type: string
        supply_chain_attestations_oldest_unsynced_time:
          type: string
        terraform_state_versions_count:
          type: string
        terraform_state_versions_checksum_total_count:
          type: string
        terraform_state_versions_checksummed_count:
          type: string
        terraform_state_versions_checksum_failed_count:
          type: string
        terraform_state_versions_synced_count:
          type: string
        terraform_state_versions_failed_count:
          type: string
        terraform_state_versions_registry_count:
          type: string
        terraform_state_versions_verification_total_count:
          type: string
        terraform_state_versions_verified_count:
          type: string
        terraform_state_versions_verification_failed_count:
          type: string
        terraform_state_versions_oldest_unsynced_time:
          type: string
        uploads_count:
          type: string
        uploads_checksum_total_count:
          type: string
        uploads_checksummed_count:
          type: string
        uploads_checksum_failed_count:
          type: string
        uploads_synced_count:
          type: string
        uploads_failed_count:
          type: string
        uploads_registry_count:
          type: string
        uploads_verification_total_count:
          type: string
        uploads_verified_count:
          type: string
        uploads_verification_failed_count:
          type: string
        uploads_oldest_unsynced_time:
          type: string
        user_permission_export_upload_uploads_count:
          type: string
        user_permission_export_upload_uploads_checksum_total_count:
          type: string
        user_permission_export_upload_uploads_checksummed_count:
          type: string
        user_permission_export_upload_uploads_checksum_failed_count:
          type: string
        user_permission_export_upload_uploads_synced_count:
          type: string
        user_permission_export_upload_uploads_failed_count:
          type: string
        user_permission_export_upload_uploads_registry_count:
          type: string
        user_permission_export_upload_uploads_verification_total_count:
          type: string
        user_permission_export_upload_uploads_verified_count:
          type: string
        user_permission_export_upload_uploads_verification_failed_count:
          type: string
        user_permission_export_upload_uploads_oldest_unsynced_time:
          type: string
        user_uploads_count:
          type: string
        user_uploads_checksum_total_count:
          type: string
        user_uploads_checksummed_count:
          type: string
        user_uploads_checksum_failed_count:
          type: string
        user_uploads_synced_count:
          type: string
        user_uploads_failed_count:
          type: string
        user_uploads_registry_count:
          type: string
        user_uploads_verification_total_count:
          type: string
        user_uploads_verified_count:
          type: string
        user_uploads_verification_failed_count:
          type: string
        user_uploads_oldest_unsynced_time:
          type: string
        vulnerability_archive_export_uploads_count:
          type: string
        vulnerability_archive_export_uploads_checksum_total_count:
          type: string
        vulnerability_archive_export_uploads_checksummed_count:
          type: string
        vulnerability_archive_export_uploads_checksum_failed_count:
          type: string
        vulnerability_archive_export_uploads_synced_count:
          type: string
        vulnerability_archive_export_uploads_failed_count:
          type: string
        vulnerability_archive_export_uploads_registry_count:
          type: string
        vulnerability_archive_export_uploads_verification_total_count:
          type: string
        vulnerability_archive_export_uploads_verified_count:
          type: string
        vulnerability_archive_export_uploads_verification_failed_count:
          type: string
        vulnerability_archive_export_uploads_oldest_unsynced_time:
          type: string
        vulnerability_export_part_uploads_count:
          type: string
        vulnerability_export_part_uploads_checksum_total_count:
          type: string
        vulnerability_export_part_uploads_checksummed_count:
          type: string
        vulnerability_export_part_uploads_checksum_failed_count:
          type: string
        vulnerability_export_part_uploads_synced_count:
          type: string
        vulnerability_export_part_uploads_failed_count:
          type: string
        vulnerability_export_part_uploads_registry_count:
          type: string
        vulnerability_export_part_uploads_verification_total_count:
          type: string
        vulnerability_export_part_uploads_verified_count:
          type: string
        vulnerability_export_part_uploads_verification_failed_count:
          type: string
        vulnerability_export_part_uploads_oldest_unsynced_time:
          type: string
        vulnerability_export_uploads_count:
          type: string
        vulnerability_export_uploads_checksum_total_count:
          type: string
        vulnerability_export_uploads_checksummed_count:
          type: string
        vulnerability_export_uploads_checksum_failed_count:
          type: string
        vulnerability_export_uploads_synced_count:
          type: string
        vulnerability_export_uploads_failed_count:
          type: string
        vulnerability_export_uploads_registry_count:
          type: string
        vulnerability_export_uploads_verification_total_count:
          type: string
        vulnerability_export_uploads_verified_count:
          type: string
        vulnerability_export_uploads_verification_failed_count:
          type: string
        vulnerability_export_uploads_oldest_unsynced_time:
          type: string
        vulnerability_remediation_uploads_count:
          type: string
        vulnerability_remediation_uploads_checksum_total_count:
          type: string
        vulnerability_remediation_uploads_checksummed_count:
          type: string
        vulnerability_remediation_uploads_checksum_failed_count:
          type: string
        vulnerability_remediation_uploads_synced_count:
          type: string
        vulnerability_remediation_uploads_failed_count:
          type: string
        vulnerability_remediation_uploads_registry_count:
          type: string
        vulnerability_remediation_uploads_verification_total_count:
          type: string
        vulnerability_remediation_uploads_verified_count:
          type: string
        vulnerability_remediation_uploads_verification_failed_count:
          type: string
        vulnerability_remediation_uploads_oldest_unsynced_time:
          type: string
        git_fetch_event_count_weekly:
          type: string
        git_push_event_count_weekly:
          type: string
        proxy_remote_requests_event_count_weekly:
          type: string
        proxy_local_requests_event_count_weekly:
          type: string
        repositories_checked_in_percentage:
          type: string
        replication_slots_used_in_percentage:
          type: string
        abuse_report_uploads_synced_in_percentage:
          type: string
        abuse_report_uploads_verified_in_percentage:
          type: string
        achievement_uploads_synced_in_percentage:
          type: string
        achievement_uploads_verified_in_percentage:
          type: string
        alert_management_metric_image_uploads_synced_in_percentage:
          type: string
        alert_management_metric_image_uploads_verified_in_percentage:
          type: string
        appearance_uploads_synced_in_percentage:
          type: string
        appearance_uploads_verified_in_percentage:
          type: string
        bulk_import_export_upload_uploads_synced_in_percentage:
          type: string
        bulk_import_export_upload_uploads_verified_in_percentage:
          type: string
        ci_secure_files_synced_in_percentage:
          type: string
        ci_secure_files_verified_in_percentage:
          type: string
        container_repositories_synced_in_percentage:
          type: string
        container_repositories_verified_in_percentage:
          type: string
        dependency_list_export_part_uploads_synced_in_percentage:
          type: string
        dependency_list_export_part_uploads_verified_in_percentage:
          type: string
        dependency_list_export_uploads_synced_in_percentage:
          type: string
        dependency_list_export_uploads_verified_in_percentage:
          type: string
        dependency_proxy_blobs_synced_in_percentage:
          type: string
        dependency_proxy_blobs_verified_in_percentage:
          type: string
        dependency_proxy_manifests_synced_in_percentage:
          type: string
        dependency_proxy_manifests_verified_in_percentage:
          type: string
        design_management_action_uploads_synced_in_percentage:
          type: string
        design_management_action_uploads_verified_in_percentage:
          type: string
        design_management_repositories_synced_in_percentage:
          type: string
        design_management_repositories_verified_in_percentage:
          type: string
        group_uploads_synced_in_percentage:
          type: string
        group_uploads_verified_in_percentage:
          type: string
        group_wiki_repositories_synced_in_percentage:
          type: string
        group_wiki_repositories_verified_in_percentage:
          type: string
        import_export_upload_uploads_synced_in_percentage:
          type: string
        import_export_upload_uploads_verified_in_percentage:
          type: string
        issuable_metric_image_uploads_synced_in_percentage:
          type: string
        issuable_metric_image_uploads_verified_in_percentage:
          type: string
        job_artifacts_synced_in_percentage:
          type: string
        job_artifacts_verified_in_percentage:
          type: string
        lfs_objects_synced_in_percentage:
          type: string
        lfs_objects_verified_in_percentage:
          type: string
        merge_request_diffs_synced_in_percentage:
          type: string
        merge_request_diffs_verified_in_percentage:
          type: string
        organization_detail_uploads_synced_in_percentage:
          type: string
        organization_detail_uploads_verified_in_percentage:
          type: string
        package_files_synced_in_percentage:
          type: string
        package_files_verified_in_percentage:
          type: string
        packages_debian_project_component_files_synced_in_percentage:
          type: string
        packages_debian_project_component_files_verified_in_percentage:
          type: string
        packages_helm_metadata_caches_synced_in_percentage:
          type: string
        packages_helm_metadata_caches_verified_in_percentage:
          type: string
        packages_nuget_symbols_synced_in_percentage:
          type: string
        packages_nuget_symbols_verified_in_percentage:
          type: string
        pages_deployments_synced_in_percentage:
          type: string
        pages_deployments_verified_in_percentage:
          type: string
        personal_snippet_uploads_synced_in_percentage:
          type: string
        personal_snippet_uploads_verified_in_percentage:
          type: string
        pipeline_artifacts_synced_in_percentage:
          type: string
        pipeline_artifacts_verified_in_percentage:
          type: string
        project_import_export_relation_export_upload_uploads_synced_in_percentage:
          type: string
        project_import_export_relation_export_upload_uploads_verified_in_percentage:
          type: string
        project_repositories_synced_in_percentage:
          type: string
        project_repositories_verified_in_percentage:
          type: string
        project_topic_uploads_synced_in_percentage:
          type: string
        project_topic_uploads_verified_in_percentage:
          type: string
        project_uploads_synced_in_percentage:
          type: string
        project_uploads_verified_in_percentage:
          type: string
        project_wiki_repositories_synced_in_percentage:
          type: string
        project_wiki_repositories_verified_in_percentage:
          type: string
        snippet_repositories_synced_in_percentage:
          type: string
        snippet_repositories_verified_in_percentage:
          type: string
        supply_chain_attestations_synced_in_percentage:
          type: string
        supply_chain_attestations_verified_in_percentage:
          type: string
        terraform_state_versions_synced_in_percentage:
          type: string
        terraform_state_versions_verified_in_percentage:
          type: string
        uploads_synced_in_percentage:
          type: string
        uploads_verified_in_percentage:
          type: string
        user_permission_export_upload_uploads_synced_in_percentage:
          type: string
        user_permission_export_upload_uploads_verified_in_percentage:
          type: string
        user_uploads_synced_in_percentage:
          type: string
        user_uploads_verified_in_percentage:
          type: string
        vulnerability_archive_export_uploads_synced_in_percentage:
          type: string
        vulnerability_archive_export_uploads_verified_in_percentage:
          type: string
        vulnerability_export_part_uploads_synced_in_percentage:
          type: string
        vulnerability_export_part_uploads_verified_in_percentage:
          type: string
        vulnerability_export_uploads_synced_in_percentage:
          type: string
        vulnerability_export_uploads_verified_in_percentage:
          type: string
        vulnerability_remediation_uploads_synced_in_percentage:
          type: string
        vulnerability_remediation_uploads_verified_in_percentage:
          type: string
        ai_vectorizable_file_uploads_count:
          type: integer
        ai_vectorizable_file_uploads_checksum_total_count:
          type: integer
        ai_vectorizable_file_uploads_checksummed_count:
          type: integer
        ai_vectorizable_file_uploads_checksum_failed_count:
          type: integer
        ai_vectorizable_file_uploads_synced_count:
          type: integer
        ai_vectorizable_file_uploads_failed_count:
          type: integer
        ai_vectorizable_file_uploads_registry_count:
          type: integer
        ai_vectorizable_file_uploads_verification_total_count:
          type: integer
        ai_vectorizable_file_uploads_verified_count:
          type: integer
        ai_vectorizable_file_uploads_verification_failed_count:
          type: integer
        ai_vectorizable_file_uploads_oldest_unsynced_time:
          type: integer
        ai_vectorizable_file_uploads_synced_in_percentage:
          type: string
          example: 0.00%
        ai_vectorizable_file_uploads_verified_in_percentage:
          type: string
          example: 0.00%
        repositories_count:
          type: string
        replication_slots_count:
          type: string
        replication_slots_used_count:
          type: string
        healthy:
          type: string
        health:
          type: string
        health_status:
          type: string
        missing_oauth_application:
          type: string
        db_replication_lag_seconds:
          type: string
        replication_slots_max_retained_wal_bytes:
          type: string
        repositories_checked_count:
          type: string
        repositories_checked_failed_count:
          type: string
        last_event_id:
          type: string
        last_event_timestamp:
          type: string
        cursor_last_event_id:
          type: string
        cursor_last_event_timestamp:
          type: string
        last_successful_status_check_timestamp:
          type: string
        version:
          type: string
        revision:
          type: string
        selective_sync_type:
          type: string
        namespaces:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesNamespaceBasic"
        updated_at:
          type: string
        storage_shards:
          type: array
          items:
            "$ref": "#/components/schemas/StorageShardEntity"
        storage_shards_match:
          type: string
        _links:
          type: object
          properties:
            self:
              type: string
            site:
              type: string
    APIEntitiesGeoNode:
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
        url:
          type: string
        internal_url:
          type: string
        primary:
          type: boolean
        enabled:
          type: boolean
        current:
          type: boolean
        files_max_capacity:
          type: integer
        repos_max_capacity:
          type: integer
        verification_max_capacity:
          type: integer
        container_repositories_max_capacity:
          type: integer
        selective_sync_type:
          type: string
        selective_sync_shards:
          type: array
        selective_sync_namespace_ids:
          type: array
        selective_sync_organization_ids:
          type: array
        minimum_reverification_interval:
          type: integer
        checksum_mismatch_report_threshold:
          type: integer
        checksum_mismatch_self_heal_cooldown_minutes:
          type: integer
        sync_object_storage:
          type: boolean
        clone_protocol:
          type: string
        web_edit_url:
          type: string
        web_geo_replication_details_url:
          type: string
        _links:
          type: object
          properties:
            self:
              type: string
            status:
              type: string
            repair:
              type: string
    APIEntitiesGeoNodeStatus:
      type: object
      properties:
        geo_node_id:
          type: string
        projects_count:
          type: string
        container_repositories_replication_enabled:
          type: string
        abuse_report_uploads_count:
          type: string
        abuse_report_uploads_checksum_total_count:
          type: string
        abuse_report_uploads_checksummed_count:
          type: string
        abuse_report_uploads_checksum_failed_count:
          type: string
        abuse_report_uploads_synced_count:
          type: string
        abuse_report_uploads_failed_count:
          type: string
        abuse_report_uploads_registry_count:
          type: string
        abuse_report_uploads_verification_total_count:
          type: string
        abuse_report_uploads_verified_count:
          type: string
        abuse_report_uploads_verification_failed_count:
          type: string
        abuse_report_uploads_oldest_unsynced_time:
          type: string
        achievement_uploads_count:
          type: string
        achievement_uploads_checksum_total_count:
          type: string
        achievement_uploads_checksummed_count:
          type: string
        achievement_uploads_checksum_failed_count:
          type: string
        achievement_uploads_synced_count:
          type: string
        achievement_uploads_failed_count:
          type: string
        achievement_uploads_registry_count:
          type: string
        achievement_uploads_verification_total_count:
          type: string
        achievement_uploads_verified_count:
          type: string
        achievement_uploads_verification_failed_count:
          type: string
        achievement_uploads_oldest_unsynced_time:
          type: string
        alert_management_metric_image_uploads_count:
          type: string
        alert_management_metric_image_uploads_checksum_total_count:
          type: string
        alert_management_metric_image_uploads_checksummed_count:
          type: string
        alert_management_metric_image_uploads_checksum_failed_count:
          type: string
        alert_management_metric_image_uploads_synced_count:
          type: string
        alert_management_metric_image_uploads_failed_count:
          type: string
        alert_management_metric_image_uploads_registry_count:
          type: string
        alert_management_metric_image_uploads_verification_total_count:
          type: string
        alert_management_metric_image_uploads_verified_count:
          type: string
        alert_management_metric_image_uploads_verification_failed_count:
          type: string
        alert_management_metric_image_uploads_oldest_unsynced_time:
          type: string
        appearance_uploads_count:
          type: string
        appearance_uploads_checksum_total_count:
          type: string
        appearance_uploads_checksummed_count:
          type: string
        appearance_uploads_checksum_failed_count:
          type: string
        appearance_uploads_synced_count:
          type: string
        appearance_uploads_failed_count:
          type: string
        appearance_uploads_registry_count:
          type: string
        appearance_uploads_verification_total_count:
          type: string
        appearance_uploads_verified_count:
          type: string
        appearance_uploads_verification_failed_count:
          type: string
        appearance_uploads_oldest_unsynced_time:
          type: string
        bulk_import_export_upload_uploads_count:
          type: string
        bulk_import_export_upload_uploads_checksum_total_count:
          type: string
        bulk_import_export_upload_uploads_checksummed_count:
          type: string
        bulk_import_export_upload_uploads_checksum_failed_count:
          type: string
        bulk_import_export_upload_uploads_synced_count:
          type: string
        bulk_import_export_upload_uploads_failed_count:
          type: string
        bulk_import_export_upload_uploads_registry_count:
          type: string
        bulk_import_export_upload_uploads_verification_total_count:
          type: string
        bulk_import_export_upload_uploads_verified_count:
          type: string
        bulk_import_export_upload_uploads_verification_failed_count:
          type: string
        bulk_import_export_upload_uploads_oldest_unsynced_time:
          type: string
        ci_secure_files_count:
          type: string
        ci_secure_files_checksum_total_count:
          type: string
        ci_secure_files_checksummed_count:
          type: string
        ci_secure_files_checksum_failed_count:
          type: string
        ci_secure_files_synced_count:
          type: string
        ci_secure_files_failed_count:
          type: string
        ci_secure_files_registry_count:
          type: string
        ci_secure_files_verification_total_count:
          type: string
        ci_secure_files_verified_count:
          type: string
        ci_secure_files_verification_failed_count:
          type: string
        ci_secure_files_oldest_unsynced_time:
          type: string
        container_repositories_count:
          type: string
        container_repositories_checksum_total_count:
          type: string
        container_repositories_checksummed_count:
          type: string
        container_repositories_checksum_failed_count:
          type: string
        container_repositories_synced_count:
          type: string
        container_repositories_failed_count:
          type: string
        container_repositories_registry_count:
          type: string
        container_repositories_verification_total_count:
          type: string
        container_repositories_verified_count:
          type: string
        container_repositories_verification_failed_count:
          type: string
        container_repositories_oldest_unsynced_time:
          type: string
        dependency_list_export_part_uploads_count:
          type: string
        dependency_list_export_part_uploads_checksum_total_count:
          type: string
        dependency_list_export_part_uploads_checksummed_count:
          type: string
        dependency_list_export_part_uploads_checksum_failed_count:
          type: string
        dependency_list_export_part_uploads_synced_count:
          type: string
        dependency_list_export_part_uploads_failed_count:
          type: string
        dependency_list_export_part_uploads_registry_count:
          type: string
        dependency_list_export_part_uploads_verification_total_count:
          type: string
        dependency_list_export_part_uploads_verified_count:
          type: string
        dependency_list_export_part_uploads_verification_failed_count:
          type: string
        dependency_list_export_part_uploads_oldest_unsynced_time:
          type: string
        dependency_list_export_uploads_count:
          type: string
        dependency_list_export_uploads_checksum_total_count:
          type: string
        dependency_list_export_uploads_checksummed_count:
          type: string
        dependency_list_export_uploads_checksum_failed_count:
          type: string
        dependency_list_export_uploads_synced_count:
          type: string
        dependency_list_export_uploads_failed_count:
          type: string
        dependency_list_export_uploads_registry_count:
          type: string
        dependency_list_export_uploads_verification_total_count:
          type: string
        dependency_list_export_uploads_verified_count:
          type: string
        dependency_list_export_uploads_verification_failed_count:
          type: string
        dependency_list_export_uploads_oldest_unsynced_time:
          type: string
        dependency_proxy_blobs_count:
          type: string
        dependency_proxy_blobs_checksum_total_count:
          type: string
        dependency_proxy_blobs_checksummed_count:
          type: string
        dependency_proxy_blobs_checksum_failed_count:
          type: string
        dependency_proxy_blobs_synced_count:
          type: string
        dependency_proxy_blobs_failed_count:
          type: string
        dependency_proxy_blobs_registry_count:
          type: string
        dependency_proxy_blobs_verification_total_count:
          type: string
        dependency_proxy_blobs_verified_count:
          type: string
        dependency_proxy_blobs_verification_failed_count:
          type: string
        dependency_proxy_blobs_oldest_unsynced_time:
          type: string
        dependency_proxy_manifests_count:
          type: string
        dependency_proxy_manifests_checksum_total_count:
          type: string
        dependency_proxy_manifests_checksummed_count:
          type: string
        dependency_proxy_manifests_checksum_failed_count:
          type: string
        dependency_proxy_manifests_synced_count:
          type: string
        dependency_proxy_manifests_failed_count:
          type: string
        dependency_proxy_manifests_registry_count:
          type: string
        dependency_proxy_manifests_verification_total_count:
          type: string
        dependency_proxy_manifests_verified_count:
          type: string
        dependency_proxy_manifests_verification_failed_count:
          type: string
        dependency_proxy_manifests_oldest_unsynced_time:
          type: string
        design_management_action_uploads_count:
          type: string
        design_management_action_uploads_checksum_total_count:
          type: string
        design_management_action_uploads_checksummed_count:
          type: string
        design_management_action_uploads_checksum_failed_count:
          type: string
        design_management_action_uploads_synced_count:
          type: string
        design_management_action_uploads_failed_count:
          type: string
        design_management_action_uploads_registry_count:
          type: string
        design_management_action_uploads_verification_total_count:
          type: string
        design_management_action_uploads_verified_count:
          type: string
        design_management_action_uploads_verification_failed_count:
          type: string
        design_management_action_uploads_oldest_unsynced_time:
          type: string
        design_management_repositories_count:
          type: string
        design_management_repositories_checksum_total_count:
          type: string
        design_management_repositories_checksummed_count:
          type: string
        design_management_repositories_checksum_failed_count:
          type: string
        design_management_repositories_synced_count:
          type: string
        design_management_repositories_failed_count:
          type: string
        design_management_repositories_registry_count:
          type: string
        design_management_repositories_verification_total_count:
          type: string
        design_management_repositories_verified_count:
          type: string
        design_management_repositories_verification_failed_count:
          type: string
        design_management_repositories_oldest_unsynced_time:
          type: string
        group_uploads_count:
          type: string
        group_uploads_checksum_total_count:
          type: string
        group_uploads_checksummed_count:
          type: string
        group_uploads_checksum_failed_count:
          type: string
        group_uploads_synced_count:
          type: string
        group_uploads_failed_count:
          type: string
        group_uploads_registry_count:
          type: string
        group_uploads_verification_total_count:
          type: string
        group_uploads_verified_count:
          type: string
        group_uploads_verification_failed_count:
          type: string
        group_uploads_oldest_unsynced_time:
          type: string
        group_wiki_repositories_count:
          type: string
        group_wiki_repositories_checksum_total_count:
          type: string
        group_wiki_repositories_checksummed_count:
          type: string
        group_wiki_repositories_checksum_failed_count:
          type: string
        group_wiki_repositories_synced_count:
          type: string
        group_wiki_repositories_failed_count:
          type: string
        group_wiki_repositories_registry_count:
          type: string
        group_wiki_repositories_verification_total_count:
          type: string
        group_wiki_repositories_verified_count:
          type: string
        group_wiki_repositories_verification_failed_count:
          type: string
        group_wiki_repositories_oldest_unsynced_time:
          type: string
        import_export_upload_uploads_count:
          type: string
        import_export_upload_uploads_checksum_total_count:
          type: string
        import_export_upload_uploads_checksummed_count:
          type: string
        import_export_upload_uploads_checksum_failed_count:
          type: string
        import_export_upload_uploads_synced_count:
          type: string
        import_export_upload_uploads_failed_count:
          type: string
        import_export_upload_uploads_registry_count:
          type: string
        import_export_upload_uploads_verification_total_count:
          type: string
        import_export_upload_uploads_verified_count:
          type: string
        import_export_upload_uploads_verification_failed_count:
          type: string
        import_export_upload_uploads_oldest_unsynced_time:
          type: string
        issuable_metric_image_uploads_count:
          type: string
        issuable_metric_image_uploads_checksum_total_count:
          type: string
        issuable_metric_image_uploads_checksummed_count:
          type: string
        issuable_metric_image_uploads_checksum_failed_count:
          type: string
        issuable_metric_image_uploads_synced_count:
          type: string
        issuable_metric_image_uploads_failed_count:
          type: string
        issuable_metric_image_uploads_registry_count:
          type: string
        issuable_metric_image_uploads_verification_total_count:
          type: string
        issuable_metric_image_uploads_verified_count:
          type: string
        issuable_metric_image_uploads_verification_failed_count:
          type: string
        issuable_metric_image_uploads_oldest_unsynced_time:
          type: string
        job_artifacts_count:
          type: string
        job_artifacts_checksum_total_count:
          type: string
        job_artifacts_checksummed_count:
          type: string
        job_artifacts_checksum_failed_count:
          type: string
        job_artifacts_synced_count:
          type: string
        job_artifacts_failed_count:
          type: string
        job_artifacts_registry_count:
          type: string
        job_artifacts_verification_total_count:
          type: string
        job_artifacts_verified_count:
          type: string
        job_artifacts_verification_failed_count:
          type: string
        job_artifacts_oldest_unsynced_time:
          type: string
        lfs_objects_count:
          type: string
        lfs_objects_checksum_total_count:
          type: string
        lfs_objects_checksummed_count:
          type: string
        lfs_objects_checksum_failed_count:
          type: string
        lfs_objects_synced_count:
          type: string
        lfs_objects_failed_count:
          type: string
        lfs_objects_registry_count:
          type: string
        lfs_objects_verification_total_count:
          type: string
        lfs_objects_verified_count:
          type: string
        lfs_objects_verification_failed_count:
          type: string
        lfs_objects_oldest_unsynced_time:
          type: string
        merge_request_diffs_count:
          type: string
        merge_request_diffs_checksum_total_count:
          type: string
        merge_request_diffs_checksummed_count:
          type: string
        merge_request_diffs_checksum_failed_count:
          type: string
        merge_request_diffs_synced_count:
          type: string
        merge_request_diffs_failed_count:
          type: string
        merge_request_diffs_registry_count:
          type: string
        merge_request_diffs_verification_total_count:
          type: string
        merge_request_diffs_verified_count:
          type: string
        merge_request_diffs_verification_failed_count:
          type: string
        merge_request_diffs_oldest_unsynced_time:
          type: string
        organization_detail_uploads_count:
          type: string
        organization_detail_uploads_checksum_total_count:
          type: string
        organization_detail_uploads_checksummed_count:
          type: string
        organization_detail_uploads_checksum_failed_count:
          type: string
        organization_detail_uploads_synced_count:
          type: string
        organization_detail_uploads_failed_count:
          type: string
        organization_detail_uploads_registry_count:
          type: string
        organization_detail_uploads_verification_total_count:
          type: string
        organization_detail_uploads_verified_count:
          type: string
        organization_detail_uploads_verification_failed_count:
          type: string
        organization_detail_uploads_oldest_unsynced_time:
          type: string
        package_files_count:
          type: string
        package_files_checksum_total_count:
          type: string
        package_files_checksummed_count:
          type: string
        package_files_checksum_failed_count:
          type: string
        package_files_synced_count:
          type: string
        package_files_failed_count:
          type: string
        package_files_registry_count:
          type: string
        package_files_verification_total_count:
          type: string
        package_files_verified_count:
          type: string
        package_files_verification_failed_count:
          type: string
        package_files_oldest_unsynced_time:
          type: string
        packages_debian_project_component_files_count:
          type: string
        packages_debian_project_component_files_checksum_total_count:
          type: string
        packages_debian_project_component_files_checksummed_count:
          type: string
        packages_debian_project_component_files_checksum_failed_count:
          type: string
        packages_debian_project_component_files_synced_count:
          type: string
        packages_debian_project_component_files_failed_count:
          type: string
        packages_debian_project_component_files_registry_count:
          type: string
        packages_debian_project_component_files_verification_total_count:
          type: string
        packages_debian_project_component_files_verified_count:
          type: string
        packages_debian_project_component_files_verification_failed_count:
          type: string
        packages_debian_project_component_files_oldest_unsynced_time:
          type: string
        packages_helm_metadata_caches_count:
          type: string
        packages_helm_metadata_caches_checksum_total_count:
          type: string
        packages_helm_metadata_caches_checksummed_count:
          type: string
        packages_helm_metadata_caches_checksum_failed_count:
          type: string
        packages_helm_metadata_caches_synced_count:
          type: string
        packages_helm_metadata_caches_failed_count:
          type: string
        packages_helm_metadata_caches_registry_count:
          type: string
        packages_helm_metadata_caches_verification_total_count:
          type: string
        packages_helm_metadata_caches_verified_count:
          type: string
        packages_helm_metadata_caches_verification_failed_count:
          type: string
        packages_helm_metadata_caches_oldest_unsynced_time:
          type: string
        packages_nuget_symbols_count:
          type: string
        packages_nuget_symbols_checksum_total_count:
          type: string
        packages_nuget_symbols_checksummed_count:
          type: string
        packages_nuget_symbols_checksum_failed_count:
          type: string
        packages_nuget_symbols_synced_count:
          type: string
        packages_nuget_symbols_failed_count:
          type: string
        packages_nuget_symbols_registry_count:
          type: string
        packages_nuget_symbols_verification_total_count:
          type: string
        packages_nuget_symbols_verified_count:
          type: string
        packages_nuget_symbols_verification_failed_count:
          type: string
        packages_nuget_symbols_oldest_unsynced_time:
          type: string
        pages_deployments_count:
          type: string
        pages_deployments_checksum_total_count:
          type: string
        pages_deployments_checksummed_count:
          type: string
        pages_deployments_checksum_failed_count:
          type: string
        pages_deployments_synced_count:
          type: string
        pages_deployments_failed_count:
          type: string
        pages_deployments_registry_count:
          type: string
        pages_deployments_verification_total_count:
          type: string
        pages_deployments_verified_count:
          type: string
        pages_deployments_verification_failed_count:
          type: string
        pages_deployments_oldest_unsynced_time:
          type: string
        personal_snippet_uploads_count:
          type: string
        personal_snippet_uploads_checksum_total_count:
          type: string
        personal_snippet_uploads_checksummed_count:
          type: string
        personal_snippet_uploads_checksum_failed_count:
          type: string
        personal_snippet_uploads_synced_count:
          type: string
        personal_snippet_uploads_failed_count:
          type: string
        personal_snippet_uploads_registry_count:
          type: string
        personal_snippet_uploads_verification_total_count:
          type: string
        personal_snippet_uploads_verified_count:
          type: string
        personal_snippet_uploads_verification_failed_count:
          type: string
        personal_snippet_uploads_oldest_unsynced_time:
          type: string
        pipeline_artifacts_count:
          type: string
        pipeline_artifacts_checksum_total_count:
          type: string
        pipeline_artifacts_checksummed_count:
          type: string
        pipeline_artifacts_checksum_failed_count:
          type: string
        pipeline_artifacts_synced_count:
          type: string
        pipeline_artifacts_failed_count:
          type: string
        pipeline_artifacts_registry_count:
          type: string
        pipeline_artifacts_verification_total_count:
          type: string
        pipeline_artifacts_verified_count:
          type: string
        pipeline_artifacts_verification_failed_count:
          type: string
        pipeline_artifacts_oldest_unsynced_time:
          type: string
        project_import_export_relation_export_upload_uploads_count:
          type: string
        project_import_export_relation_export_upload_uploads_checksum_total_count:
          type: string
        project_import_export_relation_export_upload_uploads_checksummed_count:
          type: string
        project_import_export_relation_export_upload_uploads_checksum_failed_count:
          type: string
        project_import_export_relation_export_upload_uploads_synced_count:
          type: string
        project_import_export_relation_export_upload_uploads_failed_count:
          type: string
        project_import_export_relation_export_upload_uploads_registry_count:
          type: string
        project_import_export_relation_export_upload_uploads_verification_total_count:
          type: string
        project_import_export_relation_export_upload_uploads_verified_count:
          type: string
        project_import_export_relation_export_upload_uploads_verification_failed_count:
          type: string
        project_import_export_relation_export_upload_uploads_oldest_unsynced_time:
          type: string
        project_repositories_count:
          type: string
        project_repositories_checksum_total_count:
          type: string
        project_repositories_checksummed_count:
          type: string
        project_repositories_checksum_failed_count:
          type: string
        project_repositories_synced_count:
          type: string
        project_repositories_failed_count:
          type: string
        project_repositories_registry_count:
          type: string
        project_repositories_verification_total_count:
          type: string
        project_repositories_verified_count:
          type: string
        project_repositories_verification_failed_count:
          type: string
        project_repositories_oldest_unsynced_time:
          type: string
        project_topic_uploads_count:
          type: string
        project_topic_uploads_checksum_total_count:
          type: string
        project_topic_uploads_checksummed_count:
          type: string
        project_topic_uploads_checksum_failed_count:
          type: string
        project_topic_uploads_synced_count:
          type: string
        project_topic_uploads_failed_count:
          type: string
        project_topic_uploads_registry_count:
          type: string
        project_topic_uploads_verification_total_count:
          type: string
        project_topic_uploads_verified_count:
          type: string
        project_topic_uploads_verification_failed_count:
          type: string
        project_topic_uploads_oldest_unsynced_time:
          type: string
        project_uploads_count:
          type: string
        project_uploads_checksum_total_count:
          type: string
        project_uploads_checksummed_count:
          type: string
        project_uploads_checksum_failed_count:
          type: string
        project_uploads_synced_count:
          type: string
        project_uploads_failed_count:
          type: string
        project_uploads_registry_count:
          type: string
        project_uploads_verification_total_count:
          type: string
        project_uploads_verified_count:
          type: string
        project_uploads_verification_failed_count:
          type: string
        project_uploads_oldest_unsynced_time:
          type: string
        project_wiki_repositories_count:
          type: string
        project_wiki_repositories_checksum_total_count:
          type: string
        project_wiki_repositories_checksummed_count:
          type: string
        project_wiki_repositories_checksum_failed_count:
          type: string
        project_wiki_repositories_synced_count:
          type: string
        project_wiki_repositories_failed_count:
          type: string
        project_wiki_repositories_registry_count:
          type: string
        project_wiki_repositories_verification_total_count:
          type: string
        project_wiki_repositories_verified_count:
          type: string
        project_wiki_repositories_verification_failed_count:
          type: string
        project_wiki_repositories_oldest_unsynced_time:
          type: string
        snippet_repositories_count:
          type: string
        snippet_repositories_checksum_total_count:
          type: string
        snippet_repositories_checksummed_count:
          type: string
        snippet_repositories_checksum_failed_count:
          type: string
        snippet_repositories_synced_count:
          type: string
        snippet_repositories_failed_count:
          type: string
        snippet_repositories_registry_count:
          type: string
        snippet_repositories_verification_total_count:
          type: string
        snippet_repositories_verified_count:
          type: string
        snippet_repositories_verification_failed_count:
          type: string
        snippet_repositories_oldest_unsynced_time:
          type: string
        supply_chain_attestations_count:
          type: string
        supply_chain_attestations_checksum_total_count:
          type: string
        supply_chain_attestations_checksummed_count:
          type: string
        supply_chain_attestations_checksum_failed_count:
          type: string
        supply_chain_attestations_synced_count:
          type: string
        supply_chain_attestations_failed_count:
          type: string
        supply_chain_attestations_registry_count:
          type: string
        supply_chain_attestations_verification_total_count:
          type: string
        supply_chain_attestations_verified_count:
          type: string
        supply_chain_attestations_verification_failed_count:
          type: string
        supply_chain_attestations_oldest_unsynced_time:
          type: string
        terraform_state_versions_count:
          type: string
        terraform_state_versions_checksum_total_count:
          type: string
        terraform_state_versions_checksummed_count:
          type: string
        terraform_state_versions_checksum_failed_count:
          type: string
        terraform_state_versions_synced_count:
          type: string
        terraform_state_versions_failed_count:
          type: string
        terraform_state_versions_registry_count:
          type: string
        terraform_state_versions_verification_total_count:
          type: string
        terraform_state_versions_verified_count:
          type: string
        terraform_state_versions_verification_failed_count:
          type: string
        terraform_state_versions_oldest_unsynced_time:
          type: string
        uploads_count:
          type: string
        uploads_checksum_total_count:
          type: string
        uploads_checksummed_count:
          type: string
        uploads_checksum_failed_count:
          type: string
        uploads_synced_count:
          type: string
        uploads_failed_count:
          type: string
        uploads_registry_count:
          type: string
        uploads_verification_total_count:
          type: string
        uploads_verified_count:
          type: string
        uploads_verification_failed_count:
          type: string
        uploads_oldest_unsynced_time:
          type: string
        user_permission_export_upload_uploads_count:
          type: string
        user_permission_export_upload_uploads_checksum_total_count:
          type: string
        user_permission_export_upload_uploads_checksummed_count:
          type: string
        user_permission_export_upload_uploads_checksum_failed_count:
          type: string
        user_permission_export_upload_uploads_synced_count:
          type: string
        user_permission_export_upload_uploads_failed_count:
          type: string
        user_permission_export_upload_uploads_registry_count:
          type: string
        user_permission_export_upload_uploads_verification_total_count:
          type: string
        user_permission_export_upload_uploads_verified_count:
          type: string
        user_permission_export_upload_uploads_verification_failed_count:
          type: string
        user_permission_export_upload_uploads_oldest_unsynced_time:
          type: string
        user_uploads_count:
          type: string
        user_uploads_checksum_total_count:
          type: string
        user_uploads_checksummed_count:
          type: string
        user_uploads_checksum_failed_count:
          type: string
        user_uploads_synced_count:
          type: string
        user_uploads_failed_count:
          type: string
        user_uploads_registry_count:
          type: string
        user_uploads_verification_total_count:
          type: string
        user_uploads_verified_count:
          type: string
        user_uploads_verification_failed_count:
          type: string
        user_uploads_oldest_unsynced_time:
          type: string
        vulnerability_archive_export_uploads_count:
          type: string
        vulnerability_archive_export_uploads_checksum_total_count:
          type: string
        vulnerability_archive_export_uploads_checksummed_count:
          type: string
        vulnerability_archive_export_uploads_checksum_failed_count:
          type: string
        vulnerability_archive_export_uploads_synced_count:
          type: string
        vulnerability_archive_export_uploads_failed_count:
          type: string
        vulnerability_archive_export_uploads_registry_count:
          type: string
        vulnerability_archive_export_uploads_verification_total_count:
          type: string
        vulnerability_archive_export_uploads_verified_count:
          type: string
        vulnerability_archive_export_uploads_verification_failed_count:
          type: string
        vulnerability_archive_export_uploads_oldest_unsynced_time:
          type: string
        vulnerability_export_part_uploads_count:
          type: string
        vulnerability_export_part_uploads_checksum_total_count:
          type: string
        vulnerability_export_part_uploads_checksummed_count:
          type: string
        vulnerability_export_part_uploads_checksum_failed_count:
          type: string
        vulnerability_export_part_uploads_synced_count:
          type: string
        vulnerability_export_part_uploads_failed_count:
          type: string
        vulnerability_export_part_uploads_registry_count:
          type: string
        vulnerability_export_part_uploads_verification_total_count:
          type: string
        vulnerability_export_part_uploads_verified_count:
          type: string
        vulnerability_export_part_uploads_verification_failed_count:
          type: string
        vulnerability_export_part_uploads_oldest_unsynced_time:
          type: string
        vulnerability_export_uploads_count:
          type: string
        vulnerability_export_uploads_checksum_total_count:
          type: string
        vulnerability_export_uploads_checksummed_count:
          type: string
        vulnerability_export_uploads_checksum_failed_count:
          type: string
        vulnerability_export_uploads_synced_count:
          type: string
        vulnerability_export_uploads_failed_count:
          type: string
        vulnerability_export_uploads_registry_count:
          type: string
        vulnerability_export_uploads_verification_total_count:
          type: string
        vulnerability_export_uploads_verified_count:
          type: string
        vulnerability_export_uploads_verification_failed_count:
          type: string
        vulnerability_export_uploads_oldest_unsynced_time:
          type: string
        vulnerability_remediation_uploads_count:
          type: string
        vulnerability_remediation_uploads_checksum_total_count:
          type: string
        vulnerability_remediation_uploads_checksummed_count:
          type: string
        vulnerability_remediation_uploads_checksum_failed_count:
          type: string
        vulnerability_remediation_uploads_synced_count:
          type: string
        vulnerability_remediation_uploads_failed_count:
          type: string
        vulnerability_remediation_uploads_registry_count:
          type: string
        vulnerability_remediation_uploads_verification_total_count:
          type: string
        vulnerability_remediation_uploads_verified_count:
          type: string
        vulnerability_remediation_uploads_verification_failed_count:
          type: string
        vulnerability_remediation_uploads_oldest_unsynced_time:
          type: string
        git_fetch_event_count_weekly:
          type: string
        git_push_event_count_weekly:
          type: string
        proxy_remote_requests_event_count_weekly:
          type: string
        proxy_local_requests_event_count_weekly:
          type: string
        repositories_checked_in_percentage:
          type: string
        replication_slots_used_in_percentage:
          type: string
        abuse_report_uploads_synced_in_percentage:
          type: string
        abuse_report_uploads_verified_in_percentage:
          type: string
        achievement_uploads_synced_in_percentage:
          type: string
        achievement_uploads_verified_in_percentage:
          type: string
        alert_management_metric_image_uploads_synced_in_percentage:
          type: string
        alert_management_metric_image_uploads_verified_in_percentage:
          type: string
        appearance_uploads_synced_in_percentage:
          type: string
        appearance_uploads_verified_in_percentage:
          type: string
        bulk_import_export_upload_uploads_synced_in_percentage:
          type: string
        bulk_import_export_upload_uploads_verified_in_percentage:
          type: string
        ci_secure_files_synced_in_percentage:
          type: string
        ci_secure_files_verified_in_percentage:
          type: string
        container_repositories_synced_in_percentage:
          type: string
        container_repositories_verified_in_percentage:
          type: string
        dependency_list_export_part_uploads_synced_in_percentage:
          type: string
        dependency_list_export_part_uploads_verified_in_percentage:
          type: string
        dependency_list_export_uploads_synced_in_percentage:
          type: string
        dependency_list_export_uploads_verified_in_percentage:
          type: string
        dependency_proxy_blobs_synced_in_percentage:
          type: string
        dependency_proxy_blobs_verified_in_percentage:
          type: string
        dependency_proxy_manifests_synced_in_percentage:
          type: string
        dependency_proxy_manifests_verified_in_percentage:
          type: string
        design_management_action_uploads_synced_in_percentage:
          type: string
        design_management_action_uploads_verified_in_percentage:
          type: string
        design_management_repositories_synced_in_percentage:
          type: string
        design_management_repositories_verified_in_percentage:
          type: string
        group_uploads_synced_in_percentage:
          type: string
        group_uploads_verified_in_percentage:
          type: string
        group_wiki_repositories_synced_in_percentage:
          type: string
        group_wiki_repositories_verified_in_percentage:
          type: string
        import_export_upload_uploads_synced_in_percentage:
          type: string
        import_export_upload_uploads_verified_in_percentage:
          type: string
        issuable_metric_image_uploads_synced_in_percentage:
          type: string
        issuable_metric_image_uploads_verified_in_percentage:
          type: string
        job_artifacts_synced_in_percentage:
          type: string
        job_artifacts_verified_in_percentage:
          type: string
        lfs_objects_synced_in_percentage:
          type: string
        lfs_objects_verified_in_percentage:
          type: string
        merge_request_diffs_synced_in_percentage:
          type: string
        merge_request_diffs_verified_in_percentage:
          type: string
        organization_detail_uploads_synced_in_percentage:
          type: string
        organization_detail_uploads_verified_in_percentage:
          type: string
        package_files_synced_in_percentage:
          type: string
        package_files_verified_in_percentage:
          type: string
        packages_debian_project_component_files_synced_in_percentage:
          type: string
        packages_debian_project_component_files_verified_in_percentage:
          type: string
        packages_helm_metadata_caches_synced_in_percentage:
          type: string
        packages_helm_metadata_caches_verified_in_percentage:
          type: string
        packages_nuget_symbols_synced_in_percentage:
          type: string
        packages_nuget_symbols_verified_in_percentage:
          type: string
        pages_deployments_synced_in_percentage:
          type: string
        pages_deployments_verified_in_percentage:
          type: string
        personal_snippet_uploads_synced_in_percentage:
          type: string
        personal_snippet_uploads_verified_in_percentage:
          type: string
        pipeline_artifacts_synced_in_percentage:
          type: string
        pipeline_artifacts_verified_in_percentage:
          type: string
        project_import_export_relation_export_upload_uploads_synced_in_percentage:
          type: string
        project_import_export_relation_export_upload_uploads_verified_in_percentage:
          type: string
        project_repositories_synced_in_percentage:
          type: string
        project_repositories_verified_in_percentage:
          type: string
        project_topic_uploads_synced_in_percentage:
          type: string
        project_topic_uploads_verified_in_percentage:
          type: string
        project_uploads_synced_in_percentage:
          type: string
        project_uploads_verified_in_percentage:
          type: string
        project_wiki_repositories_synced_in_percentage:
          type: string
        project_wiki_repositories_verified_in_percentage:
          type: string
        snippet_repositories_synced_in_percentage:
          type: string
        snippet_repositories_verified_in_percentage:
          type: string
        supply_chain_attestations_synced_in_percentage:
          type: string
        supply_chain_attestations_verified_in_percentage:
          type: string
        terraform_state_versions_synced_in_percentage:
          type: string
        terraform_state_versions_verified_in_percentage:
          type: string
        uploads_synced_in_percentage:
          type: string
        uploads_verified_in_percentage:
          type: string
        user_permission_export_upload_uploads_synced_in_percentage:
          type: string
        user_permission_export_upload_uploads_verified_in_percentage:
          type: string
        user_uploads_synced_in_percentage:
          type: string
        user_uploads_verified_in_percentage:
          type: string
        vulnerability_archive_export_uploads_synced_in_percentage:
          type: string
        vulnerability_archive_export_uploads_verified_in_percentage:
          type: string
        vulnerability_export_part_uploads_synced_in_percentage:
          type: string
        vulnerability_export_part_uploads_verified_in_percentage:
          type: string
        vulnerability_export_uploads_synced_in_percentage:
          type: string
        vulnerability_export_uploads_verified_in_percentage:
          type: string
        vulnerability_remediation_uploads_synced_in_percentage:
          type: string
        vulnerability_remediation_uploads_verified_in_percentage:
          type: string
        ai_vectorizable_file_uploads_count:
          type: integer
        ai_vectorizable_file_uploads_checksum_total_count:
          type: integer
        ai_vectorizable_file_uploads_checksummed_count:
          type: integer
        ai_vectorizable_file_uploads_checksum_failed_count:
          type: integer
        ai_vectorizable_file_uploads_synced_count:
          type: integer
        ai_vectorizable_file_uploads_failed_count:
          type: integer
        ai_vectorizable_file_uploads_registry_count:
          type: integer
        ai_vectorizable_file_uploads_verification_total_count:
          type: integer
        ai_vectorizable_file_uploads_verified_count:
          type: integer
        ai_vectorizable_file_uploads_verification_failed_count:
          type: integer
        ai_vectorizable_file_uploads_oldest_unsynced_time:
          type: integer
        ai_vectorizable_file_uploads_synced_in_percentage:
          type: string
          example: 0.00%
        ai_vectorizable_file_uploads_verified_in_percentage:
          type: string
          example: 0.00%
        repositories_count:
          type: string
        replication_slots_count:
          type: string
        replication_slots_used_count:
          type: string
        healthy:
          type: string
        health:
          type: string
        health_status:
          type: string
        missing_oauth_application:
          type: string
        db_replication_lag_seconds:
          type: string
        replication_slots_max_retained_wal_bytes:
          type: string
        repositories_checked_count:
          type: string
        repositories_checked_failed_count:
          type: string
        last_event_id:
          type: string
        last_event_timestamp:
          type: string
        cursor_last_event_id:
          type: string
        cursor_last_event_timestamp:
          type: string
        last_successful_status_check_timestamp:
          type: string
        version:
          type: string
        revision:
          type: string
        selective_sync_type:
          type: string
        namespaces:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesNamespaceBasic"
        updated_at:
          type: string
        storage_shards:
          type: array
          items:
            "$ref": "#/components/schemas/StorageShardEntity"
        storage_shards_match:
          type: string
        _links:
          type: object
          properties:
            self:
              type: string
            node:
              type: string
    APIEntitiesFeatureDefinition:
      type: object
      properties:
        name:
          type: string
        feature_issue_url:
          type: string
        introduced_by_url:
          type: string
        rollout_issue_url:
          type: string
        milestone:
          type: string
        log_state_changes:
          type: boolean
        type:
          type: string
        group:
          type: string
        default_enabled:
          type: boolean
        intended_to_rollout_by:
          type: string
    APIEntitiesFeatureGate:
      type: object
      properties:
        key:
          type: string
          example: percentage_of_actors
        value:
          type: integer
          example: 34
    APIEntitiesExperimentCurrentStatus:
      type: object
      properties:
        state:
          type: string
          example: 'on'
        gates:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesFeatureGate"
    APIEntitiesExperiment:
      type: object
      properties:
        key:
          type: string
          example: code_quality_walkthrough
        context:
          type: array
          description: 'Context keys the experiment declares: `user`, `namespace`,
            `project`, or `actor`. Empty when the experiment declares no context keys.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/248274)
            in GitLab 19.3.'
          example:
          - user
          items:
            type: string
        definition:
          "$ref": "#/components/schemas/APIEntitiesFeatureDefinition"
        current_status:
          "$ref": "#/components/schemas/APIEntitiesExperimentCurrentStatus"
    APIEntitiesExperimentsAssignment:
      type: object
      properties:
        experiment:
          type: string
          example: lightweight_trial_registration_redesign
        variant:
          type: string
          example: candidate
        context_key:
          type: string
          example: abc123def456
        cached:
          type: boolean
          example: true
    APIEntitiesRelatedEpic:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 123
        work_item_id:
          type: integer
          example: 123
        iid:
          type: integer
          example: 123
        color:
          type: string
          example: "#1068bf"
        text_color:
          type: string
          example: "#1068bf"
        group_id:
          type: integer
          format: int64
          example: 17
        parent_id:
          type: integer
          format: int64
          example: 12
        parent_iid:
          type: integer
          example: 19
        imported:
          type: boolean
          example: false
        imported_from:
          type: string
          example: github
        title:
          type: string
          example: My Epic
        description:
          type: string
          example: Epic description
        confidential:
          type: boolean
          example: false
        author:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        start_date:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        start_date_is_fixed:
          type: boolean
          example: true
        start_date_fixed:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        start_date_from_inherited_source:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        start_date_from_milestones:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        end_date:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        due_date:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        due_date_is_fixed:
          type: boolean
          example: true
        due_date_fixed:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        due_date_from_inherited_source:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        due_date_from_milestones:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        state:
          type: string
          example: opened
        web_edit_url:
          type: string
          example: http://gitlab.example.com/groups/test/-/epics/4/edit
        web_url:
          type: string
          example: http://gitlab.example.com/groups/test/-/epics/4
        references:
          type: array
          items:
            type: object
        reference:
          type: string
          example: "&1"
        created_at:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        updated_at:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        closed_at:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        labels:
          type: array
          items:
            type: string
        upvotes:
          type: integer
          example: 4
        downvotes:
          type: integer
          example: 3
        subscribed:
          type: boolean
          example: true
        _links:
          type: object
          properties:
            self:
              type: string
              example: http://gitlab.example.com/api/v4/groups/7/epics/5
            epic_issues:
              type: string
              example: http://gitlab.example.com/api/v4/groups/7/epics/5/issues
            group:
              type: string
              example: http://gitlab.example.com/api/v4/groups/7
            parent:
              type: string
              example: http://gitlab.example.com/api/v4/groups/7/epics/4
        related_epic_link_id:
          type: integer
          format: int64
          example: 1
        link_type:
          type: string
          example: relates_to
        link_created_at:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        link_updated_at:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
    APIEntitiesEpic:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 123
        work_item_id:
          type: integer
          example: 123
        iid:
          type: integer
          example: 123
        color:
          type: string
          example: "#1068bf"
        text_color:
          type: string
          example: "#1068bf"
        group_id:
          type: integer
          format: int64
          example: 17
        parent_id:
          type: integer
          format: int64
          example: 12
        parent_iid:
          type: integer
          example: 19
        imported:
          type: boolean
          example: false
        imported_from:
          type: string
          example: github
        title:
          type: string
          example: My Epic
        description:
          type: string
          example: Epic description
        confidential:
          type: boolean
          example: false
        author:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        start_date:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        start_date_is_fixed:
          type: boolean
          example: true
        start_date_fixed:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        start_date_from_inherited_source:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        start_date_from_milestones:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        end_date:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        due_date:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        due_date_is_fixed:
          type: boolean
          example: true
        due_date_fixed:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        due_date_from_inherited_source:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        due_date_from_milestones:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        state:
          type: string
          example: opened
        web_edit_url:
          type: string
          example: http://gitlab.example.com/groups/test/-/epics/4/edit
        web_url:
          type: string
          example: http://gitlab.example.com/groups/test/-/epics/4
        references:
          type: array
          items:
            type: object
        reference:
          type: string
          example: "&1"
        created_at:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        updated_at:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        closed_at:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        labels:
          type: array
          items:
            type: string
        upvotes:
          type: integer
          example: 4
        downvotes:
          type: integer
          example: 3
        subscribed:
          type: boolean
          example: true
        _links:
          type: object
          properties:
            self:
              type: string
              example: http://gitlab.example.com/api/v4/groups/7/epics/5
            epic_issues:
              type: string
              example: http://gitlab.example.com/api/v4/groups/7/epics/5/issues
            group:
              type: string
              example: http://gitlab.example.com/api/v4/groups/7
            parent:
              type: string
              example: http://gitlab.example.com/api/v4/groups/7/epics/4
    APIEntitiesRelatedEpicLink:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 123
        source_epic:
          "$ref": "#/components/schemas/APIEntitiesEpic"
        target_epic:
          "$ref": "#/components/schemas/APIEntitiesEpic"
        link_type:
          type: string
          example: relates_to
        created_at:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        updated_at:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
    APIEntitiesLabelBasic:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        name:
          type: string
          example: bug
        description:
          type: string
          example: Bug reported by user
        text_color:
          type: string
          example: "#FFFFFF"
        description_html:
          type: string
          example: "<p>Bug reported by user</p>"
        color:
          type: string
          example: "#FF0000"
        archived:
          type: boolean
          example: false
    APIEntitiesEpicBoardsList:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        label:
          "$ref": "#/components/schemas/APIEntitiesLabelBasic"
        position:
          type: integer
          example: 1
        list_type:
          type: string
          example: backlog
    APIEntitiesEpicBoard:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        name:
          type: string
          example: Team Board
        hide_backlog_list:
          type: boolean
          example: false
        hide_closed_list:
          type: boolean
          example: true
        group:
          "$ref": "#/components/schemas/APIEntitiesBasicGroupDetails"
        labels:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesLabelBasic"
        lists:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesEpicBoardsList"
    EpicBaseEntity:
      type: object
      properties:
        id:
          type: string
        iid:
          type: string
        title:
          type: string
        url:
          type: string
        group_id:
          type: string
        human_readable_end_date:
          type: string
        human_readable_timestamp:
          type: string
    APIEntitiesEpicIssue:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 84
        iid:
          type: integer
          example: 14
        project_id:
          type: integer
          format: int64
          example: 4
        title:
          type: string
          example: Impedit et ut et dolores vero provident ullam est
        description:
          type: string
          example: Repellendus impedit et vel velit dignissimos.
        state:
          type: string
          example: closed
        created_at:
          type: string
          format: date-time
          example: '2022-08-17T12:46:35.053Z'
        updated_at:
          type: string
          format: date-time
          example: '2022-11-14T17:22:01.470Z'
        closed_at:
          type: string
          format: date-time
          example: '2022-11-15T08:30:55.232Z'
        closed_by:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        labels:
          type: array
          example:
          - bug
          items:
            type: string
        milestone:
          "$ref": "#/components/schemas/APIEntitiesMilestone"
        assignees:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        author:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        type:
          type: string
          description: The type of the issue.
          enum:
          - ISSUE
          - INCIDENT
          - TEST_CASE
          - REQUIREMENT
          - TASK
          - TICKET
          example: ISSUE
        assignee:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        user_notes_count:
          type: integer
        merge_requests_count:
          type: integer
        upvotes:
          type: integer
        downvotes:
          type: integer
        start_date:
          type: string
          format: date
          example: '2022-11-18'
        due_date:
          type: string
          format: date
          example: '2022-11-20'
        confidential:
          type: boolean
        discussion_locked:
          type: boolean
        issue_type:
          type: string
          example: issue
        web_url:
          type: string
          example: http://example.com/example/example/issues/14
        time_stats:
          "$ref": "#/components/schemas/APIEntitiesIssuableTimeStats"
        task_completion_status:
          "$ref": "#/components/schemas/APIEntitiesTaskCompletionStatus"
        weight:
          type: integer
          example: 5
        blocking_issues_count:
          type: integer
          example: 2
        has_tasks:
          type: boolean
          example: true
        task_status:
          type: string
          example: 2 of 4 tasks completed
        _links:
          type: object
          properties:
            self:
              type: string
              example: http://example.com/api/v4/projects/1/issues/2
            notes:
              type: string
              example: http://example.com/api/v4/projects/1/issues/2/notes
            award_emoji:
              type: string
              example: http://example.com/api/v4/projects/1/issues/2/award_emoji
            project:
              type: string
              example: http://example.com/api/v4/projects/1
            closed_as_duplicate_of:
              type: string
              example: http://example.com/api/v4/projects/1/issues/75
        references:
          "$ref": "#/components/schemas/APIEntitiesIssuableReferences"
        severity:
          type: string
          description: The severity of the issue.
          enum:
          - UNKNOWN
          - LOW
          - MEDIUM
          - HIGH
          - CRITICAL
        subscribed:
          type: boolean
          example: false
        moved_to_id:
          type: integer
          format: int64
          example: 1
        imported:
          type: boolean
          example: false
        imported_from:
          type: string
          example: github
        service_desk_reply_to:
          type: string
          example: user@example.com
        epic_iid:
          type: string
        epic:
          "$ref": "#/components/schemas/EpicBaseEntity"
        iteration:
          "$ref": "#/components/schemas/APIEntitiesIteration"
        health_status:
          type: string
        epic_issue_id:
          type: integer
          description: ID of the epic-issue relation
          example: 123
        relative_position:
          type: integer
          description: Relative position of the issue in the epic tree
          example: 0
    APIEntitiesEpicIssueLink:
      type: object
      properties:
        id:
          type: integer
          description: ID of the epic-issue relation
          example: 123
        relative_position:
          type: integer
          description: Relative position of the issue in the epic tree
          example: 0
        epic:
          type: object
        issue:
          "$ref": "#/components/schemas/APIEntitiesIssueBasic"
    APIEntitiesDoraMetric:
      type: object
      properties:
        date:
          type: string
          format: date
          example: '2021-03-01'
        value:
          type: number
          example: 3
    APIEntitiesProtectedBranch:
      type: object
      properties:
        id:
          type: integer
          description: ID of the protected branch.
          format: int64
          example: 1
        name:
          type: string
          description: Name of the protected branch.
          example: main
        push_access_levels:
          type: array
          description: Array of push access level configurations.
          items:
            "$ref": "#/components/schemas/APIEntitiesProtectedRefAccess"
        merge_access_levels:
          type: array
          description: Array of merge access level configurations.
          items:
            "$ref": "#/components/schemas/APIEntitiesProtectedRefAccess"
        allow_force_push:
          type: boolean
          description: If `true`, force push is allowed on the branch.
        unprotect_access_levels:
          type: array
          description: Array of unprotect access level configurations.
          items:
            "$ref": "#/components/schemas/APIEntitiesProtectedRefAccess"
        code_owner_approval_required:
          type: boolean
          description: If `true`, code owner approval is required for pushes to the
            branch.
        inherited:
          type: boolean
          description: If `true`, the protection settings are inherited from a group.
            Premium and Ultimate only.
    APIEntitiesProjectApprovalSettingRule:
      type: object
      properties:
        id:
          type: integer
          description: ID of the approval rule.
          format: int64
          example: 1
        name:
          type: string
          description: Name of the approval rule.
          example: QA
        rule_type:
          type: string
          description: 'Type of the approval rule. Possible values: `any_approver`,
            `code_owner`, `regular`, or `report_approver`.'
          example: regular
        approvals_required:
          type: integer
          example: 2
        users:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        groups:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesGroup"
        contains_hidden_groups:
          type: boolean
        report_type:
          type: string
        protected_branches:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesProtectedBranch"
        applies_to_all_protected_branches:
          type: boolean
        coverage_minimum_threshold:
          type: number
          example: 80.0
        approvers:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        scanners:
          type: array
          items:
            type: string
        vulnerabilities_allowed:
          type: integer
        severity_levels:
          type: array
          items:
            type: string
        vulnerability_states:
          type: array
          items:
            type: string
    APIEntitiesProjectApprovalSettings:
      type: object
      properties:
        rules:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesProjectApprovalSettingRule"
        fallback_approvals_required:
          type: integer
    APIEntitiesExternalStatusCheck:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        name:
          type: string
          example: QA
        project_id:
          type: integer
          format: int64
          example: 1
        external_url:
          type: string
          example: https://www.example.com
        protected_branches:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesProtectedBranch"
        hmac:
          type: boolean
          example: true
    DetailedStatusEntity:
      type: object
      properties:
        icon:
          type: string
          example: status_success
        text:
          type: string
          example: passed
        label:
          type: string
          example: passed
        group:
          type: string
          example: success
        tooltip:
          type: string
          example: passed
        has_details:
          type: boolean
          example: true
        details_path:
          type: string
          example: "/test-group/test-project/-/pipelines/287"
        illustration:
          type: object
          example:
            image: illustrations/empty-state/empty-job-not-triggered-md.svg
            size: ''
            title: This job has not been triggered yet
            content: This job depends on upstream jobs that need to succeed in order
              for this job to be triggered
        favicon:
          type: string
          example: "/assets/ci_favicons/favicon_status_success.png"
        action:
          type: object
          properties:
            icon:
              type: string
              example: cancel
            title:
              type: string
              example: Cancel
            path:
              type: string
              example: "/namespace1/project1/-/jobs/2/cancel"
            method:
              type: string
              example: post
            button_title:
              type: string
              example: Cancel this job
            confirmation_message:
              type: string
              example: Are you sure?
    APIEntitiesCiPipeline:
      type: object
      properties:
        id:
          type: integer
          description: ID of the pipeline.
          format: int64
          example: 1
        iid:
          type: integer
          description: Internal ID of the pipeline.
          example: 2
        project_id:
          type: integer
          description: ID of the project of the pipeline.
          format: int64
          example: 3
        sha:
          type: string
          description: SHA of the commit the pipeline runs for.
          example: 0ec9e58fdfca6cdd6652c083c9edb53abc0bad52
        ref:
          type: string
          description: Git reference of the pipeline.
          example: feature-branch
        status:
          type: string
          description: Status of the pipeline.
          example: success
        source:
          type: string
          description: Source that triggered the pipeline.
          example: push
        created_at:
          type: string
          format: date-time
          example: '2015-12-24T15:51:21.880Z'
        updated_at:
          type: string
          format: date-time
          example: '2015-12-24T17:54:31.198Z'
        web_url:
          type: string
          description: URL of the pipeline in the GitLab UI.
          example: https://gitlab.example.com/gitlab-org/gitlab-foss/-/pipelines/61
        before_sha:
          type: string
          example: a91957a858320c0e17f3a0eca7cfacbff50ea29a
        tag:
          type: boolean
          example: false
        yaml_errors:
          type: string
          example: 'widgets:build: needs ''widgets:test'''
        user:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        started_at:
          type: string
          format: date-time
          example: '2015-12-24T17:54:30.733Z'
        finished_at:
          type: string
          format: date-time
          example: '2015-12-24T17:54:31.198Z'
        committed_at:
          type: string
          format: date-time
          example: '2015-12-24T15:51:21.880Z'
        duration:
          type: integer
          description: Time spent running in seconds
          example: 127
        queued_duration:
          type: integer
          description: Time spent enqueued in seconds
          example: 63
        coverage:
          type: number
          format: float
          example: 98.29
        detailed_status:
          "$ref": "#/components/schemas/DetailedStatusEntity"
        archived:
          type: boolean
          example: false
    APIEntitiesDiffRefs:
      type: object
      properties:
        base_sha:
          type: string
          description: SHA of the merge base commit where the source and target branches
            diverged.
          example: b83d6e391c22777fca1ed3012fce84f633d7fed0
        head_sha:
          type: string
          description: SHA of the head commit of the source branch.
          example: b83d6e391c22777fca1ed3012fce84f633d7fed0
        start_sha:
          type: string
          description: SHA of the target branch commit the diff starts from. Usually
            the same as `base_sha`.
          example: b83d6e391c22777fca1ed3012fce84f633d7fed0
    APIEntitiesMergeRequest:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 84
        iid:
          type: integer
          example: 14
        project_id:
          type: integer
          format: int64
          example: 4
        title:
          type: string
          example: Impedit et ut et dolores vero provident ullam est
        description:
          type: string
          example: Repellendus impedit et vel velit dignissimos.
        state:
          type: string
          example: closed
        created_at:
          type: string
          format: date-time
          example: '2022-08-17T12:46:35.053Z'
        updated_at:
          type: string
          format: date-time
          example: '2022-11-14T17:22:01.470Z'
        merged_by:
          description: User who merged the merge request or set it to auto-merge.
            Deprecated. Use `merge_user` instead.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        merge_user:
          description: User who merged the merge request or set it to auto-merge,
            or `null`.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        merged_at:
          type: string
          description: Timestamp of when the merge request was merged.
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        closed_by:
          description: User who closed the merge request. `null` if the merge request
            is not closed.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        closed_at:
          type: string
          description: Timestamp of when the merge request was closed.
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        title_html:
          type: string
          description: Title of the merge request rendered as HTML. Returned only
            if `render_html` is `true`.
        description_html:
          type: string
          description: Description of the merge request rendered as HTML. Returned
            only if `render_html` is `true`.
        target_branch:
          type: string
          description: Name of the target branch.
        source_branch:
          type: string
          description: Name of the source branch.
        user_notes_count:
          type: integer
          description: Number of user comments on the merge request.
        upvotes:
          type: integer
          description: Number of upvotes for the merge request.
        downvotes:
          type: integer
          description: Number of downvotes for the merge request.
        author:
          description: User who created the merge request.
          "$ref": "#/components/schemas/APIEntitiesMergeRequestAuthor"
        assignees:
          type: array
          description: Users assigned to the merge request.
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        assignee:
          description: First user assigned to the merge request. Deprecated. Use `assignees`
            instead.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        reviewers:
          type: array
          description: Reviewers of the merge request.
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        source_project_id:
          type: integer
          description: ID of the source project. Equal to `target_project_id`, unless
            the merge request comes from a fork.
          format: int64
        target_project_id:
          type: integer
          description: ID of the target project.
          format: int64
        labels:
          type: array
          description: Names of the labels assigned to the merge request, sorted by
            name. If `with_labels_details` is `true`, an array of label objects with
            `id`, `name`, `color`, `text_color`, `description`, `description_html`
            and `archived` instead.
          items:
            type: string
        draft:
          type: boolean
          description: If `true`, the merge request is a draft.
        imported:
          type: boolean
          description: If `true`, the merge request was imported.
        imported_from:
          type: string
          description: Source of the import, such as `bitbucket`.
          example: bitbucket
        work_in_progress:
          type: boolean
          description: If `true`, the merge request is a draft. Deprecated. Use `draft`
            instead.
        milestone:
          description: Milestone assigned to the merge request.
          "$ref": "#/components/schemas/APIEntitiesMilestone"
        merge_when_pipeline_succeeds:
          type: boolean
          description: If `true`, the merge request is set to auto-merge.
        merge_status:
          type: string
          description: Status of the merge request. Can be `unchecked`, `checking`,
            `can_be_merged`, `cannot_be_merged` or `cannot_be_merged_recheck`. Affects
            `has_conflicts`. Deprecated. Use `detailed_merge_status` instead.
          example: unchecked
        detailed_merge_status:
          type: string
          description: Detailed merge status of the merge request. Accounts for every
            check that can block a merge. Can be `approvals_syncing` (approvals are
            syncing), `checking` (Git is testing whether a valid merge is possible),
            `ci_must_pass` (a CI/CD pipeline must succeed before merge), `ci_still_running`
            (a CI/CD pipeline is still running), `commits_status` (the source branch
            must exist and contain commits), `conflict` (conflicts exist between the
            source and target branches), `discussions_not_resolved` (all discussions
            must be resolved before merge), `draft_status` (the merge request is a
            draft), `jira_association_missing` (the title or description must reference
            a Jira issue), `locked_lfs_files` (LFS files locked by other users must
            be unlocked before merge), `locked_paths` (paths locked by other users
            must be unlocked before merging to the default branch), `merge_request_blocked`
            (blocked by another merge request), `merge_time` (cannot be merged until
            after the specified time), `mergeable` (the branch can merge cleanly into
            the target branch), `need_rebase` (the merge request must be rebased),
            `not_approved` (approval is required before merge), `not_open` (the merge
            request must be open before merge), `preparing` (the merge request diff
            is being created), `requested_changes` (reviewers have requested changes),
            `security_policy_pipeline_check` (when security policies are enforced,
            all pipelines for the latest commit must succeed before merge), `security_policy_violations`
            (all security policies must be satisfied), `status_checks_must_pass` (all
            status checks must pass before merge), `title_regex` (the title must match
            the regular expression set in the project settings), or `unchecked` (Git
            has not yet tested whether a valid merge is possible).
          example: mergeable
        merge_after:
          type: string
          description: If set, timestamp after which the merge request can be merged.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/510992) in
            GitLab 17.8.
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        sha:
          type: string
          description: SHA of the head commit of the source branch.
          example: 1234abcd
        merge_commit_sha:
          type: string
          description: SHA of the merge commit. `null` until the merge request is
            merged.
          example: 1234abcd
        squash_commit_sha:
          type: string
          description: SHA of the squash commit. Empty until the merge request is
            merged.
          example: 1234abcd
        discussion_locked:
          type: boolean
          description: If `true`, discussions are locked. Only project members can
            add, edit or resolve comments in locked discussions.
        should_remove_source_branch:
          type: boolean
          description: If `true`, the source branch is deleted after merge.
        force_remove_source_branch:
          type: boolean
          description: If `true`, the source branch is forced to be deleted after
            merge.
        prepared_at:
          type: string
          description: Timestamp of when the merge request was prepared. Set one time,
            after the diff is created, pipeline creation and the mergeability check
            are started, Git LFS objects are linked, and notifications are sent. Not
            updated when more changes are added.
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        allow_collaboration:
          type: boolean
          description: If `true`, the fork allows commits from members who can merge
            to the target branch. Returned only for merge requests from forks.
        allow_maintainer_to_push:
          type: boolean
          description: Returned only for merge requests from forks. Deprecated. Use
            `allow_collaboration` instead.
        reference:
          type: string
          description: Internal reference of the merge request, in short format. Deprecated.
            Use `references` instead.
          example: "!1"
        references:
          description: 'Internal references of the merge request: `short`, `relative`
            and `full`. When fetched from the project of the merge request, `relative`
            matches `short`. When fetched from a project or group in another namespace,
            `relative` matches `full`.'
          "$ref": "#/components/schemas/APIEntitiesIssuableReferences"
        web_url:
          type: string
          description: Web URL of the merge request.
          example: https://gitlab.example.com/my-group/my-project/-/merge_requests/1
        time_stats:
          description: 'Time tracking statistics of the merge request: `time_estimate`,
            `total_time_spent`, `human_time_estimate` and `human_total_time_spent`.'
          "$ref": "#/components/schemas/APIEntitiesIssuableTimeStats"
        squash:
          type: boolean
          description: If `true`, squash commits when merging. Project squash settings
            can override this value. Use `squash_on_merge` to take them into account.
        squash_on_merge:
          type: boolean
          description: If `true`, commits are squashed on merge.
        task_completion_status:
          description: 'Completion status of the task list: `count` and `completed_count`.'
          "$ref": "#/components/schemas/APIEntitiesTaskCompletionStatus"
        has_conflicts:
          type: boolean
          description: If `true`, the merge request has conflicts and cannot merge.
            `false` unless `merge_status` is `cannot_be_merged`.
        blocking_discussions_resolved:
          type: boolean
          description: If `true`, no unresolved threads block the merge. Always `true`
            if the project does not require all threads to be resolved before merge.
        approvals_before_merge:
          type: integer
          description: Number of approvals required before the merge request can merge.
            Deprecated. To configure approval rules, use the merge request approvals
            API instead. Premium and Ultimate only.
          example: 2
        subscribed:
          type: boolean
          description: If `true`, the current user is subscribed to the merge request.
        changes_count:
          type: string
          description: Number of changed files in the merge request, as a string.
            Empty when the merge request is created, and populates asynchronously.
            When the diff exceeds the file limit, the value is the limit followed
            by `+`, like `"1000+"`.
          example: '1'
        latest_build_started_at:
          type: string
          description: Timestamp of when the latest build for the merge request started.
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        latest_build_finished_at:
          type: string
          description: Timestamp of when the latest build for the merge request finished.
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        first_deployed_to_production_at:
          type: string
          description: Timestamp of when the first deployment to production finished.
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        pipeline:
          description: Pipeline running on the branch HEAD of the merge request. Use
            `head_pipeline` instead, because it contains more information.
          "$ref": "#/components/schemas/APIEntitiesCiPipelineBasic"
        head_pipeline:
          description: Pipeline that runs on the HEAD commit of the source branch.
            Use instead of `pipeline`, because it contains more information. Returned
            only if the current user can view pipelines for the project.
          "$ref": "#/components/schemas/APIEntitiesCiPipeline"
        diff_refs:
          description: Base, head, and start SHAs of the latest diff version of the
            merge request. Empty when the merge request is created, and populates
            asynchronously.
          "$ref": "#/components/schemas/APIEntitiesDiffRefs"
        merge_error:
          type: string
          description: Error message shown when a merge fails. To check mergeability,
            use `detailed_merge_status` instead.
          example: Merge error
        rebase_in_progress:
          type: boolean
          description: If `true`, a rebase operation is in progress on the source
            branch. Returned only if `include_rebase_in_progress` is `true`.
        diverged_commits_count:
          type: integer
          description: Number of commits the source branch is behind the target branch.
            Returned only if `include_diverged_commits_count` is `true`.
          example: 0
        first_contribution:
          type: boolean
          description: If `true`, the merge request is the author's first contribution
            to the project.
        user:
          type: object
          properties:
            can_merge:
              type: boolean
              description: If `true`, the current user can merge the merge request.
          description: Permissions of the current user for the merge request.
    APIEntitiesMergeRequestsStatusCheckResponseExternalStatusCheck:
      type: object
      properties:
        id:
          type: integer
          example: 1
        name:
          type: string
          example: QA
        external_url:
          type: string
          example: https://www.example.com
    APIEntitiesMergeRequestsStatusCheckResponse:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        merge_request:
          "$ref": "#/components/schemas/APIEntitiesMergeRequest"
        external_status_check:
          "$ref": "#/components/schemas/APIEntitiesMergeRequestsStatusCheckResponseExternalStatusCheck"
    APIEntitiesMergeRequestsStatusCheck:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        name:
          type: string
          example: QA
        external_url:
          type: string
          example: https://www.example.com
        status:
          type: string
          example: passed
    APIEntitiesGroupApprovalRule:
      type: object
      properties:
        id:
          type: integer
          description: ID of the approval rule.
          format: int64
          example: 1
        name:
          type: string
          description: Name of the approval rule.
          example: QA
        rule_type:
          type: string
          description: 'Type of the approval rule. Possible values: `any_approver`,
            `code_owner`, `regular`, or `report_approver`.'
          example: regular
        eligible_approvers:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        approvals_required:
          type: integer
          example: 2
        users:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        groups:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesGroup"
        contains_hidden_groups:
          type: boolean
        report_type:
          type: string
        protected_branches:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesProtectedBranch"
        applies_to_all_protected_branches:
          type: boolean
    APIEntitiesProjectApprovalRule:
      type: object
      properties:
        id:
          type: integer
          description: ID of the approval rule.
          format: int64
          example: 1
        name:
          type: string
          description: Name of the approval rule.
          example: QA
        rule_type:
          type: string
          description: 'Type of the approval rule. Possible values: `any_approver`,
            `code_owner`, `regular`, or `report_approver`.'
          example: regular
        eligible_approvers:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        approvals_required:
          type: integer
          example: 2
        users:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        groups:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesGroup"
        contains_hidden_groups:
          type: boolean
        report_type:
          type: string
        protected_branches:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesProtectedBranch"
        applies_to_all_protected_branches:
          type: boolean
        coverage_minimum_threshold:
          type: number
          example: 80.0
    APIEntitiesClustersAgentUrlConfiguration:
      type: object
      properties:
        id:
          type: integer
          description: ID of the URL configuration.
          format: int64
          example: 1
        agent_id:
          type: integer
          description: ID of the agent the URL configuration belongs to.
          format: int64
          example: 1
        url:
          type: string
          description: Agent URL for this URL configuration.
        public_key:
          type: string
          description: Base64-encoded public key, if JWT authentication is used.
        client_cert:
          type: string
          description: Client certificate in PEM format, if mTLS authentication is
            used.
        ca_cert:
          type: string
          description: CA certificate in PEM format to verify the agent endpoint.
        tls_host:
          type: string
          description: TLS host name to verify the server name in the agent endpoint.
    APIEntitiesCiRunnerControllerToken:
      type: object
      properties:
        id:
          type: integer
          description: ID of the runner controller token.
          format: int64
          example: 1
        runner_controller_id:
          type: integer
          description: ID of the associated runner controller.
          format: int64
          example: 1
        description:
          type: string
          description: Description of the token.
          example: Controller for managing runner
        last_used_at:
          type: string
          description: Date and time when the token was last used.
          format: date-time
        created_at:
          type: string
          description: Date and time when the token was created.
          format: date-time
        updated_at:
          type: string
          description: Date and time when the token was last updated.
          format: date-time
    APIEntitiesCiRunnerControllerTokenWithToken:
      type: object
      properties:
        id:
          type: integer
          description: ID of the runner controller token.
          format: int64
          example: 1
        runner_controller_id:
          type: integer
          description: ID of the associated runner controller.
          format: int64
          example: 1
        description:
          type: string
          description: Description of the token.
          example: Controller for managing runner
        last_used_at:
          type: string
          description: Date and time when the token was last used.
          format: date-time
        created_at:
          type: string
          description: Date and time when the token was created.
          format: date-time
        updated_at:
          type: string
          description: Date and time when the token was last updated.
          format: date-time
        token:
          type: string
          description: Token value used for authentication.
    APIEntitiesCiRunnerControllerInstanceLevelScoping:
      type: object
      properties:
        created_at:
          type: string
          description: Date and time when the scope was created.
          format: date-time
        updated_at:
          type: string
          description: Date and time when the scope was last updated.
          format: date-time
    APIEntitiesCiRunnerControllerRunnerLevelScoping:
      type: object
      properties:
        runner_id:
          type: integer
          description: ID of the runner.
          format: int64
        created_at:
          type: string
          description: Date and time when the scope was created.
          format: date-time
        updated_at:
          type: string
          description: Date and time when the scope was last updated.
          format: date-time
    APIEntitiesCiRunnerController:
      type: object
      properties:
        id:
          type: integer
          description: ID of the runner controller.
          format: int64
          example: 1
        description:
          type: string
          description: Description of the runner controller.
          example: Controller for managing runner
        state:
          type: string
          description: 'State of the runner controller. Possible values: `disabled`
            (default), `enabled`, or `dry_run`.'
          example: enabled
        created_at:
          type: string
          description: Date and time when the runner controller was created.
          format: date-time
        updated_at:
          type: string
          description: Date and time when the runner controller was last updated.
          format: date-time
    APIEntitiesCiRunnerControllerDetail:
      type: object
      properties:
        id:
          type: integer
          description: ID of the runner controller.
          format: int64
          example: 1
        description:
          type: string
          description: Description of the runner controller.
          example: Controller for managing runner
        state:
          type: string
          description: 'State of the runner controller. Possible values: `disabled`
            (default), `enabled`, or `dry_run`.'
          example: enabled
        created_at:
          type: string
          description: Date and time when the runner controller was created.
          format: date-time
        updated_at:
          type: string
          description: Date and time when the runner controller was last updated.
          format: date-time
        connected:
          type: boolean
          description: If `true`, the runner controller is connected. A runner controller
            is connected when it has used at least one of its active tokens within
            the last hour.
          example: true
    APIEntitiesAuditEvent:
      type: object
      properties:
        id:
          type: integer
          format: int64
        author_id:
          type: integer
          format: int64
        entity_id:
          type: integer
          format: int64
        entity_type:
          type: string
        event_name:
          type: string
        details:
          type: object
        created_at:
          type: string
          format: date-time
    APIEntitiesAiSuggestedReviewer:
      type: object
      properties:
        user:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        reason:
          type: string
          example: Authored most of the changed files.
        approval_rule:
          type: object
        created_at:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
    APIEntitiesAdminModel:
      type: object
      properties:
        record_identifier:
          oneOf:
          - type: string
          - type: integer
          example: abc123
        model_class:
          type: string
          example: Project
        created_at:
          type: string
          format: date-time
          example: '2025-01-31T15:10:45.080Z'
        file_size:
          type: integer
          example: 123
        checksum_information:
          type: object
          properties:
            checksum:
              type: string
            last_checksum:
              type: string
              format: date-time
            checksum_state:
              type: string
            checksum_retry_count:
              type: integer
            checksum_retry_at:
              type: string
              format: date-time
            checksum_failure:
              type: string
    APIEntitiesAdminSecurityPolicySetting:
      type: object
      properties:
        csp_namespace_id:
          type: integer
          format: int64
          example: 1
    APIEntitiesAnalyticsKnowledgeGraphEnabledNamespace:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1234
        root_namespace_id:
          type: integer
          format: int64
          example: 5678
        created_at:
          type: string
          format: date-time
          example: '2025-01-01T00:00:00Z'
    APIEntitiesSearchMigration:
      type: object
      properties:
        version:
          type: integer
          example: 20230427555555
        name:
          type: string
          example: BackfillHiddenOnMergeRequests
        started_at:
          type: string
          format: date-time
          example: '2023-05-14T12:30:50.355Z'
        completed_at:
          type: string
          format: date-time
          example: '2023-05-16T12:30:50.355Z'
        completed:
          type: boolean
          example: true
        obsolete:
          type: boolean
          example: false
        migration_state:
          type: object
          example:
            task_id: task_id
    APIEntitiesSearchZoektProjectIndexSuccess:
      type: object
      properties:
        job_id:
          type: string
    APIEntitiesSearchZoektIndexedNamespace:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1234
        zoekt_shard_id:
          type: integer
          format: int64
          example: 1234
        zoekt_node_id:
          type: integer
          format: int64
          example: 1234
        namespace_id:
          type: integer
          format: int64
          example: 1234
        number_of_replicas_override:
          type: integer
          example: 2
    APIEntitiesSearchZoektNode:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1234
        index_base_url:
          type: string
          example: http://127.0.0.1:6060/
        search_base_url:
          type: string
          example: http://127.0.0.1:6070/
    APIEntitiesAiActiveContextConnection:
      type: object
      properties:
        id:
          type: integer
          example: 1234
        name:
          type: string
          example: elastic
        adapter_class:
          type: string
          example: ActiveContext::Databases::Elasticsearch::Adapter
        prefix:
          type: string
          example: gitlab
        active:
          type: boolean
          example: true
        created_at:
          type: string
          example: '2023-01-01T00:00:00.000Z'
        updated_at:
          type: string
          example: '2023-01-01T00:00:00.000Z'
    APIEntitiesAiActiveContextCollection:
      type: object
      properties:
        id:
          type: integer
          example: 1
        name:
          type: string
          example: gitlab_active_context_code
        connection_id:
          type: integer
          example: 1234
        options:
          type: object
          example:
            queue_shard_count: 24
            queue_shard_limit: 1000
        created_at:
          type: string
          example: '2023-01-01T00:00:00.000Z'
        updated_at:
          type: string
          example: '2023-01-01T00:00:00.000Z'
    APIEntitiesAiActiveContextCodeEnabledNamespace:
      type: object
      properties:
        id:
          type: integer
          example: 1
        namespace_id:
          type: integer
          example: 9970
        connection_id:
          type: integer
          example: 1234
        state:
          type: string
          example: pending
        created_at:
          type: string
          example: '2023-01-01T00:00:00.000Z'
        updated_at:
          type: string
          example: '2023-01-01T00:00:00.000Z'
    APIEntitiesLicenseBasic:
      type: object
      properties:
        key:
          type: string
          example: gpl-3.0
        name:
          type: string
          example: GNU General Public License v3.0
        nickname:
          type: string
          example: GNU GPLv3
        html_url:
          type: string
          example: http://choosealicense.com/licenses/gpl-3.0
        source_url:
          type: string
    APIEntitiesBasicProjectDetails:
      type: object
      properties:
        id:
          type: integer
          description: ID of the project.
          format: int64
          example: 1
        description:
          type: string
          description: Description of the project.
          example: desc
        name:
          type: string
          description: Name of the project.
          example: project1
        name_with_namespace:
          type: string
          description: Name of the project with its namespace.
          example: John Doe / project1
        path:
          type: string
          description: Path of the project.
          example: project1
        path_with_namespace:
          type: string
          description: Path of the project with its namespace.
          example: namespace1/project1
        created_at:
          type: string
          description: Date and time when the project was created.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
        default_branch:
          type: string
          description: Default branch of the project.
          example: main
        tag_list:
          type: array
          description: Deprecated. Use `topics` instead. List of tags for the project.
          example:
          - tag
          items:
            type: string
        topics:
          type: array
          description: List of topics for the project.
          example:
          - topic
          items:
            type: string
        ssh_url_to_repo:
          type: string
          description: SSH URL to clone the repository.
          example: git@gitlab.example.com:gitlab/gitlab.git
        http_url_to_repo:
          type: string
          description: HTTP URL to clone the repository.
          example: https://gitlab.example.com/gitlab/gitlab.git
        web_url:
          type: string
          description: URL to access the project in a browser.
          example: https://gitlab.example.com/gitlab/gitlab
        readme_url:
          type: string
          description: URL to the project's README file. Returned only if the user
            can read the repository.
          example: https://gitlab.example.com/gitlab/gitlab/blob/master/README.md
        forks_count:
          type: integer
          description: Number of forks of the project. Returned only if the user can
            read the repository.
          example: 1
        license_url:
          type: string
          description: URL to the project's license file. Returned only when getting
            a single project with `license=true`.
          example: https://gitlab.example.com/gitlab/gitlab/blob/master/LICENCE
        license:
          "$ref": "#/components/schemas/APIEntitiesLicenseBasic"
        avatar_url:
          type: string
          description: URL to the project's avatar image.
          example: http://example.com/uploads/project/avatar/3/uploads/avatar.png
        star_count:
          type: integer
          description: Number of stars the project has received.
          example: 1
        last_activity_at:
          type: string
          description: Timestamp of the last activity in the project. Updates at most
            once per hour, so it can be up to one hour out of date.
          format: date-time
          example: '2013-09-30T13:46:02Z'
        visibility:
          type: string
          description: 'Visibility level of the project. Possible values: `private`,
            `internal`, or `public`.'
          example: public
        namespace:
          description: Namespace information for the project.
          "$ref": "#/components/schemas/APIEntitiesNamespaceBasic"
        custom_attributes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        repository_storage:
          type: string
          description: Storage location for the project's repository. Returned only
            for administrators.
          example: default
    APIEntitiesUserSafe:
      type: object
      properties:
        id:
          type: integer
          description: ID of the user.
          format: int64
          example: 1
        username:
          type: string
          description: Username of the user.
          example: admin
        public_email:
          type: string
          description: Public email address of the user.
          example: john@example.com
        name:
          type: string
          description: Name of the user. For a bot user, `****` if the current user
            cannot read the bot's project or group.
          example: Administrator
    APIEntitiesWorkItemsStatus:
      type: object
      properties:
        id:
          type: integer
          description: ID of the status. Default and custom statuses are numbered
            separately.
          example: 1
        name:
          type: string
          description: Name of the status.
          example: To do
        icon_name:
          type: string
          description: Name of the icon for the status, set by its category.
          enum:
          - status-neutral
          - status-waiting
          - status-running
          - status-success
          - status-cancelled
          example: status-waiting
        color:
          type: string
          description: Color of the status as a hex code.
          example: "#737278"
        position:
          type: integer
          description: Position of the status in its category. Always 0 for custom
            statuses.
          example: 0
        description:
          type: string
          description: Description of the status. Always null for default statuses.
        category:
          type: string
          description: Category of the status. Open categories are `triage`, `to_do`,
            and `in_progress`. Closed categories are `done` and `canceled`.
          enum:
          - triage
          - to_do
          - in_progress
          - done
          - canceled
          example: to_do
    APIEntitiesList:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        label:
          "$ref": "#/components/schemas/APIEntitiesLabelBasic"
        position:
          type: integer
          example: 1
        milestone:
          "$ref": "#/components/schemas/APIEntitiesMilestone"
        iteration:
          "$ref": "#/components/schemas/APIEntitiesIteration"
        assignee:
          "$ref": "#/components/schemas/APIEntitiesUserSafe"
        status:
          "$ref": "#/components/schemas/APIEntitiesWorkItemsStatus"
        max_issue_count:
          type: integer
          example: 0
        max_issue_weight:
          type: integer
          example: 0
        limit_metric:
          type: string
          example: issue_count
    APIEntitiesBoard:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        name:
          type: string
          example: Development
        hide_backlog_list:
          type: boolean
          example: false
        hide_closed_list:
          type: boolean
          example: false
        project:
          "$ref": "#/components/schemas/APIEntitiesBasicProjectDetails"
        lists:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesList"
        group:
          "$ref": "#/components/schemas/APIEntitiesBasicGroupDetails"
        milestone:
          type: object
        assignee:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        labels:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesLabelBasic"
        weight:
          type: integer
          example: 0
    APIEntitiesMlMlflowKeyValue:
      type: object
      properties:
        key:
          type: string
        value:
          type: string
    APIEntitiesMlMlflowModelVersion:
      type: object
      properties:
        name:
          type: string
        version:
          type: string
        creation_timestamp:
          type: integer
        last_updated_timestamp:
          type: integer
        user_id:
          type: string
        current_stage:
          type: string
          example: development
        description:
          type: string
        source:
          type: string
        run_id:
          type: string
        status:
          type: string
          example: READY
        status_message:
          type: string
        tags:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesMlMlflowKeyValue"
        run_link:
          type: string
        aliases:
          type: array
          items:
            type: string
    APIEntitiesMlMlflowRegisteredModel:
      type: object
      properties:
        name:
          type: string
        creation_timestamp:
          type: integer
        last_updated_timestamp:
          type: integer
        description:
          type: string
        user_id:
          type: string
        tags:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesMlMlflowKeyValue"
        latest_versions:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesMlMlflowModelVersion"
    APIEntitiesMlMlflowListRegisteredModels:
      type: object
      properties:
        registered_models:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesMlMlflowRegisteredModel"
        next_page_token:
          type: string
    APIEntitiesMlMlflowRunInfo:
      type: object
      properties:
        run_id:
          type: string
        run_uuid:
          type: string
        experiment_id:
          type: string
        start_time:
          type: integer
          description: Unix timestamp in milliseconds
        end_time:
          type: integer
          description: Unix timestamp in milliseconds
        run_name:
          type: string
        status:
          type: string
          example: FINISHED
        artifact_uri:
          type: string
        lifecycle_stage:
          type: string
          example: active
        user_id:
          type: string
    APIEntitiesMlMlflowMetric:
      type: object
      properties:
        key:
          type: string
        value:
          type: number
        timestamp:
          type: integer
          description: Unix timestamp in milliseconds
        step:
          type: integer
    APIEntitiesMlMlflowRun:
      type: object
      properties:
        info:
          "$ref": "#/components/schemas/APIEntitiesMlMlflowRunInfo"
        data:
          type: object
          properties:
            metrics:
              type: array
              items:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowMetric"
            params:
              type: array
              items:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowKeyValue"
            tags:
              type: array
              items:
                "$ref": "#/components/schemas/APIEntitiesMlMlflowKeyValue"
    APIEntitiesMlMlflowUpdateRun:
      type: object
      properties:
        run_info:
          "$ref": "#/components/schemas/APIEntitiesMlMlflowRunInfo"
    APIEntitiesMlMlflowGetDownload:
      type: object
      properties:
        artifact_uri:
          type: string
          description: Download URI for MLflow artifact
    APIEntitiesMlMlflowGetMetricHistory:
      type: object
      properties:
        metrics:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesMlMlflowMetric"
        next_page_token:
          type: string
    APIEntitiesMlMlflowExperiment:
      type: object
      properties:
        experiment_id:
          type: string
          example: '1'
        name:
          type: string
          example: my_experiment
        lifecycle_stage:
          type: string
          example: active
        artifact_location:
          type: string
        tags:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesMlMlflowKeyValue"
    APIEntitiesMlMlflowGetExperiment:
      type: object
      properties:
        experiment:
          "$ref": "#/components/schemas/APIEntitiesMlMlflowExperiment"
    APIEntitiesMlMlflowListExperiment:
      type: object
      properties:
        experiments:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesMlMlflowExperiment"
        next_page_token:
          type: string
          description: Returned when the response is paginated
    APIEntitiesMlMlflowNewExperiment:
      type: object
      properties:
        experiment_id:
          type: string
          example: '1'
    APIVsCodeSettingsEntitiesVsCodeManifest:
      type: object
      properties:
        latest:
          type: string
        session:
          type: string
          example: '1'
    APIVsCodeSettingsEntitiesVsCodeSetting:
      type: object
      properties:
        content:
          type: string
        machines:
          type: string
        version:
          type: string
        machineId:
          type: string
    APIVsCodeSettingsEntitiesVsCodeSettingReference:
      type: object
      properties:
        url:
          type: string
        created:
          type: string
    APIEntitiesUserSupportPin:
      type: object
      properties:
        pin:
          type: string
          description: The security PIN
        expires_at:
          type: string
          description: The expiration time of the PIN
          format: date-time
    APIEntitiesUserProfile:
      type: object
      properties:
        id:
          type: integer
          description: ID of the user.
          format: int64
          example: 1
        username:
          type: string
          description: Username of the user.
          example: admin
        public_email:
          type: string
          description: Public email address of the user.
          example: john@example.com
        name:
          type: string
          description: Name of the user. For a bot user, `****` if the current user
            cannot read the bot's project or group.
          example: Administrator
        state:
          type: string
          description: 'State of the user account. Possible values: `active`, `blocked`,
            `ldap_blocked`, `blocked_pending_approval`, `banned`, or `deactivated`.'
          example: active
        locked:
          type: boolean
          description: If `true`, the user account is locked, and the user cannot
            sign in until the lock expires or an administrator unlocks the account.
        avatar_url:
          type: string
          description: URL of the user's avatar.
          example: https://gravatar.com/avatar/1
        avatar_path:
          type: string
          example: "/user/avatar/28/The-Big-Lebowski-400-400.png"
        custom_attributes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        web_url:
          type: string
          description: URL of the user's profile.
          example: https://gitlab.example.com/root
        created_at:
          type: string
          description: Creation date and time of the user account in ISO 8601 format.
          format: date-time
        bio:
          type: string
          description: Biography of the user.
        location:
          type: string
          description: Location of the user.
        linkedin:
          type: string
          description: LinkedIn username of the user.
        twitter:
          type: string
          description: Twitter username of the user.
        discord:
          type: string
          description: Discord user ID of the user.
        website_url:
          type: string
          description: Website of the user.
        github:
          type: string
          description: GitHub username of the user.
        job_title:
          type: string
          description: Job title of the user.
        pronouns:
          type: string
          description: Pronouns of the user.
        organization:
          type: string
          description: Organization of the user.
        bot:
          type: boolean
        work_information:
          type: string
        followers:
          type: string
        following:
          type: string
        is_followed:
          type: string
        local_time:
          type: string
        bio_html:
          type: string
          example: My <em>bio</em>.
    APIEntitiesUserStatus:
      type: object
      properties:
        emoji:
          type: string
          example: coffee
        message:
          type: string
          example: I crave coffee
        availability:
          type: string
          example: busy
        message_html:
          type: string
          example: <p dir="auto">I crave coffee</p>
        clear_status_at:
          type: string
          format: date-time
          example: '2026-10-28T10:00:00.000Z'
    APIEntitiesUser:
      type: object
      properties:
        id:
          type: integer
          description: ID of the user.
          format: int64
          example: 1
        username:
          type: string
          description: Username of the user.
          example: admin
        public_email:
          type: string
          description: Public email address of the user.
          example: john@example.com
        name:
          type: string
          description: Name of the user. For a bot user, `****` if the current user
            cannot read the bot's project or group.
          example: Administrator
        state:
          type: string
          description: 'State of the user account. Possible values: `active`, `blocked`,
            `ldap_blocked`, `blocked_pending_approval`, `banned`, or `deactivated`.'
          example: active
        locked:
          type: boolean
          description: If `true`, the user account is locked, and the user cannot
            sign in until the lock expires or an administrator unlocks the account.
        avatar_url:
          type: string
          description: URL of the user's avatar.
          example: https://gravatar.com/avatar/1
        avatar_path:
          type: string
          example: "/user/avatar/28/The-Big-Lebowski-400-400.png"
        custom_attributes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        web_url:
          type: string
          description: URL of the user's profile.
          example: https://gitlab.example.com/root
        created_at:
          type: string
          description: Creation date and time of the user account in ISO 8601 format.
          format: date-time
        bio:
          type: string
          description: Biography of the user.
        location:
          type: string
          description: Location of the user.
        linkedin:
          type: string
          description: LinkedIn username of the user.
        twitter:
          type: string
          description: Twitter username of the user.
        discord:
          type: string
          description: Discord user ID of the user.
        website_url:
          type: string
          description: Website of the user.
        github:
          type: string
          description: GitHub username of the user.
        job_title:
          type: string
          description: Job title of the user.
        pronouns:
          type: string
          description: Pronouns of the user.
        organization:
          type: string
          description: Organization of the user.
        bot:
          type: boolean
        work_information:
          type: string
        followers:
          type: string
        following:
          type: string
        is_followed:
          type: string
        local_time:
          type: string
    APIEntitiesUserWithAdmin:
      type: object
      properties:
        id:
          type: integer
          description: ID of the user.
          format: int64
          example: 1
        username:
          type: string
          description: Username of the user.
          example: admin
        public_email:
          type: string
          description: Public email address of the user.
          example: john@example.com
        name:
          type: string
          description: Name of the user. For a bot user, `****` if the current user
            cannot read the bot's project or group.
          example: Administrator
        state:
          type: string
          description: 'State of the user account. Possible values: `active`, `blocked`,
            `ldap_blocked`, `blocked_pending_approval`, `banned`, or `deactivated`.'
          example: active
        locked:
          type: boolean
          description: If `true`, the user account is locked, and the user cannot
            sign in until the lock expires or an administrator unlocks the account.
        avatar_url:
          type: string
          description: URL of the user's avatar.
          example: https://gravatar.com/avatar/1
        avatar_path:
          type: string
          example: "/user/avatar/28/The-Big-Lebowski-400-400.png"
        custom_attributes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        web_url:
          type: string
          description: URL of the user's profile.
          example: https://gitlab.example.com/root
        created_at:
          type: string
          description: Creation date and time of the user account in ISO 8601 format.
          format: date-time
        bio:
          type: string
          description: Biography of the user.
        location:
          type: string
          description: Location of the user.
        linkedin:
          type: string
          description: LinkedIn username of the user.
        twitter:
          type: string
          description: Twitter username of the user.
        discord:
          type: string
          description: Discord user ID of the user.
        website_url:
          type: string
          description: Website of the user.
        github:
          type: string
          description: GitHub username of the user.
        job_title:
          type: string
          description: Job title of the user.
        pronouns:
          type: string
          description: Pronouns of the user.
        organization:
          type: string
          description: Organization of the user.
        bot:
          type: boolean
        work_information:
          type: string
        followers:
          type: string
        following:
          type: string
        is_followed:
          type: string
        local_time:
          type: string
        last_sign_in_at:
          type: string
          description: Last sign-in date and time of the user in ISO 8601 format.
          format: date-time
          example: '2015-09-03T07:24:01.670Z'
        confirmed_at:
          type: string
          description: Confirmation date and time of the user in ISO 8601 format.
          format: date-time
          example: '2015-09-03T07:24:01.670Z'
        last_activity_on:
          type: string
          description: Last activity date of the user.
          format: date-time
          example: '2015-09-03T07:24:01.670Z'
        email:
          type: string
          description: Email address of the user.
          example: john@example.com
        theme_id:
          type: integer
          description: Theme ID of the user.
          example: 2
        color_scheme_id:
          type: integer
          description: Color scheme ID of the user.
          example: 1
        projects_limit:
          type: integer
          description: Project limit of the user.
          example: 10
        current_sign_in_at:
          type: string
          description: Current sign-in date and time of the user in ISO 8601 format.
            Updated when the user signs in to GitLab, at most once an hour.
          format: date-time
          example: '2015-09-03T07:24:01.670Z'
        identities:
          type: array
          description: Identities associated with the user. An identity with the `group_saml`
            provider also has `saml_provider_id`.
          items:
            "$ref": "#/components/schemas/APIEntitiesIdentity"
        can_create_group:
          type: boolean
          description: If `true`, the user can create groups.
          example: true
        can_create_project:
          type: boolean
          description: If `true`, the user can create projects.
          example: true
        two_factor_enabled:
          type: boolean
          description: If `true`, two-factor authentication is enabled for the user.
          example: true
        external:
          type: boolean
          description: If `true`, the user is external.
        private_profile:
          type: boolean
          description: If `true`, the user's profile is private.
          example: false
        commit_email:
          type: string
        preferred_language:
          type: string
          example: en
        shared_runners_minutes_limit:
          type: integer
          description: Shared runners minutes limit of the user.
        extra_shared_runners_minutes_limit:
          type: integer
          description: Extra shared runners minutes limit of the user.
        scim_identities:
          type: array
          description: SCIM identities of the user.
          items:
            "$ref": "#/components/schemas/APIEntitiesScimIdentity"
        is_admin:
          type: string
        note:
          type: string
        namespace_id:
          type: string
        provisioned_by_project_id:
          type: integer
          description: ID of the project that provisioned the user. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/248245)
            in GitLab 19.3.
        created_by:
          description: User who created the account, when an administrator created
            it or it is a project bot user. `null` if the user registered the account
            themselves.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        using_license_seat:
          type: boolean
          description: If `true`, the user uses a seat in the current license.
        is_auditor:
          type: boolean
          description: If `true`, the user is an auditor. Premium and Ultimate only.
        provisioned_by_group_id:
          type: integer
          description: ID of the group that provisioned the user. Premium and Ultimate
            only.
        enterprise_group_id:
          type: string
        enterprise_group_associated_at:
          type: string
    APIEntitiesDeployKey:
      type: object
      properties:
        id:
          type: integer
          description: ID of the key.
          format: int64
          example: 1
        title:
          type: string
          description: Title of the key.
          example: Sample key 25
        created_at:
          type: string
          description: Creation date and time of the key in ISO 8601 format.
          format: date-time
          example: '2015-09-03T07:24:44.627Z'
        expires_at:
          type: string
          description: Expiration date and time of the key in ISO 8601 format.
          format: date-time
          example: '2020-09-03T07:24:44.627Z'
        last_used_at:
          type: string
          description: Last usage date and time of the key in ISO 8601 format.
          format: date-time
          example: '2020-09-03T07:24:44.627Z'
        key:
          type: string
          example: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDNJAkI3Wdf0r13c8a5pEExB2YowPWCSVzfZV22pNBc1CuEbyYLHpUyaD0GwpGvFdx2aP7lMEk35k6Rz3ccBF6jRaVJyhsn5VNnW92PMpBJ/P1UebhXwsFHdQf5rTt082cSxWuk61kGWRQtk4ozt/J2DF/dIUVaLvc+z4HomT41fQ==
        usage_type:
          type: string
          description: 'Usage type of the key: `auth`, `signing`, or `auth_and_signing`.
            Deploy keys always use `auth_and_signing`.'
          example: auth
        fingerprint:
          type: string
          example: 4a:9d:64:15:ed:3a:e6:07:6e:89:36:b3:3b:03:05:d9
        fingerprint_sha256:
          type: string
          example: Jrs3LD1Ji30xNLtTVf9NDCj7kkBgPBb2pjvTZ3HfIgU
        projects_with_write_access:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesProjectIdentity"
        projects_with_readonly_access:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesProjectIdentity"
    APIEntitiesSSHKey:
      type: object
      properties:
        id:
          type: integer
          description: ID of the key.
          format: int64
          example: 1
        title:
          type: string
          description: Title of the key.
          example: Sample key 25
        created_at:
          type: string
          description: Creation date and time of the key in ISO 8601 format.
          format: date-time
          example: '2015-09-03T07:24:44.627Z'
        expires_at:
          type: string
          description: Expiration date and time of the key in ISO 8601 format.
          format: date-time
          example: '2020-09-03T07:24:44.627Z'
        last_used_at:
          type: string
          description: Last usage date and time of the key in ISO 8601 format.
          format: date-time
          example: '2020-09-03T07:24:44.627Z'
        key:
          type: string
          description: Content of the key.
          example: |-
            ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt1256k6Yjz\
                  GGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCdd\
                  NaP0L+hM7zhFNzjFvpaMgJw0=
        usage_type:
          type: string
          description: 'Usage type of the key: `auth`, `signing`, or `auth_and_signing`.
            Deploy keys always use `auth_and_signing`.'
          example: auth
    APIEntitiesGpgKey:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        key:
          type: string
          example: "-----BEGIN PGP PUBLIC KEY BLOCK-----"
        created_at:
          type: string
          format: date-time
          example: '2017-09-05T09:17:46.264Z'
    APIEntitiesEmail:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        email:
          type: string
          example: user@example.com
        confirmed_at:
          type: string
          format: date-time
          example: '2015-12-24T15:51:21.880Z'
    APIEntitiesMembership:
      type: object
      properties:
        source_id:
          type: string
        source_name:
          type: string
        source_type:
          type: string
        access_level:
          type: string
          description: 'Access level of the user. Possible values: `0` (no access),
            `5` (minimal access), `10` (guest), `15` (planner), `20` (reporter), `25`
            (security manager), `30` (developer), `40` (maintainer), and `50` (owner).'
    APIEntitiesUserAssociationsCount:
      type: object
      properties:
        groups_count:
          type: integer
          example: 1
        projects_count:
          type: integer
          example: 1
        issues_count:
          type: integer
          example: 1
        merge_requests_count:
          type: integer
          example: 1
    APIEntitiesImpersonationToken:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 2
        name:
          type: string
          example: John Doe
        revoked:
          type: boolean
        created_at:
          type: string
          format: date-time
        description:
          type: string
          example: Token to manage api
        scopes:
          type: array
          example:
          - api
        user_id:
          type: integer
          format: int64
          example: 3
        last_used_at:
          type: string
          format: date-time
          example: '2020-08-31T15:53:00.073Z'
        last_used_ips:
          type: array
          description: The five most recent unique IP addresses that have authenticated
            with this token. When the limit is reached, the oldest IP address is removed.
            The list updates once per minute per token.
          example:
          - 127.0.0.1
          - 127.0.0.2
          - 127.0.0.3
          items:
            type: string
        granular_scopes:
          type: array
          description: Granular scopes of the token, each with `access`, `permissions`,
            `group_id`, and `project_id`. Returned only for tokens created with granular
            scopes.
          items:
            "$ref": "#/components/schemas/APIEntitiesGranularScope"
        active:
          type: boolean
        granular:
          type: boolean
        expires_at:
          type: string
          format: date-time
          example: '2020-08-31T15:53:00.073Z'
        impersonation:
          type: boolean
          example: true
    APIEntitiesImpersonationTokenWithToken:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 2
        name:
          type: string
          example: John Doe
        revoked:
          type: boolean
        created_at:
          type: string
          format: date-time
        description:
          type: string
          example: Token to manage api
        scopes:
          type: array
          example:
          - api
        user_id:
          type: integer
          format: int64
          example: 3
        last_used_at:
          type: string
          format: date-time
          example: '2020-08-31T15:53:00.073Z'
        last_used_ips:
          type: array
          description: The five most recent unique IP addresses that have authenticated
            with this token. When the limit is reached, the oldest IP address is removed.
            The list updates once per minute per token.
          example:
          - 127.0.0.1
          - 127.0.0.2
          - 127.0.0.3
          items:
            type: string
        granular_scopes:
          type: array
          description: Granular scopes of the token, each with `access`, `permissions`,
            `group_id`, and `project_id`. Returned only for tokens created with granular
            scopes.
          items:
            "$ref": "#/components/schemas/APIEntitiesGranularScope"
        active:
          type: boolean
        granular:
          type: boolean
        expires_at:
          type: string
          format: date-time
          example: '2020-08-31T15:53:00.073Z'
        impersonation:
          type: boolean
          example: true
        token:
          type: string
          example: glpat-<example-token>
    APIEntitiesUserCreditCardValidations:
      type: object
      properties:
        user_id:
          type: integer
          format: int64
          example: 1
        credit_card_validated_at:
          type: string
          format: date-time
          example: '2025-01-01T00:00:00.000Z'
    APIEntitiesUserPreferences:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        user_id:
          type: integer
          format: int64
          example: 1
        view_diffs_file_by_file:
          type: boolean
        show_whitespace_in_diffs:
          type: boolean
        pass_user_identities_to_ci_jwt:
          type: boolean
        policy_advanced_editor:
          type: boolean
        emoji_skin_tone:
          type: integer
          example: 0
        mobile_push_working_hours_enabled:
          type: boolean
          example: true
        mobile_push_working_hours_start:
          type: integer
          example: 540
        mobile_push_working_hours_end:
          type: integer
          example: 1020
        mobile_push_working_days:
          type: array
          example:
          - monday
          - tuesday
          - wednesday
          - thursday
          - friday
          items:
            type: string
        mobile_push_working_hours_time_zone:
          type: string
          example: Europe/Berlin
    APIEntitiesUserActivity:
      type: object
      properties:
        username:
          type: string
          example: johndoe
        last_activity_on:
          type: string
          description: Date of the last activity of the user. Updated by Git HTTP
            or SSH activity such as clone and push, signing in, visiting dashboard,
            project, issue, and merge request pages, and using the REST or GraphQL
            API.
          format: date
          example: '2015-12-24'
        last_activity_at:
          type: string
          description: Deprecated. Use `last_activity_on` instead.
          format: date
          example: '2015-12-24'
    APIEntitiesAvatar:
      type: object
      properties:
        avatar_url:
          type: string
          example: https://example.com/avatar.png
    APIEntitiesApplicationWithSecret:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        application_id:
          type: string
          example: 5832fc6e14300a0d962240a8144466eef4ee93ef0d218477e55f11cf12fc3737
        application_name:
          type: string
          example: MyApplication
        callback_url:
          type: string
          example: https://redirect.uri
        confidential:
          type: boolean
          example: true
        scopes:
          type: array
          example:
          - api
          - read_user
        granular_scopes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesGranularScope"
        secret:
          type: string
          example: ee1dd64b6adc89cf7e2c23099301ccc2c61b441064e9324d963c46902a85ec34
        warnings:
          type: array
          example:
          - Tokens cannot use the MCP server without a user-level scope granting execute_mcp_tool.
          items:
            type: string
    APIEntitiesApplication:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        application_id:
          type: string
          example: 5832fc6e14300a0d962240a8144466eef4ee93ef0d218477e55f11cf12fc3737
        application_name:
          type: string
          example: MyApplication
        callback_url:
          type: string
          example: https://redirect.uri
        confidential:
          type: boolean
          example: true
        scopes:
          type: array
          example:
          - api
          - read_user
        granular_scopes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesGranularScope"
    APIEntitiesTodo:
      type: object
      properties:
        id:
          type: integer
          format: int64
        project:
          "$ref": "#/components/schemas/APIEntitiesProjectIdentity"
        group:
          "$ref": "#/components/schemas/APIEntitiesNamespaceBasic"
        author:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        action_name:
          type: string
          example: assigned
        target_type:
          type: string
          example: Issue
        target:
          type: object
        target_url:
          type: string
          example: http://example.com/foo/bar/-/issues/1
        body:
          type: string
          example: Task description
        state:
          type: string
          example: pending
        created_at:
          type: string
          format: date-time
          example: '2016-06-17T07:52:35.225Z'
        updated_at:
          type: string
          format: date-time
          example: '2016-06-17T07:52:35.225Z'
    APIEntitiesLicense:
      type: object
      properties:
        key:
          type: string
          example: gpl-3.0
        name:
          type: string
          example: GNU General Public License v3.0
        nickname:
          type: string
          example: GNU GPLv3
        html_url:
          type: string
          example: http://choosealicense.com/licenses/gpl-3.0
        source_url:
          type: string
        popular:
          type: boolean
        description:
          type: string
          example: A simple license
        conditions:
          type: array
          example:
          - include-copyright
          items:
            type: string
        permissions:
          type: array
          example:
          - commercial-use
          items:
            type: string
        limitations:
          type: array
          example:
          - liability
          items:
            type: string
        content:
          type: string
          example: GNU GENERAL PUBLIC LICENSE
    APIEntitiesTemplatesList:
      type: object
      properties:
        key:
          type: string
          description: Key of the template.
          example: mit
        name:
          type: string
          description: Name of the template.
          example: MIT License
    APIEntitiesTemplate:
      type: object
      properties:
        name:
          type: string
          description: Name of the template.
          example: Ruby
        content:
          type: string
          description: Content of the template.
          example: "# Ruby gitignore template"
    APIEntitiesIssue:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 84
        iid:
          type: integer
          example: 14
        project_id:
          type: integer
          format: int64
          example: 4
        title:
          type: string
          example: Impedit et ut et dolores vero provident ullam est
        description:
          type: string
          example: Repellendus impedit et vel velit dignissimos.
        state:
          type: string
          example: closed
        created_at:
          type: string
          format: date-time
          example: '2022-08-17T12:46:35.053Z'
        updated_at:
          type: string
          format: date-time
          example: '2022-11-14T17:22:01.470Z'
        closed_at:
          type: string
          format: date-time
          example: '2022-11-15T08:30:55.232Z'
        closed_by:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        labels:
          type: array
          example:
          - bug
          items:
            type: string
        milestone:
          "$ref": "#/components/schemas/APIEntitiesMilestone"
        assignees:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        author:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        type:
          type: string
          description: The type of the issue.
          enum:
          - ISSUE
          - INCIDENT
          - TEST_CASE
          - REQUIREMENT
          - TASK
          - TICKET
          example: ISSUE
        assignee:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        user_notes_count:
          type: integer
        merge_requests_count:
          type: integer
        upvotes:
          type: integer
        downvotes:
          type: integer
        start_date:
          type: string
          format: date
          example: '2022-11-18'
        due_date:
          type: string
          format: date
          example: '2022-11-20'
        confidential:
          type: boolean
        discussion_locked:
          type: boolean
        issue_type:
          type: string
          example: issue
        web_url:
          type: string
          example: http://example.com/example/example/issues/14
        time_stats:
          "$ref": "#/components/schemas/APIEntitiesIssuableTimeStats"
        task_completion_status:
          "$ref": "#/components/schemas/APIEntitiesTaskCompletionStatus"
        weight:
          type: integer
          example: 5
        blocking_issues_count:
          type: integer
          example: 2
        has_tasks:
          type: boolean
          example: true
        task_status:
          type: string
          example: 2 of 4 tasks completed
        _links:
          type: object
          properties:
            self:
              type: string
              example: http://example.com/api/v4/projects/1/issues/2
            notes:
              type: string
              example: http://example.com/api/v4/projects/1/issues/2/notes
            award_emoji:
              type: string
              example: http://example.com/api/v4/projects/1/issues/2/award_emoji
            project:
              type: string
              example: http://example.com/api/v4/projects/1
            closed_as_duplicate_of:
              type: string
              example: http://example.com/api/v4/projects/1/issues/75
        references:
          "$ref": "#/components/schemas/APIEntitiesIssuableReferences"
        severity:
          type: string
          description: The severity of the issue.
          enum:
          - UNKNOWN
          - LOW
          - MEDIUM
          - HIGH
          - CRITICAL
        subscribed:
          type: boolean
          example: false
        moved_to_id:
          type: integer
          format: int64
          example: 1
        imported:
          type: boolean
          example: false
        imported_from:
          type: string
          example: github
        service_desk_reply_to:
          type: string
          example: user@example.com
        epic_iid:
          type: string
        epic:
          "$ref": "#/components/schemas/EpicBaseEntity"
        iteration:
          "$ref": "#/components/schemas/APIEntitiesIteration"
        health_status:
          type: string
    APIEntitiesProjectLabel:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        name:
          type: string
          example: bug
        description:
          type: string
          example: Bug reported by user
        text_color:
          type: string
          example: "#FFFFFF"
        description_html:
          type: string
          example: "<p>Bug reported by user</p>"
        color:
          type: string
          example: "#FF0000"
        archived:
          type: boolean
          example: false
        open_issues_count:
          type: integer
          example: 1
        closed_issues_count:
          type: integer
          example: 0
        open_merge_requests_count:
          type: integer
          example: 1
        subscribed:
          type: boolean
          example: false
        priority:
          type: integer
          example: 10
        is_project_label:
          type: boolean
    APIEntitiesGroupLabel:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        name:
          type: string
          example: bug
        description:
          type: string
          example: Bug reported by user
        text_color:
          type: string
          example: "#FFFFFF"
        description_html:
          type: string
          example: "<p>Bug reported by user</p>"
        color:
          type: string
          example: "#FF0000"
        archived:
          type: boolean
          example: false
        open_issues_count:
          type: integer
          example: 1
        closed_issues_count:
          type: integer
          example: 0
        open_merge_requests_count:
          type: integer
          example: 1
        subscribed:
          type: boolean
          example: false
    APIEntitiesBasicSnippet:
      type: object
      properties:
        id:
          type: integer
          description: ID of the snippet.
          format: int64
          example: 1
        title:
          type: string
          description: Title of the snippet.
          example: test
        description:
          type: string
          description: Description of the snippet.
          example: Ruby test snippet
        visibility:
          type: string
          description: Visibility level of the snippet.
          example: public
        author:
          description: Author of the snippet.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        created_at:
          type: string
          description: Date and time when the snippet was created.
          format: date-time
          example: '2012-06-28T10:52:04Z'
        updated_at:
          type: string
          description: Date and time when the snippet was last updated.
          format: date-time
          example: '2012-06-28T10:52:04Z'
        project_id:
          type: integer
          description: ID of the project the snippet belongs to. `null` for personal
            snippets.
          format: int64
          example: 1
        web_url:
          type: string
          description: URL to the snippet in the GitLab UI.
          example: http://example.com/example/example/snippets/1
        raw_url:
          type: string
          description: URL to the raw snippet content.
          example: http://example.com/example/example/snippets/1/raw
        ssh_url_to_repo:
          type: string
          description: SSH URL to the snippet repository. Returned only if the snippet
            repository exists.
          example: ssh://user@gitlab.example.com/snippets/65.git
        http_url_to_repo:
          type: string
          description: HTTP URL to the snippet repository. Returned only if the snippet
            repository exists.
          example: https://gitlab.example.com/snippets/65.git
    APIEntitiesSnippetsRepositoryStorageMove:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        created_at:
          type: string
          format: date-time
          example: '2020-05-07T04:27:17.234Z'
        state:
          type: string
          example: scheduled
        source_storage_name:
          type: string
          example: default
        destination_storage_name:
          type: string
          example: storage1
        error_message:
          type: string
          example: Failed to move repository
        snippet:
          "$ref": "#/components/schemas/APIEntitiesBasicSnippet"
    APIEntitiesElasticIndexSetting:
      type: object
      properties:
        alias_name:
          type: string
          description: Name of the Elasticsearch index alias.
          example: gitlab-production
        number_of_shards:
          type: integer
          description: Number of shards for the Elasticsearch index.
          example: 5
        number_of_replicas:
          type: integer
          description: Number of replicas for the Elasticsearch index.
          example: 1
    APIEntitiesApplicationSetting:
      type: object
      properties:
        id:
          type: string
        performance_bar_allowed_group_id:
          type: string
        abuse_notification_email:
          type: string
        admin_mode:
          type: string
        after_sign_out_path:
          type: string
        after_sign_up_text:
          type: string
        akismet_api_key:
          type: string
        akismet_enabled:
          type: string
        allow_local_requests_from_web_hooks_and_services:
          type: string
        allow_local_requests_from_system_hooks:
          type: string
        allow_possible_spam:
          type: string
        dns_rebinding_protection_enabled:
          type: string
        archive_builds_in_human_readable:
          type: string
        asset_proxy_enabled:
          type: string
        asset_proxy_url:
          type: string
        asset_proxy_allowlist:
          type: array
          items:
            type: string
        static_objects_external_storage_auth_token:
          type: string
        static_objects_external_storage_url:
          type: string
        authn_data_retention_cleanup_enabled:
          type: string
        authorized_keys_enabled:
          type: string
        auto_devops_enabled:
          type: string
        auto_devops_domain:
          type: string
        autocomplete_users_limit:
          type: string
        autocomplete_users_unauthenticated_limit:
          type: string
        allow_bypass_placeholder_confirmation:
          type: string
        ci_delete_pipelines_in_seconds_limit_human_readable:
          type: string
        ci_job_live_trace_enabled:
          type: string
        ci_job_trace_update_interval:
          type: integer
        ci_job_trace_update_interval_when_being_watched:
          type: integer
        ci_lint_api_require_authentication:
          type: string
        ci_partitions_in_seconds_limit_human_readable:
          type: string
        code_dropdown_custom_clients:
          type: array
          items:
            type: object
        concurrent_github_import_jobs_limit:
          type: string
        concurrent_bitbucket_import_jobs_limit:
          type: string
        concurrent_bitbucket_server_import_jobs_limit:
          type: string
        concurrent_pull_request_import_jobs_limit:
          type: string
        import_jobs_concurrency_limit:
          type: string
        container_expiration_policies_enable_historic_entries:
          type: string
        container_registry_expiration_policies_caching:
          type: string
        container_registry_token_expire_delay:
          type: string
        oauth_access_token_expires_in:
          type: string
        decompress_archive_file_timeout:
          type: string
        default_artifacts_expire_in:
          type: string
        default_branch_name:
          type: string
        default_branch_protection:
          type: string
        default_branch_protection_defaults:
          type: object
        default_ci_config_path:
          type: string
        default_group_visibility:
          type: string
        default_preferred_language:
          type: string
        default_project_creation:
          type: string
        default_project_visibility:
          type: string
        default_projects_limit:
          type: string
        default_remove_source_branch_after_merge:
          type: string
        default_snippet_visibility:
          type: string
        default_syntax_highlighting_theme:
          type: string
        default_dark_syntax_highlighting_theme:
          type: string
        delete_inactive_projects:
          type: string
        deletion_adjourned_period:
          type: string
        deny_all_requests_except_allowed:
          type: string
        dependency_management_settings:
          type: object
        disable_admin_oauth_scopes:
          type: string
        disable_feed_token:
          type: string
        disable_password_authentication_for_users_with_sso_identities:
          type: string
        block_jwt_for_reclaimed_paths:
          type: string
        root_moved_permanently_redirection:
          type: string
        disabled_oauth_sign_in_sources:
          type: array
          items:
            type: string
        domain_denylist:
          type: array
          items:
            type: string
        domain_denylist_enabled:
          type: string
        domain_denylist_raw:
          type: string
        domain_allowlist:
          type: array
          items:
            type: string
        domain_allowlist_raw:
          type: string
        outbound_local_requests_allowlist_raw:
          type: string
        outbound_local_requests_whitelist:
          type: array
          items:
            type: string
        dsa_key_restriction:
          type: string
        ecdsa_key_restriction:
          type: string
        ecdsa_sk_key_restriction:
          type: string
        ed25519_key_restriction:
          type: string
        ed25519_sk_key_restriction:
          type: string
        eks_integration_enabled:
          type: string
        eks_account_id:
          type: string
        eks_access_key_id:
          type: string
        email_author_in_body:
          type: string
        email_confirmation_setting:
          type: string
        email_otp_enabled:
          type: string
        enabled_git_access_protocol:
          type: string
        enforce_ci_inbound_job_token_scope_enabled:
          type: string
        enforce_email_subaddress_restrictions:
          type: string
        require_email_verification_on_account_locked:
          type: string
        enforce_terms:
          type: string
        error_tracking_enabled:
          type: string
        error_tracking_api_url:
          type: string
        external_pipeline_validation_service_timeout:
          type: string
        external_pipeline_validation_service_token:
          type: string
        external_pipeline_validation_service_url:
          type: string
        failed_login_attempts_unlock_period_in_minutes:
          type: string
        first_day_of_week:
          type: string
        floc_enabled:
          type: string
        force_pages_access_control:
          type: string
        gitaly_timeout_default:
          type: string
        gitaly_timeout_medium:
          type: string
        gitaly_timeout_fast:
          type: string
        gitpod_enabled:
          type: string
        gitpod_url:
          type: string
        grafana_enabled:
          type: string
        grafana_url:
          type: string
        gravatar_enabled:
          type: string
        hashed_storage_enabled:
          type: string
        help_page_hide_commercial_content:
          type: string
        help_page_support_url:
          type: string
        help_page_documentation_base_url:
          type: string
        help_page_text:
          type: string
        hide_third_party_offers:
          type: string
        home_page_url:
          type: string
        housekeeping_enabled:
          type: string
        housekeeping_full_repack_period:
          type: string
        housekeeping_gc_period:
          type: string
        housekeeping_incremental_repack_period:
          type: string
        housekeeping_optimize_repository_period:
          type: string
        html_emails_enabled:
          type: string
        iframe_rendering_enabled:
          type: string
        iframe_rendering_allowlist:
          type: array
          items:
            type: string
        iframe_rendering_allowlist_raw:
          type: string
        import_sources:
          type: array
          items:
            type: string
        inactive_resource_access_tokens_delete_after_days:
          type: string
        inactive_projects_delete_after_months:
          type: string
        inactive_projects_min_size_mb:
          type: string
        inactive_projects_send_warning_email_after_months:
          type: string
        include_optional_metrics_in_service_ping:
          type: string
        invisible_captcha_enabled:
          type: string
        jira_connect_application_key:
          type: string
        jira_connect_public_key_storage_enabled:
          type: string
        jira_connect_proxy_url:
          type: string
        jira_connect_additional_audience_url:
          type: string
        jira_connect_domain_allowlist:
          type: array
          items:
            type: string
        jira_connect_domain_allowlist_raw:
          type: string
        jira_forge_app_id:
          type: string
        math_rendering_limits_enabled:
          type: string
        require_sha_for_merge:
          type: string
        lock_require_sha_for_merge:
          type: string
        max_artifacts_content_include_size:
          type: string
        max_artifacts_size:
          type: string
        max_attachment_size:
          type: string
        max_decompressed_archive_size:
          type: string
        max_export_size:
          type: string
        max_github_response_size_limit:
          type: string
        max_github_response_json_value_count:
          type: string
        max_http_decompressed_size:
          type: string
        max_http_response_size_limit:
          type: string
        max_http_response_json_depth:
          type: string
        max_http_response_json_structural_chars:
          type: string
        max_http_response_xml_structural_chars:
          type: string
        max_http_response_csv_structural_chars:
          type: string
        max_import_size:
          type: string
        max_import_remote_file_size:
          type: string
        max_login_attempts:
          type: string
        max_pages_size:
          type: string
        max_pages_custom_domains_per_project:
          type: string
        max_terraform_state_size_bytes:
          type: string
        max_yaml_size_bytes:
          type: string
        max_yaml_depth:
          type: string
        metrics_method_call_threshold:
          type: string
        minimum_password_length:
          type: string
        mirror_available:
          type: string
        ml_experiment_tracking_run_retention_days:
          type: string
        notify_on_unknown_sign_in:
          type: string
        o11y_provisioner_url:
          type: string
        organization_cluster_agent_authorization_enabled:
          type: string
        pages_domain_verification_enabled:
          type: string
        pages_unique_domain_default_enabled:
          type: string
        password_authentication_enabled_for_web:
          type: string
        password_authentication_enabled_for_git:
          type: string
        personal_access_token_prefix:
          type: string
        instance_token_prefix:
          type: string
        kroki_enabled:
          type: string
        kroki_url:
          type: string
        kroki_formats:
          type: object
        kroki_diagram_proxy_enabled:
          type: string
        plantuml_enabled:
          type: string
        plantuml_url:
          type: string
        plantuml_diagram_proxy_enabled:
          type: string
        diagramsnet_enabled:
          type: string
        diagramsnet_url:
          type: string
        pages_extra_deployments_default_expiry_seconds:
          type: string
        polling_interval_multiplier:
          type: string
        project_export_enabled:
          type: string
        prometheus_metrics_enabled:
          type: string
        recaptcha_enabled:
          type: string
        recaptcha_private_key:
          type: string
        recaptcha_site_key:
          type: string
        login_recaptcha_protection_enabled:
          type: string
        receive_max_input_size:
          type: string
        repository_checks_enabled:
          type: string
        require_admin_approval_after_user_signup:
          type: string
        require_admin_two_factor_authentication:
          type: string
        require_two_factor_authentication:
          type: string
        remember_me_enabled:
          type: string
        restricted_visibility_levels:
          type: array
          items:
            type: string
        rsa_key_restriction:
          type: string
        session_expire_delay:
          type: string
        session_expire_from_init:
          type: string
        shared_runners_enabled:
          type: string
        shared_runners_text:
          type: string
        sign_in_restrictions:
          type: object
        signup_enabled:
          type: string
        silent_mode_enabled:
          type: string
        slack_app_enabled:
          type: string
        slack_app_id:
          type: string
        slack_app_secret:
          type: string
        slack_app_signing_secret:
          type: string
        slack_app_verification_token:
          type: string
        sourcegraph_enabled:
          type: string
        sourcegraph_url:
          type: string
        sourcegraph_public_only:
          type: string
        spam_check_endpoint_enabled:
          type: string
        spam_check_endpoint_url:
          type: string
        spam_check_api_key:
          type: string
        terminal_max_session_time:
          type: string
        terms:
          type: string
        terraform_state_encryption_enabled:
          type: string
        throttle_authenticated_api_enabled:
          type: string
        throttle_authenticated_api_period_in_seconds:
          type: string
        throttle_authenticated_api_requests_per_period:
          type: string
        throttle_authenticated_git_http_enabled:
          type: string
        throttle_authenticated_git_http_period_in_seconds:
          type: string
        throttle_authenticated_git_http_requests_per_period:
          type: string
        throttle_authenticated_dependency_proxy_enabled:
          type: string
        throttle_authenticated_dependency_proxy_period_in_seconds:
          type: string
        throttle_authenticated_dependency_proxy_requests_per_period:
          type: string
        throttle_authenticated_git_lfs_enabled:
          type: string
        throttle_authenticated_git_lfs_period_in_seconds:
          type: string
        throttle_authenticated_git_lfs_requests_per_period:
          type: string
        throttle_authenticated_web_enabled:
          type: string
        throttle_authenticated_web_period_in_seconds:
          type: string
        throttle_authenticated_web_requests_per_period:
          type: string
        throttle_authenticated_mcp_enabled:
          type: string
        throttle_authenticated_mcp_period_in_seconds:
          type: string
        throttle_authenticated_mcp_requests_per_period:
          type: string
        throttle_authenticated_packages_api_enabled:
          type: string
        throttle_authenticated_packages_api_period_in_seconds:
          type: string
        throttle_authenticated_packages_api_requests_per_period:
          type: string
        throttle_authenticated_files_api_enabled:
          type: string
        throttle_authenticated_files_api_period_in_seconds:
          type: string
        throttle_authenticated_files_api_requests_per_period:
          type: string
        throttle_authenticated_deprecated_api_enabled:
          type: string
        throttle_authenticated_deprecated_api_period_in_seconds:
          type: string
        throttle_authenticated_deprecated_api_requests_per_period:
          type: string
        throttle_unauthenticated_api_enabled:
          type: string
        throttle_unauthenticated_api_period_in_seconds:
          type: string
        throttle_unauthenticated_api_requests_per_period:
          type: string
        throttle_unauthenticated_enabled:
          type: string
        throttle_unauthenticated_period_in_seconds:
          type: string
        throttle_unauthenticated_requests_per_period:
          type: string
        throttle_unauthenticated_packages_api_enabled:
          type: string
        throttle_unauthenticated_packages_api_period_in_seconds:
          type: string
        throttle_unauthenticated_packages_api_requests_per_period:
          type: string
        throttle_unauthenticated_files_api_enabled:
          type: string
        throttle_unauthenticated_files_api_period_in_seconds:
          type: string
        throttle_unauthenticated_files_api_requests_per_period:
          type: string
        throttle_unauthenticated_git_http_enabled:
          type: string
        throttle_unauthenticated_git_http_period_in_seconds:
          type: string
        throttle_unauthenticated_git_http_requests_per_period:
          type: string
        throttle_unauthenticated_deprecated_api_enabled:
          type: string
        throttle_unauthenticated_deprecated_api_period_in_seconds:
          type: string
        throttle_unauthenticated_deprecated_api_requests_per_period:
          type: string
        throttle_protected_paths_enabled:
          type: string
        throttle_protected_paths_period_in_seconds:
          type: string
        throttle_protected_paths_requests_per_period:
          type: string
        top_level_group_creation_enabled:
          type: string
        protected_paths_raw:
          type: string
        protected_paths_for_get_request_raw:
          type: string
        time_tracking_limit_to_hours:
          type: string
        two_factor_grace_period:
          type: string
        update_runner_versions_enabled:
          type: string
        unique_ips_limit_enabled:
          type: string
        unique_ips_limit_per_user:
          type: string
        unique_ips_limit_time_window:
          type: string
        usage_ping_enabled:
          type: string
        usage_ping_generation_enabled:
          type: string
        usage_ping_features_enabled:
          type: string
        use_clickhouse_for_analytics:
          type: string
        user_default_external:
          type: string
        user_show_add_ssh_key_message:
          type: string
        user_default_internal_regex:
          type: string
        user_oauth_applications:
          type: string
        version_check_enabled:
          type: string
        diff_max_patch_bytes:
          type: string
        diff_max_files:
          type: string
        diff_max_lines:
          type: string
        diff_max_versions:
          type: string
        diff_max_commits:
          type: string
        commit_email_hostname:
          type: string
        protected_ci_variables:
          type: string
        local_markdown_version:
          type: string
        mailgun_signing_key:
          type: string
        mailgun_events_enabled:
          type: string
        snowplow_collector_hostname:
          type: string
        snowplow_cookie_domain:
          type: string
        snowplow_database_collector_hostname:
          type: string
        snowplow_enabled:
          type: string
        snowplow_app_id:
          type: string
        gitlab_product_usage_data_enabled:
          type: string
        push_event_hooks_limit:
          type: string
        push_event_activities_limit:
          type: string
        custom_http_clone_url_root:
          type: string
        snippet_size_limit:
          type: string
        description_and_note_max_size:
          type: string
        email_restrictions_enabled:
          type: string
        email_restrictions:
          type: string
        issues_create_limit:
          type: string
        project_create_limit:
          type: string
        group_create_limit:
          type: string
        notes_create_limit:
          type: string
        notes_create_limit_allowlist_raw:
          type: string
        discussions_resolve_limit:
          type: string
        merge_request_diff_download_request_limit:
          type: string
        merge_requests_create_limit:
          type: string
        environment_delete_rows_limit_per_user:
          type: string
        feature_flag_user_list_write_bytes_limit_per_user:
          type: string
        merge_requests_merge_ref_limit:
          type: string
        merge_requests_rebase_limit:
          type: string
        draft_notes_create_limit:
          type: string
        markdown_upload_limit_megabytes_per_day:
          type: string
        pages_domain_create_limit:
          type: string
        pages_domain_verify_limit:
          type: string
        merge_requests_read_diffs_limit:
          type: string
        members_delete_limit:
          type: string
        milestone_destroy_limit:
          type: string
        raw_blob_request_limit:
          type: string
        raw_blob_request_limit_unauthenticated:
          type: string
        release_evidence_collections_limit_per_user:
          type: string
        release_writes_limit_per_project:
          type: string
        release_writes_limit_per_user:
          type: string
        project_import_limit:
          type: string
        project_export_limit:
          type: string
        project_export_limit_per_root_namespace:
          type: string
        project_download_export_limit:
          type: string
        group_import_limit:
          type: string
        group_export_limit:
          type: string
        group_download_export_limit:
          type: string
        project_relations_export_limit:
          type: string
        project_relations_export_download_limit:
          type: string
        group_relations_export_limit:
          type: string
        group_relations_export_download_limit:
          type: string
        wiki_page_max_content_bytes:
          type: string
        wiki_asciidoc_allow_uri_includes:
          type: string
        container_registry_delete_tags_service_timeout:
          type: string
        rate_limiting_response_text:
          type: string
        package_registry_allow_anyone_to_pull_option:
          type: string
        package_registry_cleanup_policies_worker_capacity:
          type: string
        container_registry_expiration_policies_worker_capacity:
          type: string
        container_registry_cleanup_tags_service_max_list_size:
          type: string
        keep_latest_artifact:
          type: string
        whats_new_variant:
          type: string
        user_deactivation_emails_enabled:
          type: string
        resource_access_token_notify_inherited:
          type: string
        lock_resource_access_token_notify_inherited:
          type: string
        sentry_enabled:
          type: string
        sentry_dsn:
          type: string
        sentry_clientside_dsn:
          type: string
        sentry_environment:
          type: string
        sentry_clientside_traces_sample_rate:
          type: string
        sidekiq_job_limiter_mode:
          type: string
        sidekiq_job_limiter_compression_threshold_bytes:
          type: string
        sidekiq_job_limiter_limit_bytes:
          type: string
        sidekiq_timezone_override:
          type: string
        enable_artifact_external_redirect_warning_page:
          type: string
        search_rate_limit:
          type: string
        search_rate_limit_unauthenticated:
          type: string
        search_rate_limit_allowlist_raw:
          type: string
        users_get_by_id_limit:
          type: string
        users_get_by_id_limit_allowlist_raw:
          type: string
        runner_token_expiration_interval:
          type: string
        group_runner_token_expiration_interval:
          type: string
        project_runner_token_expiration_interval:
          type: string
        pipeline_limit_per_project_user_sha:
          type: string
        pipeline_limit_per_user:
          type: string
        ci_lint_limit_per_user:
          type: string
        invitation_flow_enforcement:
          type: string
        can_create_group:
          type: string
        can_create_organization:
          type: string
        bulk_import_concurrent_pipeline_batch_limit:
          type: string
        concurrent_relation_batch_export_limit:
          type: string
        concurrent_relation_export_limit:
          type: string
        relation_export_batch_size:
          type: string
        bulk_import_enabled:
          type: string
        bulk_import_max_download_file_size:
          type: string
        max_import_record_size:
          type: string
        silent_admin_exports_enabled:
          type: string
        allow_contribution_mapping_to_admins:
          type: string
        allow_s3_compatible_storage_for_offline_transfer:
          type: string
        allow_application_default_credentials_for_offline_transfer:
          type: string
        offline_transfer_exports_enabled:
          type: string
        offline_transfer_imports_enabled:
          type: string
        allow_runner_registration_token:
          type: string
        valid_runner_registrars:
          type: array
          items:
            type: string
        user_defaults_to_private_profile:
          type: string
        deactivation_email_additional_text:
          type: string
        projects_api_rate_limit_unauthenticated:
          type: string
        glql_db_seconds_per_ip_limit:
          type: string
        glql_db_seconds_per_query_limit:
          type: string
        glql_db_seconds_per_user_limit:
          type: string
        glql_duo_db_seconds_per_user_limit:
          type: string
        group_api_limit:
          type: string
        group_archive_unarchive_api_limit:
          type: string
        group_invited_groups_api_limit:
          type: string
        group_shared_groups_api_limit:
          type: string
        group_projects_api_limit:
          type: string
        groups_api_limit:
          type: string
        issuable_csv_import_limit:
          type: string
        label_delete_limit:
          type: string
        merge_requests_update_limit:
          type: string
        pages_deployments_api_limit:
          type: string
        project_api_limit:
          type: string
        project_invited_groups_api_limit:
          type: string
        project_repositories_archive_limit:
          type: string
        project_repositories_archive_unauthenticated_limit:
          type: string
        project_repositories_blame_limit:
          type: string
        project_repositories_blame_unauthenticated_limit:
          type: string
        project_repositories_blobs_batch_limit:
          type: string
        project_repository_commits_api_limit:
          type: string
        project_repositories_compare_limit:
          type: string
        project_repositories_compare_unauthenticated_limit:
          type: string
        projects_api_limit:
          type: string
        project_members_api_limit:
          type: string
        protected_branch_write_limit:
          type: string
        create_organization_api_limit:
          type: string
        delete_merged_branches_limit:
          type: string
        cross_reference_checks_limit:
          type: string
        user_contributed_projects_api_limit:
          type: string
        user_projects_api_limit:
          type: string
        user_starred_projects_api_limit:
          type: string
        users_api_limit_followers:
          type: string
        users_api_limit_following:
          type: string
        users_api_limit_status:
          type: string
        users_api_limit_ssh_keys:
          type: string
        users_api_limit_ssh_key:
          type: string
        users_api_limit_gpg_keys:
          type: string
        users_api_limit_gpg_key:
          type: string
        tags_create_limit:
          type: string
        todos_list_api_limit:
          type: string
        group_hooks_create_limit:
          type: string
        project_hooks_create_limit:
          type: string
        system_hooks_create_limit:
          type: string
        web_hook_event_resend_limit:
          type: string
        web_hook_test_limit:
          type: string
        wiki_read_request_limit_unauthenticated:
          type: string
        merge_request_diffs_page_request_limit:
          type: string
        merge_request_diff_resources_request_limit:
          type: string
        work_item_hierarchy_add_children_limit:
          type: string
        work_item_move_limit:
          type: string
        work_item_update_limit:
          type: string
        track_namespace_visits_limit:
          type: string
        github_gists_import_limit:
          type: string
        ipv6_rate_limit_prefix_length:
          type: string
        gitlab_dedicated_instance:
          type: string
        gitlab_environment_toolkit_instance:
          type: string
        ci_max_includes:
          type: string
        ci_max_caches_per_job:
          type: string
        ci_max_runner_managers_per_runner:
          type: string
        ci_runner_manager_cap_deletions_per_run:
          type: string
        ci_runner_manager_cap_cleanup_backlog_limit:
          type: string
        ci_runner_manager_creation_ceiling:
          type: string
        release_evidence_max_size_bytes:
          type: string
        ci_stale_runner_managers_cleanup_deletions_per_run:
          type: string
        ci_stale_runner_managers_cleanup_backlog_limit:
          type: string
        allow_account_deletion:
          type: string
        git_push_per_project_limit:
          type: string
        gitlab_shell_operation_limit:
          type: string
        gitlab_shell_operation_per_actor_limit:
          type: string
        namespace_aggregation_schedule_lease_duration_in_seconds:
          type: string
        ci_max_total_yaml_size_bytes:
          type: string
        project_jobs_api_rate_limit:
          type: string
        security_txt_content:
          type: string
        allow_project_creation_for_guest_and_below:
          type: string
        downstream_pipeline_trigger_limit_per_project_user_sha:
          type: string
        pipeline_cancel_limit_per_user_project:
          type: string
        pipeline_retry_limit_per_user_project:
          type: string
        runner_job_list_completed_statuses_limit_per_user:
          type: string
        runner_job_list_project_filtered_limit_per_user:
          type: string
        runner_manager_list_limit_per_user:
          type: string
        pipeline_schedule_management_limit_per_user:
          type: string
        pipeline_trigger_management_limit_per_user:
          type: string
        job_retry_limit_per_user_project:
          type: string
        job_play_limit_per_user_project:
          type: string
        pipeline_delete_limit_per_user_project:
          type: string
        job_erase_limit_per_user_project:
          type: string
        job_cancel_limit_per_user_project:
          type: string
        asciidoc_max_includes:
          type: string
        ai_action_api_rate_limit:
          type: string
        code_suggestions_api_rate_limit:
          type: string
        require_personal_access_token_expiry:
          type: string
        observability_backend_ssl_verification_enabled:
          type: string
        show_migrate_from_jenkins_banner:
          type: string
        global_search_snippet_titles_enabled:
          type: string
        global_search_users_enabled:
          type: string
        global_search_groups_enabled:
          type: string
        global_search_work_items_enabled:
          type: string
        global_search_merge_requests_enabled:
          type: string
        global_search_block_anonymous_searches_enabled:
          type: string
        enable_language_server_restrictions:
          type: string
        minimum_language_server_version:
          type: string
        vscode_extension_marketplace:
          type: object
        vscode_extension_marketplace_enabled:
          type: string
        vscode_extension_marketplace_extension_host_domain:
          type: string
        vscode_extension_marketplace_single_origin_fallback_enabled:
          type: string
        reindexing_minimum_index_size:
          type: string
        reindexing_minimum_relative_bloat_size:
          type: string
        anonymous_searches_allowed:
          type: string
        default_search_scope:
          type: string
        git_push_pipeline_limit:
          type: string
        delay_user_account_self_deletion:
          type: string
        resource_usage_limits:
          type: object
        runner_jobs_request_api_limit:
          type: string
        runner_jobs_patch_trace_api_limit:
          type: string
        runner_jobs_endpoints_api_limit:
          type: string
        runner_manager_creation_limit:
          type: string
        background_operations_max_jobs:
          type: string
        pg_ash_sampling_enabled:
          type: string
        pg_ash_sample_interval_seconds:
          type: string
        enforce_granular_tokens:
          type: string
        granular_tokens_enforced_after:
          type: string
        logging_field_schema_version:
          type: integer
        logging_field_dual_emit_target:
          type: integer
        auto_accept_awarded_achievements:
          type: string
        deactivate_dormant_users:
          type: string
        deactivate_dormant_users_period:
          type: string
        nuget_skip_metadata_url_validation:
          type: string
        helm_max_packages_count:
          type: string
        mcp_server_enabled:
          type: string
        dynamic_client_registration_enabled:
          type: string
        active_context_pause_indexing:
          type: string
        allow_all_integrations:
          type: string
        allowed_integrations:
          type: array
          items:
            type: string
        allow_group_owners_to_manage_ldap:
          type: string
        automatic_purchased_storage_allocation:
          type: string
        check_namespace_plan:
          type: string
        ci_cd_catalog_projects_allowlist:
          type: array
          items:
            type: string
        ci_cd_catalog_projects_allowlist_raw:
          type: string
        duo_chat_expiration_column:
          type: string
        duo_chat_expiration_days:
          type: string
        elasticsearch_aws_access_key:
          type: string
        elasticsearch_aws_region:
          type: string
        elasticsearch_aws_role_arn:
          type: string
        elasticsearch_aws_secret_access_key:
          type: string
        elasticsearch_aws:
          type: string
        elasticsearch_client_adapter:
          type: string
        elasticsearch_client_request_timeout:
          type: string
        elasticsearch_indexed_field_length_limit:
          type: string
        elasticsearch_indexed_file_size_limit_kb:
          type: string
        elasticsearch_indexing_timeout_minutes:
          type: string
        elasticsearch_indexing:
          type: string
        elasticsearch_requeue_workers:
          type: string
        elasticsearch_limit_indexing:
          type: string
        elasticsearch_worker_number_of_shards:
          type: string
        elasticsearch_max_bulk_concurrency:
          type: string
        elasticsearch_max_bulk_size_mb:
          type: string
        elasticsearch_max_code_indexing_concurrency:
          type: string
        elasticsearch_namespace_ids:
          type: array
          items:
            type: integer
        elasticsearch_pause_indexing:
          type: string
        elasticsearch_advanced_search_pause_indexing:
          type: string
        elasticsearch_project_ids:
          type: array
          items:
            type: integer
        elasticsearch_retry_on_failure:
          type: string
        elasticsearch_replicas:
          type: string
        elasticsearch_search:
          type: string
        elasticsearch_shards:
          type: string
        elasticsearch_url:
          type: array
          items:
            type: string
        elasticsearch_username:
          type: string
        elasticsearch_password:
          type: string
        elasticsearch_analyzers_smartcn_enabled:
          type: string
        elasticsearch_analyzers_smartcn_search:
          type: string
        elasticsearch_analyzers_kuromoji_enabled:
          type: string
        elasticsearch_analyzers_kuromoji_search:
          type: string
        elasticsearch_code_scope:
          type: string
        enforce_namespace_storage_limit:
          type: string
        geo_node_allowed_ips:
          type: string
        geo_status_timeout:
          type: string
        instance_level_ai_beta_features_enabled:
          type: string
        lock_memberships_to_ldap:
          type: string
        lock_memberships_to_saml:
          type: string
        lock_model_prompt_cache_enabled:
          type: string
        max_personal_access_token_lifetime:
          type: string
        max_ssh_key_lifetime:
          type: string
        model_prompt_cache_enabled:
          type: string
        receptive_cluster_agents_enabled:
          type: string
        repository_size_limit:
          type: string
        secret_detection_token_revocation_enabled:
          type: string
        secret_detection_token_revocation_url:
          type: string
        secret_detection_token_revocation_token:
          type: string
        secret_detection_revocation_token_types_url:
          type: string
        shared_runners_minutes:
          type: string
        throttle_incident_management_notification_enabled:
          type: string
        throttle_incident_management_notification_per_period:
          type: string
        throttle_incident_management_notification_period_in_seconds:
          type: string
        package_metadata_purl_types:
          type: array
          items:
            type: integer
        product_analytics_enabled:
          type: string
        product_analytics_data_collector_host:
          type: string
        product_analytics_configurator_connection_string:
          type: string
        cube_api_base_url:
          type: string
        cube_api_key:
          type: string
        security_policy_global_group_approvers_enabled:
          type: string
        security_approval_policies_limit:
          type: string
        duo_features_enabled:
          type: string
        lock_duo_features_enabled:
          type: string
        duo_availability:
          type: string
        duo_agent_platform_enabled:
          type: string
        duo_cli_enabled:
          type: string
        ai_audit_events_streaming_enabled:
          type: boolean
        duo_token_usage_tracking_enabled:
          type: boolean
        duo_workflow_file_attachments_enabled:
          type: boolean
        duo_namespace_access_rules:
          type: array
          items:
            type: object
        duo_remote_flows_enabled:
          type: string
        duo_remote_flows_availability:
          type: string
        duo_foundational_flows_enabled:
          type: string
        duo_foundational_flows_availability:
          type: string
        duo_scheduled_automations_enabled:
          type: string
        duo_scheduled_automations_availability:
          type: string
        duo_code_suggestions_enabled:
          type: boolean
        duo_code_suggestions_availability:
          type: string
        duo_custom_agents_enabled:
          type: boolean
        duo_custom_agents_availability:
          type: string
        duo_custom_flows_enabled:
          type: boolean
        duo_custom_flows_availability:
          type: string
        duo_external_agents_enabled:
          type: boolean
        duo_external_agents_availability:
          type: string
        tool_approval_for_session_enabled:
          type: string
        tool_approval_for_session_availability:
          type: string
        duo_auto_mode_enabled:
          type: string
        duo_auto_mode_availability:
          type: string
        enabled_expanded_logging:
          type: string
        foundational_agents_default_enabled:
          type: string
        foundational_agents_statuses:
          type: array
          items:
            type: object
        zoekt_indexing_enabled:
          type: string
        zoekt_search_enabled:
          type: string
        zoekt_indexing_paused:
          type: string
        zoekt_auto_index_root_namespace:
          type: string
        zoekt_cache_response:
          type: string
        zoekt_cpu_to_tasks_ratio:
          type: string
        zoekt_force_reindexing_percentage:
          type: string
        zoekt_indexing_parallelism:
          type: string
        zoekt_rollout_batch_size:
          type: string
        zoekt_lost_node_threshold:
          type: string
        zoekt_indexing_timeout:
          type: string
        zoekt_maximum_files:
          type: string
        zoekt_indexed_file_size_limit:
          type: string
        zoekt_trigram_max:
          type: string
        zoekt_rollout_retry_interval:
          type: string
        zoekt_default_number_of_replicas:
          type: string
        zoekt_max_projects_for_legacy_search:
          type: string
        zoekt_max_restarts_15m:
          type: string
        zoekt_initial_indexing_limit:
          type: string
        orbit_auto_index_root_namespace:
          type: string
        orbit_dap_enabled_by_default:
          type: string
        epic_move_list_limit:
          type: string
        insights_query_limit:
          type: string
        issues_analytics_limit:
          type: string
        dast_configuration_show_limit:
          type: string
        scanned_resources_artifacts_count_limit:
          type: string
        scanned_resources_artifacts_size_limit_megabytes:
          type: string
        scanned_resources_csv_download_limit:
          type: string
        scanned_resources_pipelines_query_limit:
          type: string
        merge_train_removal_limit_per_user:
          type: string
        orbit_query_limit:
          type: string
        orbit_indexing_status_limit:
          type: string
        orbit_item_counts_limit:
          type: string
        orbit_rate_limit_allowlist_raw:
          type: string
        subscription_usage_per_minute_limit:
          type: string
        subscription_usage_per_hour_limit:
          type: string
        subscription_usage_per_day_limit:
          type: string
        budget_cap_update_per_minute_limit:
          type: string
        budget_cap_update_per_hour_limit:
          type: string
        budget_cap_update_per_day_limit:
          type: string
        subscriptions_payment_form_per_hour_limit:
          type: string
        subscriptions_validate_payment_method_per_hour_limit:
          type: string
        credits_usage_per_minute_limit:
          type: string
        credits_usage_per_hour_limit:
          type: string
        credits_usage_per_day_limit:
          type: string
        trial_create_limit:
          type: string
        hand_raise_lead_create_limit:
          type: string
        user_add_on_assignment_bulk_create_limit:
          type: string
        billed_users_scan_per_minute_limit:
          type: string
        billed_users_scan_per_hour_limit:
          type: string
        billed_users_scan_per_day_limit:
          type: string
        seat_usage_export_limit:
          type: string
        duo_workflow_oauth_application_id:
          type: string
        scan_execution_policies_action_limit:
          type: string
        scan_execution_policies_schedule_limit:
          type: string
        pipeline_execution_policies_per_configuration_limit:
          type: string
        scan_execution_policies_per_configuration_limit:
          type: string
        vulnerability_management_policies_per_configuration_limit:
          type: string
        dependency_firewall_policies_per_configuration_limit:
          type: string
        policy_store_experiment_enabled:
          type: string
        secret_detection_service_auth_token:
          type: string
        secret_detection_service_url:
          type: string
        fetch_observability_alerts_from_cloud:
          type: string
        global_search_code_enabled:
          type: string
        global_search_commits_enabled:
          type: string
        global_search_wiki_enabled:
          type: string
        global_search_limited_indexing_enabled:
          type: string
        elastic_migration_worker_enabled:
          type: string
        enforce_pipl_compliance:
          type: string
        display_gitlab_credits_user_data:
          type: string
        use_nats_for_audit_streaming:
          type: boolean
        project_secrets_limit:
          type: string
        group_secrets_limit:
          type: string
        security_mr_report_cache_lifetime_minutes:
          type: string
        security_scan_stale_after_days:
          type: string
        vac_project_ids_raw:
          type: string
        enable_member_promotion_management:
          type: string
        external_auth_client_cert:
          type: string
        external_auth_client_key:
          type: string
        external_auth_client_key_pass:
          type: string
        external_authorization_service_default_label:
          type: string
        external_authorization_service_enabled:
          type: string
        external_authorization_service_timeout:
          type: string
        external_authorization_service_url:
          type: string
        allow_deploy_tokens_and_keys_with_external_authn:
          type: string
        throttle_unauthenticated_web_enabled:
          type: string
        throttle_unauthenticated_web_period_in_seconds:
          type: string
        throttle_unauthenticated_web_requests_per_period:
          type: string
        password_authentication_enabled:
          type: string
        signin_enabled:
          type: string
        allow_local_requests_from_hooks_and_services:
          type: string
        asset_proxy_whitelist:
          type: array
          items:
            type: string
        housekeeping_bitmaps_enabled:
          type: string
        repository_storages_weighted:
          type: object
        gitlab_product_usage_data_source:
          type: string
        container_registry_import_max_tags_count:
          type: string
        container_registry_import_max_retries:
          type: string
        container_registry_import_start_max_retries:
          type: string
        container_registry_import_max_step_duration:
          type: string
        container_registry_pre_import_tags_rate:
          type: string
        container_registry_pre_import_timeout:
          type: string
        container_registry_import_timeout:
          type: string
        container_registry_import_target_plan:
          type: string
        container_registry_import_created_before:
          type: string
        mirror_max_capacity:
          type: string
        mirror_max_delay:
          type: string
        mirror_capacity_threshold:
          type: string
        disable_overriding_approvers_per_merge_request:
          type: string
        prevent_merge_requests_author_approval:
          type: string
        prevent_merge_requests_committers_approval:
          type: string
        password_number_required:
          type: string
        password_symbol_required:
          type: string
        password_uppercase_required:
          type: string
        password_lowercase_required:
          type: string
        email_additional_text:
          type: string
        file_template_project_id:
          type: string
        default_project_deletion_protection:
          type: string
        disable_personal_access_tokens:
          type: string
        updating_name_disabled_for_users:
          type: string
        maven_package_requests_forwarding:
          type: string
        npm_package_requests_forwarding:
          type: string
        virtual_registries_endpoints_api_limit:
          type: string
        audit_events_api_limit:
          type: string
        project_audit_events_api_limit:
          type: string
        group_audit_events_api_limit:
          type: string
        dependency_scanning_sbom_scan_api_upload_limit:
          type: string
        dependency_scanning_sbom_scan_api_download_limit:
          type: string
        secret_push_protection_available:
          type: string
        pre_receive_secret_detection_enabled:
          type: string
        pypi_package_requests_forwarding:
          type: string
        rubygems_package_requests_forwarding:
          type: string
        group_owners_can_manage_default_branch_protection:
          type: string
        maintenance_mode:
          type: string
        maintenance_mode_message:
          type: string
        service_access_tokens_expiration_enforced:
          type: string
        git_two_factor_session_expiry:
          type: string
        max_number_of_repository_downloads:
          type: string
        max_number_of_repository_downloads_within_time_period:
          type: string
        git_rate_limit_users_allowlist:
          type: array
          items:
            type: string
        git_rate_limit_users_alertlist:
          type: array
          items:
            type: integer
        auto_ban_user_on_excessive_projects_download:
          type: string
        delete_unconfirmed_users:
          type: string
        unconfirmed_users_delete_after_days:
          type: string
        make_profile_private:
          type: string
        lock_duo_custom_agents_enabled:
          type: boolean
        lock_duo_custom_flows_enabled:
          type: boolean
        lock_duo_external_agents_enabled:
          type: boolean
        lock_duo_code_suggestions_enabled:
          type: boolean
        duo_workflows_default_image_registry:
          type: string
        duo_template_project_id:
          type: string
        ci_telemetry_otel_endpoint:
          type: string
        ci_job_telemetry_sampling_rate:
          type: string
        disabled_direct_code_suggestions:
          type: string
        allow_top_level_group_owners_to_create_service_accounts:
          type: string
        auto_duo_code_review_enabled:
          type: string
        duo_code_review_decisions_enabled:
          type: string
        duo_code_review_level_allowed:
          type: boolean
        duo_code_review_default_level:
          type: string
          example: lite
        elasticsearch_index_settings:
          type: array
          description: Elasticsearch index settings.
          items:
            "$ref": "#/components/schemas/APIEntitiesElasticIndexSetting"
        built_in_project_templates_enabled:
          type: boolean
        lock_built_in_project_templates_enabled:
          type: boolean
    APIEntitiesServiceAccount:
      type: object
      properties:
        id:
          type: integer
          description: ID of the user.
          format: int64
          example: 1
        username:
          type: string
          description: Username of the user.
          example: admin
        public_email:
          type: string
          description: Public email address of the user.
          example: john@example.com
        name:
          type: string
          description: Name of the user. For a bot user, `****` if the current user
            cannot read the bot's project or group.
          example: Administrator
        email:
          type: string
          description: Email address of the service account.
          example: service_account@example.com
        unconfirmed_email:
          type: string
          description: Email address awaiting confirmation. Returned only when a confirmation
            is pending.
          example: updated_service_account@example.com
        external:
          type: boolean
          example: true
    APIEntitiesResourceStateEvent:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 142
        user:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        created_at:
          type: string
          format: date-time
          example: '2018-08-20T13:38:20.077Z'
        resource_type:
          type: string
          example: Issue
        resource_id:
          type: integer
          format: int64
          example: 253
        source_commit:
          type: string
          example: 7b09ce7e6f80347baf0316c8c94cdba9a0a7e91d
        source_merge_request_id:
          type: integer
          format: int64
          example: 45
        state:
          type: string
          example: opened
    APIEntitiesResourceLabelEvent:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 142
        user:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        created_at:
          type: string
          format: date-time
          example: '2018-08-20T13:38:20.077Z'
        resource_type:
          type: string
          example: Issue
        resource_id:
          type: integer
          format: int64
          example: 253
        label:
          "$ref": "#/components/schemas/APIEntitiesLabelBasic"
        action:
          type: string
          example: add
    APIEntitiesProjectsRepositoryStorageMove:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        created_at:
          type: string
          format: date-time
          example: '2020-05-07T04:27:17.234Z'
        state:
          type: string
          example: scheduled
        source_storage_name:
          type: string
          example: default
        destination_storage_name:
          type: string
          example: storage1
        error_message:
          type: string
          example: Failed to move repository
        project:
          "$ref": "#/components/schemas/APIEntitiesProjectIdentity"
    APIEntitiesBurndownEvent:
      type: object
      properties:
        created_at:
          type: string
          format: date-time
          example: '2021-03-01T10:00:00.000Z'
        weight:
          type: integer
          example: 2
        action:
          type: string
          example: created
    APIEntitiesGlobalNotificationSetting:
      type: object
      properties:
        level:
          type: string
          description: Notification level.
          enum:
          - global
          - watch
          - participating
          - mention
          - disabled
          - custom
          example: participating
        events:
          type: string
        notification_email:
          type: string
          description: Email address where notifications are sent.
          example: user@example.com
    APIEntitiesNotificationSetting:
      type: object
      properties:
        level:
          type: string
          description: Notification level.
          enum:
          - global
          - watch
          - participating
          - mention
          - disabled
          - custom
          example: participating
        events:
          type: string
    APIEntitiesSuggestion:
      type: object
      properties:
        id:
          type: integer
          description: ID of the suggestion.
          format: int64
          example: 1
        from_line:
          type: integer
          description: First line number of the suggestion.
          example: 1
        to_line:
          type: integer
          description: Last line number of the suggestion.
          example: 1
        appliable:
          type: boolean
          description: If `true`, the suggestion can be applied.
          example: true
        applied:
          type: boolean
          description: If `true`, the suggestion has been applied.
          example: false
        from_content:
          type: string
          description: Original content before the suggestion.
          example: 'Original content

            '
        to_content:
          type: string
          description: Suggested content that replaces the original.
          example: 'New content

            '
    APIEntitiesNote:
      type: object
      properties:
        id:
          type: integer
          description: ID of the note.
          format: int64
          example: 1
        type:
          type: string
          description: Type of the note, such as `DiscussionNote` or `DiffNote`. `null`
            for a plain note.
          example: DiscussionNote
        body:
          type: string
          description: Content of the note.
          example: Note body.
        author:
          description: Author of the note.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        created_at:
          type: string
          description: Date and time when the note was created.
          format: date-time
          example: '2022-01-31T15:10:44.988Z'
        updated_at:
          type: string
          description: Date and time when the note was last updated.
          format: date-time
          example: '2022-01-31T15:10:44.988Z'
        system:
          type: boolean
          description: If `true`, the note is a system note.
          example: false
        noteable_id:
          type: integer
          description: ID of the object the note belongs to, such as an issue or merge
            request.
          format: int64
          example: 1
        noteable_type:
          type: string
          description: Type of the object the note belongs to, such as `Issue` or
            `MergeRequest`.
          example: Issue
        project_id:
          type: integer
          description: ID of the project the note belongs to.
          format: int64
          example: 1
        commit_id:
          type: string
          example: 7b09ce7e6f80347baf0316c8c94cdba9a0a7e91d
        position:
          type: object
          description: Position of the note in the diff. Returned only for diff notes.
        resolvable:
          type: boolean
          description: If `true`, the note can be resolved.
          example: false
        resolved:
          type: boolean
          description: If `true`, the note is resolved. Returned only for resolvable
            notes.
          example: false
        resolved_by:
          description: User who resolved the note. Returned only for resolvable notes.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        resolved_at:
          type: string
          description: Date and time when the note was resolved. Returned only for
            resolvable notes.
          format: date-time
          example: '2022-01-31T15:10:44.988Z'
        suggestions:
          type: array
          description: Suggestions in the note. Returned only for diff notes on merge
            requests.
          items:
            "$ref": "#/components/schemas/APIEntitiesSuggestion"
        confidential:
          type: boolean
          example: false
        internal:
          type: boolean
          example: false
        imported:
          type: boolean
          example: false
        imported_from:
          type: string
          example: github
        noteable_iid:
          type: integer
          example: 1
        commands_changes:
          type: object
    APIEntitiesDiscussion:
      type: object
      properties:
        id:
          type: string
          description: ID of the discussion.
          example: 6a9c1750b37d513a43987b574953fceb50b03ce7
        individual_note:
          type: boolean
          description: If `true`, the discussion is a single note and not a thread.
          example: false
        resolvable:
          type: boolean
        resolved:
          type: boolean
        notes:
          type: array
          description: Notes in the discussion.
          items:
            "$ref": "#/components/schemas/APIEntitiesNote"
    APIEntitiesSidekiqConcurrencyLimit:
      type: object
      properties:
        worker_class:
          type: string
          example: AuthorizedProjectsWorker
        class_limit:
          type: integer
          description: Explicit class limit. null when the worker has no explicit
            limit.
          example: 10
        effective_limit:
          type: integer
          description: Effective limit. Zero means unlimited. Negative values mean
            paused. null means unknown without shard context.
          example: 20
        adaptive_limit:
          type: integer
          description: Stored adaptive limit, or null when absent.
          example: 5
        default_limit_requires_shard_context:
          type: boolean
          example: false
        middleware_enabled:
          type: boolean
          example: true
        disabled_for_worker:
          type: boolean
          example: false
        override_limit:
          type: integer
          description: Temporary override, or null when absent.
          example: 20
        override_ttl:
          type: integer
          description: Remaining override lifetime in seconds, or null when absent.
          example: 1800
        running_jobs:
          type: integer
          example: 8
        deferred_jobs:
          type: integer
          example: 1000
    APIEntitiesWikiPageBasic:
      type: object
      properties:
        format:
          type: string
          example: markdown
        slug:
          type: string
          example: deploy
        title:
          type: string
          example: deploy
        wiki_page_meta_id:
          type: integer
          format: int64
          example: 123
    APIEntitiesWikiPage:
      type: object
      properties:
        format:
          type: string
          example: markdown
        slug:
          type: string
          example: deploy
        title:
          type: string
          example: deploy
        wiki_page_meta_id:
          type: integer
          format: int64
          example: 123
        content:
          type: string
          example: Here is an instruction how to deploy this project.
        encoding:
          type: string
          example: UTF-8
        front_matter:
          type: object
          example:
            title: deploy
    APIEntitiesWikiAttachment:
      type: object
      properties:
        file_name:
          type: string
          example: dk.png
        file_path:
          type: string
          example: uploads/6a061c4cf9f1c28cb22c384b4b8d4e3c/dk.png
        branch:
          type: string
          example: main
        link:
          type: object
          properties:
            url:
              type: string
              example: uploads/6a061c4cf9f1c28cb22c384b4b8d4e3c/dk.png
            markdown:
              type: string
              example: "![dk](uploads/6a061c4cf9f1c28cb22c384b4b8d4e3c/dk.png)"
    APIEntitiesCiRunnerRegistrationDetails:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        token:
          type: string
          example: glrt-abc123
        token_expires_at:
          type: string
          format: date-time
          example: '2025-01-01T00:00:00.000Z'
    APIEntitiesUserCounts:
      type: object
      properties:
        merge_requests:
          type: integer
          description: Deprecated. Use `assigned_merge_requests` instead.
          example: 10
        assigned_issues:
          type: integer
          description: Number of open issues assigned to the current user.
          example: 10
        assigned_merge_requests:
          type: integer
          description: Number of active merge requests assigned to the current user.
          example: 10
        review_requested_merge_requests:
          type: integer
          description: Number of open merge requests the current user is requested
            to review.
          example: 10
        todos:
          type: integer
          description: Number of pending to-do items for the current user.
          example: 10
    APIEntitiesProjectsTopic:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        name:
          type: string
          example: topic1
        title:
          type: string
          example: Topic 1
        description:
          type: string
          example: A description
        total_projects_count:
          type: integer
          example: 1
        organization_id:
          type: integer
          format: int64
          example: 1
        avatar_url:
          type: string
          example: http://gitlab.example.com/uploads/topic/avatar/1/avatar.png
    APIEntitiesTerraformStateProtectionRule:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        project_id:
          type: integer
          format: int64
          example: 1
        state_name:
          type: string
          example: production
        minimum_access_level_for_write:
          type: string
          example: maintainer
        allowed_from:
          type: string
          example: ci_only
    APIEntitiesTerraformModuleVersions:
      type: object
      properties:
        modules:
          type: array
          items:
            type: object
    APIEntitiesTerraformModuleVersion:
      type: object
      properties:
        name:
          type: string
        provider:
          type: string
        providers:
          type: array
          items:
            type: string
        root:
          type: object
        source:
          type: string
        submodules:
          type: array
          items:
            type: string
        version:
          type: string
        versions:
          type: array
          items:
            type: string
    APIEntitiesCommit:
      type: object
      properties:
        id:
          type: string
          description: Full SHA of the commit.
          example: 2695effb5807a22ff3d138d593fd856244e155e7
        short_id:
          type: string
          description: Short SHA of the commit.
          example: 2695effb
        created_at:
          type: string
          description: Date and time when the commit was created. Identical to `committed_date`.
          format: date-time
          example: '2017-07-26T11:08:53.000+02:00'
        parent_ids:
          type: array
          description: SHAs of the parent commits.
          example:
          - 2a4b78934375d7f53875269ffd4f45fd83a84ebe
          items:
            type: string
        title:
          type: string
          description: Title of the commit message.
          example: Initial commit
        message:
          type: string
          description: Full commit message.
          example: Initial commit
        author_name:
          type: string
          description: Name of the commit author.
          example: John Smith
        author_email:
          type: string
          description: Email address of the commit author.
          example: john@example.com
        authored_date:
          type: string
          description: Date and time when the commit was authored.
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        committer_name:
          type: string
          description: Name of the committer.
          example: Jack Smith
        committer_email:
          type: string
          description: Email address of the committer.
          example: jack@example.com
        committed_date:
          type: string
          description: Date and time when the commit was committed.
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        trailers:
          type: object
          description: Git trailers parsed from the commit message. Duplicate keys
            include the last value only.
          example:
            Merged-By: Jane Doe janedoe@gitlab.com
        extended_trailers:
          type: object
          description: Git trailers parsed from the commit message, with every value
            for each key.
          example:
            Signed-off-by:
            - John Doe <johndoe@gitlab.com>
            - Jane Doe <janedoe@gitlab.com>
        web_url:
          type: string
          description: URL to view the commit in the GitLab UI.
          example: https://gitlab.example.com/janedoe/gitlab-foss/-/commit/ed899a2f4b50b4370feeea94676502b42383c746
    APIEntitiesTagRelease:
      type: object
      properties:
        tag_name:
          type: string
          description: Tag name of the release.
          example: 1.0.0
        description:
          type: string
          description: Description of the release.
          example: Amazing release. Wow
    APIEntitiesTag:
      type: object
      properties:
        name:
          type: string
          description: Name of the tag.
          example: v1.0.0
        message:
          type: string
          description: Tag message.
          example: Release v1.0.0
        target:
          type: string
          description: SHA that the tag points to.
          example: 2695effb5807a22ff3d138d593fd856244e155e7
        commit:
          description: Commit the tag points to.
          "$ref": "#/components/schemas/APIEntitiesCommit"
        release:
          description: Release associated with the tag.
          "$ref": "#/components/schemas/APIEntitiesTagRelease"
        protected:
          type: boolean
          description: If `true`, the tag is protected.
          example: true
        created_at:
          type: string
          description: Date and time the tag was created.
          format: date-time
          example: '2023-10-12T02:16:52.000Z'
    APIEntitiesTagSignature:
      type: object
      properties:
        signature_type:
          type: string
          description: Type of signature. Signature details are returned only for
            `X509`.
          enum:
          - PGP
          - X509
          - SSH
          example: PGP
        signature:
          type: object
    APIEntitiesHook:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        url:
          type: string
          example: https://webhook.site
        name:
          type: string
          description: Name of the hook. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/460887)
            in GitLab 17.1.
          example: Hook name
        description:
          type: string
          description: Description of the hook. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/460887)
            in GitLab 17.1.
          example: Hook description
        created_at:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        push_events:
          type: boolean
        tag_push_events:
          type: boolean
        merge_requests_events:
          type: boolean
        repository_update_events:
          type: boolean
        enable_ssl_verification:
          type: boolean
        organization_id:
          type: integer
          example: 1
        alert_status:
          type: string
          example: executable
        disabled_until:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        url_variables:
          type: array
          example:
          - token: secr3t
          items:
            type: object
        push_events_branch_filter:
          type: string
          example: my-branch-*
        branch_filter_strategy:
          type: string
          example: wildcard
        custom_webhook_template:
          type: string
          example: '{"event":"{{object_kind}}"}'
        custom_headers:
          type: array
          example:
          - X-Custom-Header: value
          items:
            type: object
        token_present:
          type: boolean
          description: Whether a secret token is configured. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/231325)
            in GitLab 19.0.
          example: false
        signing_token_present:
          type: boolean
          description: Whether an HMAC signing token is configured. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/231325)
            in GitLab 19.0.
          example: false
    APIEntitiesSupplyChainSigningCertificate:
      type: object
      properties:
        id:
          type: integer
          description: ID of the signing certificate
          format: int64
          example: 1
        certificate:
          type: string
          description: PEM-encoded certificate authority (CA) certificate, which contains
            the CA public key
          example: |
            -----BEGIN CERTIFICATE-----
            MIIBszCCAVqgAwIBAgIUJ...
            -----END CERTIFICATE-----
        active:
          type: boolean
          description: If true, GitLab uses this CA to issue certificates for new
            attestations
          example: true
        expires_at:
          type: string
          description: Date and time the certificate expires
          format: date-time
          example: '2036-10-22T07:08:25.000Z'
        created_at:
          type: string
          description: Date and time the certificate was created
          format: date-time
          example: '2026-10-22T07:08:25.643Z'
    APIEntitiesSupplyChainAttestation:
      type: object
      properties:
        id:
          type: integer
          description: ID of the attestation.
          format: int64
          example: 1
        iid:
          type: integer
          description: Internal ID of the attestation in the project.
          example: 14
        created_at:
          type: string
          description: Date and time the attestation was created.
          format: date-time
          example: '2025-09-17T02:26:10.898Z'
        updated_at:
          type: string
          description: Date and time the attestation was last updated.
          format: date-time
          example: '2025-09-17T02:26:10.898Z'
        expire_at:
          type: string
          description: Date and time the attestation expires.
          format: date-time
          example: '2025-09-17T02:26:10.898Z'
        project_id:
          type: integer
          description: ID of the project.
          format: int64
        build_id:
          type: integer
          description: ID of the CI/CD job that produced the attestation.
          format: int64
        status:
          type: string
          description: Status of the attestation. One of `success` or `error`.
          example: success
        predicate_kind:
          type: string
          description: Kind of predicate. One of `provenance` or `sbom`.
          example: provenance
        predicate_type:
          type: string
          description: URI of the predicate type.
          example: https://slsa.dev/provenance/v1
        subject_digest:
          type: string
          description: Hex-encoded SHA-256 hash of the artifact.
          example: 5db1fee4b5703808c48078a76768b155b421b210c0761cd6a5d223f4d99f1eaa
        signing_method:
          type: string
          description: Method used to sign the attestation. If `ATTEST_METHOD` is
            not set, defaults to `local_ca`, except for public projects on GitLab.com,
            which default to `sigstore`.
          enum:
          - sigstore
          - local_ca
          example: local_ca
        download_url:
          type: string
          description: URL to download the attestation bundle.
    APIEntitiesCommitStats:
      type: object
      properties:
        additions:
          type: integer
          example: 1
        deletions:
          type: integer
          example: 0
        total:
          type: integer
          example: 1
    APIEntitiesCommitDetail:
      type: object
      properties:
        id:
          type: string
          description: Full SHA of the commit.
          example: 2695effb5807a22ff3d138d593fd856244e155e7
        short_id:
          type: string
          description: Short SHA of the commit.
          example: 2695effb
        created_at:
          type: string
          description: Date and time when the commit was created. Identical to `committed_date`.
          format: date-time
          example: '2017-07-26T11:08:53.000+02:00'
        parent_ids:
          type: array
          description: SHAs of the parent commits.
          example:
          - 2a4b78934375d7f53875269ffd4f45fd83a84ebe
          items:
            type: string
        title:
          type: string
          description: Title of the commit message.
          example: Initial commit
        message:
          type: string
          description: Full commit message.
          example: Initial commit
        author_name:
          type: string
          description: Name of the commit author.
          example: John Smith
        author_email:
          type: string
          description: Email address of the commit author.
          example: john@example.com
        authored_date:
          type: string
          description: Date and time when the commit was authored.
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        committer_name:
          type: string
          description: Name of the committer.
          example: Jack Smith
        committer_email:
          type: string
          description: Email address of the committer.
          example: jack@example.com
        committed_date:
          type: string
          description: Date and time when the commit was committed.
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        trailers:
          type: object
          description: Git trailers parsed from the commit message. Duplicate keys
            include the last value only.
          example:
            Merged-By: Jane Doe janedoe@gitlab.com
        extended_trailers:
          type: object
          description: Git trailers parsed from the commit message, with every value
            for each key.
          example:
            Signed-off-by:
            - John Doe <johndoe@gitlab.com>
            - Jane Doe <janedoe@gitlab.com>
        web_url:
          type: string
          description: URL to view the commit in the GitLab UI.
          example: https://gitlab.example.com/janedoe/gitlab-foss/-/commit/ed899a2f4b50b4370feeea94676502b42383c746
        stats:
          description: Number of lines added and deleted in the commit, and their
            total. Returned only when `stats` is `true`, which is the default where
            the endpoint supports it.
          "$ref": "#/components/schemas/APIEntitiesCommitStats"
        status:
          type: string
          description: Status of the latest pipeline for the commit.
          example: success
        project_id:
          type: integer
          format: int64
          example: 1
        last_pipeline:
          type: object
          description: Latest pipeline for the commit.
    APIEntitiesApplicationStatistics:
      type: object
      properties:
        forks:
          type: integer
          description: Approximate number of repo forks
          example: 6
        issues:
          type: integer
          description: Approximate number of issues
          example: 121
        merge_requests:
          type: integer
          description: Approximate number of merge requests
          example: 49
        notes:
          type: integer
          description: Approximate number of notes
          example: 6
        snippets:
          type: integer
          description: Approximate number of snippets
          example: 4
        ssh_keys:
          type: integer
          description: Approximate number of SSH keys
          example: 11
        milestones:
          type: integer
          description: Approximate number of milestones
          example: 3
        users:
          type: integer
          description: Approximate number of users
          example: 22
        projects:
          type: integer
          description: Approximate number of projects
          example: 4
        groups:
          type: integer
          description: Approximate number of projects
          example: 1
        active_users:
          type: integer
          description: Number of active users
          example: 21
    APIEntitiesSnippet:
      type: object
      properties:
        id:
          type: integer
          description: ID of the snippet.
          format: int64
          example: 1
        title:
          type: string
          description: Title of the snippet.
          example: test
        description:
          type: string
          description: Description of the snippet.
          example: Ruby test snippet
        visibility:
          type: string
          description: Visibility level of the snippet.
          example: public
        author:
          description: Author of the snippet.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        created_at:
          type: string
          description: Date and time when the snippet was created.
          format: date-time
          example: '2012-06-28T10:52:04Z'
        updated_at:
          type: string
          description: Date and time when the snippet was last updated.
          format: date-time
          example: '2012-06-28T10:52:04Z'
        project_id:
          type: integer
          description: ID of the project the snippet belongs to. `null` for personal
            snippets.
          format: int64
          example: 1
        web_url:
          type: string
          description: URL to the snippet in the GitLab UI.
          example: http://example.com/example/example/snippets/1
        raw_url:
          type: string
          description: URL to the raw snippet content.
          example: http://example.com/example/example/snippets/1/raw
        ssh_url_to_repo:
          type: string
          description: SSH URL to the snippet repository. Returned only if the snippet
            repository exists.
          example: ssh://user@gitlab.example.com/snippets/65.git
        http_url_to_repo:
          type: string
          description: HTTP URL to the snippet repository. Returned only if the snippet
            repository exists.
          example: https://gitlab.example.com/snippets/65.git
        file_name:
          type: string
          description: Name of the snippet file.
          example: add.rb
        files:
          type: array
          description: Array of snippet files.
          example:
          - path: file.txt
            raw_url: https://gitlab.example.com/.../raw
          items:
            type: object
        imported:
          type: boolean
          description: If `true`, the snippet was imported.
          example: false
        imported_from:
          type: string
          description: Source of the import.
          example: none
        repository_storage:
          type: string
          description: Repository storage used by the snippet.
          example: default
    APIEntitiesPersonalSnippet:
      type: object
      properties:
        id:
          type: integer
          description: ID of the snippet.
          format: int64
          example: 1
        title:
          type: string
          description: Title of the snippet.
          example: test
        description:
          type: string
          description: Description of the snippet.
          example: Ruby test snippet
        visibility:
          type: string
          description: Visibility level of the snippet.
          example: public
        author:
          description: Author of the snippet.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        created_at:
          type: string
          description: Date and time when the snippet was created.
          format: date-time
          example: '2012-06-28T10:52:04Z'
        updated_at:
          type: string
          description: Date and time when the snippet was last updated.
          format: date-time
          example: '2012-06-28T10:52:04Z'
        project_id:
          type: integer
          description: ID of the project the snippet belongs to. `null` for personal
            snippets.
          format: int64
          example: 1
        web_url:
          type: string
          description: URL to the snippet in the GitLab UI.
          example: http://example.com/example/example/snippets/1
        raw_url:
          type: string
          description: URL to the raw snippet content.
          example: http://example.com/example/example/snippets/1/raw
        ssh_url_to_repo:
          type: string
          description: SSH URL to the snippet repository. Returned only if the snippet
            repository exists.
          example: ssh://user@gitlab.example.com/snippets/65.git
        http_url_to_repo:
          type: string
          description: HTTP URL to the snippet repository. Returned only if the snippet
            repository exists.
          example: https://gitlab.example.com/snippets/65.git
        file_name:
          type: string
          description: Name of the snippet file.
          example: add.rb
        files:
          type: array
          description: Array of snippet files.
          example:
          - path: file.txt
            raw_url: https://gitlab.example.com/.../raw
          items:
            type: object
        imported:
          type: boolean
          description: If `true`, the snippet was imported.
          example: false
        imported_from:
          type: string
          description: Source of the import.
          example: none
        repository_storage:
          type: string
          description: Repository storage used by the snippet.
          example: default
    APIEntitiesUserAgentDetail:
      type: object
      properties:
        user_agent:
          type: string
          description: User agent string of the client that created the item.
          example: AppleWebKit/537.36
        ip_address:
          type: string
          description: IP address of the client that created the item.
          example: 127.0.0.1
        akismet_submitted:
          type: boolean
          description: If `true`, the details were submitted to Akismet for spam detection.
          example: false
    APIEntitiesResourceMilestoneEvent:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 142
        user:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        created_at:
          type: string
          format: date-time
          example: '2018-08-20T13:38:20.077Z'
        resource_type:
          type: string
          example: Issue
        resource_id:
          type: integer
          format: int64
          example: 253
        milestone:
          "$ref": "#/components/schemas/APIEntitiesMilestone"
        action:
          type: string
          example: add
        state:
          type: string
          example: active
    APIEntitiesResourceAccessTokenWithToken:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 2
        name:
          type: string
          example: John Doe
        revoked:
          type: boolean
        created_at:
          type: string
          format: date-time
        description:
          type: string
          example: Token to manage api
        scopes:
          type: array
          example:
          - api
        user_id:
          type: integer
          format: int64
          example: 3
        last_used_at:
          type: string
          format: date-time
          example: '2020-08-31T15:53:00.073Z'
        last_used_ips:
          type: array
          description: The five most recent unique IP addresses that have authenticated
            with this token. When the limit is reached, the oldest IP address is removed.
            The list updates once per minute per token.
          example:
          - 127.0.0.1
          - 127.0.0.2
          - 127.0.0.3
          items:
            type: string
        granular_scopes:
          type: array
          description: Granular scopes of the token, each with `access`, `permissions`,
            `group_id`, and `project_id`. Returned only for tokens created with granular
            scopes.
          items:
            "$ref": "#/components/schemas/APIEntitiesGranularScope"
        active:
          type: boolean
        granular:
          type: boolean
        expires_at:
          type: string
          format: date-time
          example: '2020-08-31T15:53:00.073Z'
        access_level:
          type: integer
          enum:
          - 10
          - 20
          - 30
          - 40
          - 50
          example: 40
        resource_type:
          type: string
          enum:
          - project
          - group
          example: project
        resource_id:
          type: integer
          example: 1234
        token:
          type: string
          example: glpat-<example-token>
    APIEntitiesTreeObject:
      type: object
      properties:
        id:
          type: string
          example: a1e8f8d745cc87e3a9248358d9352bb7f9a0aeba
        name:
          type: string
          example: html
        type:
          type: string
          example: tree
        path:
          type: string
          example: files/html
        mode:
          type: string
          example: '040000'
        last_commit:
          "$ref": "#/components/schemas/APIEntitiesCommit"
    APIEntitiesDiff:
      type: object
      properties:
        diff:
          type: string
          description: Diff of the changes made to the file.
          example: "@@ -71,6 +71,8 @@\\n..."
        collapsed:
          type: boolean
          description: If `true`, the file diff is excluded but can be fetched on
            request. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/199633)
            in GitLab 18.4.
        too_large:
          type: boolean
          description: If `true`, the file diff is excluded and cannot be retrieved.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/199633)
            in GitLab 18.4.
        new_path:
          type: string
          description: New path of the file.
          example: doc/update/5.4-to-6.0.md
        old_path:
          type: string
          description: Old path of the file.
          example: doc/update/5.4-to-6.0.md
        a_mode:
          type: string
          description: Old file mode of the file.
          example: '100755'
        b_mode:
          type: string
          description: New file mode of the file.
          example: '100644'
        new_file:
          type: boolean
          description: If `true`, the file was added.
        renamed_file:
          type: boolean
          description: If `true`, the file was renamed.
        deleted_file:
          type: boolean
          description: If `true`, the file was removed.
        generated_file:
          type: boolean
          description: If `true`, the file is marked as generated.
    APIEntitiesCompare:
      type: object
      properties:
        commit:
          description: Latest commit in the comparison.
          "$ref": "#/components/schemas/APIEntitiesCommit"
        commits:
          type: array
          description: Commits between the two references. Not truncated when `compare_timeout`
            is `true`. For unauthenticated requests, contains at most the 100 most
            recent commits in the range. Behind a feature flag named `compare_api_anonymous_commits_limit`,
            disabled by default.
          items:
            "$ref": "#/components/schemas/APIEntitiesCommit"
        diffs:
          type: array
          description: File differences between the two references.
          items:
            "$ref": "#/components/schemas/APIEntitiesDiff"
        compare_timeout:
          type: boolean
          description: If `true`, the comparison exceeded size limits or timed out,
            and `diffs` might be incomplete.
        compare_same_ref:
          type: boolean
          description: If `true`, `from` and `to` resolve to the same commit.
        web_url:
          type: string
          description: URL to view the comparison in the GitLab UI.
          example: https://gitlab.example.com/gitlab/gitlab-foss/-/compare/main...feature
    APIEntitiesRepositoryHealthReferences:
      type: object
      properties:
        loose_count:
          type: integer
        packed_size:
          type: integer
        reference_backend:
          type: string
    APIEntitiesRepositoryHealthObjects:
      type: object
      properties:
        size:
          type: integer
        recent_size:
          type: integer
        stale_size:
          type: integer
        keep_size:
          type: integer
        packfile_count:
          type: integer
        reverse_index_count:
          type: integer
        cruft_count:
          type: integer
        keep_count:
          type: integer
        loose_objects_count:
          type: integer
        stale_loose_objects_count:
          type: integer
        loose_objects_garbage_count:
          type: integer
    APIEntitiesRepositoryHealthCommitGraph:
      type: object
      properties:
        commit_graph_chain_length:
          type: integer
        has_bloom_filters:
          type: boolean
        has_generation_data:
          type: boolean
        has_generation_data_overflow:
          type: boolean
    APIEntitiesRepositoryHealthBitmap:
      type: object
      properties:
        has_hash_cache:
          type: boolean
        has_lookup_table:
          type: boolean
        version:
          type: integer
    APIEntitiesRepositoryHealthMultiPackIndex:
      type: object
      properties:
        packfile_count:
          type: integer
        version:
          type: integer
    APIEntitiesRepositoryHealthLastFullRepack:
      type: object
      properties:
        seconds:
          type: integer
        nanos:
          type: integer
    APIEntitiesRepositoryHealth:
      type: object
      properties:
        size:
          type: integer
        references:
          "$ref": "#/components/schemas/APIEntitiesRepositoryHealthReferences"
        objects:
          "$ref": "#/components/schemas/APIEntitiesRepositoryHealthObjects"
        commit_graph:
          "$ref": "#/components/schemas/APIEntitiesRepositoryHealthCommitGraph"
        bitmap:
          "$ref": "#/components/schemas/APIEntitiesRepositoryHealthBitmap"
        multi_pack_index:
          "$ref": "#/components/schemas/APIEntitiesRepositoryHealthMultiPackIndex"
        multi_pack_index_bitmap:
          "$ref": "#/components/schemas/APIEntitiesRepositoryHealthBitmap"
        alternates:
          type: object
        is_object_pool:
          type: boolean
        last_full_repack:
          "$ref": "#/components/schemas/APIEntitiesRepositoryHealthLastFullRepack"
        updated_at:
          type: string
          format: date-time
          example: '2025-02-24T09:05:50.355Z'
    APIEntitiesContributor:
      type: object
      properties:
        name:
          type: string
          description: Name of the contributor.
          example: John Doe
        email:
          type: string
          description: Email address of the contributor.
          example: johndoe@example.com
        commits:
          type: integer
          description: Number of commits by the contributor.
          example: 117
        additions:
          type: integer
          description: Number of lines added by the contributor.
          example: 3
        deletions:
          type: integer
          description: Number of lines deleted by the contributor.
          example: 5
    APIEntitiesBatchBlob:
      type: object
      properties:
        path:
          type: string
          description: Path of the file in the repository.
          example: app/models/user.rb
        ref:
          type: string
          description: Branch, tag, or commit the file was read from.
          example: main
        size:
          type: integer
          description: Full size of the blob in bytes.
          example: 1476
        truncated:
          type: boolean
          description: Whether `content` is truncated to the first 1 MB of the blob.
          example: false
        encoding:
          type: string
          description: Encoding of `content`. Always `base64`.
          example: base64
        content:
          type: string
          description: Base64-encoded content of the blob.
          example: VGhpcyBpcyBhIGZpbGU=
    APIEntitiesChangedPath:
      type: object
      properties:
        status:
          type: string
          description: Change type. One of `ADDED`, `MODIFIED`, `DELETED`, `RENAMED`,
            `TYPE_CHANGE`, or `COPIED`.
          example: MODIFIED
        path:
          type: string
          description: Path of the file.
          example: app/models/user.rb
        old_path:
          type: string
          description: Previous path of the file. Same as `path` unless the file was
            renamed or copied.
          example: app/models/user.rb
        old_mode:
          type: string
          description: Previous file mode.
          example: '100644'
        new_mode:
          type: string
          description: New file mode.
          example: '100644'
    APIEntitiesDivergingCommitCount:
      type: object
      properties:
        behind:
          type: integer
          description: Number of commits in `from` that are not in `to`.
          example: 3
        ahead:
          type: integer
          description: Number of commits in `to` that are not in `from`.
          example: 5
    APIEntitiesDiffStat:
      type: object
      properties:
        path:
          type: string
          description: Path of the file.
          example: app/models/user.rb
        old_path:
          type: string
          description: Previous path of the file. Differs from `path` when the file
            was renamed.
          example: app/models/user.rb
        additions:
          type: integer
          description: Number of added lines.
          example: 10
        deletions:
          type: integer
          description: Number of deleted lines.
          example: 3
    APIEntitiesChangelog:
      type: object
      properties:
        notes:
          type: string
          description: Generated changelog data in Markdown format.
          example: "## 1.0.0 (2023-01-01)"
    APIEntitiesMirrorHostKey:
      type: object
      properties:
        fingerprint_sha256:
          type: string
          example: SHA256:abcd1234
    APIEntitiesRemoteMirror:
      type: object
      properties:
        id:
          type: integer
          description: ID of the remote mirror.
          format: int64
          example: 101486
        enabled:
          type: boolean
          description: If `true`, the mirror is enabled.
          example: true
        url:
          type: string
          description: Mirror URL with credentials scrubbed.
          example: https://*****:*****@example.com/gitlab/example.git
        update_status:
          type: string
          description: Status of the mirror update.
          enum:
          - started
          - finished
          - failed
          - to_retry
          - none
          example: finished
        last_update_at:
          type: string
          description: Timestamp of the last mirror attempt. ISO 8601 format.
          format: date-time
          example: '2020-01-06T17:32:02.823Z'
        last_update_started_at:
          type: string
          description: Timestamp when the last mirror attempt started. ISO 8601 format.
          format: date-time
          example: '2020-01-06T17:32:02.823Z'
        last_successful_update_at:
          type: string
          description: Timestamp of the last successful mirror update. ISO 8601 format.
          format: date-time
          example: '2020-01-06T17:31:55.864Z'
        last_error:
          type: string
          description: Error message from the last mirror attempt. `null` if successful.
          example: The remote mirror URL is invalid.
        only_protected_branches:
          type: boolean
          description: If `true`, only protected branches are mirrored.
        keep_divergent_refs:
          type: boolean
          description: If `true`, divergent refs are kept when mirroring.
        auth_method:
          type: string
          description: Authentication method used for the mirror.
          example: password
        host_keys:
          type: array
          description: Array of SSH host key fingerprints for the remote mirror. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/203435)
            in GitLab 18.4.
          items:
            "$ref": "#/components/schemas/APIEntitiesMirrorHostKey"
        mirror_branch_regex:
          type: string
          example: feature-.*
    APIEntitiesReleasesLink:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        name:
          type: string
          example: app-v1.0.dmg
        url:
          type: string
          example: https://gitlab.example.com/root/app/-/jobs/688/artifacts/raw/bin/app-v1.0.dmg
        direct_asset_url:
          type: string
          example: https://gitlab.example.com/root/app/-/releases/v1.0/downloads/app-v1.0.dmg
        link_type:
          type: string
          example: other
    APIEntitiesMilestoneWithStats:
      type: object
      properties:
        id:
          type: integer
          format: int64
        iid:
          type: integer
          format: int64
        project_id:
          type: integer
          format: int64
        group_id:
          type: string
        title:
          type: string
        description:
          type: string
        state:
          type: string
        created_at:
          type: string
        updated_at:
          type: string
        due_date:
          type: string
        start_date:
          type: string
        expired:
          type: boolean
        web_url:
          type: string
        issue_stats:
          type: object
          properties:
            total:
              type: integer
              example: 10
            closed:
              type: integer
              example: 5
    APIEntitiesReleasesSource:
      type: object
      properties:
        format:
          type: string
          example: zip
        url:
          type: string
          example: https://gitlab.example.com/root/app/-/archive/v1.0/app-v1.0.zip
    APIEntitiesReleasesEvidence:
      type: object
      properties:
        sha:
          type: string
          example: 760d6cdfb0879c3ffedec13af470e0f71cf52c6cde4d
        filepath:
          type: string
          example: https://gitlab.example.com/root/app/-/releases/v1.0/evidence.json
        collected_at:
          type: string
          format: date-time
          example: '2019-01-03T01:56:19.539Z'
    APIEntitiesRelease:
      type: object
      properties:
        name:
          type: string
          example: Release v1.0
        tag_name:
          type: string
          example: v1.0
        description:
          type: string
          example: Finally released v1.0
        created_at:
          type: string
          format: date-time
          example: '2019-01-03T01:56:19.539Z'
        released_at:
          type: string
          format: date-time
          example: '2019-01-03T01:56:19.539Z'
        upcoming_release:
          type: boolean
        description_html:
          type: string
        author:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        commit:
          "$ref": "#/components/schemas/APIEntitiesCommit"
        milestones:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesMilestoneWithStats"
        commit_path:
          type: string
          example: "/root/app/commit/588440f66559714280628a4f9799f0c4eb880a4a"
        tag_path:
          type: string
          example: "/root/app/-/tags/v1.0"
        assets:
          type: object
          properties:
            count:
              type: integer
              example: 2
            sources:
              type: array
              items:
                "$ref": "#/components/schemas/APIEntitiesReleasesSource"
            links:
              type: array
              items:
                "$ref": "#/components/schemas/APIEntitiesReleasesLink"
        evidences:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesReleasesEvidence"
        _links:
          type: object
          properties:
            closed_issues_url:
              type: string
              description: HTTP URL of the release's closed issues.
            closed_merge_requests_url:
              type: string
              description: HTTP URL of the release's closed merge requests.
            edit_url:
              type: string
              description: HTTP URL of the release's edit page.
            merged_merge_requests_url:
              type: string
              description: HTTP URL of the release's merged merge requests.
            opened_issues_url:
              type: string
              description: HTTP URL of the release's open issues.
            opened_merge_requests_url:
              type: string
              description: HTTP URL of the release's open merge requests.
            self:
              type: string
              description: HTTP URL of the release.
          description: Links of the release.
        warnings:
          type: array
          example:
          - No evidence was collected for this release.
          items:
            type: string
    APIEntitiesProtectedTag:
      type: object
      properties:
        name:
          type: string
          description: Name of the protected tag or wildcard pattern.
          example: release-1-0
        create_access_levels:
          type: array
          description: Access levels allowed to create the tag.
          items:
            "$ref": "#/components/schemas/APIEntitiesProtectedRefAccess"
    APIEntitiesContainerExpirationPolicy:
      type: object
      properties:
        cadence:
          type: string
          description: How often the cleanup policy runs, such as `1d` or `7d`.
          example: 7d
        enabled:
          type: boolean
          description: If `true`, the cleanup policy is enabled.
        keep_n:
          type: integer
          description: Number of tags to keep for each image.
          example: 10
        older_than:
          type: string
          description: Tags older than this value are removed, such as `90d`.
          example: 90d
        name_regex:
          type: string
          description: Regular expression of tag names to remove.
          example: ".*"
        name_regex_keep:
          type: string
          description: Regular expression of tag names to keep.
        next_run_at:
          type: string
          description: Date and time of the next scheduled policy run.
          format: date-time
    APIEntitiesProjectStatistics:
      type: object
      properties:
        commit_count:
          type: integer
          example: 37
        storage_size:
          type: integer
          example: 1038090
        repository_size:
          type: integer
          example: 1038090
        wiki_size:
          type: integer
          example: 0
        lfs_objects_size:
          type: integer
          example: 0
        job_artifacts_size:
          type: integer
          example: 0
        pipeline_artifacts_size:
          type: integer
          example: 0
        packages_size:
          type: integer
          example: 0
        snippets_size:
          type: integer
          example: 0
        uploads_size:
          type: integer
          example: 0
        container_registry_size:
          type: integer
          example: 0
    APIEntitiesProjectAccess:
      type: object
      properties:
        access_level:
          type: string
          description: Access level of the current user.
        notification_level:
          type: string
          description: Notification level of the current user.
    APIEntitiesGroupAccess:
      type: object
      properties:
        access_level:
          type: string
          description: Access level of the current user.
        notification_level:
          type: string
          description: Notification level of the current user.
    APIEntitiesProjectWithAccess:
      type: object
      properties:
        id:
          type: integer
          description: ID of the project.
          format: int64
          example: 1
        description:
          type: string
          description: Description of the project.
          example: desc
        name:
          type: string
          description: Name of the project.
          example: project1
        name_with_namespace:
          type: string
          description: Name of the project with its namespace.
          example: John Doe / project1
        path:
          type: string
          description: Path of the project.
          example: project1
        path_with_namespace:
          type: string
          description: Path of the project with its namespace.
          example: namespace1/project1
        created_at:
          type: string
          description: Date and time when the project was created.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
        default_branch:
          type: string
          description: Default branch of the project.
          example: main
        tag_list:
          type: array
          description: Deprecated. Use `topics` instead. List of tags for the project.
          example:
          - tag
          items:
            type: string
        topics:
          type: array
          description: List of topics for the project.
          example:
          - topic
          items:
            type: string
        ssh_url_to_repo:
          type: string
          description: SSH URL to clone the repository.
          example: git@gitlab.example.com:gitlab/gitlab.git
        http_url_to_repo:
          type: string
          description: HTTP URL to clone the repository.
          example: https://gitlab.example.com/gitlab/gitlab.git
        web_url:
          type: string
          description: URL to access the project in a browser.
          example: https://gitlab.example.com/gitlab/gitlab
        readme_url:
          type: string
          description: URL to the project's README file. Returned only if the user
            can read the repository.
          example: https://gitlab.example.com/gitlab/gitlab/blob/master/README.md
        forks_count:
          type: integer
          description: Number of forks of the project. Returned only if the user can
            read the repository.
          example: 1
        license_url:
          type: string
          description: URL to the project's license file. Returned only when getting
            a single project with `license=true`.
          example: https://gitlab.example.com/gitlab/gitlab/blob/master/LICENCE
        license:
          "$ref": "#/components/schemas/APIEntitiesLicenseBasic"
        avatar_url:
          type: string
          description: URL to the project's avatar image.
          example: http://example.com/uploads/project/avatar/3/uploads/avatar.png
        star_count:
          type: integer
          description: Number of stars the project has received.
          example: 1
        last_activity_at:
          type: string
          description: Timestamp of the last activity in the project. Updates at most
            once per hour, so it can be up to one hour out of date.
          format: date-time
          example: '2013-09-30T13:46:02Z'
        visibility:
          type: string
          description: 'Visibility level of the project. Possible values: `private`,
            `internal`, or `public`.'
          example: public
        namespace:
          description: Namespace information for the project.
          "$ref": "#/components/schemas/APIEntitiesNamespaceBasic"
        custom_attributes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        repository_storage:
          type: string
          description: Storage location for the project's repository. Returned only
            for administrators.
          example: default
        forked_from_project:
          description: Project this project was forked from. Returned only if the
            user can read the upstream project.
          "$ref": "#/components/schemas/APIEntitiesBasicProjectDetails"
        container_registry_image_prefix:
          type: string
          description: Prefix for container registry images. Returned only if the
            container registry is enabled for the instance.
          example: registry.gitlab.example.com/gitlab/gitlab-client
        _links:
          type: object
          properties:
            self:
              type: string
              description: URL to the project resource.
              example: https://gitlab.example.com/api/v4/projects/4
            issues:
              type: string
              description: URL to the project's issues. Returned only if issues are
                available to the user.
              example: https://gitlab.example.com/api/v4/projects/4/issues
            merge_requests:
              type: string
              description: URL to the project's merge requests. Returned only if merge
                requests are available to the user.
              example: https://gitlab.example.com/api/v4/projects/4/merge_requests
            repo_branches:
              type: string
              description: URL to the project's repository branches.
              example: https://gitlab.example.com/api/v4/projects/4/repository/branches
            labels:
              type: string
              description: URL to the project's labels.
              example: https://gitlab.example.com/api/v4/projects/4/labels
            events:
              type: string
              description: URL to the project's events.
              example: https://gitlab.example.com/api/v4/projects/4/events
            members:
              type: string
              description: URL to the project's members.
              example: https://gitlab.example.com/api/v4/projects/4/members
            cluster_agents:
              type: string
              description: URL to the project's cluster agents.
              example: https://gitlab.example.com/api/v4/projects/4/cluster_agents
          description: Links to API endpoints related to the project.
        marked_for_deletion_at:
          type: string
          description: Deprecated. Use `marked_for_deletion_on` instead. Date when
            the project is scheduled for deletion.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
        marked_for_deletion_on:
          type: string
          description: Date when the project is scheduled for deletion.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
        packages_enabled:
          type: boolean
          description: "[Deprecated](https://gitlab.com/gitlab-org/gitlab/-/work_items/454759)
            in GitLab 17.10. Use `package_registry_access_level` instead. If `true`,
            the package registry is enabled for the project."
        empty_repo:
          type: boolean
          description: If `true`, the repository is empty.
        archived:
          type: boolean
          description: If `true`, the project or one of its ancestor groups is archived.
        owner:
          description: Owner of the project. Returned only for projects in a personal
            namespace.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        resolve_outdated_diff_discussions:
          type: boolean
          description: If `true`, outdated diff discussions are automatically resolved.
        container_expiration_policy:
          description: Settings for the container image expiration policy.
          "$ref": "#/components/schemas/APIEntitiesContainerExpirationPolicy"
        repository_object_format:
          type: string
          description: 'Object format used by the repository. Possible values: `sha1`
            or `sha256`.'
          example: sha1
        issues_enabled:
          type: boolean
          description: Deprecated. Use `issues_access_level` instead. If `true`, issues
            are enabled for the project.
        merge_requests_enabled:
          type: boolean
          description: Deprecated. Use `merge_requests_access_level` instead. If `true`,
            merge requests are enabled for the project.
        wiki_enabled:
          type: boolean
          description: Deprecated. Use `wiki_access_level` instead. If `true`, the
            wiki is enabled for the project.
        jobs_enabled:
          type: boolean
          description: Deprecated. Use `builds_access_level` instead. If `true`, jobs
            are enabled for the project.
        snippets_enabled:
          type: boolean
          description: Deprecated. Use `snippets_access_level` instead. If `true`,
            snippets are enabled for the project.
        container_registry_enabled:
          type: boolean
          description: Deprecated. Use `container_registry_access_level` instead.
            If `true`, the container registry is enabled for the project.
        service_desk_enabled:
          type: boolean
          description: If `true`, Service Desk is enabled for the project. It is `true`
            only when the project setting is on and incoming email with a wildcard
            address is configured for the instance.
        service_desk_address:
          type: string
          description: Email address for the Service Desk. Returned only for users
            with at least the Planner role.
          example: address@example.com
        can_create_merge_request_in:
          type: boolean
          description: If `true`, the current user can create merge requests in the
            project.
        issues_access_level:
          type: string
          description: 'Access level for the issues feature. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        repository_access_level:
          type: string
          description: 'Access level for the repository feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        merge_requests_access_level:
          type: string
          description: 'Access level for the merge requests feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        forking_access_level:
          type: string
          description: 'Access level for forking the project. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        wiki_access_level:
          type: string
          description: 'Access level for the wiki feature. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        builds_access_level:
          type: string
          description: 'Access level for the CI/CD builds feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        snippets_access_level:
          type: string
          description: 'Access level for the snippets feature. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        pages_access_level:
          type: string
          description: 'Access level for GitLab Pages. Possible values: `disabled`,
            `private`, `enabled`, or `public`.'
          example: enabled
        analytics_access_level:
          type: string
          description: 'Access level for analytics features. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        container_registry_access_level:
          type: string
          description: 'Access level for the container registry. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        security_and_compliance_access_level:
          type: string
          description: 'Access level for security and compliance features. Possible
            values: `disabled`, `private`, or `enabled`.'
          example: enabled
        releases_access_level:
          type: string
          description: 'Access level for the releases feature. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        environments_access_level:
          type: string
          description: 'Access level for the environments feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        feature_flags_access_level:
          type: string
          description: 'Access level for the feature flags feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        infrastructure_access_level:
          type: string
          description: 'Access level for the infrastructure feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        monitor_access_level:
          type: string
          description: 'Access level for the monitor feature. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        model_experiments_access_level:
          type: string
          description: 'Access level for the model experiments feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        model_registry_access_level:
          type: string
          description: 'Access level for the model registry feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        package_registry_access_level:
          type: string
          description: 'Access level for the package registry feature. Possible values:
            `disabled`, `private`, `enabled`, or `public`.'
          example: enabled
        emails_disabled:
          type: boolean
          description: Deprecated. Use `emails_enabled` instead. If `true`, emails
            are disabled for the project.
        emails_enabled:
          type: boolean
          description: If `true`, emails are enabled for the project.
        show_diff_preview_in_email:
          type: boolean
          description: If `true`, diff previews are shown in email notifications.
        shared_runners_enabled:
          type: boolean
          description: If `true`, shared runners are enabled for the project.
        lfs_enabled:
          type: boolean
          description: If `true`, Git LFS is enabled for the project.
        creator_id:
          type: integer
          description: ID of the user who created the project.
          format: int64
          example: 1
        mr_default_target_self:
          type: boolean
          description: If `true`, merge requests target this project by default. If
            `false`, merge requests target the upstream project. Returned only if
            the project is a fork.
        import_url:
          type: string
          description: URL the project was imported from. Returned only for users
            with at least the Maintainer role.
          example: https://gitlab.com/gitlab/gitlab.git
        import_type:
          type: string
          description: Type of import used for the project. Returned only for users
            with at least the Maintainer role.
          example: git
        import_status:
          type: string
          description: Status of the project import.
          example: none
        import_error:
          type: string
          description: Error message if the import failed. Returned only for users
            with at least the Maintainer role, and only when creating, updating, forking,
            or getting a single project.
          example: Import error
        open_issues_count:
          type: integer
          description: Number of open issues. Returned only if issues are available
            to the user.
          example: 1
        description_html:
          type: string
          description: Description of the project, rendered as HTML.
        updated_at:
          type: string
          description: Timestamp when the project was last updated.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
        ci_default_git_depth:
          type: integer
          description: Default Git depth for CI/CD pipelines. Returned only for users
            with at least the Maintainer role.
          example: 20
        ci_delete_pipelines_in_seconds:
          type: integer
          description: Time in seconds before old pipelines are deleted. Returned
            only for users with at least the Maintainer role.
          example: 86400
        ci_forward_deployment_enabled:
          type: boolean
          description: If `true`, forward deployment is enabled. Returned only for
            users with at least the Maintainer role.
        ci_forward_deployment_rollback_allowed:
          type: boolean
          description: If `true`, rollback is allowed for forward deployments. Returned
            only for users with at least the Maintainer role.
        ci_job_token_scope_enabled:
          type: boolean
          description: If `true`, the CI/CD job token scope is enabled. Returned only
            for users with at least the Maintainer role.
        ci_separated_caches:
          type: boolean
          description: If `true`, CI/CD caches are separated by branch protection
            status. Returned only for users with at least the Maintainer role.
        ci_allow_fork_pipelines_to_run_in_parent_project:
          type: boolean
          description: If `true`, fork pipelines can run in the parent project. Can
            be set only through the API. Returned only for users with at least the
            Maintainer role.
        ci_id_token_sub_claim_components:
          type: array
          description: Components included in the CI/CD ID token subject claim. Returned
            only for users with at least the Maintainer role.
          items:
            type: string
        build_git_strategy:
          type: string
          description: 'Git strategy used for CI/CD jobs. Possible values: `fetch`
            or `clone`. Returned only for users with at least the Maintainer role.'
          example: fetch
        keep_latest_artifact:
          type: boolean
          description: If `true`, the latest artifacts are kept when new ones are
            created. Returned only for users with at least the Maintainer role.
        restrict_user_defined_variables:
          type: boolean
          description: "[Deprecated](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/154510)
            in GitLab 17.7. Use `ci_pipeline_variables_minimum_override_role` instead.
            If `true`, user-defined variables are restricted. Returned only for users
            with at least the Maintainer role."
        ci_pipeline_variables_minimum_override_role:
          type: string
          description: Minimum role required to override pipeline variables. Returned
            only for users with at least the Maintainer role.
        runner_token_expiration_interval:
          type: integer
          description: Expiration interval in seconds for runner authentication tokens.
            Returned only for users with at least the Maintainer role.
          example: 3600
        group_runners_enabled:
          type: boolean
          description: If `true`, group runners are enabled for the project. Returned
            only for users with at least the Maintainer role.
        resource_group_default_process_mode:
          type: string
          description: Default process mode for resource groups. Returned only for
            users with at least the Maintainer role.
          example: unordered
        auto_cancel_pending_pipelines:
          type: string
          description: Setting for automatically canceling pending pipelines. Returned
            only for users with at least the Maintainer role.
          example: enabled
        build_timeout:
          type: integer
          description: Timeout in seconds for CI/CD jobs. Returned only for users
            with at least the Maintainer role.
          example: 3600
        auto_devops_enabled:
          type: boolean
          description: If `true`, Auto DevOps is enabled for the project. Returned
            only for users with at least the Maintainer role.
        auto_devops_deploy_strategy:
          type: string
          description: Deployment strategy for Auto DevOps. Returned only for users
            with at least the Maintainer role.
          example: continuous
        ci_push_repository_for_job_token_allowed:
          type: boolean
          description: If `true`, pushing to the repository with a job token is allowed.
            Returned only for users with at least the Maintainer role.
        protect_merge_request_pipelines:
          type: boolean
          description: If `true`, protected CI/CD variables and runners are available
            in merge request pipelines. Returned only for users with at least the
            Maintainer role. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/584488)
            in GitLab 18.10.
        ci_display_pipeline_variables:
          type: boolean
          description: If `true`, all manually defined variables are displayed on
            the pipeline details page after a manual pipeline run. Returned only for
            users with at least the Maintainer role. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/584488)
            in GitLab 18.10.
        ci_skip_branch_pipelines_for_mrs:
          type: boolean
          description: If `true`, branch pipelines are skipped when the branch has
            an open merge request. Returned only for users with at least the Maintainer
            role.
        runners_token:
          type: string
          description: Token for registering runners with the project. Returned only
            for users with at least the Maintainer role, and only if runner registration
            tokens are enabled.
          example: b8547b1dc37721d05889db52fa2f02
        ci_config_path:
          type: string
          description: Path to the CI/CD configuration file.
          example: ''
        public_jobs:
          type: boolean
          description: If `true`, job logs and artifacts are publicly accessible.
        shared_with_groups:
          type: array
          description: Groups the project is shared with.
          items:
            type: object
        only_allow_merge_if_pipeline_succeeds:
          type: boolean
          description: If `true`, merges are allowed only if the pipeline succeeds.
        allow_merge_on_skipped_pipeline:
          type: boolean
          description: If `true`, merges are allowed when the pipeline is skipped.
        request_access_enabled:
          type: boolean
          description: If `true`, users can request access to the project.
        only_allow_merge_if_all_discussions_are_resolved:
          type: boolean
          description: If `true`, merges are allowed only if all discussions are resolved.
        remove_source_branch_after_merge:
          type: boolean
          description: If `true`, the source branch is removed after merge by default.
        printing_merge_request_link_enabled:
          type: boolean
          description: If `true`, a link to create or view a merge request is printed
            after a push.
        merge_method:
          type: string
          description: 'Merge method used for the project. Possible values: `merge`,
            `rebase_merge`, or `ff`.'
          example: merge
        squash_option:
          type: string
          description: 'Squash option for merge requests. Possible values: `never`,
            `always`, `default_on`, or `default_off`.'
          example: default_off
        automatic_rebase_enabled:
          type: boolean
          description: If `true`, the source branch is automatically rebased before
            merge. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/623568)
            in GitLab 19.4.
        enforce_auth_checks_on_uploads:
          type: boolean
          description: If `true`, authentication checks are enforced on uploads.
        suggestion_commit_message:
          type: string
          description: Custom commit message for applied suggestions.
          example: Suggestion message
        merge_commit_template:
          type: string
          description: Template for merge commit messages.
          example: "%(title)"
        squash_commit_template:
          type: string
          description: Template for squash commit messages.
          example: "%(source_branch)"
        mr_default_title_template:
          type: string
          description: Template for merge request titles. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/228442)
            in GitLab 18.11.
          example: "%(source_branch)"
        issue_branch_template:
          type: string
          description: Template for branch names created from issues.
          example: "%(title)"
        statistics:
          "$ref": "#/components/schemas/APIEntitiesProjectStatistics"
        warn_about_potentially_unwanted_characters:
          type: boolean
          description: If `true`, warnings are shown for potentially unwanted characters.
        autoclose_referenced_issues:
          type: boolean
          description: If `true`, referenced issues are closed automatically.
        max_artifacts_size:
          type: integer
          description: Maximum size in MB for CI/CD artifacts.
        approvals_before_merge:
          type: integer
          description: "[Deprecated](https://gitlab.com/gitlab-org/gitlab/-/work_items/353097)
            in GitLab 16.0. Use the merge request approvals API instead. Number of
            approvals required before a merge request can merge. Premium and Ultimate
            only."
        mirror:
          type: boolean
          description: If `true`, the project is a pull mirror. Premium and Ultimate
            only, or Free on GitLab Self-Managed with [Registration Features](https://docs.gitlab.com/administration/settings/usage_statistics/#registration-features-program)
            turned on.
        mirror_user_id:
          type: integer
          description: ID of the user who set up the mirror. Returned only if the
            project is a mirror.
        mirror_trigger_builds:
          type: boolean
          description: If `true`, mirror updates trigger pipelines. Returned only
            if the project is a mirror.
        only_mirror_protected_branches:
          type: boolean
          description: If `true`, only protected branches are mirrored. Returned only
            if the project is a mirror.
        mirror_overwrites_diverged_branches:
          type: boolean
          description: If `true`, the mirror overwrites diverged branches. Returned
            only if the project is a mirror.
        external_authorization_classification_label:
          type: string
          description: External authorization classification label. Premium and Ultimate
            only.
        requirements_enabled:
          type: boolean
          description: Deprecated. Use `requirements_access_level` instead. If `true`,
            requirements management is enabled.
        requirements_access_level:
          type: string
          description: 'Access level for the requirements feature. Possible values:
            `disabled`, `private`, or `enabled`.'
        security_and_compliance_enabled:
          type: boolean
          description: If `true`, security and compliance features are enabled.
        secret_push_protection_enabled:
          type: boolean
          description: If `true`, secret push protection is enabled. To change it,
            use the project security settings API. Ultimate only. Returned only for
            users with at least the Developer role, or the Security Manager role.
        pre_receive_secret_detection_enabled:
          type: boolean
          description: "[Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/514413)
            in GitLab 17.9. Use `secret_push_protection_enabled` instead. If `true`,
            secret push protection is enabled. Ultimate only. Returned only for users
            with at least the Developer role, or the Security Manager role."
        compliance_frameworks:
          type: array
          description: Names of the compliance frameworks applied to the project.
          items:
            type: string
        issues_template:
          type: string
          description: Default description for issues, parsed as GitLab Flavored Markdown.
            Premium and Ultimate only.
        merge_requests_template:
          type: string
          description: Default description for merge requests, parsed as GitLab Flavored
            Markdown. Premium and Ultimate only.
        ci_restrict_pipeline_cancellation_role:
          type: string
          description: Minimum role required to cancel pipelines. Premium and Ultimate
            only. Returned only for users with at least the Maintainer role.
        merge_pipelines_enabled:
          type: boolean
          description: If `true`, merged results pipelines are enabled. Premium and
            Ultimate only, or Free on GitLab Self-Managed with [Registration Features](https://docs.gitlab.com/administration/settings/usage_statistics/#registration-features-program)
            turned on.
        merge_trains_enabled:
          type: boolean
          description: If `true`, merge trains are enabled. Premium and Ultimate only.
        merge_trains_skip_train_allowed:
          type: boolean
          description: If `true`, merge requests can skip the merge train. Premium
            and Ultimate only.
        merge_train_enforcement:
          type: string
          description: 'Merge train enforcement level. Possible values: `allow_bypass`,
            `enforce_for_all_users`, or `enforce_with_owner_override`. Has no effect
            unless merge trains are enabled for the project. Premium and Ultimate
            only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/597962)
            in GitLab 19.2.'
        max_pipelines_per_merge_train:
          type: integer
          description: Maximum number of parallel pipelines per merge train. Premium
            and Ultimate only.
        only_allow_merge_if_all_status_checks_passed:
          type: boolean
          description: If `true`, merges are allowed only if all status checks have
            passed. Ultimate only.
        allow_pipeline_trigger_approve_deployment:
          type: boolean
          description: If `true`, pipeline triggers can approve deployments. Premium
            and Ultimate only.
        prevent_merge_without_jira_issue:
          type: boolean
          description: If `true`, merge requests require an associated Jira issue.
            Ultimate only.
        auto_duo_code_review_enabled:
          type: string
        duo_code_review_decisions_enabled:
          type: string
        duo_code_review_level_allowed:
          type: boolean
        duo_code_review_default_level:
          type: string
          example: lite
        reviewer_assignment_strategy:
          type: string
          description: 'Strategy used to automatically assign reviewers to merge requests.
            Possible values: `disabled` or `code_owners`. Projects configured before
            GitLab 19.4 can also return `dap_powered`. Premium and Ultimate only.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/601621) in
            GitLab 19.2.'
          example: code_owners
        duo_remote_flows_enabled:
          type: boolean
          description: If `true`, GitLab Duo remote flows are enabled. Premium and
            Ultimate only.
        duo_foundational_flows_enabled:
          type: boolean
          description: If `true`, GitLab Duo foundational flows are enabled. Premium
            and Ultimate only.
        duo_scheduled_automations_enabled:
          type: boolean
          description: If `true`, GitLab Duo scheduled automations are enabled. Premium
            and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/634139)
            in GitLab 19.6.
        duo_sast_fp_detection_enabled:
          type: boolean
          description: If `true`, GitLab Duo SAST false positive detection is enabled.
            Ultimate only.
        duo_secret_detection_fp_enabled:
          type: string
        duo_dependency_bump_breaking_changes_enabled:
          type: string
        duo_sast_vr_workflow_enabled:
          type: boolean
          description: If `true`, the GitLab Duo SAST vulnerability resolution workflow
            is enabled. Ultimate only.
        web_based_commit_signing_enabled:
          type: boolean
          description: If `true`, web-based commit signing is enabled. Returned only
            on GitLab.com, for users with at least the Maintainer role.
        spp_repository_pipeline_access:
          type: boolean
          description: If `true`, users and tokens get read-only access to security
            policy configurations for enforcement in linked CI/CD projects. Ultimate
            only.
        security_policy_pipeline_must_succeed:
          type: boolean
          description: Require all security policy pipelines to succeed before merge
            requests can be merged.
        merge_request_title_regex:
          type: string
          description: Regular expression that merge request titles must match. Premium
            and Ultimate only.
          example: "/Title of merge request/"
        merge_request_title_regex_description:
          type: string
          description: Description of the merge request title regular expression.
            Premium and Ultimate only.
          example: This requires the title to include a Jira label
        permissions:
          type: object
          properties:
            project_access:
              description: Project membership access level of the current user.
              "$ref": "#/components/schemas/APIEntitiesProjectAccess"
            group_access:
              description: Highest group membership access level of the current user.
              "$ref": "#/components/schemas/APIEntitiesGroupAccess"
          description: Access levels the current user has for the project.
    APIEntitiesProject:
      type: object
      properties:
        id:
          type: integer
          description: ID of the project.
          format: int64
          example: 1
        description:
          type: string
          description: Description of the project.
          example: desc
        name:
          type: string
          description: Name of the project.
          example: project1
        name_with_namespace:
          type: string
          description: Name of the project with its namespace.
          example: John Doe / project1
        path:
          type: string
          description: Path of the project.
          example: project1
        path_with_namespace:
          type: string
          description: Path of the project with its namespace.
          example: namespace1/project1
        created_at:
          type: string
          description: Date and time when the project was created.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
        default_branch:
          type: string
          description: Default branch of the project.
          example: main
        tag_list:
          type: array
          description: Deprecated. Use `topics` instead. List of tags for the project.
          example:
          - tag
          items:
            type: string
        topics:
          type: array
          description: List of topics for the project.
          example:
          - topic
          items:
            type: string
        ssh_url_to_repo:
          type: string
          description: SSH URL to clone the repository.
          example: git@gitlab.example.com:gitlab/gitlab.git
        http_url_to_repo:
          type: string
          description: HTTP URL to clone the repository.
          example: https://gitlab.example.com/gitlab/gitlab.git
        web_url:
          type: string
          description: URL to access the project in a browser.
          example: https://gitlab.example.com/gitlab/gitlab
        readme_url:
          type: string
          description: URL to the project's README file. Returned only if the user
            can read the repository.
          example: https://gitlab.example.com/gitlab/gitlab/blob/master/README.md
        forks_count:
          type: integer
          description: Number of forks of the project. Returned only if the user can
            read the repository.
          example: 1
        license_url:
          type: string
          description: URL to the project's license file. Returned only when getting
            a single project with `license=true`.
          example: https://gitlab.example.com/gitlab/gitlab/blob/master/LICENCE
        license:
          "$ref": "#/components/schemas/APIEntitiesLicenseBasic"
        avatar_url:
          type: string
          description: URL to the project's avatar image.
          example: http://example.com/uploads/project/avatar/3/uploads/avatar.png
        star_count:
          type: integer
          description: Number of stars the project has received.
          example: 1
        last_activity_at:
          type: string
          description: Timestamp of the last activity in the project. Updates at most
            once per hour, so it can be up to one hour out of date.
          format: date-time
          example: '2013-09-30T13:46:02Z'
        visibility:
          type: string
          description: 'Visibility level of the project. Possible values: `private`,
            `internal`, or `public`.'
          example: public
        namespace:
          description: Namespace information for the project.
          "$ref": "#/components/schemas/APIEntitiesNamespaceBasic"
        custom_attributes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        repository_storage:
          type: string
          description: Storage location for the project's repository. Returned only
            for administrators.
          example: default
        forked_from_project:
          description: Project this project was forked from. Returned only if the
            user can read the upstream project.
          "$ref": "#/components/schemas/APIEntitiesBasicProjectDetails"
        container_registry_image_prefix:
          type: string
          description: Prefix for container registry images. Returned only if the
            container registry is enabled for the instance.
          example: registry.gitlab.example.com/gitlab/gitlab-client
        _links:
          type: object
          properties:
            self:
              type: string
              description: URL to the project resource.
              example: https://gitlab.example.com/api/v4/projects/4
            issues:
              type: string
              description: URL to the project's issues. Returned only if issues are
                available to the user.
              example: https://gitlab.example.com/api/v4/projects/4/issues
            merge_requests:
              type: string
              description: URL to the project's merge requests. Returned only if merge
                requests are available to the user.
              example: https://gitlab.example.com/api/v4/projects/4/merge_requests
            repo_branches:
              type: string
              description: URL to the project's repository branches.
              example: https://gitlab.example.com/api/v4/projects/4/repository/branches
            labels:
              type: string
              description: URL to the project's labels.
              example: https://gitlab.example.com/api/v4/projects/4/labels
            events:
              type: string
              description: URL to the project's events.
              example: https://gitlab.example.com/api/v4/projects/4/events
            members:
              type: string
              description: URL to the project's members.
              example: https://gitlab.example.com/api/v4/projects/4/members
            cluster_agents:
              type: string
              description: URL to the project's cluster agents.
              example: https://gitlab.example.com/api/v4/projects/4/cluster_agents
          description: Links to API endpoints related to the project.
        marked_for_deletion_at:
          type: string
          description: Deprecated. Use `marked_for_deletion_on` instead. Date when
            the project is scheduled for deletion.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
        marked_for_deletion_on:
          type: string
          description: Date when the project is scheduled for deletion.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
        packages_enabled:
          type: boolean
          description: "[Deprecated](https://gitlab.com/gitlab-org/gitlab/-/work_items/454759)
            in GitLab 17.10. Use `package_registry_access_level` instead. If `true`,
            the package registry is enabled for the project."
        empty_repo:
          type: boolean
          description: If `true`, the repository is empty.
        archived:
          type: boolean
          description: If `true`, the project or one of its ancestor groups is archived.
        owner:
          description: Owner of the project. Returned only for projects in a personal
            namespace.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        resolve_outdated_diff_discussions:
          type: boolean
          description: If `true`, outdated diff discussions are automatically resolved.
        container_expiration_policy:
          description: Settings for the container image expiration policy.
          "$ref": "#/components/schemas/APIEntitiesContainerExpirationPolicy"
        repository_object_format:
          type: string
          description: 'Object format used by the repository. Possible values: `sha1`
            or `sha256`.'
          example: sha1
        issues_enabled:
          type: boolean
          description: Deprecated. Use `issues_access_level` instead. If `true`, issues
            are enabled for the project.
        merge_requests_enabled:
          type: boolean
          description: Deprecated. Use `merge_requests_access_level` instead. If `true`,
            merge requests are enabled for the project.
        wiki_enabled:
          type: boolean
          description: Deprecated. Use `wiki_access_level` instead. If `true`, the
            wiki is enabled for the project.
        jobs_enabled:
          type: boolean
          description: Deprecated. Use `builds_access_level` instead. If `true`, jobs
            are enabled for the project.
        snippets_enabled:
          type: boolean
          description: Deprecated. Use `snippets_access_level` instead. If `true`,
            snippets are enabled for the project.
        container_registry_enabled:
          type: boolean
          description: Deprecated. Use `container_registry_access_level` instead.
            If `true`, the container registry is enabled for the project.
        service_desk_enabled:
          type: boolean
          description: If `true`, Service Desk is enabled for the project. It is `true`
            only when the project setting is on and incoming email with a wildcard
            address is configured for the instance.
        service_desk_address:
          type: string
          description: Email address for the Service Desk. Returned only for users
            with at least the Planner role.
          example: address@example.com
        can_create_merge_request_in:
          type: boolean
          description: If `true`, the current user can create merge requests in the
            project.
        issues_access_level:
          type: string
          description: 'Access level for the issues feature. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        repository_access_level:
          type: string
          description: 'Access level for the repository feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        merge_requests_access_level:
          type: string
          description: 'Access level for the merge requests feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        forking_access_level:
          type: string
          description: 'Access level for forking the project. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        wiki_access_level:
          type: string
          description: 'Access level for the wiki feature. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        builds_access_level:
          type: string
          description: 'Access level for the CI/CD builds feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        snippets_access_level:
          type: string
          description: 'Access level for the snippets feature. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        pages_access_level:
          type: string
          description: 'Access level for GitLab Pages. Possible values: `disabled`,
            `private`, `enabled`, or `public`.'
          example: enabled
        analytics_access_level:
          type: string
          description: 'Access level for analytics features. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        container_registry_access_level:
          type: string
          description: 'Access level for the container registry. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        security_and_compliance_access_level:
          type: string
          description: 'Access level for security and compliance features. Possible
            values: `disabled`, `private`, or `enabled`.'
          example: enabled
        releases_access_level:
          type: string
          description: 'Access level for the releases feature. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        environments_access_level:
          type: string
          description: 'Access level for the environments feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        feature_flags_access_level:
          type: string
          description: 'Access level for the feature flags feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        infrastructure_access_level:
          type: string
          description: 'Access level for the infrastructure feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        monitor_access_level:
          type: string
          description: 'Access level for the monitor feature. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        model_experiments_access_level:
          type: string
          description: 'Access level for the model experiments feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        model_registry_access_level:
          type: string
          description: 'Access level for the model registry feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        package_registry_access_level:
          type: string
          description: 'Access level for the package registry feature. Possible values:
            `disabled`, `private`, `enabled`, or `public`.'
          example: enabled
        emails_disabled:
          type: boolean
          description: Deprecated. Use `emails_enabled` instead. If `true`, emails
            are disabled for the project.
        emails_enabled:
          type: boolean
          description: If `true`, emails are enabled for the project.
        show_diff_preview_in_email:
          type: boolean
          description: If `true`, diff previews are shown in email notifications.
        shared_runners_enabled:
          type: boolean
          description: If `true`, shared runners are enabled for the project.
        lfs_enabled:
          type: boolean
          description: If `true`, Git LFS is enabled for the project.
        creator_id:
          type: integer
          description: ID of the user who created the project.
          format: int64
          example: 1
        mr_default_target_self:
          type: boolean
          description: If `true`, merge requests target this project by default. If
            `false`, merge requests target the upstream project. Returned only if
            the project is a fork.
        import_url:
          type: string
          description: URL the project was imported from. Returned only for users
            with at least the Maintainer role.
          example: https://gitlab.com/gitlab/gitlab.git
        import_type:
          type: string
          description: Type of import used for the project. Returned only for users
            with at least the Maintainer role.
          example: git
        import_status:
          type: string
          description: Status of the project import.
          example: none
        import_error:
          type: string
          description: Error message if the import failed. Returned only for users
            with at least the Maintainer role, and only when creating, updating, forking,
            or getting a single project.
          example: Import error
        open_issues_count:
          type: integer
          description: Number of open issues. Returned only if issues are available
            to the user.
          example: 1
        description_html:
          type: string
          description: Description of the project, rendered as HTML.
        updated_at:
          type: string
          description: Timestamp when the project was last updated.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
        ci_default_git_depth:
          type: integer
          description: Default Git depth for CI/CD pipelines. Returned only for users
            with at least the Maintainer role.
          example: 20
        ci_delete_pipelines_in_seconds:
          type: integer
          description: Time in seconds before old pipelines are deleted. Returned
            only for users with at least the Maintainer role.
          example: 86400
        ci_forward_deployment_enabled:
          type: boolean
          description: If `true`, forward deployment is enabled. Returned only for
            users with at least the Maintainer role.
        ci_forward_deployment_rollback_allowed:
          type: boolean
          description: If `true`, rollback is allowed for forward deployments. Returned
            only for users with at least the Maintainer role.
        ci_job_token_scope_enabled:
          type: boolean
          description: If `true`, the CI/CD job token scope is enabled. Returned only
            for users with at least the Maintainer role.
        ci_separated_caches:
          type: boolean
          description: If `true`, CI/CD caches are separated by branch protection
            status. Returned only for users with at least the Maintainer role.
        ci_allow_fork_pipelines_to_run_in_parent_project:
          type: boolean
          description: If `true`, fork pipelines can run in the parent project. Can
            be set only through the API. Returned only for users with at least the
            Maintainer role.
        ci_id_token_sub_claim_components:
          type: array
          description: Components included in the CI/CD ID token subject claim. Returned
            only for users with at least the Maintainer role.
          items:
            type: string
        build_git_strategy:
          type: string
          description: 'Git strategy used for CI/CD jobs. Possible values: `fetch`
            or `clone`. Returned only for users with at least the Maintainer role.'
          example: fetch
        keep_latest_artifact:
          type: boolean
          description: If `true`, the latest artifacts are kept when new ones are
            created. Returned only for users with at least the Maintainer role.
        restrict_user_defined_variables:
          type: boolean
          description: "[Deprecated](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/154510)
            in GitLab 17.7. Use `ci_pipeline_variables_minimum_override_role` instead.
            If `true`, user-defined variables are restricted. Returned only for users
            with at least the Maintainer role."
        ci_pipeline_variables_minimum_override_role:
          type: string
          description: Minimum role required to override pipeline variables. Returned
            only for users with at least the Maintainer role.
        runner_token_expiration_interval:
          type: integer
          description: Expiration interval in seconds for runner authentication tokens.
            Returned only for users with at least the Maintainer role.
          example: 3600
        group_runners_enabled:
          type: boolean
          description: If `true`, group runners are enabled for the project. Returned
            only for users with at least the Maintainer role.
        resource_group_default_process_mode:
          type: string
          description: Default process mode for resource groups. Returned only for
            users with at least the Maintainer role.
          example: unordered
        auto_cancel_pending_pipelines:
          type: string
          description: Setting for automatically canceling pending pipelines. Returned
            only for users with at least the Maintainer role.
          example: enabled
        build_timeout:
          type: integer
          description: Timeout in seconds for CI/CD jobs. Returned only for users
            with at least the Maintainer role.
          example: 3600
        auto_devops_enabled:
          type: boolean
          description: If `true`, Auto DevOps is enabled for the project. Returned
            only for users with at least the Maintainer role.
        auto_devops_deploy_strategy:
          type: string
          description: Deployment strategy for Auto DevOps. Returned only for users
            with at least the Maintainer role.
          example: continuous
        ci_push_repository_for_job_token_allowed:
          type: boolean
          description: If `true`, pushing to the repository with a job token is allowed.
            Returned only for users with at least the Maintainer role.
        protect_merge_request_pipelines:
          type: boolean
          description: If `true`, protected CI/CD variables and runners are available
            in merge request pipelines. Returned only for users with at least the
            Maintainer role. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/584488)
            in GitLab 18.10.
        ci_display_pipeline_variables:
          type: boolean
          description: If `true`, all manually defined variables are displayed on
            the pipeline details page after a manual pipeline run. Returned only for
            users with at least the Maintainer role. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/584488)
            in GitLab 18.10.
        ci_skip_branch_pipelines_for_mrs:
          type: boolean
          description: If `true`, branch pipelines are skipped when the branch has
            an open merge request. Returned only for users with at least the Maintainer
            role.
        runners_token:
          type: string
          description: Token for registering runners with the project. Returned only
            for users with at least the Maintainer role, and only if runner registration
            tokens are enabled.
          example: b8547b1dc37721d05889db52fa2f02
        ci_config_path:
          type: string
          description: Path to the CI/CD configuration file.
          example: ''
        public_jobs:
          type: boolean
          description: If `true`, job logs and artifacts are publicly accessible.
        shared_with_groups:
          type: array
          description: Groups the project is shared with.
          items:
            type: object
        only_allow_merge_if_pipeline_succeeds:
          type: boolean
          description: If `true`, merges are allowed only if the pipeline succeeds.
        allow_merge_on_skipped_pipeline:
          type: boolean
          description: If `true`, merges are allowed when the pipeline is skipped.
        request_access_enabled:
          type: boolean
          description: If `true`, users can request access to the project.
        only_allow_merge_if_all_discussions_are_resolved:
          type: boolean
          description: If `true`, merges are allowed only if all discussions are resolved.
        remove_source_branch_after_merge:
          type: boolean
          description: If `true`, the source branch is removed after merge by default.
        printing_merge_request_link_enabled:
          type: boolean
          description: If `true`, a link to create or view a merge request is printed
            after a push.
        merge_method:
          type: string
          description: 'Merge method used for the project. Possible values: `merge`,
            `rebase_merge`, or `ff`.'
          example: merge
        squash_option:
          type: string
          description: 'Squash option for merge requests. Possible values: `never`,
            `always`, `default_on`, or `default_off`.'
          example: default_off
        automatic_rebase_enabled:
          type: boolean
          description: If `true`, the source branch is automatically rebased before
            merge. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/623568)
            in GitLab 19.4.
        enforce_auth_checks_on_uploads:
          type: boolean
          description: If `true`, authentication checks are enforced on uploads.
        suggestion_commit_message:
          type: string
          description: Custom commit message for applied suggestions.
          example: Suggestion message
        merge_commit_template:
          type: string
          description: Template for merge commit messages.
          example: "%(title)"
        squash_commit_template:
          type: string
          description: Template for squash commit messages.
          example: "%(source_branch)"
        mr_default_title_template:
          type: string
          description: Template for merge request titles. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/228442)
            in GitLab 18.11.
          example: "%(source_branch)"
        issue_branch_template:
          type: string
          description: Template for branch names created from issues.
          example: "%(title)"
        statistics:
          "$ref": "#/components/schemas/APIEntitiesProjectStatistics"
        warn_about_potentially_unwanted_characters:
          type: boolean
          description: If `true`, warnings are shown for potentially unwanted characters.
        autoclose_referenced_issues:
          type: boolean
          description: If `true`, referenced issues are closed automatically.
        max_artifacts_size:
          type: integer
          description: Maximum size in MB for CI/CD artifacts.
        approvals_before_merge:
          type: integer
          description: "[Deprecated](https://gitlab.com/gitlab-org/gitlab/-/work_items/353097)
            in GitLab 16.0. Use the merge request approvals API instead. Number of
            approvals required before a merge request can merge. Premium and Ultimate
            only."
        mirror:
          type: boolean
          description: If `true`, the project is a pull mirror. Premium and Ultimate
            only, or Free on GitLab Self-Managed with [Registration Features](https://docs.gitlab.com/administration/settings/usage_statistics/#registration-features-program)
            turned on.
        mirror_user_id:
          type: integer
          description: ID of the user who set up the mirror. Returned only if the
            project is a mirror.
        mirror_trigger_builds:
          type: boolean
          description: If `true`, mirror updates trigger pipelines. Returned only
            if the project is a mirror.
        only_mirror_protected_branches:
          type: boolean
          description: If `true`, only protected branches are mirrored. Returned only
            if the project is a mirror.
        mirror_overwrites_diverged_branches:
          type: boolean
          description: If `true`, the mirror overwrites diverged branches. Returned
            only if the project is a mirror.
        external_authorization_classification_label:
          type: string
          description: External authorization classification label. Premium and Ultimate
            only.
        requirements_enabled:
          type: boolean
          description: Deprecated. Use `requirements_access_level` instead. If `true`,
            requirements management is enabled.
        requirements_access_level:
          type: string
          description: 'Access level for the requirements feature. Possible values:
            `disabled`, `private`, or `enabled`.'
        security_and_compliance_enabled:
          type: boolean
          description: If `true`, security and compliance features are enabled.
        secret_push_protection_enabled:
          type: boolean
          description: If `true`, secret push protection is enabled. To change it,
            use the project security settings API. Ultimate only. Returned only for
            users with at least the Developer role, or the Security Manager role.
        pre_receive_secret_detection_enabled:
          type: boolean
          description: "[Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/514413)
            in GitLab 17.9. Use `secret_push_protection_enabled` instead. If `true`,
            secret push protection is enabled. Ultimate only. Returned only for users
            with at least the Developer role, or the Security Manager role."
        compliance_frameworks:
          type: array
          description: Names of the compliance frameworks applied to the project.
          items:
            type: string
        issues_template:
          type: string
          description: Default description for issues, parsed as GitLab Flavored Markdown.
            Premium and Ultimate only.
        merge_requests_template:
          type: string
          description: Default description for merge requests, parsed as GitLab Flavored
            Markdown. Premium and Ultimate only.
        ci_restrict_pipeline_cancellation_role:
          type: string
          description: Minimum role required to cancel pipelines. Premium and Ultimate
            only. Returned only for users with at least the Maintainer role.
        merge_pipelines_enabled:
          type: boolean
          description: If `true`, merged results pipelines are enabled. Premium and
            Ultimate only, or Free on GitLab Self-Managed with [Registration Features](https://docs.gitlab.com/administration/settings/usage_statistics/#registration-features-program)
            turned on.
        merge_trains_enabled:
          type: boolean
          description: If `true`, merge trains are enabled. Premium and Ultimate only.
        merge_trains_skip_train_allowed:
          type: boolean
          description: If `true`, merge requests can skip the merge train. Premium
            and Ultimate only.
        merge_train_enforcement:
          type: string
          description: 'Merge train enforcement level. Possible values: `allow_bypass`,
            `enforce_for_all_users`, or `enforce_with_owner_override`. Has no effect
            unless merge trains are enabled for the project. Premium and Ultimate
            only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/597962)
            in GitLab 19.2.'
        max_pipelines_per_merge_train:
          type: integer
          description: Maximum number of parallel pipelines per merge train. Premium
            and Ultimate only.
        only_allow_merge_if_all_status_checks_passed:
          type: boolean
          description: If `true`, merges are allowed only if all status checks have
            passed. Ultimate only.
        allow_pipeline_trigger_approve_deployment:
          type: boolean
          description: If `true`, pipeline triggers can approve deployments. Premium
            and Ultimate only.
        prevent_merge_without_jira_issue:
          type: boolean
          description: If `true`, merge requests require an associated Jira issue.
            Ultimate only.
        auto_duo_code_review_enabled:
          type: string
        duo_code_review_decisions_enabled:
          type: string
        duo_code_review_level_allowed:
          type: boolean
        duo_code_review_default_level:
          type: string
          example: lite
        reviewer_assignment_strategy:
          type: string
          description: 'Strategy used to automatically assign reviewers to merge requests.
            Possible values: `disabled` or `code_owners`. Projects configured before
            GitLab 19.4 can also return `dap_powered`. Premium and Ultimate only.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/601621) in
            GitLab 19.2.'
          example: code_owners
        duo_remote_flows_enabled:
          type: boolean
          description: If `true`, GitLab Duo remote flows are enabled. Premium and
            Ultimate only.
        duo_foundational_flows_enabled:
          type: boolean
          description: If `true`, GitLab Duo foundational flows are enabled. Premium
            and Ultimate only.
        duo_scheduled_automations_enabled:
          type: boolean
          description: If `true`, GitLab Duo scheduled automations are enabled. Premium
            and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/634139)
            in GitLab 19.6.
        duo_sast_fp_detection_enabled:
          type: boolean
          description: If `true`, GitLab Duo SAST false positive detection is enabled.
            Ultimate only.
        duo_secret_detection_fp_enabled:
          type: string
        duo_dependency_bump_breaking_changes_enabled:
          type: string
        duo_sast_vr_workflow_enabled:
          type: boolean
          description: If `true`, the GitLab Duo SAST vulnerability resolution workflow
            is enabled. Ultimate only.
        web_based_commit_signing_enabled:
          type: boolean
          description: If `true`, web-based commit signing is enabled. Returned only
            on GitLab.com, for users with at least the Maintainer role.
        spp_repository_pipeline_access:
          type: boolean
          description: If `true`, users and tokens get read-only access to security
            policy configurations for enforcement in linked CI/CD projects. Ultimate
            only.
        security_policy_pipeline_must_succeed:
          type: boolean
          description: Require all security policy pipelines to succeed before merge
            requests can be merged.
        merge_request_title_regex:
          type: string
          description: Regular expression that merge request titles must match. Premium
            and Ultimate only.
          example: "/Title of merge request/"
        merge_request_title_regex_description:
          type: string
          description: Description of the merge request title regular expression.
            Premium and Ultimate only.
          example: This requires the title to include a Jira label
    APIEntitiesPublicGroupDetails:
      type: object
      properties:
        id:
          type: integer
          description: ID of the group.
          format: int64
        web_url:
          type: string
          description: URL to access the group in a browser.
          example: http://gitlab.example.com/groups/diaspora
        name:
          type: string
          description: Name of the group.
          example: Diaspora
        avatar_url:
          type: string
          description: URL of the group's avatar image.
          example: http://gitlab.example.com/uploads/group/avatar/1/avatar.png
        full_name:
          type: string
          description: Full name of the group.
          example: Foobar Group
        full_path:
          type: string
          description: Full path of the group.
          example: foo-bar
    APIEntitiesProjectsWithAccessAndCatalogSetting:
      type: object
      properties:
        id:
          type: integer
          description: ID of the project.
          format: int64
          example: 1
        description:
          type: string
          description: Description of the project.
          example: desc
        name:
          type: string
          description: Name of the project.
          example: project1
        name_with_namespace:
          type: string
          description: Name of the project with its namespace.
          example: John Doe / project1
        path:
          type: string
          description: Path of the project.
          example: project1
        path_with_namespace:
          type: string
          description: Path of the project with its namespace.
          example: namespace1/project1
        created_at:
          type: string
          description: Date and time when the project was created.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
        default_branch:
          type: string
          description: Default branch of the project.
          example: main
        tag_list:
          type: array
          description: Deprecated. Use `topics` instead. List of tags for the project.
          example:
          - tag
          items:
            type: string
        topics:
          type: array
          description: List of topics for the project.
          example:
          - topic
          items:
            type: string
        ssh_url_to_repo:
          type: string
          description: SSH URL to clone the repository.
          example: git@gitlab.example.com:gitlab/gitlab.git
        http_url_to_repo:
          type: string
          description: HTTP URL to clone the repository.
          example: https://gitlab.example.com/gitlab/gitlab.git
        web_url:
          type: string
          description: URL to access the project in a browser.
          example: https://gitlab.example.com/gitlab/gitlab
        readme_url:
          type: string
          description: URL to the project's README file. Returned only if the user
            can read the repository.
          example: https://gitlab.example.com/gitlab/gitlab/blob/master/README.md
        forks_count:
          type: integer
          description: Number of forks of the project. Returned only if the user can
            read the repository.
          example: 1
        license_url:
          type: string
          description: URL to the project's license file. Returned only when getting
            a single project with `license=true`.
          example: https://gitlab.example.com/gitlab/gitlab/blob/master/LICENCE
        license:
          "$ref": "#/components/schemas/APIEntitiesLicenseBasic"
        avatar_url:
          type: string
          description: URL to the project's avatar image.
          example: http://example.com/uploads/project/avatar/3/uploads/avatar.png
        star_count:
          type: integer
          description: Number of stars the project has received.
          example: 1
        last_activity_at:
          type: string
          description: Timestamp of the last activity in the project. Updates at most
            once per hour, so it can be up to one hour out of date.
          format: date-time
          example: '2013-09-30T13:46:02Z'
        visibility:
          type: string
          description: 'Visibility level of the project. Possible values: `private`,
            `internal`, or `public`.'
          example: public
        namespace:
          description: Namespace information for the project.
          "$ref": "#/components/schemas/APIEntitiesNamespaceBasic"
        custom_attributes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        repository_storage:
          type: string
          description: Storage location for the project's repository. Returned only
            for administrators.
          example: default
        forked_from_project:
          description: Project this project was forked from. Returned only if the
            user can read the upstream project.
          "$ref": "#/components/schemas/APIEntitiesBasicProjectDetails"
        container_registry_image_prefix:
          type: string
          description: Prefix for container registry images. Returned only if the
            container registry is enabled for the instance.
          example: registry.gitlab.example.com/gitlab/gitlab-client
        _links:
          type: object
          properties:
            self:
              type: string
              description: URL to the project resource.
              example: https://gitlab.example.com/api/v4/projects/4
            issues:
              type: string
              description: URL to the project's issues. Returned only if issues are
                available to the user.
              example: https://gitlab.example.com/api/v4/projects/4/issues
            merge_requests:
              type: string
              description: URL to the project's merge requests. Returned only if merge
                requests are available to the user.
              example: https://gitlab.example.com/api/v4/projects/4/merge_requests
            repo_branches:
              type: string
              description: URL to the project's repository branches.
              example: https://gitlab.example.com/api/v4/projects/4/repository/branches
            labels:
              type: string
              description: URL to the project's labels.
              example: https://gitlab.example.com/api/v4/projects/4/labels
            events:
              type: string
              description: URL to the project's events.
              example: https://gitlab.example.com/api/v4/projects/4/events
            members:
              type: string
              description: URL to the project's members.
              example: https://gitlab.example.com/api/v4/projects/4/members
            cluster_agents:
              type: string
              description: URL to the project's cluster agents.
              example: https://gitlab.example.com/api/v4/projects/4/cluster_agents
          description: Links to API endpoints related to the project.
        marked_for_deletion_at:
          type: string
          description: Deprecated. Use `marked_for_deletion_on` instead. Date when
            the project is scheduled for deletion.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
        marked_for_deletion_on:
          type: string
          description: Date when the project is scheduled for deletion.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
        packages_enabled:
          type: boolean
          description: "[Deprecated](https://gitlab.com/gitlab-org/gitlab/-/work_items/454759)
            in GitLab 17.10. Use `package_registry_access_level` instead. If `true`,
            the package registry is enabled for the project."
        empty_repo:
          type: boolean
          description: If `true`, the repository is empty.
        archived:
          type: boolean
          description: If `true`, the project or one of its ancestor groups is archived.
        owner:
          description: Owner of the project. Returned only for projects in a personal
            namespace.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        resolve_outdated_diff_discussions:
          type: boolean
          description: If `true`, outdated diff discussions are automatically resolved.
        container_expiration_policy:
          description: Settings for the container image expiration policy.
          "$ref": "#/components/schemas/APIEntitiesContainerExpirationPolicy"
        repository_object_format:
          type: string
          description: 'Object format used by the repository. Possible values: `sha1`
            or `sha256`.'
          example: sha1
        issues_enabled:
          type: boolean
          description: Deprecated. Use `issues_access_level` instead. If `true`, issues
            are enabled for the project.
        merge_requests_enabled:
          type: boolean
          description: Deprecated. Use `merge_requests_access_level` instead. If `true`,
            merge requests are enabled for the project.
        wiki_enabled:
          type: boolean
          description: Deprecated. Use `wiki_access_level` instead. If `true`, the
            wiki is enabled for the project.
        jobs_enabled:
          type: boolean
          description: Deprecated. Use `builds_access_level` instead. If `true`, jobs
            are enabled for the project.
        snippets_enabled:
          type: boolean
          description: Deprecated. Use `snippets_access_level` instead. If `true`,
            snippets are enabled for the project.
        container_registry_enabled:
          type: boolean
          description: Deprecated. Use `container_registry_access_level` instead.
            If `true`, the container registry is enabled for the project.
        service_desk_enabled:
          type: boolean
          description: If `true`, Service Desk is enabled for the project. It is `true`
            only when the project setting is on and incoming email with a wildcard
            address is configured for the instance.
        service_desk_address:
          type: string
          description: Email address for the Service Desk. Returned only for users
            with at least the Planner role.
          example: address@example.com
        can_create_merge_request_in:
          type: boolean
          description: If `true`, the current user can create merge requests in the
            project.
        issues_access_level:
          type: string
          description: 'Access level for the issues feature. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        repository_access_level:
          type: string
          description: 'Access level for the repository feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        merge_requests_access_level:
          type: string
          description: 'Access level for the merge requests feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        forking_access_level:
          type: string
          description: 'Access level for forking the project. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        wiki_access_level:
          type: string
          description: 'Access level for the wiki feature. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        builds_access_level:
          type: string
          description: 'Access level for the CI/CD builds feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        snippets_access_level:
          type: string
          description: 'Access level for the snippets feature. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        pages_access_level:
          type: string
          description: 'Access level for GitLab Pages. Possible values: `disabled`,
            `private`, `enabled`, or `public`.'
          example: enabled
        analytics_access_level:
          type: string
          description: 'Access level for analytics features. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        container_registry_access_level:
          type: string
          description: 'Access level for the container registry. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        security_and_compliance_access_level:
          type: string
          description: 'Access level for security and compliance features. Possible
            values: `disabled`, `private`, or `enabled`.'
          example: enabled
        releases_access_level:
          type: string
          description: 'Access level for the releases feature. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        environments_access_level:
          type: string
          description: 'Access level for the environments feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        feature_flags_access_level:
          type: string
          description: 'Access level for the feature flags feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        infrastructure_access_level:
          type: string
          description: 'Access level for the infrastructure feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        monitor_access_level:
          type: string
          description: 'Access level for the monitor feature. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        model_experiments_access_level:
          type: string
          description: 'Access level for the model experiments feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        model_registry_access_level:
          type: string
          description: 'Access level for the model registry feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        package_registry_access_level:
          type: string
          description: 'Access level for the package registry feature. Possible values:
            `disabled`, `private`, `enabled`, or `public`.'
          example: enabled
        emails_disabled:
          type: boolean
          description: Deprecated. Use `emails_enabled` instead. If `true`, emails
            are disabled for the project.
        emails_enabled:
          type: boolean
          description: If `true`, emails are enabled for the project.
        show_diff_preview_in_email:
          type: boolean
          description: If `true`, diff previews are shown in email notifications.
        shared_runners_enabled:
          type: boolean
          description: If `true`, shared runners are enabled for the project.
        lfs_enabled:
          type: boolean
          description: If `true`, Git LFS is enabled for the project.
        creator_id:
          type: integer
          description: ID of the user who created the project.
          format: int64
          example: 1
        mr_default_target_self:
          type: boolean
          description: If `true`, merge requests target this project by default. If
            `false`, merge requests target the upstream project. Returned only if
            the project is a fork.
        import_url:
          type: string
          description: URL the project was imported from. Returned only for users
            with at least the Maintainer role.
          example: https://gitlab.com/gitlab/gitlab.git
        import_type:
          type: string
          description: Type of import used for the project. Returned only for users
            with at least the Maintainer role.
          example: git
        import_status:
          type: string
          description: Status of the project import.
          example: none
        import_error:
          type: string
          description: Error message if the import failed. Returned only for users
            with at least the Maintainer role, and only when creating, updating, forking,
            or getting a single project.
          example: Import error
        open_issues_count:
          type: integer
          description: Number of open issues. Returned only if issues are available
            to the user.
          example: 1
        description_html:
          type: string
          description: Description of the project, rendered as HTML.
        updated_at:
          type: string
          description: Timestamp when the project was last updated.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
        ci_default_git_depth:
          type: integer
          description: Default Git depth for CI/CD pipelines. Returned only for users
            with at least the Maintainer role.
          example: 20
        ci_delete_pipelines_in_seconds:
          type: integer
          description: Time in seconds before old pipelines are deleted. Returned
            only for users with at least the Maintainer role.
          example: 86400
        ci_forward_deployment_enabled:
          type: boolean
          description: If `true`, forward deployment is enabled. Returned only for
            users with at least the Maintainer role.
        ci_forward_deployment_rollback_allowed:
          type: boolean
          description: If `true`, rollback is allowed for forward deployments. Returned
            only for users with at least the Maintainer role.
        ci_job_token_scope_enabled:
          type: boolean
          description: If `true`, the CI/CD job token scope is enabled. Returned only
            for users with at least the Maintainer role.
        ci_separated_caches:
          type: boolean
          description: If `true`, CI/CD caches are separated by branch protection
            status. Returned only for users with at least the Maintainer role.
        ci_allow_fork_pipelines_to_run_in_parent_project:
          type: boolean
          description: If `true`, fork pipelines can run in the parent project. Can
            be set only through the API. Returned only for users with at least the
            Maintainer role.
        ci_id_token_sub_claim_components:
          type: array
          description: Components included in the CI/CD ID token subject claim. Returned
            only for users with at least the Maintainer role.
          items:
            type: string
        build_git_strategy:
          type: string
          description: 'Git strategy used for CI/CD jobs. Possible values: `fetch`
            or `clone`. Returned only for users with at least the Maintainer role.'
          example: fetch
        keep_latest_artifact:
          type: boolean
          description: If `true`, the latest artifacts are kept when new ones are
            created. Returned only for users with at least the Maintainer role.
        restrict_user_defined_variables:
          type: boolean
          description: "[Deprecated](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/154510)
            in GitLab 17.7. Use `ci_pipeline_variables_minimum_override_role` instead.
            If `true`, user-defined variables are restricted. Returned only for users
            with at least the Maintainer role."
        ci_pipeline_variables_minimum_override_role:
          type: string
          description: Minimum role required to override pipeline variables. Returned
            only for users with at least the Maintainer role.
        runner_token_expiration_interval:
          type: integer
          description: Expiration interval in seconds for runner authentication tokens.
            Returned only for users with at least the Maintainer role.
          example: 3600
        group_runners_enabled:
          type: boolean
          description: If `true`, group runners are enabled for the project. Returned
            only for users with at least the Maintainer role.
        resource_group_default_process_mode:
          type: string
          description: Default process mode for resource groups. Returned only for
            users with at least the Maintainer role.
          example: unordered
        auto_cancel_pending_pipelines:
          type: string
          description: Setting for automatically canceling pending pipelines. Returned
            only for users with at least the Maintainer role.
          example: enabled
        build_timeout:
          type: integer
          description: Timeout in seconds for CI/CD jobs. Returned only for users
            with at least the Maintainer role.
          example: 3600
        auto_devops_enabled:
          type: boolean
          description: If `true`, Auto DevOps is enabled for the project. Returned
            only for users with at least the Maintainer role.
        auto_devops_deploy_strategy:
          type: string
          description: Deployment strategy for Auto DevOps. Returned only for users
            with at least the Maintainer role.
          example: continuous
        ci_push_repository_for_job_token_allowed:
          type: boolean
          description: If `true`, pushing to the repository with a job token is allowed.
            Returned only for users with at least the Maintainer role.
        protect_merge_request_pipelines:
          type: boolean
          description: If `true`, protected CI/CD variables and runners are available
            in merge request pipelines. Returned only for users with at least the
            Maintainer role. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/584488)
            in GitLab 18.10.
        ci_display_pipeline_variables:
          type: boolean
          description: If `true`, all manually defined variables are displayed on
            the pipeline details page after a manual pipeline run. Returned only for
            users with at least the Maintainer role. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/584488)
            in GitLab 18.10.
        ci_skip_branch_pipelines_for_mrs:
          type: boolean
          description: If `true`, branch pipelines are skipped when the branch has
            an open merge request. Returned only for users with at least the Maintainer
            role.
        runners_token:
          type: string
          description: Token for registering runners with the project. Returned only
            for users with at least the Maintainer role, and only if runner registration
            tokens are enabled.
          example: b8547b1dc37721d05889db52fa2f02
        ci_config_path:
          type: string
          description: Path to the CI/CD configuration file.
          example: ''
        public_jobs:
          type: boolean
          description: If `true`, job logs and artifacts are publicly accessible.
        shared_with_groups:
          type: array
          description: Groups the project is shared with.
          items:
            type: object
        only_allow_merge_if_pipeline_succeeds:
          type: boolean
          description: If `true`, merges are allowed only if the pipeline succeeds.
        allow_merge_on_skipped_pipeline:
          type: boolean
          description: If `true`, merges are allowed when the pipeline is skipped.
        request_access_enabled:
          type: boolean
          description: If `true`, users can request access to the project.
        only_allow_merge_if_all_discussions_are_resolved:
          type: boolean
          description: If `true`, merges are allowed only if all discussions are resolved.
        remove_source_branch_after_merge:
          type: boolean
          description: If `true`, the source branch is removed after merge by default.
        printing_merge_request_link_enabled:
          type: boolean
          description: If `true`, a link to create or view a merge request is printed
            after a push.
        merge_method:
          type: string
          description: 'Merge method used for the project. Possible values: `merge`,
            `rebase_merge`, or `ff`.'
          example: merge
        squash_option:
          type: string
          description: 'Squash option for merge requests. Possible values: `never`,
            `always`, `default_on`, or `default_off`.'
          example: default_off
        automatic_rebase_enabled:
          type: boolean
          description: If `true`, the source branch is automatically rebased before
            merge. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/623568)
            in GitLab 19.4.
        enforce_auth_checks_on_uploads:
          type: boolean
          description: If `true`, authentication checks are enforced on uploads.
        suggestion_commit_message:
          type: string
          description: Custom commit message for applied suggestions.
          example: Suggestion message
        merge_commit_template:
          type: string
          description: Template for merge commit messages.
          example: "%(title)"
        squash_commit_template:
          type: string
          description: Template for squash commit messages.
          example: "%(source_branch)"
        mr_default_title_template:
          type: string
          description: Template for merge request titles. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/228442)
            in GitLab 18.11.
          example: "%(source_branch)"
        issue_branch_template:
          type: string
          description: Template for branch names created from issues.
          example: "%(title)"
        statistics:
          "$ref": "#/components/schemas/APIEntitiesProjectStatistics"
        warn_about_potentially_unwanted_characters:
          type: boolean
          description: If `true`, warnings are shown for potentially unwanted characters.
        autoclose_referenced_issues:
          type: boolean
          description: If `true`, referenced issues are closed automatically.
        max_artifacts_size:
          type: integer
          description: Maximum size in MB for CI/CD artifacts.
        approvals_before_merge:
          type: integer
          description: "[Deprecated](https://gitlab.com/gitlab-org/gitlab/-/work_items/353097)
            in GitLab 16.0. Use the merge request approvals API instead. Number of
            approvals required before a merge request can merge. Premium and Ultimate
            only."
        mirror:
          type: boolean
          description: If `true`, the project is a pull mirror. Premium and Ultimate
            only, or Free on GitLab Self-Managed with [Registration Features](https://docs.gitlab.com/administration/settings/usage_statistics/#registration-features-program)
            turned on.
        mirror_user_id:
          type: integer
          description: ID of the user who set up the mirror. Returned only if the
            project is a mirror.
        mirror_trigger_builds:
          type: boolean
          description: If `true`, mirror updates trigger pipelines. Returned only
            if the project is a mirror.
        only_mirror_protected_branches:
          type: boolean
          description: If `true`, only protected branches are mirrored. Returned only
            if the project is a mirror.
        mirror_overwrites_diverged_branches:
          type: boolean
          description: If `true`, the mirror overwrites diverged branches. Returned
            only if the project is a mirror.
        external_authorization_classification_label:
          type: string
          description: External authorization classification label. Premium and Ultimate
            only.
        requirements_enabled:
          type: boolean
          description: Deprecated. Use `requirements_access_level` instead. If `true`,
            requirements management is enabled.
        requirements_access_level:
          type: string
          description: 'Access level for the requirements feature. Possible values:
            `disabled`, `private`, or `enabled`.'
        security_and_compliance_enabled:
          type: boolean
          description: If `true`, security and compliance features are enabled.
        secret_push_protection_enabled:
          type: boolean
          description: If `true`, secret push protection is enabled. To change it,
            use the project security settings API. Ultimate only. Returned only for
            users with at least the Developer role, or the Security Manager role.
        pre_receive_secret_detection_enabled:
          type: boolean
          description: "[Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/514413)
            in GitLab 17.9. Use `secret_push_protection_enabled` instead. If `true`,
            secret push protection is enabled. Ultimate only. Returned only for users
            with at least the Developer role, or the Security Manager role."
        compliance_frameworks:
          type: array
          description: Names of the compliance frameworks applied to the project.
          items:
            type: string
        issues_template:
          type: string
          description: Default description for issues, parsed as GitLab Flavored Markdown.
            Premium and Ultimate only.
        merge_requests_template:
          type: string
          description: Default description for merge requests, parsed as GitLab Flavored
            Markdown. Premium and Ultimate only.
        ci_restrict_pipeline_cancellation_role:
          type: string
          description: Minimum role required to cancel pipelines. Premium and Ultimate
            only. Returned only for users with at least the Maintainer role.
        merge_pipelines_enabled:
          type: boolean
          description: If `true`, merged results pipelines are enabled. Premium and
            Ultimate only, or Free on GitLab Self-Managed with [Registration Features](https://docs.gitlab.com/administration/settings/usage_statistics/#registration-features-program)
            turned on.
        merge_trains_enabled:
          type: boolean
          description: If `true`, merge trains are enabled. Premium and Ultimate only.
        merge_trains_skip_train_allowed:
          type: boolean
          description: If `true`, merge requests can skip the merge train. Premium
            and Ultimate only.
        merge_train_enforcement:
          type: string
          description: 'Merge train enforcement level. Possible values: `allow_bypass`,
            `enforce_for_all_users`, or `enforce_with_owner_override`. Has no effect
            unless merge trains are enabled for the project. Premium and Ultimate
            only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/597962)
            in GitLab 19.2.'
        max_pipelines_per_merge_train:
          type: integer
          description: Maximum number of parallel pipelines per merge train. Premium
            and Ultimate only.
        only_allow_merge_if_all_status_checks_passed:
          type: boolean
          description: If `true`, merges are allowed only if all status checks have
            passed. Ultimate only.
        allow_pipeline_trigger_approve_deployment:
          type: boolean
          description: If `true`, pipeline triggers can approve deployments. Premium
            and Ultimate only.
        prevent_merge_without_jira_issue:
          type: boolean
          description: If `true`, merge requests require an associated Jira issue.
            Ultimate only.
        auto_duo_code_review_enabled:
          type: string
        duo_code_review_decisions_enabled:
          type: string
        duo_code_review_level_allowed:
          type: boolean
        duo_code_review_default_level:
          type: string
          example: lite
        reviewer_assignment_strategy:
          type: string
          description: 'Strategy used to automatically assign reviewers to merge requests.
            Possible values: `disabled` or `code_owners`. Projects configured before
            GitLab 19.4 can also return `dap_powered`. Premium and Ultimate only.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/601621) in
            GitLab 19.2.'
          example: code_owners
        duo_remote_flows_enabled:
          type: boolean
          description: If `true`, GitLab Duo remote flows are enabled. Premium and
            Ultimate only.
        duo_foundational_flows_enabled:
          type: boolean
          description: If `true`, GitLab Duo foundational flows are enabled. Premium
            and Ultimate only.
        duo_scheduled_automations_enabled:
          type: boolean
          description: If `true`, GitLab Duo scheduled automations are enabled. Premium
            and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/634139)
            in GitLab 19.6.
        duo_sast_fp_detection_enabled:
          type: boolean
          description: If `true`, GitLab Duo SAST false positive detection is enabled.
            Ultimate only.
        duo_secret_detection_fp_enabled:
          type: string
        duo_dependency_bump_breaking_changes_enabled:
          type: string
        duo_sast_vr_workflow_enabled:
          type: boolean
          description: If `true`, the GitLab Duo SAST vulnerability resolution workflow
            is enabled. Ultimate only.
        web_based_commit_signing_enabled:
          type: boolean
          description: If `true`, web-based commit signing is enabled. Returned only
            on GitLab.com, for users with at least the Maintainer role.
        spp_repository_pipeline_access:
          type: boolean
          description: If `true`, users and tokens get read-only access to security
            policy configurations for enforcement in linked CI/CD projects. Ultimate
            only.
        security_policy_pipeline_must_succeed:
          type: boolean
          description: Require all security policy pipelines to succeed before merge
            requests can be merged.
        merge_request_title_regex:
          type: string
          description: Regular expression that merge request titles must match. Premium
            and Ultimate only.
          example: "/Title of merge request/"
        merge_request_title_regex_description:
          type: string
          description: Description of the merge request title regular expression.
            Premium and Ultimate only.
          example: This requires the title to include a Jira label
        permissions:
          type: object
          properties:
            project_access:
              description: Project membership access level of the current user.
              "$ref": "#/components/schemas/APIEntitiesProjectAccess"
            group_access:
              description: Highest group membership access level of the current user.
              "$ref": "#/components/schemas/APIEntitiesGroupAccess"
          description: Access levels the current user has for the project.
        cicd_catalog_enabled:
          type: boolean
    APIEntitiesProjectsWithCatalogSetting:
      type: object
      properties:
        id:
          type: integer
          description: ID of the project.
          format: int64
          example: 1
        description:
          type: string
          description: Description of the project.
          example: desc
        name:
          type: string
          description: Name of the project.
          example: project1
        name_with_namespace:
          type: string
          description: Name of the project with its namespace.
          example: John Doe / project1
        path:
          type: string
          description: Path of the project.
          example: project1
        path_with_namespace:
          type: string
          description: Path of the project with its namespace.
          example: namespace1/project1
        created_at:
          type: string
          description: Date and time when the project was created.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
        default_branch:
          type: string
          description: Default branch of the project.
          example: main
        tag_list:
          type: array
          description: Deprecated. Use `topics` instead. List of tags for the project.
          example:
          - tag
          items:
            type: string
        topics:
          type: array
          description: List of topics for the project.
          example:
          - topic
          items:
            type: string
        ssh_url_to_repo:
          type: string
          description: SSH URL to clone the repository.
          example: git@gitlab.example.com:gitlab/gitlab.git
        http_url_to_repo:
          type: string
          description: HTTP URL to clone the repository.
          example: https://gitlab.example.com/gitlab/gitlab.git
        web_url:
          type: string
          description: URL to access the project in a browser.
          example: https://gitlab.example.com/gitlab/gitlab
        readme_url:
          type: string
          description: URL to the project's README file. Returned only if the user
            can read the repository.
          example: https://gitlab.example.com/gitlab/gitlab/blob/master/README.md
        forks_count:
          type: integer
          description: Number of forks of the project. Returned only if the user can
            read the repository.
          example: 1
        license_url:
          type: string
          description: URL to the project's license file. Returned only when getting
            a single project with `license=true`.
          example: https://gitlab.example.com/gitlab/gitlab/blob/master/LICENCE
        license:
          "$ref": "#/components/schemas/APIEntitiesLicenseBasic"
        avatar_url:
          type: string
          description: URL to the project's avatar image.
          example: http://example.com/uploads/project/avatar/3/uploads/avatar.png
        star_count:
          type: integer
          description: Number of stars the project has received.
          example: 1
        last_activity_at:
          type: string
          description: Timestamp of the last activity in the project. Updates at most
            once per hour, so it can be up to one hour out of date.
          format: date-time
          example: '2013-09-30T13:46:02Z'
        visibility:
          type: string
          description: 'Visibility level of the project. Possible values: `private`,
            `internal`, or `public`.'
          example: public
        namespace:
          description: Namespace information for the project.
          "$ref": "#/components/schemas/APIEntitiesNamespaceBasic"
        custom_attributes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        repository_storage:
          type: string
          description: Storage location for the project's repository. Returned only
            for administrators.
          example: default
        forked_from_project:
          description: Project this project was forked from. Returned only if the
            user can read the upstream project.
          "$ref": "#/components/schemas/APIEntitiesBasicProjectDetails"
        container_registry_image_prefix:
          type: string
          description: Prefix for container registry images. Returned only if the
            container registry is enabled for the instance.
          example: registry.gitlab.example.com/gitlab/gitlab-client
        _links:
          type: object
          properties:
            self:
              type: string
              description: URL to the project resource.
              example: https://gitlab.example.com/api/v4/projects/4
            issues:
              type: string
              description: URL to the project's issues. Returned only if issues are
                available to the user.
              example: https://gitlab.example.com/api/v4/projects/4/issues
            merge_requests:
              type: string
              description: URL to the project's merge requests. Returned only if merge
                requests are available to the user.
              example: https://gitlab.example.com/api/v4/projects/4/merge_requests
            repo_branches:
              type: string
              description: URL to the project's repository branches.
              example: https://gitlab.example.com/api/v4/projects/4/repository/branches
            labels:
              type: string
              description: URL to the project's labels.
              example: https://gitlab.example.com/api/v4/projects/4/labels
            events:
              type: string
              description: URL to the project's events.
              example: https://gitlab.example.com/api/v4/projects/4/events
            members:
              type: string
              description: URL to the project's members.
              example: https://gitlab.example.com/api/v4/projects/4/members
            cluster_agents:
              type: string
              description: URL to the project's cluster agents.
              example: https://gitlab.example.com/api/v4/projects/4/cluster_agents
          description: Links to API endpoints related to the project.
        marked_for_deletion_at:
          type: string
          description: Deprecated. Use `marked_for_deletion_on` instead. Date when
            the project is scheduled for deletion.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
        marked_for_deletion_on:
          type: string
          description: Date when the project is scheduled for deletion.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
        packages_enabled:
          type: boolean
          description: "[Deprecated](https://gitlab.com/gitlab-org/gitlab/-/work_items/454759)
            in GitLab 17.10. Use `package_registry_access_level` instead. If `true`,
            the package registry is enabled for the project."
        empty_repo:
          type: boolean
          description: If `true`, the repository is empty.
        archived:
          type: boolean
          description: If `true`, the project or one of its ancestor groups is archived.
        owner:
          description: Owner of the project. Returned only for projects in a personal
            namespace.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        resolve_outdated_diff_discussions:
          type: boolean
          description: If `true`, outdated diff discussions are automatically resolved.
        container_expiration_policy:
          description: Settings for the container image expiration policy.
          "$ref": "#/components/schemas/APIEntitiesContainerExpirationPolicy"
        repository_object_format:
          type: string
          description: 'Object format used by the repository. Possible values: `sha1`
            or `sha256`.'
          example: sha1
        issues_enabled:
          type: boolean
          description: Deprecated. Use `issues_access_level` instead. If `true`, issues
            are enabled for the project.
        merge_requests_enabled:
          type: boolean
          description: Deprecated. Use `merge_requests_access_level` instead. If `true`,
            merge requests are enabled for the project.
        wiki_enabled:
          type: boolean
          description: Deprecated. Use `wiki_access_level` instead. If `true`, the
            wiki is enabled for the project.
        jobs_enabled:
          type: boolean
          description: Deprecated. Use `builds_access_level` instead. If `true`, jobs
            are enabled for the project.
        snippets_enabled:
          type: boolean
          description: Deprecated. Use `snippets_access_level` instead. If `true`,
            snippets are enabled for the project.
        container_registry_enabled:
          type: boolean
          description: Deprecated. Use `container_registry_access_level` instead.
            If `true`, the container registry is enabled for the project.
        service_desk_enabled:
          type: boolean
          description: If `true`, Service Desk is enabled for the project. It is `true`
            only when the project setting is on and incoming email with a wildcard
            address is configured for the instance.
        service_desk_address:
          type: string
          description: Email address for the Service Desk. Returned only for users
            with at least the Planner role.
          example: address@example.com
        can_create_merge_request_in:
          type: boolean
          description: If `true`, the current user can create merge requests in the
            project.
        issues_access_level:
          type: string
          description: 'Access level for the issues feature. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        repository_access_level:
          type: string
          description: 'Access level for the repository feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        merge_requests_access_level:
          type: string
          description: 'Access level for the merge requests feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        forking_access_level:
          type: string
          description: 'Access level for forking the project. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        wiki_access_level:
          type: string
          description: 'Access level for the wiki feature. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        builds_access_level:
          type: string
          description: 'Access level for the CI/CD builds feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        snippets_access_level:
          type: string
          description: 'Access level for the snippets feature. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        pages_access_level:
          type: string
          description: 'Access level for GitLab Pages. Possible values: `disabled`,
            `private`, `enabled`, or `public`.'
          example: enabled
        analytics_access_level:
          type: string
          description: 'Access level for analytics features. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        container_registry_access_level:
          type: string
          description: 'Access level for the container registry. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        security_and_compliance_access_level:
          type: string
          description: 'Access level for security and compliance features. Possible
            values: `disabled`, `private`, or `enabled`.'
          example: enabled
        releases_access_level:
          type: string
          description: 'Access level for the releases feature. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        environments_access_level:
          type: string
          description: 'Access level for the environments feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        feature_flags_access_level:
          type: string
          description: 'Access level for the feature flags feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        infrastructure_access_level:
          type: string
          description: 'Access level for the infrastructure feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        monitor_access_level:
          type: string
          description: 'Access level for the monitor feature. Possible values: `disabled`,
            `private`, or `enabled`.'
          example: enabled
        model_experiments_access_level:
          type: string
          description: 'Access level for the model experiments feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        model_registry_access_level:
          type: string
          description: 'Access level for the model registry feature. Possible values:
            `disabled`, `private`, or `enabled`.'
          example: enabled
        package_registry_access_level:
          type: string
          description: 'Access level for the package registry feature. Possible values:
            `disabled`, `private`, `enabled`, or `public`.'
          example: enabled
        emails_disabled:
          type: boolean
          description: Deprecated. Use `emails_enabled` instead. If `true`, emails
            are disabled for the project.
        emails_enabled:
          type: boolean
          description: If `true`, emails are enabled for the project.
        show_diff_preview_in_email:
          type: boolean
          description: If `true`, diff previews are shown in email notifications.
        shared_runners_enabled:
          type: boolean
          description: If `true`, shared runners are enabled for the project.
        lfs_enabled:
          type: boolean
          description: If `true`, Git LFS is enabled for the project.
        creator_id:
          type: integer
          description: ID of the user who created the project.
          format: int64
          example: 1
        mr_default_target_self:
          type: boolean
          description: If `true`, merge requests target this project by default. If
            `false`, merge requests target the upstream project. Returned only if
            the project is a fork.
        import_url:
          type: string
          description: URL the project was imported from. Returned only for users
            with at least the Maintainer role.
          example: https://gitlab.com/gitlab/gitlab.git
        import_type:
          type: string
          description: Type of import used for the project. Returned only for users
            with at least the Maintainer role.
          example: git
        import_status:
          type: string
          description: Status of the project import.
          example: none
        import_error:
          type: string
          description: Error message if the import failed. Returned only for users
            with at least the Maintainer role, and only when creating, updating, forking,
            or getting a single project.
          example: Import error
        open_issues_count:
          type: integer
          description: Number of open issues. Returned only if issues are available
            to the user.
          example: 1
        description_html:
          type: string
          description: Description of the project, rendered as HTML.
        updated_at:
          type: string
          description: Timestamp when the project was last updated.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
        ci_default_git_depth:
          type: integer
          description: Default Git depth for CI/CD pipelines. Returned only for users
            with at least the Maintainer role.
          example: 20
        ci_delete_pipelines_in_seconds:
          type: integer
          description: Time in seconds before old pipelines are deleted. Returned
            only for users with at least the Maintainer role.
          example: 86400
        ci_forward_deployment_enabled:
          type: boolean
          description: If `true`, forward deployment is enabled. Returned only for
            users with at least the Maintainer role.
        ci_forward_deployment_rollback_allowed:
          type: boolean
          description: If `true`, rollback is allowed for forward deployments. Returned
            only for users with at least the Maintainer role.
        ci_job_token_scope_enabled:
          type: boolean
          description: If `true`, the CI/CD job token scope is enabled. Returned only
            for users with at least the Maintainer role.
        ci_separated_caches:
          type: boolean
          description: If `true`, CI/CD caches are separated by branch protection
            status. Returned only for users with at least the Maintainer role.
        ci_allow_fork_pipelines_to_run_in_parent_project:
          type: boolean
          description: If `true`, fork pipelines can run in the parent project. Can
            be set only through the API. Returned only for users with at least the
            Maintainer role.
        ci_id_token_sub_claim_components:
          type: array
          description: Components included in the CI/CD ID token subject claim. Returned
            only for users with at least the Maintainer role.
          items:
            type: string
        build_git_strategy:
          type: string
          description: 'Git strategy used for CI/CD jobs. Possible values: `fetch`
            or `clone`. Returned only for users with at least the Maintainer role.'
          example: fetch
        keep_latest_artifact:
          type: boolean
          description: If `true`, the latest artifacts are kept when new ones are
            created. Returned only for users with at least the Maintainer role.
        restrict_user_defined_variables:
          type: boolean
          description: "[Deprecated](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/154510)
            in GitLab 17.7. Use `ci_pipeline_variables_minimum_override_role` instead.
            If `true`, user-defined variables are restricted. Returned only for users
            with at least the Maintainer role."
        ci_pipeline_variables_minimum_override_role:
          type: string
          description: Minimum role required to override pipeline variables. Returned
            only for users with at least the Maintainer role.
        runner_token_expiration_interval:
          type: integer
          description: Expiration interval in seconds for runner authentication tokens.
            Returned only for users with at least the Maintainer role.
          example: 3600
        group_runners_enabled:
          type: boolean
          description: If `true`, group runners are enabled for the project. Returned
            only for users with at least the Maintainer role.
        resource_group_default_process_mode:
          type: string
          description: Default process mode for resource groups. Returned only for
            users with at least the Maintainer role.
          example: unordered
        auto_cancel_pending_pipelines:
          type: string
          description: Setting for automatically canceling pending pipelines. Returned
            only for users with at least the Maintainer role.
          example: enabled
        build_timeout:
          type: integer
          description: Timeout in seconds for CI/CD jobs. Returned only for users
            with at least the Maintainer role.
          example: 3600
        auto_devops_enabled:
          type: boolean
          description: If `true`, Auto DevOps is enabled for the project. Returned
            only for users with at least the Maintainer role.
        auto_devops_deploy_strategy:
          type: string
          description: Deployment strategy for Auto DevOps. Returned only for users
            with at least the Maintainer role.
          example: continuous
        ci_push_repository_for_job_token_allowed:
          type: boolean
          description: If `true`, pushing to the repository with a job token is allowed.
            Returned only for users with at least the Maintainer role.
        protect_merge_request_pipelines:
          type: boolean
          description: If `true`, protected CI/CD variables and runners are available
            in merge request pipelines. Returned only for users with at least the
            Maintainer role. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/584488)
            in GitLab 18.10.
        ci_display_pipeline_variables:
          type: boolean
          description: If `true`, all manually defined variables are displayed on
            the pipeline details page after a manual pipeline run. Returned only for
            users with at least the Maintainer role. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/584488)
            in GitLab 18.10.
        ci_skip_branch_pipelines_for_mrs:
          type: boolean
          description: If `true`, branch pipelines are skipped when the branch has
            an open merge request. Returned only for users with at least the Maintainer
            role.
        runners_token:
          type: string
          description: Token for registering runners with the project. Returned only
            for users with at least the Maintainer role, and only if runner registration
            tokens are enabled.
          example: b8547b1dc37721d05889db52fa2f02
        ci_config_path:
          type: string
          description: Path to the CI/CD configuration file.
          example: ''
        public_jobs:
          type: boolean
          description: If `true`, job logs and artifacts are publicly accessible.
        shared_with_groups:
          type: array
          description: Groups the project is shared with.
          items:
            type: object
        only_allow_merge_if_pipeline_succeeds:
          type: boolean
          description: If `true`, merges are allowed only if the pipeline succeeds.
        allow_merge_on_skipped_pipeline:
          type: boolean
          description: If `true`, merges are allowed when the pipeline is skipped.
        request_access_enabled:
          type: boolean
          description: If `true`, users can request access to the project.
        only_allow_merge_if_all_discussions_are_resolved:
          type: boolean
          description: If `true`, merges are allowed only if all discussions are resolved.
        remove_source_branch_after_merge:
          type: boolean
          description: If `true`, the source branch is removed after merge by default.
        printing_merge_request_link_enabled:
          type: boolean
          description: If `true`, a link to create or view a merge request is printed
            after a push.
        merge_method:
          type: string
          description: 'Merge method used for the project. Possible values: `merge`,
            `rebase_merge`, or `ff`.'
          example: merge
        squash_option:
          type: string
          description: 'Squash option for merge requests. Possible values: `never`,
            `always`, `default_on`, or `default_off`.'
          example: default_off
        automatic_rebase_enabled:
          type: boolean
          description: If `true`, the source branch is automatically rebased before
            merge. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/623568)
            in GitLab 19.4.
        enforce_auth_checks_on_uploads:
          type: boolean
          description: If `true`, authentication checks are enforced on uploads.
        suggestion_commit_message:
          type: string
          description: Custom commit message for applied suggestions.
          example: Suggestion message
        merge_commit_template:
          type: string
          description: Template for merge commit messages.
          example: "%(title)"
        squash_commit_template:
          type: string
          description: Template for squash commit messages.
          example: "%(source_branch)"
        mr_default_title_template:
          type: string
          description: Template for merge request titles. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/228442)
            in GitLab 18.11.
          example: "%(source_branch)"
        issue_branch_template:
          type: string
          description: Template for branch names created from issues.
          example: "%(title)"
        statistics:
          "$ref": "#/components/schemas/APIEntitiesProjectStatistics"
        warn_about_potentially_unwanted_characters:
          type: boolean
          description: If `true`, warnings are shown for potentially unwanted characters.
        autoclose_referenced_issues:
          type: boolean
          description: If `true`, referenced issues are closed automatically.
        max_artifacts_size:
          type: integer
          description: Maximum size in MB for CI/CD artifacts.
        approvals_before_merge:
          type: integer
          description: "[Deprecated](https://gitlab.com/gitlab-org/gitlab/-/work_items/353097)
            in GitLab 16.0. Use the merge request approvals API instead. Number of
            approvals required before a merge request can merge. Premium and Ultimate
            only."
        mirror:
          type: boolean
          description: If `true`, the project is a pull mirror. Premium and Ultimate
            only, or Free on GitLab Self-Managed with [Registration Features](https://docs.gitlab.com/administration/settings/usage_statistics/#registration-features-program)
            turned on.
        mirror_user_id:
          type: integer
          description: ID of the user who set up the mirror. Returned only if the
            project is a mirror.
        mirror_trigger_builds:
          type: boolean
          description: If `true`, mirror updates trigger pipelines. Returned only
            if the project is a mirror.
        only_mirror_protected_branches:
          type: boolean
          description: If `true`, only protected branches are mirrored. Returned only
            if the project is a mirror.
        mirror_overwrites_diverged_branches:
          type: boolean
          description: If `true`, the mirror overwrites diverged branches. Returned
            only if the project is a mirror.
        external_authorization_classification_label:
          type: string
          description: External authorization classification label. Premium and Ultimate
            only.
        requirements_enabled:
          type: boolean
          description: Deprecated. Use `requirements_access_level` instead. If `true`,
            requirements management is enabled.
        requirements_access_level:
          type: string
          description: 'Access level for the requirements feature. Possible values:
            `disabled`, `private`, or `enabled`.'
        security_and_compliance_enabled:
          type: boolean
          description: If `true`, security and compliance features are enabled.
        secret_push_protection_enabled:
          type: boolean
          description: If `true`, secret push protection is enabled. To change it,
            use the project security settings API. Ultimate only. Returned only for
            users with at least the Developer role, or the Security Manager role.
        pre_receive_secret_detection_enabled:
          type: boolean
          description: "[Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/514413)
            in GitLab 17.9. Use `secret_push_protection_enabled` instead. If `true`,
            secret push protection is enabled. Ultimate only. Returned only for users
            with at least the Developer role, or the Security Manager role."
        compliance_frameworks:
          type: array
          description: Names of the compliance frameworks applied to the project.
          items:
            type: string
        issues_template:
          type: string
          description: Default description for issues, parsed as GitLab Flavored Markdown.
            Premium and Ultimate only.
        merge_requests_template:
          type: string
          description: Default description for merge requests, parsed as GitLab Flavored
            Markdown. Premium and Ultimate only.
        ci_restrict_pipeline_cancellation_role:
          type: string
          description: Minimum role required to cancel pipelines. Premium and Ultimate
            only. Returned only for users with at least the Maintainer role.
        merge_pipelines_enabled:
          type: boolean
          description: If `true`, merged results pipelines are enabled. Premium and
            Ultimate only, or Free on GitLab Self-Managed with [Registration Features](https://docs.gitlab.com/administration/settings/usage_statistics/#registration-features-program)
            turned on.
        merge_trains_enabled:
          type: boolean
          description: If `true`, merge trains are enabled. Premium and Ultimate only.
        merge_trains_skip_train_allowed:
          type: boolean
          description: If `true`, merge requests can skip the merge train. Premium
            and Ultimate only.
        merge_train_enforcement:
          type: string
          description: 'Merge train enforcement level. Possible values: `allow_bypass`,
            `enforce_for_all_users`, or `enforce_with_owner_override`. Has no effect
            unless merge trains are enabled for the project. Premium and Ultimate
            only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/597962)
            in GitLab 19.2.'
        max_pipelines_per_merge_train:
          type: integer
          description: Maximum number of parallel pipelines per merge train. Premium
            and Ultimate only.
        only_allow_merge_if_all_status_checks_passed:
          type: boolean
          description: If `true`, merges are allowed only if all status checks have
            passed. Ultimate only.
        allow_pipeline_trigger_approve_deployment:
          type: boolean
          description: If `true`, pipeline triggers can approve deployments. Premium
            and Ultimate only.
        prevent_merge_without_jira_issue:
          type: boolean
          description: If `true`, merge requests require an associated Jira issue.
            Ultimate only.
        auto_duo_code_review_enabled:
          type: string
        duo_code_review_decisions_enabled:
          type: string
        duo_code_review_level_allowed:
          type: boolean
        duo_code_review_default_level:
          type: string
          example: lite
        reviewer_assignment_strategy:
          type: string
          description: 'Strategy used to automatically assign reviewers to merge requests.
            Possible values: `disabled` or `code_owners`. Projects configured before
            GitLab 19.4 can also return `dap_powered`. Premium and Ultimate only.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/601621) in
            GitLab 19.2.'
          example: code_owners
        duo_remote_flows_enabled:
          type: boolean
          description: If `true`, GitLab Duo remote flows are enabled. Premium and
            Ultimate only.
        duo_foundational_flows_enabled:
          type: boolean
          description: If `true`, GitLab Duo foundational flows are enabled. Premium
            and Ultimate only.
        duo_scheduled_automations_enabled:
          type: boolean
          description: If `true`, GitLab Duo scheduled automations are enabled. Premium
            and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/634139)
            in GitLab 19.6.
        duo_sast_fp_detection_enabled:
          type: boolean
          description: If `true`, GitLab Duo SAST false positive detection is enabled.
            Ultimate only.
        duo_secret_detection_fp_enabled:
          type: string
        duo_dependency_bump_breaking_changes_enabled:
          type: string
        duo_sast_vr_workflow_enabled:
          type: boolean
          description: If `true`, the GitLab Duo SAST vulnerability resolution workflow
            is enabled. Ultimate only.
        web_based_commit_signing_enabled:
          type: boolean
          description: If `true`, web-based commit signing is enabled. Returned only
            on GitLab.com, for users with at least the Maintainer role.
        spp_repository_pipeline_access:
          type: boolean
          description: If `true`, users and tokens get read-only access to security
            policy configurations for enforcement in linked CI/CD projects. Ultimate
            only.
        security_policy_pipeline_must_succeed:
          type: boolean
          description: Require all security policy pipelines to succeed before merge
            requests can be merged.
        merge_request_title_regex:
          type: string
          description: Regular expression that merge request titles must match. Premium
            and Ultimate only.
          example: "/Title of merge request/"
        merge_request_title_regex_description:
          type: string
          description: Description of the merge request title regular expression.
            Premium and Ultimate only.
          example: This requires the title to include a Jira label
        cicd_catalog_enabled:
          type: boolean
    APIEntitiesProjectGroupLink:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        project_id:
          type: integer
          format: int64
          example: 1
        group_id:
          type: integer
          format: int64
          example: 1
        group_access:
          type: integer
          example: 10
        expires_at:
          type: string
          format: date
          example: '2016-09-26'
        member_role_id:
          type: integer
          example: 12
    APIEntitiesProjectRepositoryStorage:
      type: object
      properties:
        disk_path:
          type: string
          example: "@hashed/6b/86/6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b"
        project_id:
          type: integer
          format: int64
          example: 1
        repository_storage:
          type: string
          example: default
        created_at:
          type: string
          format: date-time
          example: '2012-10-12T17:04:47Z'
    APIEntitiesProjectDailyFetches:
      type: object
      properties:
        count:
          type: integer
          description: Number of fetches for the date.
          example: 3
        date:
          type: string
          description: Date in ISO format (`YYYY-MM-DD`).
          format: date
          example: '2022-01-01'
    APIEntitiesProjectDailyStatistics:
      type: object
      properties:
        fetches:
          type: object
          properties:
            total:
              type: integer
              example: 3
            days:
              type: array
              items:
                "$ref": "#/components/schemas/APIEntitiesProjectDailyFetches"
    APIEntitiesProjectSnippet:
      type: object
      properties:
        id:
          type: integer
          description: ID of the snippet.
          format: int64
          example: 1
        title:
          type: string
          description: Title of the snippet.
          example: test
        description:
          type: string
          description: Description of the snippet.
          example: Ruby test snippet
        visibility:
          type: string
          description: Visibility level of the snippet.
          example: public
        author:
          description: Author of the snippet.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        created_at:
          type: string
          description: Date and time when the snippet was created.
          format: date-time
          example: '2012-06-28T10:52:04Z'
        updated_at:
          type: string
          description: Date and time when the snippet was last updated.
          format: date-time
          example: '2012-06-28T10:52:04Z'
        project_id:
          type: integer
          description: ID of the project the snippet belongs to. `null` for personal
            snippets.
          format: int64
          example: 1
        web_url:
          type: string
          description: URL to the snippet in the GitLab UI.
          example: http://example.com/example/example/snippets/1
        raw_url:
          type: string
          description: URL to the raw snippet content.
          example: http://example.com/example/example/snippets/1/raw
        ssh_url_to_repo:
          type: string
          description: SSH URL to the snippet repository. Returned only if the snippet
            repository exists.
          example: ssh://user@gitlab.example.com/snippets/65.git
        http_url_to_repo:
          type: string
          description: HTTP URL to the snippet repository. Returned only if the snippet
            repository exists.
          example: https://gitlab.example.com/snippets/65.git
        file_name:
          type: string
          description: Name of the snippet file.
          example: add.rb
        files:
          type: array
          description: Array of snippet files.
          example:
          - path: file.txt
            raw_url: https://gitlab.example.com/.../raw
          items:
            type: object
        imported:
          type: boolean
          description: If `true`, the snippet was imported.
          example: false
        imported_from:
          type: string
          description: Source of the import.
          example: none
        repository_storage:
          type: string
          description: Repository storage used by the snippet.
          example: default
    APIEntitiesProjectsPackagesProtectionRule:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        project_id:
          type: integer
          format: int64
          example: 1
        package_name_pattern:
          type: string
          example: flightjs/flight
        package_type:
          type: string
          example: npm
        minimum_access_level_for_delete:
          type: string
          example: owner
        minimum_access_level_for_push:
          type: string
          example: maintainer
    APIEntitiesPackagePipeline:
      type: object
      properties:
        id:
          type: integer
          description: ID of the pipeline.
          format: int64
          example: 1
        iid:
          type: integer
          description: Internal ID of the pipeline.
          example: 2
        project_id:
          type: integer
          description: ID of the project of the pipeline.
          format: int64
          example: 3
        sha:
          type: string
          description: SHA of the commit the pipeline runs for.
          example: 0ec9e58fdfca6cdd6652c083c9edb53abc0bad52
        ref:
          type: string
          description: Git reference of the pipeline.
          example: feature-branch
        status:
          type: string
          description: Status of the pipeline.
          example: success
        source:
          type: string
          description: Source that triggered the pipeline.
          example: push
        created_at:
          type: string
          description: Timestamp when the pipeline was created.
          format: date-time
          example: '2022-10-21T16:49:48.000+02:00'
        updated_at:
          type: string
          description: Timestamp when the pipeline was last updated.
          format: date-time
          example: '2022-10-21T16:49:48.000+02:00'
        web_url:
          type: string
          description: URL of the pipeline in the GitLab UI.
          example: https://gitlab.example.com/gitlab-org/gitlab-foss/-/pipelines/61
        user:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
    APIEntitiesPackageVersion:
      type: object
      properties:
        id:
          type: string
        version:
          type: string
        created_at:
          type: string
        tags:
          type: array
          items:
            type: object
        pipeline:
          "$ref": "#/components/schemas/APIEntitiesPackagePipeline"
    APIEntitiesPackage:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        name:
          type: string
          example: "@foo/bar"
        conan_package_name:
          type: string
        version:
          type: string
          example: 1.0.3
        package_type:
          type: string
          example: npm
        status:
          type: string
          example: default
        _links:
          type: object
          properties:
            web_path:
              type: string
            delete_api_path:
              type: string
        created_at:
          type: string
          format: date-time
          example: '2022-09-16T12:47:31.949Z'
        last_downloaded_at:
          type: string
          format: date-time
          example: '2022-09-19T11:32:35.169Z'
        creator_id:
          type: integer
          description: ID of the user who created the package
          format: int64
          example: 1
        project_id:
          type: integer
          format: int64
          example: 2
        project_path:
          type: string
          example: gitlab/foo/bar
        tags:
          type: array
          items:
            type: object
        pipeline:
          "$ref": "#/components/schemas/APIEntitiesPackagePipeline"
        pipelines:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesPackagePipeline"
        versions:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesPackageVersion"
    APIEntitiesProjectJobTokenScope:
      type: object
      properties:
        inbound_enabled:
          type: boolean
          description: If `true`, only groups and projects in the job token allowlist
            can access this project. Also `true` when the instance enforces the job
            token allowlist. If `false`, all projects have access.
        outbound_enabled:
          type: boolean
          description: If `true`, the CI/CD job token generated in this project can
            access only the projects in its outbound scope. Deprecated.
    APIEntitiesProjectScopeLink:
      type: object
      properties:
        source_project_id:
          type: integer
          description: ID of the project whose job token inbound allowlist is updated.
          format: int64
        target_project_id:
          type: integer
          description: ID of the project added to the source project's inbound allowlist.
          format: int64
    APIEntitiesGroupScopeLink:
      type: object
      properties:
        source_project_id:
          type: integer
          description: ID of the project whose CI/CD job token allowlist includes
            the group.
          format: int64
        target_group_id:
          type: integer
          description: ID of the group added to the allowlist.
          format: int64
    APIEntitiesProjectImportFailedRelation:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        created_at:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        exception_class:
          type: string
          example: StandardError
        source:
          type: string
          example: ImportRepositoryWorker
        exception_message:
          type: string
        relation_name:
          type: string
          example: issues
        line_number:
          type: integer
          example: 1
    APIEntitiesProjectImportStatus:
      type: object
      properties:
        id:
          type: integer
          description: ID of the project.
          format: int64
          example: 1
        description:
          type: string
          description: Description of the project.
          example: desc
        name:
          type: string
          description: Name of the project.
          example: project1
        name_with_namespace:
          type: string
          description: Name of the project with its namespace.
          example: John Doe / project1
        path:
          type: string
          description: Path of the project.
          example: project1
        path_with_namespace:
          type: string
          description: Path of the project with its namespace.
          example: namespace1/project1
        created_at:
          type: string
          description: Date and time when the project was created.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
        import_status:
          type: string
          example: scheduled
        import_type:
          type: string
          example: gitlab_project
        correlation_id:
          type: string
          example: dfcf583058ed4508e4c7c617bd7f0edd
        failed_relations:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesProjectImportFailedRelation"
        import_error:
          type: string
          example: Error message
        stats:
          type: object
    APIEntitiesRelationImportTracker:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        project_path:
          type: string
          example: namespace1/project1
        relation:
          type: string
          example: issues
        status:
          type: string
          example: pending
        created_at:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        updated_at:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
    APIEntitiesProjectHook:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        url:
          type: string
          example: https://webhook.site
        name:
          type: string
          description: Name of the hook. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/460887)
            in GitLab 17.1.
          example: Hook name
        description:
          type: string
          description: Description of the hook. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/460887)
            in GitLab 17.1.
          example: Hook description
        created_at:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        push_events:
          type: boolean
        tag_push_events:
          type: boolean
        merge_requests_events:
          type: boolean
        repository_update_events:
          type: boolean
        enable_ssl_verification:
          type: boolean
        organization_id:
          type: integer
          example: 1
        alert_status:
          type: string
          example: executable
        disabled_until:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        url_variables:
          type: array
          example:
          - token: secr3t
          items:
            type: object
        push_events_branch_filter:
          type: string
          example: my-branch-*
        branch_filter_strategy:
          type: string
          example: wildcard
        custom_webhook_template:
          type: string
          example: '{"event":"{{object_kind}}"}'
        custom_headers:
          type: array
          example:
          - X-Custom-Header: value
          items:
            type: object
        token_present:
          type: boolean
          description: Whether a secret token is configured. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/231325)
            in GitLab 19.0.
          example: false
        signing_token_present:
          type: boolean
          description: Whether an HMAC signing token is configured. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/231325)
            in GitLab 19.0.
          example: false
        project_id:
          type: integer
          format: int64
          example: 1
        issues_events:
          type: boolean
        confidential_issues_events:
          type: boolean
        note_events:
          type: boolean
        confidential_note_events:
          type: boolean
        pipeline_events:
          type: boolean
        wiki_page_events:
          type: boolean
        deployment_events:
          type: boolean
        feature_flag_events:
          type: boolean
        job_events:
          type: boolean
        releases_events:
          type: boolean
        milestone_events:
          type: boolean
        emoji_events:
          type: boolean
        resource_access_token_events:
          type: boolean
        resource_deploy_token_events:
          type: boolean
        vulnerability_events:
          type: boolean
        duo_flow_callback_enabled:
          type: boolean
    APIEntitiesProjectExportStatus:
      type: object
      properties:
        id:
          type: integer
          description: ID of the project.
          format: int64
          example: 1
        description:
          type: string
          description: Description of the project.
          example: desc
        name:
          type: string
          description: Name of the project.
          example: project1
        name_with_namespace:
          type: string
          description: Name of the project with its namespace.
          example: John Doe / project1
        path:
          type: string
          description: Path of the project.
          example: project1
        path_with_namespace:
          type: string
          description: Path of the project with its namespace.
          example: namespace1/project1
        created_at:
          type: string
          description: Date and time when the project was created.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
        export_status:
          type: string
          enum:
          - queued
          - started
          - finished
          - failed
          example: finished
        _links:
          type: object
          properties:
            api_url:
              type: string
              example: https://gitlab.example.com/api/v4/projects/1/export/download
            web_url:
              type: string
              example: https://gitlab.example.com/gitlab-org/gitlab-test/download_export
    APIEntitiesBulkImportsExportBatchStatus:
      type: object
      properties:
        status:
          type: string
          enum:
          - started
          - finished
          - failed
          example: started
        batch_number:
          type: integer
          example: 1
        objects_count:
          type: integer
          example: 100
        error:
          type: string
          example: Error message
        updated_at:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
    APIEntitiesBulkImportsExportStatus:
      type: object
      properties:
        relation:
          type: string
          example: issues
        status:
          type: string
          enum:
          - pending
          - started
          - finished
          - failed
          example: started
        error:
          type: string
          example: Error message
        updated_at:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        batched:
          type: boolean
          example: true
        batches_count:
          type: integer
          example: 2
        total_objects_count:
          type: integer
          example: 100
        batches:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesBulkImportsExportBatchStatus"
    APIEntitiesPushEventPayload:
      type: object
      properties:
        commit_count:
          type: integer
          example: 1
        action:
          type: string
          example: pushed
        ref_type:
          type: string
          example: branch
        commit_from:
          type: string
          example: 50d4420237a9de7be1304607147aec22e4a14af7
        commit_to:
          type: string
          example: c5feabde2d8cd023215af4d2ceeb7a64839fc428
        ref:
          type: string
          example: master
        commit_title:
          type: string
          example: Add simple search to projects in public area
        ref_count:
          type: integer
          example: 1
    APIEntitiesEvent:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        project_id:
          type: integer
          format: int64
          example: 2
        action_name:
          type: string
          example: closed
        target_id:
          type: integer
          format: int64
          example: 160
        target_iid:
          type: integer
          example: 157
        target_type:
          type: string
          example: Issue
        author_id:
          type: integer
          format: int64
          example: 25
        target_title:
          type: string
          example: Public project search field
        created_at:
          type: string
          example: '2017-02-09T10:43:19.667Z'
        note:
          "$ref": "#/components/schemas/APIEntitiesNote"
        author:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        wiki_page:
          "$ref": "#/components/schemas/APIEntitiesWikiPageBasic"
        imported:
          type: boolean
          example: false
        imported_from:
          type: string
          example: none
        push_data:
          "$ref": "#/components/schemas/APIEntitiesPushEventPayload"
        author_username:
          type: string
          example: root
    APIEntitiesPackagesDebianDistribution:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        codename:
          type: string
          example: sid
        suite:
          type: string
          example: unstable
        origin:
          type: string
          example: Grep
        label:
          type: string
          example: grep.be
        version:
          type: string
          example: '12'
        description:
          type: string
          example: My description
        valid_time_duration_seconds:
          type: integer
          example: 604800
        components:
          type: array
          example:
          - main
          items:
            type: string
        architectures:
          type: array
          example:
          - amd64
          items:
            type: string
    APIEntitiesProjectsContainerRegistryProtectionTagRule:
      type: object
      properties:
        id:
          type: integer
          description: ID of the protection tag rule.
          format: int64
          example: 1
        project_id:
          type: integer
          description: ID of the project the rule belongs to.
          format: int64
          example: 123
        tag_name_pattern:
          type: string
          description: Pattern that matches container tag names. For example, `v*-release`
            or `latest`.
          example: v*-release
        minimum_access_level_for_push:
          type: string
          description: Minimum access level required to push container tags that match
            the pattern. One of `maintainer`, `owner`, or `admin`.
          example: maintainer
        minimum_access_level_for_delete:
          type: string
          description: Minimum access level required to delete container tags that
            match the pattern. One of `maintainer`, `owner`, or `admin`.
          example: maintainer
    APIEntitiesProjectsContainerRegistryProtectionRule:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        project_id:
          type: integer
          format: int64
          example: 1
        repository_path_pattern:
          type: string
          example: flightjs/flight0
        minimum_access_level_for_push:
          type: string
          example: maintainer
        minimum_access_level_for_delete:
          type: string
          example: maintainer
    APIEntitiesContainerRegistryTag:
      type: object
      properties:
        name:
          type: string
          example: latest
        path:
          type: string
          example: namespace1/project1/test_image_1:latest
        location:
          type: string
          example: registry.dev/namespace1/project1/test_image_1:latest
    APIEntitiesContainerRegistryRepository:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        name:
          type: string
          example: releases
        path:
          type: string
          example: group/project/releases
        project_id:
          type: integer
          format: int64
          example: 9
        location:
          type: string
          example: gitlab.example.com/group/project/releases
        created_at:
          type: string
          format: date-time
          example: '2019-01-10T13:39:08.229Z'
        cleanup_policy_started_at:
          type: string
          format: date-time
          example: '2020-08-17T03:12:35.489Z'
        tags_count:
          type: integer
          example: 3
        tags:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesContainerRegistryTag"
        delete_api_path:
          type: string
          example: delete/api/path
        size:
          type: integer
          example: 12345
        status:
          type: string
          example: delete_scheduled
    APIEntitiesContainerRegistryTagDetails:
      type: object
      properties:
        name:
          type: string
          example: latest
        path:
          type: string
          example: namespace1/project1/test_image_1:latest
        location:
          type: string
          example: registry.dev/namespace1/project1/test_image_1:latest
        revision:
          type: string
          example: tagrevision
        short_revision:
          type: string
          example: shortrevison
        digest:
          type: string
          example: shadigest
        created_at:
          type: string
          format: date-time
          example: '2022-01-10T13:39:08.229Z'
        total_size:
          type: integer
          example: 3
    APIEntitiesPlatformKubernetes:
      type: object
      properties:
        api_url:
          type: string
        namespace:
          type: string
        authorization_type:
          type: string
        ca_cert:
          type: string
    APIEntitiesProviderGcp:
      type: object
      properties:
        cluster_id:
          type: string
        status_name:
          type: string
        gcp_project_id:
          type: string
        zone:
          type: string
        machine_type:
          type: string
        num_nodes:
          type: string
        endpoint:
          type: string
    APIEntitiesCluster:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        created_at:
          type: string
        domain:
          type: string
        enabled:
          type: string
        managed:
          type: string
        provider_type:
          type: string
        platform_type:
          type: string
        environment_scope:
          type: string
        cluster_type:
          type: string
        namespace_per_environment:
          type: string
        user:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        platform_kubernetes:
          "$ref": "#/components/schemas/APIEntitiesPlatformKubernetes"
        provider_gcp:
          "$ref": "#/components/schemas/APIEntitiesProviderGcp"
        management_project:
          "$ref": "#/components/schemas/APIEntitiesProjectIdentity"
    APIEntitiesClusterProject:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        created_at:
          type: string
        domain:
          type: string
        enabled:
          type: string
        managed:
          type: string
        provider_type:
          type: string
        platform_type:
          type: string
        environment_scope:
          type: string
        cluster_type:
          type: string
        namespace_per_environment:
          type: string
        user:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        platform_kubernetes:
          "$ref": "#/components/schemas/APIEntitiesPlatformKubernetes"
        provider_gcp:
          "$ref": "#/components/schemas/APIEntitiesProviderGcp"
        management_project:
          "$ref": "#/components/schemas/APIEntitiesProjectIdentity"
        project:
          "$ref": "#/components/schemas/APIEntitiesBasicProjectDetails"
    APIEntitiesGroupAssociationDetails:
      type: object
      properties:
        id:
          type: integer
          description: ID of the group.
          format: int64
        web_url:
          type: string
          description: URL to access the group in a browser.
          example: http://gitlab.example.com/groups/diaspora
        name:
          type: string
          description: Name of the group.
          example: Diaspora
        parent_id:
          type: integer
          format: int64
          example: 1
        organization_id:
          type: integer
          format: int64
          example: 1
        access_levels:
          type: integer
          example: 50
        visibility:
          type: string
          example: public
    APIEntitiesProjectAssociationDetails:
      type: object
      properties:
        id:
          type: integer
          description: ID of the project.
          format: int64
          example: 1
        description:
          type: string
          description: Description of the project.
          example: desc
        name:
          type: string
          description: Name of the project.
          example: project1
        name_with_namespace:
          type: string
          description: Name of the project with its namespace.
          example: John Doe / project1
        path:
          type: string
          description: Path of the project.
          example: project1
        path_with_namespace:
          type: string
          description: Path of the project with its namespace.
          example: namespace1/project1
        created_at:
          type: string
          description: Date and time when the project was created.
          format: date-time
          example: '2020-05-07T04:27:17.016Z'
        access_levels:
          type: object
          properties:
            project_access_level:
              type: integer
              example: 50
            group_access_level:
              type: integer
              example: 50
        visibility:
          type: string
          example: public
        web_url:
          type: string
          example: https://gitlab.example.com/gitlab/gitlab
        namespace:
          "$ref": "#/components/schemas/APIEntitiesNamespaceBasic"
    APIEntitiesPersonalAccessTokenAssociations:
      type: object
      properties:
        groups:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesGroupAssociationDetails"
        projects:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesProjectAssociationDetails"
    APIEntitiesPagesDomainCertificateExpiration:
      type: object
      properties:
        expired:
          type: boolean
          description: If `true`, the SSL certificate has expired.
        expiration:
          type: string
          description: Date and time when the SSL certificate expires.
          format: date-time
          example: '2025-01-01T00:00:00.000Z'
    APIEntitiesPagesDomainBasic:
      type: object
      properties:
        domain:
          type: string
          description: Custom domain name of the Pages site.
        url:
          type: string
          description: Full URL of the Pages site, including the protocol.
        project_id:
          type: integer
          description: ID of the project the Pages domain belongs to.
        verified:
          type: boolean
          description: If `true`, the domain is verified.
        verification_code:
          type: string
          description: Unique record used to verify domain ownership.
        enabled_until:
          type: string
          description: Date until which the domain is enabled. Updated periodically
            as the domain is reverified.
          format: date-time
        auto_ssl_enabled:
          type: boolean
          description: If `true`, automatic generation of SSL certificates with Let's
            Encrypt is enabled for the domain.
        certificate_expiration:
          description: Expiration of the SSL certificate. Returned only if the domain
            has a certificate.
          "$ref": "#/components/schemas/APIEntitiesPagesDomainCertificateExpiration"
    APIEntitiesPagesDomainCertificate:
      type: object
      properties:
        subject:
          type: string
          description: Subject of the SSL certificate, usually with information about
            the domain.
        expired:
          type: boolean
          description: If `true`, the SSL certificate has expired.
        certificate:
          type: string
          description: Full SSL certificate in PEM format.
        certificate_text:
          type: string
          description: Human-readable text of the SSL certificate, with details such
            as the issuer, validity period, and subject.
    APIEntitiesPagesDomain:
      type: object
      properties:
        domain:
          type: string
          description: Custom domain name of the Pages site.
        url:
          type: string
          description: Full URL of the Pages site, including the protocol.
        verified:
          type: boolean
          description: If `true`, the domain is verified.
        verification_code:
          type: string
          description: Unique record used to verify domain ownership.
        enabled_until:
          type: string
          description: Date until which the domain is enabled. Updated periodically
            as the domain is reverified.
          format: date-time
        auto_ssl_enabled:
          type: boolean
          description: If `true`, automatic generation of SSL certificates with Let's
            Encrypt is enabled for the domain.
        certificate:
          description: SSL certificate of the domain. Returned only if the domain
            has a certificate.
          "$ref": "#/components/schemas/APIEntitiesPagesDomainCertificate"
    APIEntitiesPagesDeployments:
      type: object
      properties:
        created_at:
          type: string
          description: Date the deployment was created.
          format: date-time
          example: '2024-01-05T18:58:14.916Z'
        url:
          type: string
          description: URL for this deployment.
          example: http://group.example.com/project/
        path_prefix:
          type: string
          description: Path prefix of this deployment when using parallel deployments.
          example: mr3
        root_directory:
          type: string
          description: Root directory of this deployment.
          example: public
    APIEntitiesPagesProjectSettings:
      type: object
      properties:
        url:
          type: string
          description: URL to access the Pages site for this project.
          example: http://group.example.com/project
        deployments:
          type: array
          description: List of current active deployments.
          items:
            "$ref": "#/components/schemas/APIEntitiesPagesDeployments"
        is_unique_domain_enabled:
          type: boolean
          description: If `true`, unique domain is enabled.
          example: true
        force_https:
          type: boolean
          description: If `true`, the project is set to force HTTPS.
          example: false
        pages_primary_domain:
          type: string
          description: Primary domain that all Pages requests are redirected to.
          example: https://custom.example.com
    APIEntitiesPackageFile:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 225
        package_id:
          type: integer
          format: int64
          example: 4
        created_at:
          type: string
          format: date-time
          example: '2018-11-07T15:25:52.199Z'
        file_name:
          type: string
          example: my-app-1.5-20181107.152550-1.jar
        size:
          type: integer
          example: 2421
        file_md5:
          type: string
          example: 58e6a45a629910c6ff99145a688971ac
        file_sha1:
          type: string
          example: ebd193463d3915d7e22219f52740056dfd26cbfe
        file_sha256:
          type: string
          example: a903393463d3915d7e22219f52740056dfd26cbfeff321b
        pipelines:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesPackagePipeline"
    APIEntitiesOrganizationsOrganization:
      type: object
      properties:
        id:
          type: integer
          description: ID of the organization.
          format: int64
          example: 1
        uuid:
          type: string
          description: UUID of the organization.
          example: '0192f8c2-1a2b-7cde-89ab-0123456789ab'
        name:
          type: string
          description: Name of the organization.
          example: GitLab
        path:
          type: string
          description: Path of the organization.
          example: gitlab
        description:
          type: string
          description: Description of the organization.
          example: My description
        visibility:
          type: string
          description: Visibility level of the organization.
          example: public
        created_at:
          type: string
          description: Date and time when the organization was created.
          format: date-time
          example: '2022-02-24T20:22:30.097Z'
        updated_at:
          type: string
          description: Date and time when the organization was last updated.
          format: date-time
          example: '2022-02-24T20:22:30.097Z'
        web_url:
          type: string
          description: Web URL of the organization.
          example: https://example.com/o/gitlab/-/overview
        avatar_url:
          type: string
          description: URL of the organization avatar.
          example: https://example.com/uploads/-/system/organizations/organization_detail/avatar/1/avatar.png
    APIEntitiesOrganizationsOrganizationUser:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        username:
          type: string
          example: jane_doe
        bot:
          type: boolean
          example: false
        access_level:
          type: string
          example: owner
    APIEntitiesImportOfflineExport:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        status:
          type: string
          enum:
          - created
          - started
          - finished
          - failed
          example: finished
        source_hostname:
          type: string
          example: https://source.example.com/
        created_at:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        updated_at:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        has_failures:
          type: boolean
          example: false
        bucket:
          type: string
          example: gitlab-exports
        export_prefix:
          type: string
          example: 2012-05-28_04-42-42_export_ab12cd34
    APIEntitiesBulkImport:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        status:
          type: string
          enum:
          - created
          - started
          - finished
          - timeout
          - failed
          example: finished
        source_type:
          type: string
          example: gitlab
        source_url:
          type: string
          example: https://source.gitlab.com/
        created_at:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        updated_at:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        has_failures:
          type: boolean
          example: false
    APIEntitiesNugetServiceIndex:
      type: object
      properties:
        version:
          type: string
          example: 1.3.0.17
        resources:
          type: array
          example:
          - "@id": https://gitlab.com/api/v4/projects/1/packages/nuget/query
            "@type": SearchQueryService
            comment: Filter and search for packages by keyword.
          items:
            type: object
    APIEntitiesNugetDependency:
      type: object
      properties:
        "@id":
          type: string
          example: http://gitlab.com/Sandbox.App/1.0.0.json#dependency
        "@type":
          type: string
          example: PackageDependency
        id:
          type: string
          example: Dependency
        range:
          type: string
          example: 2.0.0
    APIEntitiesNugetDependencyGroup:
      type: object
      properties:
        "@id":
          type: string
          example: http://gitlab.com/Sandbox.App/1.0.0.json#dependencygroup
        "@type":
          type: string
          example: PackageDependencyGroup
        targetFramework:
          type: string
          example: fwk test
        dependencies:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesNugetDependency"
    APIEntitiesNugetPackageMetadataCatalogEntry:
      type: object
      properties:
        "@id":
          type: string
          example: https://gitlab.example.com/api/v4/projects/1/packages/nuget/metadata/MyNuGetPkg/1.3.0.17.json
        dependencyGroups:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesNugetDependencyGroup"
        id:
          type: string
          example: MyNuGetPkg
        version:
          type: string
          example: 1.3.0.17
        tags:
          type: string
          example: tag#1 tag#2
        packageContent:
          type: string
          example: https://gitlab.example.com/api/v4/projects/1/packages/nuget/download/MyNuGetPkg/1.3.0.17/helloworld.1.3.0.17.nupkg
        authors:
          type: string
          example: Authors
        description:
          type: string
          example: Description
        summary:
          type: string
          example: Description
        projectUrl:
          type: string
          example: http://sandbox.com/project
        licenseUrl:
          type: string
          example: http://sandbox.com/license
        iconUrl:
          type: string
          example: http://sandbox.com/icon
        published:
          type: string
          example: '2023-05-08T17:23:25Z'
    APIEntitiesNugetPackageMetadata:
      type: object
      properties:
        "@id":
          type: string
          example: https://gitlab.example.com/api/v4/projects/1/packages/nuget/metadata/MyNuGetPkg/1.3.0.17.json
        packageContent:
          type: string
          example: https://gitlab.example.com/api/v4/projects/1/packages/nuget/download/MyNuGetPkg/1.3.0.17/helloworld.1.3.0.17.nupkg
        catalogEntry:
          "$ref": "#/components/schemas/APIEntitiesNugetPackageMetadataCatalogEntry"
    APIEntitiesNugetPackagesMetadataItem:
      type: object
      properties:
        "@id":
          type: string
          example: https://gitlab.example.com/api/v4/projects/1/packages/nuget/metadata/MyNuGetPkg/1.3.0.17.json
        lower:
          type: string
          example: 1.3.0.17
        upper:
          type: string
          example: 1.3.0.17
        count:
          type: integer
          example: 1
        items:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesNugetPackageMetadata"
    APIEntitiesNugetPackagesMetadata:
      type: object
      properties:
        count:
          type: integer
          example: 1
        items:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesNugetPackagesMetadataItem"
    APIEntitiesNugetSearchResultVersion:
      type: object
      properties:
        "@id":
          type: string
          example: https://gitlab.example.com/api/v4/projects/1/packages/nuget/metadata/MyNuGetPkg/1.3.0.17.json
        version:
          type: string
          example: 1.3.0.17
        downloads:
          type: integer
          example: 1
    APIEntitiesNugetSearchResult:
      type: object
      properties:
        "@type":
          type: string
          example: Package
        id:
          type: string
          example: MyNuGetPkg
        title:
          type: string
          example: MyNuGetPkg
        totalDownloads:
          type: integer
          example: 1
        verified:
          type: boolean
        version:
          type: string
          example: 1.3.0.17
        versions:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesNugetSearchResultVersion"
        tags:
          type: string
          example: tag#1 tag#2
        authors:
          type: string
          example: Authors
        description:
          type: string
          example: Description
        summary:
          type: string
          example: Description
        projectUrl:
          type: string
          example: http://sandbox.com/project
        licenseUrl:
          type: string
          example: http://sandbox.com/license
        iconUrl:
          type: string
          example: http://sandbox.com/icon
    APIEntitiesNugetSearchResults:
      type: object
      properties:
        totalHits:
          type: integer
          example: 1
        data:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesNugetSearchResult"
    APIEntitiesNugetPackagesVersions:
      type: object
      properties:
        versions:
          type: array
          example:
          - 1.3.0.17
          items:
            type: string
    APIEntitiesNpmPackageTag:
      type: object
      properties:
        dist_tags:
          type: object
          example:
            latest: 1.0.1
    APIEntitiesNpmPackage:
      type: object
      properties:
        name:
          type: string
          example: my_package
        versions:
          type: object
          example:
            1.0.0:
              name: my_package
              version: 1.0.0
              dist:
                shasum: '12345'
                tarball: https://...
        time:
          type: object
          example:
            created: '2026-01-12T08:41:01.956Z'
            modified: '2026-01-15T10:36:46.866Z'
            1.0.0: '2026-01-12T08:41:01.956Z'
            1.0.1: '2026-01-15T10:36:46.866Z'
        dist-tags:
          type: object
          example:
            latest: 1.0.1
    APIEntitiesCiMinutesUsage:
      type: object
      properties:
        total_minutes_used:
          type: integer
          description: Total compute minutes used in the current billing period.
          example: 105
        monthly_minutes_used:
          type: integer
          description: Compute minutes used from the monthly quota.
          example: 100
        purchased_minutes_used:
          type: integer
          description: Compute minutes used from additional purchased allocations.
          example: 5
    APIEntitiesNamespace:
      type: object
      properties:
        id:
          type: integer
          description: ID of the namespace.
          format: int64
          example: 2
        name:
          type: string
          description: Name of the namespace.
          example: project
        path:
          type: string
          description: Path of the namespace.
          example: my_project
        kind:
          type: string
          description: 'Type of the namespace: `user`, `group`, or `project`.'
          example: project
        full_path:
          type: string
          description: Full path of the namespace, including the paths of its parent
            groups.
          example: group/my_project
        parent_id:
          type: integer
          description: ID of the parent namespace. `null` for top-level namespaces.
          format: int64
          example: 1
        avatar_url:
          type: string
          description: URL of the namespace avatar. For a group, `null` if no avatar
            is set.
          example: https://example.com/avatar/12345
        web_url:
          type: string
          description: Web URL of the namespace. For a user namespace, the URL of
            the user profile.
          example: https://example.com/group/my_project
        members_count_with_descendants:
          type: integer
          description: Number of members of the group and its subgroups. Returned
            only for groups, to users who can administer the group.
          example: 5
        root_repository_size:
          type: integer
          description: Total size of all repositories in the namespace, in bytes.
            Returned only for groups, to users who can administer the group.
          example: 123
        projects_count:
          type: integer
          description: Number of projects in the group and its subgroups. Returned
            only for groups, to users who can administer the group.
          example: 123
        shared_runners_minutes_limit:
          type: integer
          description: Monthly compute minutes quota allocated to the namespace. Returned
            only on GitLab.com, for administrators.
          example: 133
        ci_minutes_usage:
          description: Compute minutes usage breakdown. Returned only for top-level
            namespaces when the user has the Owner role, is an auditor, or is an administrator.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/12379)
            in GitLab 19.4.
          "$ref": "#/components/schemas/APIEntitiesCiMinutesUsage"
        extra_shared_runners_minutes_limit:
          type: integer
          description: Additional compute minutes added on top of the monthly quota,
            from purchased minute packs. Returned only on GitLab.com, for administrators.
          example: 133
        additional_purchased_storage_size:
          type: integer
          example: 1000
        additional_purchased_storage_ends_on:
          type: string
          format: date
          example: '2022-06-18'
        billable_members_count:
          type: integer
          description: Number of billable members in the namespace. `null` if the
            user does not have permission to view billing for the namespace. If the
            `skip_subgroup_billable_members_count` feature flag is enabled, also `null`
            for subgroups.
          example: 2
        seats_in_use:
          type: integer
          description: Number of seats currently in use. Returned only for namespaces
            with a subscription. `null` unless the user has the Owner role, is an
            auditor, or is an administrator.
          example: 5
        max_seats_used:
          type: integer
          description: Maximum number of seats used during the current subscription
            period. Returned only for namespaces with a subscription. `null` unless
            the user has the Owner role, is an auditor, or is an administrator.
          example: 100
        max_seats_used_changed_at:
          type: string
          description: Timestamp of when `max_seats_used` last changed. Returned only
            for namespaces with a subscription. `null` unless the user has the Owner
            role, is an auditor, or is an administrator.
          format: date-time
          example: '2025-05-15T12:00:02.000Z'
        end_date:
          type: string
          description: End date of the current subscription. Returned only for namespaces
            with a subscription. `null` if not applicable, or unless the user has
            the Owner role, is an auditor, or is an administrator.
          format: date
          example: '2022-06-18'
        plan:
          type: string
          description: Subscription plan of the namespace, for example `free` or `ultimate`.
            Returned only when the user has the Owner role or is an administrator.
          example: default
        trial_ends_on:
          type: string
          description: Date the trial ends. `null` if not on a trial. Returned only
            when the user has the Owner role or is an administrator.
          format: date
          example: '2022-06-18'
        trial:
          type: boolean
          description: If `true`, the namespace is on a trial plan. Returned only
            when the user has the Owner role or is an administrator.
    APIEntitiesGitlabSubscription:
      type: object
      properties:
        plan:
          type: object
          properties:
            code:
              type: string
            name:
              type: string
            trial:
              type: boolean
            auto_renew:
              type: boolean
            upgradable:
              type: boolean
            exclude_guests:
              type: boolean
        usage:
          type: object
          properties:
            seats_in_subscription:
              type: integer
            seats_in_use:
              type: integer
            max_seats_used:
              type: integer
            seats_owed:
              type: integer
        billing:
          type: object
          properties:
            subscription_start_date:
              type: string
              format: date
            subscription_end_date:
              type: string
              format: date
            trial_ends_on:
              type: string
              format: date
    APIEntitiesNamespacesStorageLimitExclusion:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        namespace_id:
          type: integer
          format: int64
          example: 123
        namespace_name:
          type: string
          example: GitLab
        reason:
          type: string
          example: a reason
    APIEntitiesNamespaceExistence:
      type: object
      properties:
        exists:
          type: boolean
        suggests:
          type: array
          example:
          - my-group1
          items:
            type: string
    APIEntitiesMobilePushSubscription:
      type: object
      properties:
        id:
          type: integer
          description: ID of the subscription.
          format: int64
          example: 1
        created_at:
          type: string
          description: Date and time when the subscription was created.
          format: date-time
          example: '2026-07-30T12:00:00.000Z'
        content_key:
          type: string
          description: "`present` when a content key younger than 90 days is stored
            for this device, `missing` otherwise."
          enum:
          - missing
          - present
          example: missing
    APIEntitiesMetadata:
      type: object
      properties:
        version:
          type: string
          example: 15.2-pre
        revision:
          type: string
          example: c401a659d0c
        kas:
          type: object
          properties:
            enabled:
              type: boolean
            externalUrl:
              type: string
              example: grpc://gitlab.example.com:8150
            externalK8sProxyUrl:
              type: string
              example: https://gitlab.example.com:8150/k8s-proxy
            version:
              type: string
              example: 15.0.0
        enterprise:
          type: boolean
        plan:
          type: string
          example: ultimate
    APIEntitiesMergeRequestDiff:
      type: object
      properties:
        id:
          type: integer
          description: ID of the merge request diff version.
          format: int64
          example: 1
        head_commit_sha:
          type: string
          description: SHA of the head commit of the source branch.
          example: 1234abcd
        base_commit_sha:
          type: string
          description: SHA of the merge-base commit of the source and target branches.
          example: 1234abcd
        start_commit_sha:
          type: string
          description: SHA of the head commit of the target branch when this diff
            version was created.
          example: 1234abcd
        created_at:
          type: string
          description: Timestamp of when the diff version was created.
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        merge_request_id:
          type: integer
          description: ID of the merge request.
          format: int64
          example: 1
        state:
          type: string
          description: 'State of the merge request diff. Can be `empty`, `collected`,
            `overflow` or `without_files`. Deprecated values: `timeout`, `overflow_commits_safe_size`,
            `overflow_diff_files_limit` and `overflow_diff_lines_limit`.'
          example: collected
        real_size:
          type: string
          description: Number of changes in the diff version.
          example: '1'
        patch_id_sha:
          type: string
          description: Patch ID of the diff version, from `git patch-id`.
          example: 1234abcd
    APIEntitiesMergeRequestDiffFull:
      type: object
      properties:
        id:
          type: integer
          description: ID of the merge request diff version.
          format: int64
          example: 1
        head_commit_sha:
          type: string
          description: SHA of the head commit of the source branch.
          example: 1234abcd
        base_commit_sha:
          type: string
          description: SHA of the merge-base commit of the source and target branches.
          example: 1234abcd
        start_commit_sha:
          type: string
          description: SHA of the head commit of the target branch when this diff
            version was created.
          example: 1234abcd
        created_at:
          type: string
          description: Timestamp of when the diff version was created.
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        merge_request_id:
          type: integer
          description: ID of the merge request.
          format: int64
          example: 1
        state:
          type: string
          description: 'State of the merge request diff. Can be `empty`, `collected`,
            `overflow` or `without_files`. Deprecated values: `timeout`, `overflow_commits_safe_size`,
            `overflow_diff_files_limit` and `overflow_diff_lines_limit`.'
          example: collected
        real_size:
          type: string
          description: Number of changes in the diff version.
          example: '1'
        patch_id_sha:
          type: string
          description: Patch ID of the diff version, from `git patch-id`.
          example: 1234abcd
        commits:
          type: array
          description: Commits in the diff version.
          items:
            "$ref": "#/components/schemas/APIEntitiesCommit"
        diffs:
          type: array
          description: Diffs in the diff version.
          items:
            "$ref": "#/components/schemas/APIEntitiesDiff"
    APIEntitiesApprovals:
      type: object
      properties:
        user:
          description: User who approved the merge request.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        approved_at:
          type: string
          description: Timestamp of when the user approved the merge request.
          format: date-time
          example: '2025-01-01T10:00:00Z'
    APIEntitiesMergeRequestApprovals:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 84
        iid:
          type: integer
          example: 14
        project_id:
          type: integer
          format: int64
          example: 4
        title:
          type: string
          example: Impedit et ut et dolores vero provident ullam est
        description:
          type: string
          example: Repellendus impedit et vel velit dignissimos.
        state:
          type: string
          example: closed
        created_at:
          type: string
          format: date-time
          example: '2022-08-17T12:46:35.053Z'
        updated_at:
          type: string
          format: date-time
          example: '2022-11-14T17:22:01.470Z'
        merge_status:
          type: string
          description: Status of the merge request, such as `can_be_merged`. For every
            possible status, use `detailed_merge_status` from the merge requests endpoints
            instead.
          example: can_be_merged
        approved:
          type: boolean
          description: If `true`, the merge request has every approval its approval
            rules require.
        approvals_required:
          type: integer
          description: Number of approvals that the approval rules require.
          example: 2
        approvals_left:
          type: integer
          description: Number of approvals still required before the merge request
            is approved.
          example: 2
        require_password_to_approve:
          type: boolean
          description: If `true`, approvers must authenticate again to approve. Deprecated.
            Use `require_reauthentication_to_approve` from the project approval configuration
            instead.
        approved_by:
          type: array
          description: Users who approved the merge request, whether or not their
            approvals satisfy an approval rule.
          items:
            "$ref": "#/components/schemas/APIEntitiesApprovals"
        suggested_approvers:
          type: array
          description: Eligible approvers who have not approved the merge request
            yet.
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        approvers:
          type: array
          description: Users of the first `regular` or `any_approver` approval rule,
            each in a `user` object. Deprecated. Use the `/approval_state` endpoint
            instead.
          items:
            type: object
        approver_groups:
          type: array
          description: Groups of the first `regular` or `any_approver` approval rule,
            each in a `group` object. Deprecated. Use the `/approval_state` endpoint
            instead.
          items:
            type: object
        user_has_approved:
          type: boolean
          description: If `true`, the current user has approved the merge request.
        user_can_approve:
          type: boolean
          description: If `true`, the current user can approve the merge request.
        approval_rules_left:
          type: array
          description: Approval rules that still require approvals.
          items:
            "$ref": "#/components/schemas/APIEntitiesApprovalRuleShort"
        has_approval_rules:
          type: boolean
          description: If `true`, at least one `regular` or `any_approver` approval
            rule applies to the merge request.
        merge_request_approvers_available:
          type: boolean
          description: If `true`, approval rules are available in the project.
        multiple_approval_rules_available:
          type: boolean
          description: If `true`, the project can have more than one approval rule.
        invalid_approvers_rules:
          type: array
          description: Approval rules that have fewer eligible approvers than the
            approvals they require.
          items:
            "$ref": "#/components/schemas/APIEntitiesApprovalRuleShort"
    APIEntitiesMergeRequestApprovalStateRule:
      type: object
      properties:
        id:
          type: integer
          description: ID of the approval rule.
          format: int64
          example: 1
        name:
          type: string
          description: Name of the approval rule.
          example: QA
        rule_type:
          type: string
          description: 'Type of the approval rule. Possible values: `any_approver`,
            `code_owner`, `regular`, or `report_approver`.'
          example: regular
        eligible_approvers:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        approvals_required:
          type: integer
          example: 2
        users:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        groups:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesGroup"
        contains_hidden_groups:
          type: boolean
        report_type:
          type: string
        section:
          type: string
          example: Backend
        source_rule:
          "$ref": "#/components/schemas/APIEntitiesMergeRequestApprovalRuleSourceRule"
        overridden:
          type: boolean
        code_owner:
          type: boolean
        approved_by:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        approved:
          type: boolean
    APIEntitiesMergeRequestApprovalState:
      type: object
      properties:
        approval_rules_overwritten:
          type: boolean
        rules:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesMergeRequestApprovalStateRule"
    APIEntitiesApprovalState:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 84
        iid:
          type: integer
          example: 14
        project_id:
          type: integer
          format: int64
          example: 4
        title:
          type: string
          example: Impedit et ut et dolores vero provident ullam est
        description:
          type: string
          example: Repellendus impedit et vel velit dignissimos.
        state:
          type: string
          example: closed
        created_at:
          type: string
          format: date-time
          example: '2022-08-17T12:46:35.053Z'
        updated_at:
          type: string
          format: date-time
          example: '2022-11-14T17:22:01.470Z'
        merge_status:
          type: string
          description: Status of the merge request, such as `can_be_merged`. For every
            possible status, use `detailed_merge_status` from the merge requests endpoints
            instead.
          example: can_be_merged
        approved:
          type: boolean
          description: If `true`, the merge request has every approval its approval
            rules require.
        approvals_required:
          type: integer
          description: Number of approvals that the approval rules require.
          example: 2
        approvals_left:
          type: integer
          description: Number of approvals still required before the merge request
            is approved.
          example: 2
        require_password_to_approve:
          type: boolean
          description: If `true`, approvers must authenticate again to approve. Deprecated.
            Use `require_reauthentication_to_approve` from the project approval configuration
            instead.
        approved_by:
          type: array
          description: Users who approved the merge request, whether or not their
            approvals satisfy an approval rule.
          items:
            "$ref": "#/components/schemas/APIEntitiesApprovals"
        suggested_approvers:
          type: array
          description: Eligible approvers who have not approved the merge request
            yet.
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        approvers:
          type: array
          description: Users of the first `regular` or `any_approver` approval rule,
            each in a `user` object. Deprecated. Use the `/approval_state` endpoint
            instead.
          items:
            type: object
        approver_groups:
          type: array
          description: Groups of the first `regular` or `any_approver` approval rule,
            each in a `group` object. Deprecated. Use the `/approval_state` endpoint
            instead.
          items:
            type: object
        user_has_approved:
          type: boolean
          description: If `true`, the current user has approved the merge request.
        user_can_approve:
          type: boolean
          description: If `true`, the current user can approve the merge request.
        approval_rules_left:
          type: array
          description: Approval rules that still require approvals.
          items:
            "$ref": "#/components/schemas/APIEntitiesApprovalRuleShort"
        has_approval_rules:
          type: boolean
          description: If `true`, at least one `regular` or `any_approver` approval
            rule applies to the merge request.
        merge_request_approvers_available:
          type: boolean
          description: If `true`, approval rules are available in the project.
        multiple_approval_rules_available:
          type: boolean
          description: If `true`, the project can have more than one approval rule.
        invalid_approvers_rules:
          type: array
          description: Approval rules that have fewer eligible approvers than the
            approvals they require.
          items:
            "$ref": "#/components/schemas/APIEntitiesApprovalRuleShort"
    APIEntitiesMergeRequestReviewer:
      type: object
      properties:
        user:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        state:
          type: string
          example: unreviewed
        created_at:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
    APIEntitiesUserPath:
      type: object
      properties:
        id:
          type: integer
          description: ID of the user.
          format: int64
          example: 1
        username:
          type: string
          description: Username of the user.
          example: admin
        public_email:
          type: string
          description: Public email address of the user.
          example: john@example.com
        name:
          type: string
          description: Name of the user. For a bot user, `****` if the current user
            cannot read the bot's project or group.
          example: Administrator
        state:
          type: string
          description: 'State of the user account. Possible values: `active`, `blocked`,
            `ldap_blocked`, `blocked_pending_approval`, `banned`, or `deactivated`.'
          example: active
        locked:
          type: boolean
          description: If `true`, the user account is locked, and the user cannot
            sign in until the lock expires or an administrator unlocks the account.
        avatar_url:
          type: string
          description: URL of the user's avatar.
          example: https://gravatar.com/avatar/1
        avatar_path:
          type: string
          example: "/user/avatar/28/The-Big-Lebowski-400-400.png"
        custom_attributes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        web_url:
          type: string
          description: URL of the user's profile.
          example: https://gitlab.example.com/root
        status_tooltip_html:
          type: string
        show_status:
          type: string
        availability:
          type: string
        path:
          type: string
          example: "/root"
    APIEntitiesCommitWithLink:
      type: object
      properties:
        id:
          type: string
          description: Full SHA of the commit.
          example: 2695effb5807a22ff3d138d593fd856244e155e7
        short_id:
          type: string
          description: Short SHA of the commit.
          example: 2695effb
        created_at:
          type: string
          description: Date and time when the commit was created. Identical to `committed_date`.
          format: date-time
          example: '2017-07-26T11:08:53.000+02:00'
        parent_ids:
          type: array
          description: SHAs of the parent commits.
          example:
          - 2a4b78934375d7f53875269ffd4f45fd83a84ebe
          items:
            type: string
        title:
          type: string
          description: Title of the commit message.
          example: Initial commit
        message:
          type: string
          description: Full commit message.
          example: Initial commit
        author_name:
          type: string
          description: Name of the commit author.
          example: John Smith
        author_email:
          type: string
          description: Email address of the commit author.
          example: john@example.com
        authored_date:
          type: string
          description: Date and time when the commit was authored.
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        committer_name:
          type: string
          description: Name of the committer.
          example: Jack Smith
        committer_email:
          type: string
          description: Email address of the committer.
          example: jack@example.com
        committed_date:
          type: string
          description: Date and time when the commit was committed.
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        trailers:
          type: object
          description: Git trailers parsed from the commit message. Duplicate keys
            include the last value only.
          example:
            Merged-By: Jane Doe janedoe@gitlab.com
        extended_trailers:
          type: object
          description: Git trailers parsed from the commit message, with every value
            for each key.
          example:
            Signed-off-by:
            - John Doe <johndoe@gitlab.com>
            - Jane Doe <janedoe@gitlab.com>
        web_url:
          type: string
          description: URL to view the commit in the GitLab UI.
          example: https://gitlab.example.com/janedoe/gitlab-foss/-/commit/ed899a2f4b50b4370feeea94676502b42383c746
        author:
          "$ref": "#/components/schemas/APIEntitiesUserPath"
        author_gravatar_url:
          type: string
          example: https://www.gravatar.com/avatar/abc
        commit_url:
          type: string
          example: https://gitlab.example.com/project/-/commit/abc
        commit_path:
          type: string
          example: "/project/-/commit/abc"
        description_html:
          type: string
          example: "<p>description</p>"
        title_html:
          type: string
          example: "<p>title</p>"
        signature_html:
          type: string
          example: "<p>signature</p>"
        prev_commit_id:
          type: string
          example: 2695effb5807a22ff3d138d593fd856244e155e7
        next_commit_id:
          type: string
          example: 2695effb5807a22ff3d138d593fd856244e155e7
        pipeline_status_path:
          type: string
          example: "/project/pipelines/1"
    APIEntitiesMergeRequestChanges:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 84
        iid:
          type: integer
          example: 14
        project_id:
          type: integer
          format: int64
          example: 4
        title:
          type: string
          example: Impedit et ut et dolores vero provident ullam est
        description:
          type: string
          example: Repellendus impedit et vel velit dignissimos.
        state:
          type: string
          example: closed
        created_at:
          type: string
          format: date-time
          example: '2022-08-17T12:46:35.053Z'
        updated_at:
          type: string
          format: date-time
          example: '2022-11-14T17:22:01.470Z'
        merged_by:
          description: User who merged the merge request or set it to auto-merge.
            Deprecated. Use `merge_user` instead.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        merge_user:
          description: User who merged the merge request or set it to auto-merge,
            or `null`.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        merged_at:
          type: string
          description: Timestamp of when the merge request was merged.
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        closed_by:
          description: User who closed the merge request. `null` if the merge request
            is not closed.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        closed_at:
          type: string
          description: Timestamp of when the merge request was closed.
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        title_html:
          type: string
          description: Title of the merge request rendered as HTML. Returned only
            if `render_html` is `true`.
        description_html:
          type: string
          description: Description of the merge request rendered as HTML. Returned
            only if `render_html` is `true`.
        target_branch:
          type: string
          description: Name of the target branch.
        source_branch:
          type: string
          description: Name of the source branch.
        user_notes_count:
          type: integer
          description: Number of user comments on the merge request.
        upvotes:
          type: integer
          description: Number of upvotes for the merge request.
        downvotes:
          type: integer
          description: Number of downvotes for the merge request.
        author:
          description: User who created the merge request.
          "$ref": "#/components/schemas/APIEntitiesMergeRequestAuthor"
        assignees:
          type: array
          description: Users assigned to the merge request.
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        assignee:
          description: First user assigned to the merge request. Deprecated. Use `assignees`
            instead.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        reviewers:
          type: array
          description: Reviewers of the merge request.
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        source_project_id:
          type: integer
          description: ID of the source project. Equal to `target_project_id`, unless
            the merge request comes from a fork.
          format: int64
        target_project_id:
          type: integer
          description: ID of the target project.
          format: int64
        labels:
          type: array
          description: Names of the labels assigned to the merge request, sorted by
            name. If `with_labels_details` is `true`, an array of label objects with
            `id`, `name`, `color`, `text_color`, `description`, `description_html`
            and `archived` instead.
          items:
            type: string
        draft:
          type: boolean
          description: If `true`, the merge request is a draft.
        imported:
          type: boolean
          description: If `true`, the merge request was imported.
        imported_from:
          type: string
          description: Source of the import, such as `bitbucket`.
          example: bitbucket
        work_in_progress:
          type: boolean
          description: If `true`, the merge request is a draft. Deprecated. Use `draft`
            instead.
        milestone:
          description: Milestone assigned to the merge request.
          "$ref": "#/components/schemas/APIEntitiesMilestone"
        merge_when_pipeline_succeeds:
          type: boolean
          description: If `true`, the merge request is set to auto-merge.
        merge_status:
          type: string
          description: Status of the merge request. Can be `unchecked`, `checking`,
            `can_be_merged`, `cannot_be_merged` or `cannot_be_merged_recheck`. Affects
            `has_conflicts`. Deprecated. Use `detailed_merge_status` instead.
          example: unchecked
        detailed_merge_status:
          type: string
          description: Detailed merge status of the merge request. Accounts for every
            check that can block a merge. Can be `approvals_syncing` (approvals are
            syncing), `checking` (Git is testing whether a valid merge is possible),
            `ci_must_pass` (a CI/CD pipeline must succeed before merge), `ci_still_running`
            (a CI/CD pipeline is still running), `commits_status` (the source branch
            must exist and contain commits), `conflict` (conflicts exist between the
            source and target branches), `discussions_not_resolved` (all discussions
            must be resolved before merge), `draft_status` (the merge request is a
            draft), `jira_association_missing` (the title or description must reference
            a Jira issue), `locked_lfs_files` (LFS files locked by other users must
            be unlocked before merge), `locked_paths` (paths locked by other users
            must be unlocked before merging to the default branch), `merge_request_blocked`
            (blocked by another merge request), `merge_time` (cannot be merged until
            after the specified time), `mergeable` (the branch can merge cleanly into
            the target branch), `need_rebase` (the merge request must be rebased),
            `not_approved` (approval is required before merge), `not_open` (the merge
            request must be open before merge), `preparing` (the merge request diff
            is being created), `requested_changes` (reviewers have requested changes),
            `security_policy_pipeline_check` (when security policies are enforced,
            all pipelines for the latest commit must succeed before merge), `security_policy_violations`
            (all security policies must be satisfied), `status_checks_must_pass` (all
            status checks must pass before merge), `title_regex` (the title must match
            the regular expression set in the project settings), or `unchecked` (Git
            has not yet tested whether a valid merge is possible).
          example: mergeable
        merge_after:
          type: string
          description: If set, timestamp after which the merge request can be merged.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/510992) in
            GitLab 17.8.
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        sha:
          type: string
          description: SHA of the head commit of the source branch.
          example: 1234abcd
        merge_commit_sha:
          type: string
          description: SHA of the merge commit. `null` until the merge request is
            merged.
          example: 1234abcd
        squash_commit_sha:
          type: string
          description: SHA of the squash commit. Empty until the merge request is
            merged.
          example: 1234abcd
        discussion_locked:
          type: boolean
          description: If `true`, discussions are locked. Only project members can
            add, edit or resolve comments in locked discussions.
        should_remove_source_branch:
          type: boolean
          description: If `true`, the source branch is deleted after merge.
        force_remove_source_branch:
          type: boolean
          description: If `true`, the source branch is forced to be deleted after
            merge.
        prepared_at:
          type: string
          description: Timestamp of when the merge request was prepared. Set one time,
            after the diff is created, pipeline creation and the mergeability check
            are started, Git LFS objects are linked, and notifications are sent. Not
            updated when more changes are added.
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        allow_collaboration:
          type: boolean
          description: If `true`, the fork allows commits from members who can merge
            to the target branch. Returned only for merge requests from forks.
        allow_maintainer_to_push:
          type: boolean
          description: Returned only for merge requests from forks. Deprecated. Use
            `allow_collaboration` instead.
        reference:
          type: string
          description: Internal reference of the merge request, in short format. Deprecated.
            Use `references` instead.
          example: "!1"
        references:
          description: 'Internal references of the merge request: `short`, `relative`
            and `full`. When fetched from the project of the merge request, `relative`
            matches `short`. When fetched from a project or group in another namespace,
            `relative` matches `full`.'
          "$ref": "#/components/schemas/APIEntitiesIssuableReferences"
        web_url:
          type: string
          description: Web URL of the merge request.
          example: https://gitlab.example.com/my-group/my-project/-/merge_requests/1
        time_stats:
          description: 'Time tracking statistics of the merge request: `time_estimate`,
            `total_time_spent`, `human_time_estimate` and `human_total_time_spent`.'
          "$ref": "#/components/schemas/APIEntitiesIssuableTimeStats"
        squash:
          type: boolean
          description: If `true`, squash commits when merging. Project squash settings
            can override this value. Use `squash_on_merge` to take them into account.
        squash_on_merge:
          type: boolean
          description: If `true`, commits are squashed on merge.
        task_completion_status:
          description: 'Completion status of the task list: `count` and `completed_count`.'
          "$ref": "#/components/schemas/APIEntitiesTaskCompletionStatus"
        has_conflicts:
          type: boolean
          description: If `true`, the merge request has conflicts and cannot merge.
            `false` unless `merge_status` is `cannot_be_merged`.
        blocking_discussions_resolved:
          type: boolean
          description: If `true`, no unresolved threads block the merge. Always `true`
            if the project does not require all threads to be resolved before merge.
        approvals_before_merge:
          type: integer
          description: Number of approvals required before the merge request can merge.
            Deprecated. To configure approval rules, use the merge request approvals
            API instead. Premium and Ultimate only.
          example: 2
        subscribed:
          type: boolean
          description: If `true`, the current user is subscribed to the merge request.
        changes_count:
          type: string
          description: Number of changed files in the merge request, as a string.
            Empty when the merge request is created, and populates asynchronously.
            When the diff exceeds the file limit, the value is the limit followed
            by `+`, like `"1000+"`.
          example: '1'
        latest_build_started_at:
          type: string
          description: Timestamp of when the latest build for the merge request started.
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        latest_build_finished_at:
          type: string
          description: Timestamp of when the latest build for the merge request finished.
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        first_deployed_to_production_at:
          type: string
          description: Timestamp of when the first deployment to production finished.
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        pipeline:
          description: Pipeline running on the branch HEAD of the merge request. Use
            `head_pipeline` instead, because it contains more information.
          "$ref": "#/components/schemas/APIEntitiesCiPipelineBasic"
        head_pipeline:
          description: Pipeline that runs on the HEAD commit of the source branch.
            Use instead of `pipeline`, because it contains more information. Returned
            only if the current user can view pipelines for the project.
          "$ref": "#/components/schemas/APIEntitiesCiPipeline"
        diff_refs:
          description: Base, head, and start SHAs of the latest diff version of the
            merge request. Empty when the merge request is created, and populates
            asynchronously.
          "$ref": "#/components/schemas/APIEntitiesDiffRefs"
        merge_error:
          type: string
          description: Error message shown when a merge fails. To check mergeability,
            use `detailed_merge_status` instead.
          example: Merge error
        rebase_in_progress:
          type: boolean
          description: If `true`, a rebase operation is in progress on the source
            branch. Returned only if `include_rebase_in_progress` is `true`.
        diverged_commits_count:
          type: integer
          description: Number of commits the source branch is behind the target branch.
            Returned only if `include_diverged_commits_count` is `true`.
          example: 0
        first_contribution:
          type: boolean
          description: If `true`, the merge request is the author's first contribution
            to the project.
        user:
          type: object
          properties:
            can_merge:
              type: boolean
              description: If `true`, the current user can merge the merge request.
          description: Permissions of the current user for the merge request.
        changes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesDiff"
        overflow:
          type: boolean
    APIEntitiesMember:
      type: object
      properties:
        id:
          type: integer
          description: ID of the user.
          format: int64
          example: 1
        username:
          type: string
          description: Username of the user.
          example: admin
        public_email:
          type: string
          description: Public email address of the user.
          example: john@example.com
        name:
          type: string
          description: Name of the user. For a bot user, `****` if the current user
            cannot read the bot's project or group.
          example: Administrator
        state:
          type: string
          description: 'State of the user account. Possible values: `active`, `blocked`,
            `ldap_blocked`, `blocked_pending_approval`, `banned`, or `deactivated`.'
          example: active
        locked:
          type: boolean
          description: If `true`, the user account is locked, and the user cannot
            sign in until the lock expires or an administrator unlocks the account.
        avatar_url:
          type: string
          description: URL of the user's avatar.
          example: https://gravatar.com/avatar/1
        avatar_path:
          type: string
          example: "/user/avatar/28/The-Big-Lebowski-400-400.png"
        custom_attributes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        web_url:
          type: string
          description: URL of the user's profile.
          example: https://gitlab.example.com/root
        access_level:
          type: string
        created_at:
          type: string
        created_by:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        expires_at:
          type: string
        two_factor_enabled:
          type: boolean
          description: If `true`, the user has two-factor authentication enabled.
            Returned only for users with the Owner role and administrators. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/385177)
            in GitLab 19.4.
        group_saml_identity:
          "$ref": "#/components/schemas/APIEntitiesIdentity"
        group_scim_identity:
          "$ref": "#/components/schemas/APIEntitiesScimIdentity"
        email:
          type: string
        is_using_seat:
          type: string
        override:
          type: string
        membership_state:
          type: string
        member_role:
          "$ref": "#/components/schemas/APIEntitiesMemberRole"
    APIEntitiesPendingMember:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        username:
          type: string
        email:
          type: string
        web_url:
          type: string
        invited:
          type: boolean
        avatar_url:
          type: string
        approved:
          type: boolean
    APIEntitiesBillableMembership:
      type: object
      properties:
        id:
          type: integer
        source_id:
          type: integer
        source_full_name:
          type: string
        source_members_url:
          type: string
        created_at:
          type: string
          format: date-time
        expires_at:
          type: string
          format: date
        access_level:
          type: object
          properties:
            string_value:
              type: string
            integer_value:
              type: integer
            custom_role:
              type: object
    APIEntitiesProjectUpload:
      type: object
      properties:
        id:
          type: integer
          description: ID of the upload. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/161160)
            in GitLab 17.3.
          format: int64
          example: 1
        alt:
          type: string
          example: filename
        url:
          type: string
          example: "/uploads/secret/filename"
        full_path:
          type: string
          example: "/-/project/1/uploads/secret/filename"
        markdown:
          type: string
          example: "[filename](/uploads/secret/filename)"
    APIEntitiesMarkdownUploadAdmin:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        size:
          type: integer
          example: 1024
        filename:
          type: string
          example: image.png
        created_at:
          type: string
          format: date-time
          example: '2012-06-28T10:52:04Z'
        uploaded_by:
          "$ref": "#/components/schemas/APIEntitiesUserSafe"
    APIEntitiesGroupUpload:
      type: object
      properties:
        id:
          type: integer
          description: The ID of the file
          format: int64
        alt:
          type: string
          description: The name of the file
        url:
          type: string
          description: The URL to access the file
        full_path:
          type: string
          description: The full path to the file
        markdown:
          type: string
          description: A markdown-formatted link to the file.
    APIEntitiesMarkdown:
      type: object
      properties:
        html:
          type: string
          example: <p dir=\"auto\">Hello world!</p>"
    APIEntitiesCiLintResultInclude:
      type: object
      properties:
        type:
          type: string
          example: local
        location:
          type: string
          example: ".gitlab/ci/build-images.gitlab-ci.yml"
        blob:
          type: string
          example: https://gitlab.com/gitlab-org/gitlab/-/blob/e52d6d0246d7375291850e61f0abc101fbda9dc2/.gitlab/ci/build-images.gitlab-ci.yml
        raw:
          type: string
          example: https://gitlab.com/gitlab-org/gitlab/-/raw/e52d6d0246d7375291850e61f0abc101fbda9dc2/.gitlab/ci/build-images.gitlab-ci.yml
        extra:
          type: object
          example:
            job_name: test
            project: gitlab-org/gitlab
            ref: master
        context_project:
          type: string
          example: gitlab-org/gitlab
        context_sha:
          type: string
          example: e52d6d0246d7375291850e61f0abc101fbda9dc2
    APIEntitiesCiLintResult:
      type: object
      properties:
        valid:
          type: boolean
        errors:
          type: array
          example:
          - variables config should be a hash of key value pairs
          items:
            type: string
        warnings:
          type: array
          example:
          - jobs:job may allow multiple pipelines ...
          items:
            type: string
        merged_yaml:
          type: string
          example: |-
            ---\n:another_test:\n  :stage: test\n
                      :script: echo 2\n:test:\n  :stage: test\n  :script: echo 1\n
        includes:
          type: array
          example:
          - blob: https://gitlab.com/root/example-project/-/blob/...
          items:
            "$ref": "#/components/schemas/APIEntitiesCiLintResultInclude"
        jobs:
          type: array
          example:
          - name: test
            script:
            - ls
          items:
            type: object
    APIEntitiesSSHKeyWithUser:
      type: object
      properties:
        id:
          type: integer
          description: ID of the key.
          format: int64
          example: 1
        title:
          type: string
          description: Title of the key.
          example: Sample key 25
        created_at:
          type: string
          description: Creation date and time of the key in ISO 8601 format.
          format: date-time
          example: '2015-09-03T07:24:44.627Z'
        expires_at:
          type: string
          description: Expiration date and time of the key in ISO 8601 format.
          format: date-time
          example: '2020-09-03T07:24:44.627Z'
        last_used_at:
          type: string
          description: Last usage date and time of the key in ISO 8601 format.
          format: date-time
          example: '2020-09-03T07:24:44.627Z'
        key:
          type: string
          description: Content of the key.
          example: |-
            ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt1256k6Yjz\
                  GGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCdd\
                  NaP0L+hM7zhFNzjFvpaMgJw0=
        usage_type:
          type: string
          description: 'Usage type of the key: `auth`, `signing`, or `auth_and_signing`.
            Deploy keys always use `auth_and_signing`.'
          example: auth
        user:
          description: User associated with the key.
          "$ref": "#/components/schemas/APIEntitiesUserPublic"
    APIEntitiesIssuableMetricImage:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        created_at:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
        filename:
          type: string
          example: image.png
        file_path:
          type: string
          example: "/uploads/-/system/issuable_metric_image/file/1/image.png"
        url:
          type: string
          example: https://gitlab.example.com/example
        url_text:
          type: string
          example: Example URL
    APIEntitiesRelatedIssue:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 84
        iid:
          type: integer
          example: 14
        project_id:
          type: integer
          format: int64
          example: 4
        title:
          type: string
          example: Impedit et ut et dolores vero provident ullam est
        description:
          type: string
          example: Repellendus impedit et vel velit dignissimos.
        state:
          type: string
          example: closed
        created_at:
          type: string
          format: date-time
          example: '2022-08-17T12:46:35.053Z'
        updated_at:
          type: string
          format: date-time
          example: '2022-11-14T17:22:01.470Z'
        closed_at:
          type: string
          format: date-time
          example: '2022-11-15T08:30:55.232Z'
        closed_by:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        labels:
          type: array
          example:
          - bug
          items:
            type: string
        milestone:
          "$ref": "#/components/schemas/APIEntitiesMilestone"
        assignees:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesUserBasic"
        author:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        type:
          type: string
          description: The type of the issue.
          enum:
          - ISSUE
          - INCIDENT
          - TEST_CASE
          - REQUIREMENT
          - TASK
          - TICKET
          example: ISSUE
        assignee:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        user_notes_count:
          type: integer
        merge_requests_count:
          type: integer
        upvotes:
          type: integer
        downvotes:
          type: integer
        start_date:
          type: string
          format: date
          example: '2022-11-18'
        due_date:
          type: string
          format: date
          example: '2022-11-20'
        confidential:
          type: boolean
        discussion_locked:
          type: boolean
        issue_type:
          type: string
          example: issue
        web_url:
          type: string
          example: http://example.com/example/example/issues/14
        time_stats:
          "$ref": "#/components/schemas/APIEntitiesIssuableTimeStats"
        task_completion_status:
          "$ref": "#/components/schemas/APIEntitiesTaskCompletionStatus"
        weight:
          type: integer
          example: 5
        blocking_issues_count:
          type: integer
          example: 2
        has_tasks:
          type: boolean
          example: true
        task_status:
          type: string
          example: 2 of 4 tasks completed
        _links:
          type: object
          properties:
            self:
              type: string
              example: http://example.com/api/v4/projects/1/issues/2
            notes:
              type: string
              example: http://example.com/api/v4/projects/1/issues/2/notes
            award_emoji:
              type: string
              example: http://example.com/api/v4/projects/1/issues/2/award_emoji
            project:
              type: string
              example: http://example.com/api/v4/projects/1
            closed_as_duplicate_of:
              type: string
              example: http://example.com/api/v4/projects/1/issues/75
        references:
          "$ref": "#/components/schemas/APIEntitiesIssuableReferences"
        severity:
          type: string
          description: The severity of the issue.
          enum:
          - UNKNOWN
          - LOW
          - MEDIUM
          - HIGH
          - CRITICAL
        subscribed:
          type: boolean
          example: false
        moved_to_id:
          type: integer
          format: int64
          example: 1
        imported:
          type: boolean
          example: false
        imported_from:
          type: string
          example: github
        service_desk_reply_to:
          type: string
          example: user@example.com
        epic_iid:
          type: string
        epic:
          "$ref": "#/components/schemas/EpicBaseEntity"
        iteration:
          "$ref": "#/components/schemas/APIEntitiesIteration"
        health_status:
          type: string
        issue_link_id:
          type: integer
          format: int64
          example: 1
        link_type:
          type: string
          example: relates_to
        link_created_at:
          type: string
          format: date-time
          example: '2022-01-31T15:10:44.988Z'
        link_updated_at:
          type: string
          format: date-time
          example: '2022-01-31T15:10:44.988Z'
    APIEntitiesIssueLink:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        source_issue:
          "$ref": "#/components/schemas/APIEntitiesIssueBasic"
        target_issue:
          "$ref": "#/components/schemas/APIEntitiesIssueBasic"
        link_type:
          type: string
          example: relates_to
    APIEntitiesInvitation:
      type: object
      properties:
        access_level:
          type: string
        created_at:
          type: string
        expires_at:
          type: string
        invite_email:
          type: string
        invite_token:
          type: string
        user_name:
          type: string
        created_by_name:
          type: string
    JiraConnectGroupEntity:
      type: object
      properties:
        name:
          type: string
        avatar_url:
          type: string
        full_name:
          type: string
        description:
          type: string
    JiraConnectSubscriptionEntity:
      type: object
      properties:
        created_at:
          type: string
        unlink_path:
          type: string
        group:
          "$ref": "#/components/schemas/JiraConnectGroupEntity"
    APIEntitiesJiraForgeSubscriptions:
      type: object
      properties:
        subscriptions:
          type: array
          items:
            "$ref": "#/components/schemas/JiraConnectSubscriptionEntity"
    APIEntitiesIntegrationBasic:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 75
        title:
          type: string
          example: Jenkins CI
        slug:
          type: string
          example: jenkins
        created_at:
          type: string
          format: date-time
          example: '2019-11-20T11:20:25.297Z'
        updated_at:
          type: string
          format: date-time
          example: '2019-11-20T12:24:37.498Z'
        active:
          type: boolean
        commit_events:
          type: boolean
        push_events:
          type: boolean
        issues_events:
          type: boolean
        incident_events:
          type: boolean
        alert_events:
          type: boolean
        confidential_issues_events:
          type: boolean
        merge_requests_events:
          type: boolean
        tag_push_events:
          type: boolean
        deployment_events:
          type: boolean
        note_events:
          type: boolean
        confidential_note_events:
          type: boolean
        pipeline_events:
          type: boolean
        wiki_page_events:
          type: boolean
        job_events:
          type: boolean
        comment_on_event_enabled:
          type: boolean
        inherited:
          type: boolean
        vulnerability_events:
          type: boolean
    APIEntitiesIntegration:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 75
        title:
          type: string
          example: Jenkins CI
        slug:
          type: string
          example: jenkins
        created_at:
          type: string
          format: date-time
          example: '2019-11-20T11:20:25.297Z'
        updated_at:
          type: string
          format: date-time
          example: '2019-11-20T12:24:37.498Z'
        active:
          type: boolean
        commit_events:
          type: boolean
        push_events:
          type: boolean
        issues_events:
          type: boolean
        incident_events:
          type: boolean
        alert_events:
          type: boolean
        confidential_issues_events:
          type: boolean
        merge_requests_events:
          type: boolean
        tag_push_events:
          type: boolean
        deployment_events:
          type: boolean
        note_events:
          type: boolean
        confidential_note_events:
          type: boolean
        pipeline_events:
          type: boolean
        wiki_page_events:
          type: boolean
        job_events:
          type: boolean
        comment_on_event_enabled:
          type: boolean
        inherited:
          type: boolean
        vulnerability_events:
          type: boolean
        properties:
          type: object
          example:
            token: secr3t
    ProjectImportEntity:
      type: object
      properties:
        id:
          type: integer
          example: 1
        name:
          type: string
          example: GitLab
        full_path:
          type: string
          example: gitlab-org/gitlab
        full_name:
          type: string
          example: GitLab Org / GitLab
        refs_url:
          type: string
        forked:
          type: boolean
          example: true
        import_source:
          type: string
          example: source/source-repo
        import_status:
          type: string
          enum:
          - scheduled
          - started
          - finished
          - failed
          - canceled
          example: scheduled
        human_import_status_name:
          type: string
          example: canceled
        provider_link:
          type: string
          example: "/source/source-repo"
        import_error:
          type: string
        import_warning:
          type: string
        relation_type:
          type: string
    APIEntitiesGlqlPageInfo:
      type: object
      properties:
        endCursor:
          type: string
          description: Cursor for the last item
          example: eyJpZCI6IjE3In0
        hasNextPage:
          type: boolean
          description: Whether there are more items
          example: true
        hasPreviousPage:
          type: boolean
          description: Whether there are previous items
          example: false
        startCursor:
          type: string
          description: Cursor for the first item
          example: eyJpZCI6IjE3In0
    APIEntitiesGlqlData:
      type: object
      properties:
        count:
          type: integer
          description: Number of found items
          example: 42
        nodes:
          type: array
          description: The list of found items
          example: []
          items:
            type: array
        pageInfo:
          description: Pagination information
          "$ref": "#/components/schemas/APIEntitiesGlqlPageInfo"
    APIEntitiesGlqlField:
      type: object
      properties:
        key:
          type: string
          description: Unique field key
          example: title
        label:
          type: string
          description: Human-readable field label
          example: Title
        name:
          type: string
          description: Underlying name of field, often the same as `key`, but it may
            be different if one type of field has multiple possible keys. Example
            `created` and `createdAt`
          example: title
        field:
          type: string
          description: Base field name. For aliased parameterised fields this is the
            underlying field (for example, `durationQuantile`), while `key` is the
            alias (for example, `p50`). For standard fields, same as `key`
          example: title
        type:
          type: string
          description: Field classification. Either `dimension` or `metric` for analytics
            mode fields, absent for standard fields
          example: dimension
        parameters:
          type: object
          description: Resolved parameter metadata for parameterised fields, absent
            when the field has no parameters
          example:
            granularity: weekly
    APIEntitiesGlqlResult:
      type: object
      properties:
        data:
          description: Query result data containing count, nodes, and pagination info
          "$ref": "#/components/schemas/APIEntitiesGlqlData"
        error:
          type: string
          description: Error message if query failed
        fields:
          type: array
          description: Field definitions for the query results. Each `parameters`
            value is a string, or an array of strings for list parameters. For an
            aliased parameterized field, `name` is the generated response key, like
            `durationQuantile_quantile_0_d5`.
          items:
            "$ref": "#/components/schemas/APIEntitiesGlqlField"
        success:
          type: boolean
          description: Indicates if the query was successful.
          example: true
    APIEntitiesCiVariable:
      type: object
      properties:
        variable_type:
          type: string
          description: Type of the variable. Either `env_var` or `file`.
          example: env_var
        key:
          type: string
          description: Key of the variable.
          example: TEST_VARIABLE_1
        value:
          type: string
          description: Value of the variable.
          example: TEST_1
        hidden:
          type: boolean
        protected:
          type: boolean
        masked:
          type: boolean
        raw:
          type: boolean
          description: Whether the variable is treated as a raw string. When `false`,
            variable references in the value are expanded.
        environment_scope:
          type: string
          example: "*"
        description:
          type: string
          example: This variable is being used for ...
    APIEntitiesClusterGroup:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        created_at:
          type: string
        domain:
          type: string
        enabled:
          type: string
        managed:
          type: string
        provider_type:
          type: string
        platform_type:
          type: string
        environment_scope:
          type: string
        cluster_type:
          type: string
        namespace_per_environment:
          type: string
        user:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        platform_kubernetes:
          "$ref": "#/components/schemas/APIEntitiesPlatformKubernetes"
        provider_gcp:
          "$ref": "#/components/schemas/APIEntitiesProviderGcp"
        management_project:
          "$ref": "#/components/schemas/APIEntitiesProjectIdentity"
        group:
          "$ref": "#/components/schemas/APIEntitiesBasicGroupDetails"
    APIEntitiesGoModuleVersion:
      type: object
      properties:
        Version:
          type: string
          example: v1.0.0
        Time:
          type: string
          example: 1617822312 -0600
    APIEntitiesGeoPipelineRefs:
      type: object
      properties:
        pipeline_refs:
          type: array
          example:
          - refs/pipelines/1
          items:
            type: string
    APIEntitiesFreezePeriod:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        freeze_start:
          type: string
          example: 0 23 * * 5
        freeze_end:
          type: string
          example: 0 8 * * 1
        cron_timezone:
          type: string
          example: UTC
        created_at:
          type: string
          format: date-time
          example: '2020-05-15T17:03:35.702Z'
        updated_at:
          type: string
          format: date-time
          example: '2020-05-15T17:03:35.702Z'
    APIEntitiesBlameRangeCommit:
      type: object
      properties:
        id:
          type: string
          example: 2695effb5807a22ff3d138d593fd856244e155e7
        parent_ids:
          type: array
          example:
          - 2a4b78934375d7f53875269ffd4f45fd83a84ebe
          items:
            type: string
        message:
          type: string
          example: Initial commit
        authored_date:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        author_name:
          type: string
          example: John Smith
        author_email:
          type: string
          example: john@example.com
        committed_date:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        committer_name:
          type: string
          example: Jack Smith
        committer_email:
          type: string
          example: jack@example.com
    APIEntitiesBlameRange:
      type: object
      properties:
        commit:
          description: Commit that last changed the lines in this blame range.
          "$ref": "#/components/schemas/APIEntitiesBlameRangeCommit"
        lines:
          type: array
          description: Lines of the file in this blame range.
          example:
          - lorem ipsum
          items:
            type: string
    APIEntitiesFeature:
      type: object
      properties:
        name:
          type: string
          example: experimental_feature
        state:
          type: string
          example: 'off'
        gates:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesFeatureGate"
        definition:
          "$ref": "#/components/schemas/APIEntitiesFeatureDefinition"
    APIEntitiesFeatureFlagUserList:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        iid:
          type: integer
          example: 1
        name:
          type: string
          example: user_list
        user_xids:
          type: string
          example: user1,user2
        project_id:
          type: integer
          format: int64
          example: 2
        created_at:
          type: string
          format: date-time
          example: '2020-02-04T08:13:10.507Z'
        updated_at:
          type: string
          format: date-time
          example: '2020-02-04T08:13:10.507Z'
        path:
          type: string
        edit_path:
          type: string
    APIEntitiesFeatureFlagScope:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        environment_scope:
          type: string
          example: production
    APIEntitiesFeatureFlagBasicUserList:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        iid:
          type: integer
          example: 1
        name:
          type: string
          example: user_list
        user_xids:
          type: string
          example: user1,user2
    APIEntitiesFeatureFlagStrategy:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        name:
          type: string
          example: userWithId
        parameters:
          type: string
          example: '{"userIds": "user1"}'
        scopes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesFeatureFlagScope"
        user_list:
          "$ref": "#/components/schemas/APIEntitiesFeatureFlagBasicUserList"
    APIEntitiesFeatureFlag:
      type: object
      properties:
        name:
          type: string
          example: merge_train
        description:
          type: string
          example: merge train feature flag
        active:
          type: boolean
        version:
          type: string
          example: new_version_flag
        created_at:
          type: string
          format: date-time
          example: '2019-11-04T08:13:51.423Z'
        updated_at:
          type: string
          format: date-time
          example: '2019-11-04T08:13:51.423Z'
        scopes:
          type: array
        strategies:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesFeatureFlagStrategy"
    APIEntitiesFeatureFlagSettings:
      type: object
      properties:
        minimum_role:
          type: string
          example: developer
    APIEntitiesErrorTrackingProjectSetting:
      type: object
      properties:
        active:
          type: boolean
        project_name:
          type: string
          example: sample sentry project
        sentry_external_url:
          type: string
          example: https://sentry.io/myawesomeproject/project
        api_url:
          type: string
          example: https://sentry.io/api/0/projects/myawesomeproject/project
        integrated:
          type: boolean
    APIEntitiesErrorTrackingClientKey:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        active:
          type: boolean
        public_key:
          type: string
          example: glet_aa77551d849c083f76d0bc545ed053a3
        sentry_dsn:
          type: string
          example: https://glet_aa77551d849c083f76d0bc545ed053a3@example.com/errortracking/api/v1/projects/5
    APIEntitiesEnvironmentBasic:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        name:
          type: string
          example: deploy
        slug:
          type: string
          example: deploy
        external_url:
          type: string
          example: https://deploy.gitlab.example.com
        created_at:
          type: string
          format: date-time
          example: '2019-05-25T18:55:13.252Z'
        updated_at:
          type: string
          format: date-time
          example: '2019-05-25T18:55:13.252Z'
    APIEntitiesCiJobArtifactFile:
      type: object
      properties:
        filename:
          type: string
          example: artifacts.zip
        size:
          type: integer
          example: 1000
    APIEntitiesCiJobArtifact:
      type: object
      properties:
        file_type:
          type: string
          enum:
          - archive
          - metadata
          - trace
          - junit
          - sast
          - dependency_scanning
          - container_scanning
          - dast
          - codequality
          - license_scanning
          - performance
          - metrics
          - metrics_referee
          - network_referee
          - lsif
          - dotenv
          - cobertura
          - terraform
          - accessibility
          - cluster_applications
          - secret_detection
          - requirements
          - coverage_fuzzing
          - browser_performance
          - load_performance
          - api_fuzzing
          - cluster_image_scanning
          - cyclonedx
          - requirements_v2
          - annotations
          - repository_xray
          - jacoco
          - sarif
          example: archive
        size:
          type: integer
          example: 1000
        filename:
          type: string
          example: artifacts.zip
        file_format:
          type: string
          enum:
          - raw
          - zip
          - gzip
          example: zip
    APIEntitiesCiRunner:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 8
        description:
          type: string
          example: test-1-20150125
        ip_address:
          type: string
          description: Always `null`. Deprecated. Use the runner manager fields in
            the GraphQL API instead.
          example: 127.0.0.1
        active:
          type: boolean
          description: If `true`, the runner is allowed to receive jobs. Deprecated.
            Use `paused` instead.
          example: true
        paused:
          type: boolean
          example: false
        is_shared:
          type: boolean
          example: true
        runner_type:
          type: string
          enum:
          - instance_type
          - group_type
          - project_type
          example: instance_type
        name:
          type: string
          example: test
        online:
          type: boolean
          example: true
        created_by:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        created_at:
          type: string
          format: date-time
          example: '2025-05-03T00:00:00.000Z'
        status:
          type: string
          example: online
        job_execution_status:
          type: string
          enum:
          - active
          - idle
          example: idle
    APIEntitiesCiRunnerManager:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 8
        system_id:
          type: string
          example: runner-1
        version:
          type: string
          example: 16.11.0
        revision:
          type: string
          example: 91a27b2a
        platform:
          type: string
          example: linux
        architecture:
          type: string
          example: amd64
        created_at:
          type: string
          example: '2023-10-24T01:27:06.549Z'
        contacted_at:
          type: string
          example: '2023-10-24T01:27:06.549Z'
        ip_address:
          type: string
          example: 127.0.0.1
        status:
          type: string
          example: online
        job_execution_status:
          type: string
          enum:
          - active
          - idle
          example: idle
    APIEntitiesCiJob:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        status:
          type: string
          example: waiting_for_resource
        stage:
          type: string
          example: deploy
        name:
          type: string
          example: deploy_to_production
        ref:
          type: string
          example: main
        tag:
          type: boolean
        coverage:
          type: number
          format: float
          example: 98.29
        allow_failure:
          type: boolean
        created_at:
          type: string
          format: date-time
          example: '2015-12-24T15:51:21.880Z'
        started_at:
          type: string
          format: date-time
          example: '2015-12-24T17:54:30.733Z'
        finished_at:
          type: string
          format: date-time
          example: '2015-12-24T17:54:31.198Z'
        erased_at:
          type: string
          format: date-time
          example: '2015-12-24T18:00:29.728Z'
        duration:
          type: number
          description: Time spent running
          format: float
          example: 0.465
        queued_duration:
          type: number
          description: Time spent enqueued
          format: float
          example: 0.123
        user:
          "$ref": "#/components/schemas/APIEntitiesUser"
        commit:
          "$ref": "#/components/schemas/APIEntitiesCommit"
        pipeline:
          "$ref": "#/components/schemas/APIEntitiesCiPipelineBasic"
        failure_reason:
          type: string
          example: script_failure
        web_url:
          type: string
          example: https://example.com/foo/bar/-/jobs/1
        project:
          type: object
          properties:
            ci_job_token_scope_enabled:
              type: string
              example: false
        artifacts_file:
          "$ref": "#/components/schemas/APIEntitiesCiJobArtifactFile"
        artifacts:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCiJobArtifact"
        runner:
          "$ref": "#/components/schemas/APIEntitiesCiRunner"
        runner_manager:
          "$ref": "#/components/schemas/APIEntitiesCiRunnerManager"
        artifacts_expire_at:
          type: string
          format: date-time
          example: '2016-01-19T09:05:50.355Z'
        archived:
          type: boolean
          example: false
        tag_list:
          type: array
          example:
          - ubuntu18
          - docker runner
          items:
            type: string
    APIEntitiesDeployment:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 41
        iid:
          type: integer
          example: 1
        ref:
          type: string
          example: main
        sha:
          type: string
          example: 99d03678b90d914dbb1b109132516d71a4a03ea8
        created_at:
          type: string
          format: date-time
          example: '2016-08-11T11:32:35.444Z'
        updated_at:
          type: string
          format: date-time
          example: '2016-08-11T11:32:35.444Z'
        user:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        environment:
          "$ref": "#/components/schemas/APIEntitiesEnvironmentBasic"
        deployable:
          "$ref": "#/components/schemas/APIEntitiesCiJob"
        status:
          type: string
          example: created
    APIEntitiesClustersAgent:
      type: object
      properties:
        id:
          type: integer
          description: ID of the agent.
          format: int64
          example: 1
        name:
          type: string
          description: Name of the agent.
        config_project:
          description: Project the agent is configured in.
          "$ref": "#/components/schemas/APIEntitiesProjectIdentity"
        created_at:
          type: string
          description: Timestamp when the agent was created.
          format: date-time
        created_by_user_id:
          type: integer
          description: ID of the user who created the agent.
          format: int64
          example: 1
        is_receptive:
          type: boolean
          description: If `true`, the agent is a receptive agent.
    APIEntitiesEnvironment:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        name:
          type: string
          example: deploy
        slug:
          type: string
          example: deploy
        external_url:
          type: string
          example: https://deploy.gitlab.example.com
        created_at:
          type: string
          format: date-time
          example: '2019-05-25T18:55:13.252Z'
        updated_at:
          type: string
          format: date-time
          example: '2019-05-25T18:55:13.252Z'
        tier:
          type: string
          example: development
        project:
          "$ref": "#/components/schemas/APIEntitiesBasicProjectDetails"
        last_deployment:
          "$ref": "#/components/schemas/APIEntitiesDeployment"
        state:
          type: string
          example: available
        auto_stop_at:
          type: string
          format: date-time
          example: '2019-05-25T18:55:13.252Z'
        cluster_agent:
          "$ref": "#/components/schemas/APIEntitiesClustersAgent"
        kubernetes_namespace:
          type: string
        flux_resource_path:
          type: string
        description:
          type: string
          example: description
        auto_stop_setting:
          type: string
          example: always
    APIEntitiesDraftNote:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 2
        author_id:
          type: integer
          format: int64
          example: 4
        merge_request_id:
          type: integer
          format: int64
          example: 52
        resolve_discussion:
          type: boolean
          example: true
        discussion_id:
          type: string
          example: 6a9c1750b37d513a43987b574953fceb50b03ce7
        note:
          type: string
          example: This is a note
        commit_id:
          type: string
          example: 6104942438c14ec7bd21c6cd5bd995272b3faff6
        line_code:
          type: string
          example: 1c497fbb3a46b78edf0_2_4
        position:
          type: object
          example:
            base_sha: aa149113
            start_sha: b3a0a8c4
            head_sha: be3020c7
            old_path: example.md
            new_path: example.md
            position_type: text
            old_line: 2
            new_line: 4
            line_range:
              start:
                line_code: 1c497fbb3a46b78edf04cc2a2fa33f67e3ffbe2a_2_4
                type:
                old_line: 2
                new_line: 4
              end:
                line_code: 1c497fbb3a46b78edf04cc2a2fa33f67e3ffbe2a_2_4
                type:
                old_line: 2
                new_line: 4
    APIEntitiesDeploymentsApproval:
      type: object
      properties:
        user:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        status:
          type: string
          example: approved
        created_at:
          type: string
          format: date-time
          example: '2022-02-24T20:22:30.097Z'
        comment:
          type: string
          example: LGTM
    APIEntitiesProtectedEnvironmentsApprovalRuleForSummary:
      type: object
      properties:
        id:
          type: integer
          format: int64
        user_id:
          type: integer
          format: int64
        group_id:
          type: integer
          format: int64
        access_level:
          type: integer
        access_level_description:
          type: string
        required_approvals:
          type: integer
        group_inheritance_type:
          type: integer
        deployment_approvals:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesDeploymentsApproval"
    APIEntitiesDeploymentsApprovalSummary:
      type: object
      properties:
        rules:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesProtectedEnvironmentsApprovalRuleForSummary"
    APIEntitiesDeploymentExtended:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 41
        iid:
          type: integer
          example: 1
        ref:
          type: string
          example: main
        sha:
          type: string
          example: 99d03678b90d914dbb1b109132516d71a4a03ea8
        created_at:
          type: string
          format: date-time
          example: '2016-08-11T11:32:35.444Z'
        updated_at:
          type: string
          format: date-time
          example: '2016-08-11T11:32:35.444Z'
        user:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        environment:
          "$ref": "#/components/schemas/APIEntitiesEnvironmentBasic"
        deployable:
          "$ref": "#/components/schemas/APIEntitiesCiJob"
        status:
          type: string
          example: created
        pending_approval_count:
          type: integer
          description: Number of approvals the deployment still needs. Is `0` unless
            the environment is protected. Premium and Ultimate only.
          example: 0
        approvals:
          type: array
          description: Approvals and rejections of the deployment. Premium and Ultimate
            only.
          items:
            "$ref": "#/components/schemas/APIEntitiesDeploymentsApproval"
        approval_summary:
          description: Approval status of the deployment for each approval rule of
            the protected environment. Premium and Ultimate only.
          "$ref": "#/components/schemas/APIEntitiesDeploymentsApprovalSummary"
    APIEntitiesDeployToken:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        name:
          type: string
          example: MyToken
        username:
          type: string
          example: gitlab+deploy-token-1
        expires_at:
          type: string
          format: date-time
          example: '2020-02-14T00:00:00.000Z'
        scopes:
          type: array
          example:
          - read_repository
        revoked:
          type: boolean
        expired:
          type: boolean
    APIEntitiesDeployTokenWithToken:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        name:
          type: string
          example: MyToken
        username:
          type: string
          example: gitlab+deploy-token-1
        expires_at:
          type: string
          format: date-time
          example: '2020-02-14T00:00:00.000Z'
        scopes:
          type: array
          example:
          - read_repository
        revoked:
          type: boolean
        expired:
          type: boolean
        token:
          type: string
          example: jMRvtPNxrn3crTAGukpZ
    APIEntitiesDeployKeysProject:
      type: object
      properties:
        id:
          type: integer
          description: ID of the key.
          format: int64
          example: 1
        title:
          type: string
          description: Title of the key.
          example: Sample key 25
        created_at:
          type: string
          description: Creation date and time of the key in ISO 8601 format.
          format: date-time
          example: '2015-09-03T07:24:44.627Z'
        expires_at:
          type: string
          description: Expiration date and time of the key in ISO 8601 format.
          format: date-time
          example: '2020-09-03T07:24:44.627Z'
        last_used_at:
          type: string
          description: Last usage date and time of the key in ISO 8601 format.
          format: date-time
          example: '2020-09-03T07:24:44.627Z'
        key:
          type: string
          example: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDNJAkI3Wdf0r13c8a5pEExB2YowPWCSVzfZV22pNBc1CuEbyYLHpUyaD0GwpGvFdx2aP7lMEk35k6Rz3ccBF6jRaVJyhsn5VNnW92PMpBJ/P1UebhXwsFHdQf5rTt082cSxWuk61kGWRQtk4ozt/J2DF/dIUVaLvc+z4HomT41fQ==
        usage_type:
          type: string
          description: 'Usage type of the key: `auth`, `signing`, or `auth_and_signing`.
            Deploy keys always use `auth_and_signing`.'
          example: auth
        fingerprint:
          type: string
          example: 4a:9d:64:15:ed:3a:e6:07:6e:89:36:b3:3b:03:05:d9
        fingerprint_sha256:
          type: string
          example: Jrs3LD1Ji30xNLtTVf9NDCj7kkBgPBb2pjvTZ3HfIgU
        projects_with_write_access:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesProjectIdentity"
        projects_with_readonly_access:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesProjectIdentity"
        can_push:
          type: boolean
    APIEntitiesDictionaryTable:
      type: object
      properties:
        table_name:
          type: string
          example: users
        feature_categories:
          type: array
          example:
          - database
          items:
            type: string
        table_size:
          type: string
          example: small
    APIEntitiesPackagesConanRevision:
      type: object
      properties:
        revision:
          type: string
          description: The revision hash of the Conan recipe or package
          example: 75151329520e7685dcf5da49ded2fec0
        time:
          type: string
          description: The UTC timestamp when the revision was created
          example: '2024-12-17T09:16:40.334Z'
    APIEntitiesPackagesConanRecipeRevisions:
      type: object
      properties:
        reference:
          type: string
          description: The Conan package reference
          example: packageTest/1.2.3@gitlab-org+conan/stable
        revisions:
          type: array
          description: List of recipe revisions
          items:
            "$ref": "#/components/schemas/APIEntitiesPackagesConanRevision"
    APIEntitiesPackagesConanFilesList:
      type: object
      properties:
        files:
          type: object
          example:
            conan_sources.tgz: {}
            conanmanifest.txt: {}
            conanfile.py: {}
    APIEntitiesPackagesConanPackageRevisions:
      type: object
      properties:
        packageReference:
          type: string
          description: The Conan package reference
          example: packageTest/1.2.3@gitlab-org+conan/stable#1883c9f810f2d6e5b59d5285c7141970:133a1f2158ff2cf69739f316ec21143785be54c7
        revisions:
          type: array
          description: List of package revisions
          items:
            "$ref": "#/components/schemas/APIEntitiesPackagesConanRevision"
    APIEntitiesPackagesConanPackageSnapshot:
      type: object
      properties:
        package_snapshot:
          type: object
          example:
            conan_package.tgz: 749b29bdf72587081ca03ec033ee59dc
    APIEntitiesPackagesConanRecipeSnapshot:
      type: object
      properties:
        recipe_snapshot:
          type: object
          example:
            conan_sources.tgz: eadf19b33f4c3c7e113faabf26e76277
    APIEntitiesPackagesConanPackageManifest:
      type: object
      properties:
        package_urls:
          type: object
          example:
            conan_package.tgz: https://gitlab.example.com/api/v4/packages/conan/v1/files/my-package/1.0/my-group+my-project/stable/packages/103f6067a947f366ef91fc1b7da351c588d1827f/0/conan_package.tgz
    APIEntitiesPackagesConanRecipeManifest:
      type: object
      properties:
        recipe_urls:
          type: object
          example:
            conan_sources.tgz: https://gitlab.example.com/api/v4/packages/conan/v1/files/my-package/1.0/my-group+my-project/stable/0/export/conan_sources.tgz
    APIEntitiesPackagesConanUploadUrls:
      type: object
      properties:
        upload_urls:
          type: object
          example:
            conan_package.tgz: https://gitlab.example.com/api/v4/packages/conan/v1/files/my-package/1.0/my-group+my-project/stable/0/package/103f6067a947f366ef91fc1b7da351c588d1827f/0/conan_package.tgz
    APIEntitiesCommitStatus:
      type: object
      properties:
        id:
          type: integer
          description: ID of the status.
          format: int64
          example: 93
        sha:
          type: string
          description: SHA of the commit.
          example: 18f3e63d05582537db6d183d9d557be09e1f90c8
        ref:
          type: string
          description: Branch or tag of the commit.
          example: develop
        status:
          type: string
          description: Status of the commit.
          example: success
        name:
          type: string
          description: Name of the status.
          example: default
        target_url:
          type: string
          description: Target URL associated with the status.
          example: https://gitlab.example.com/janedoe/gitlab-foss/builds/91
        description:
          type: string
          description: Description of the status.
        created_at:
          type: string
          description: Date and time when the status was created.
          format: date-time
          example: '2016-01-19T09:05:50.355Z'
        started_at:
          type: string
          description: Date and time when the status started.
          format: date-time
          example: '2016-01-20T08:40:25.832Z'
        finished_at:
          type: string
          description: Date and time when the status finished.
          format: date-time
          example: '2016-01-21T08:40:25.832Z'
        allow_failure:
          type: boolean
          description: If `true`, the status is allowed to fail.
          example: false
        coverage:
          type: number
          description: Code coverage percentage.
          format: float
          example: 98.29
        pipeline_id:
          type: integer
          format: int64
          example: 101
        author:
          description: User who created the status.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
    APIEntitiesCommitNote:
      type: object
      properties:
        note:
          type: string
          description: Content of the comment.
          example: this doc is really nice
        path:
          type: string
          description: Path of the file the comment is on, relative to the repository.
          example: README.md
        line:
          type: integer
          description: Line number the comment is on.
          example: 11
        line_type:
          type: string
          description: Type of the line the comment is on, such as `new` or `old`.
          example: new
        author:
          description: Author of the comment.
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        created_at:
          type: string
          description: Date and time when the comment was created.
          format: date-time
          example: '2016-01-19T09:44:55.600Z'
    APIEntitiesCommitSequence:
      type: object
      properties:
        count:
          type: integer
          description: 'Sequence number of the commit: the number of commits in its
            history, including itself.'
          example: 1
    APIEntitiesBasicRef:
      type: object
      properties:
        type:
          type: string
          description: Type of the reference. Either `branch` or `tag`.
          example: tag
        name:
          type: string
          description: Name of the branch or tag.
          example: v1.1.0
    APIEntitiesCommitSignature:
      type: object
      properties:
        signature_type:
          type: string
          description: 'Type of the signature: `PGP`, `SSH`, or `X509`.'
          example: PGP
        signature:
          type: object
        commit_source:
          type: string
          description: Source of the commit. Always `gitaly`.
          example: gitaly
    APIEntitiesClustersAgentTokenBasic:
      type: object
      properties:
        id:
          type: integer
          description: ID of the token.
          format: int64
          example: 1
        name:
          type: string
          description: Name of the token.
        description:
          type: string
          description: Description of the token.
        agent_id:
          type: integer
          description: ID of the agent the token belongs to.
          format: int64
          example: 1
        status:
          type: string
          description: Status of the token. Either `active` or `revoked`.
        created_at:
          type: string
          description: Timestamp when the token was created.
          format: date-time
        created_by_user_id:
          type: integer
          description: ID of the user who created the token.
          format: int64
          example: 1
    APIEntitiesClustersAgentToken:
      type: object
      properties:
        id:
          type: integer
          description: ID of the token.
          format: int64
          example: 1
        name:
          type: string
          description: Name of the token.
        description:
          type: string
          description: Description of the token.
        agent_id:
          type: integer
          description: ID of the agent the token belongs to.
          format: int64
          example: 1
        status:
          type: string
          description: Status of the token. Either `active` or `revoked`.
        created_at:
          type: string
          description: Timestamp when the token was created.
          format: date-time
        created_by_user_id:
          type: integer
          description: ID of the user who created the token.
          format: int64
          example: 1
        last_used_at:
          type: string
          description: Timestamp when the token was last used.
          format: date-time
    APIEntitiesClustersAgentTokenWithToken:
      type: object
      properties:
        id:
          type: integer
          description: ID of the token.
          format: int64
          example: 1
        name:
          type: string
          description: Name of the token.
        description:
          type: string
          description: Description of the token.
        agent_id:
          type: integer
          description: ID of the agent the token belongs to.
          format: int64
          example: 1
        status:
          type: string
          description: Status of the token. Either `active` or `revoked`.
        created_at:
          type: string
          description: Timestamp when the token was created.
          format: date-time
        created_by_user_id:
          type: integer
          description: ID of the user who created the token.
          format: int64
          example: 1
        last_used_at:
          type: string
          description: Timestamp when the token was last used.
          format: date-time
        token:
          type: string
          description: Secret value of the token. Returned only when the token is
            created.
    APIEntitiesDiscoveredClusters:
      type: object
      properties:
        groups:
          type: object
        projects:
          type: object
    APIEntitiesTrigger:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 10
        token:
          type: string
          example: 6d056f63e50fe6f8c5f8f4aa10edb7
        description:
          type: string
          example: test
        created_at:
          type: string
          format: date-time
          example: '2015-12-24T15:51:21.880Z'
        updated_at:
          type: string
          format: date-time
          example: '2015-12-24T17:54:31.198Z'
        last_used:
          type: string
          format: date-time
          example: '2015-12-24T17:54:31.198Z'
        expires_at:
          type: string
          format: date-time
          example: '2015-12-24T17:54:31.198Z'
        owner:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
    APIEntitiesCiPipelineMergeRequest:
      type: object
      properties:
        iid:
          type: integer
          example: 14
        title:
          type: string
          example: Add rate limiting to the public API
        web_url:
          type: string
          example: https://gitlab.example.com/foo/bar/-/merge_requests/14
    APIEntitiesCiUserPipeline:
      type: object
      properties:
        id:
          type: integer
          description: ID of the pipeline.
          format: int64
          example: 1
        iid:
          type: integer
          description: Internal ID of the pipeline.
          example: 2
        project_id:
          type: integer
          description: ID of the project of the pipeline.
          format: int64
          example: 3
        sha:
          type: string
          description: SHA of the commit the pipeline runs for.
          example: 0ec9e58fdfca6cdd6652c083c9edb53abc0bad52
        ref:
          type: string
          description: Git reference of the pipeline.
          example: feature-branch
        status:
          type: string
          description: Status of the pipeline.
          example: success
        source:
          type: string
          description: Source that triggered the pipeline.
          example: push
        created_at:
          type: string
          description: Timestamp when the pipeline was created.
          format: date-time
          example: '2022-10-21T16:49:48.000+02:00'
        updated_at:
          type: string
          description: Timestamp when the pipeline was last updated.
          format: date-time
          example: '2022-10-21T16:49:48.000+02:00'
        web_url:
          type: string
          description: URL of the pipeline in the GitLab UI.
          example: https://gitlab.example.com/gitlab-org/gitlab-foss/-/pipelines/61
        name:
          type: string
          example: Build pipeline
        project:
          "$ref": "#/components/schemas/APIEntitiesProjectIdentity"
        started_at:
          type: string
          format: date-time
          example: '2022-10-21T16:49:50.000+02:00'
        finished_at:
          type: string
          format: date-time
          example: '2022-10-21T16:52:12.000+02:00'
        duration:
          type: integer
          description: Time spent running in seconds
          example: 127
        queued_duration:
          type: integer
          description: Time spent queued in seconds
          example: 63
        detailed_status:
          "$ref": "#/components/schemas/DetailedStatusEntity"
        merge_request:
          "$ref": "#/components/schemas/APIEntitiesCiPipelineMergeRequest"
    APIEntitiesCiInput:
      type: object
      properties:
        name:
          type: string
        value:
          type: string
    APIEntitiesCiPipelineSchedule:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 13
        description:
          type: string
          example: Test schedule pipeline
        ref:
          type: string
          example: develop
        cron:
          type: string
          example: "* * * * *"
        cron_timezone:
          type: string
          example: Asia/Tokyo
        next_run_at:
          type: string
          format: date-time
          example: '2017-05-19T13:41:00.000Z'
        active:
          type: boolean
          example: true
        created_at:
          type: string
          format: date-time
          example: '2017-05-19T13:31:08.849Z'
        updated_at:
          type: string
          format: date-time
          example: '2017-05-19T13:40:17.727Z'
        owner:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        inputs:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCiInput"
    APIEntitiesCiPipelineScheduleDetails:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 13
        description:
          type: string
          example: Test schedule pipeline
        ref:
          type: string
          example: develop
        cron:
          type: string
          example: "* * * * *"
        cron_timezone:
          type: string
          example: Asia/Tokyo
        next_run_at:
          type: string
          format: date-time
          example: '2017-05-19T13:41:00.000Z'
        active:
          type: boolean
          example: true
        created_at:
          type: string
          format: date-time
          example: '2017-05-19T13:31:08.849Z'
        updated_at:
          type: string
          format: date-time
          example: '2017-05-19T13:40:17.727Z'
        owner:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        inputs:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCiInput"
        last_pipeline:
          "$ref": "#/components/schemas/APIEntitiesCiPipelineBasic"
        variables:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCiVariable"
    APIEntitiesCiPipelineWithMetadata:
      type: object
      properties:
        id:
          type: integer
          description: ID of the pipeline.
          format: int64
          example: 1
        iid:
          type: integer
          description: Internal ID of the pipeline.
          example: 2
        project_id:
          type: integer
          description: ID of the project of the pipeline.
          format: int64
          example: 3
        sha:
          type: string
          description: SHA of the commit the pipeline runs for.
          example: 0ec9e58fdfca6cdd6652c083c9edb53abc0bad52
        ref:
          type: string
          description: Git reference of the pipeline.
          example: feature-branch
        status:
          type: string
          description: Status of the pipeline.
          example: success
        source:
          type: string
          description: Source that triggered the pipeline.
          example: push
        created_at:
          type: string
          format: date-time
          example: '2015-12-24T15:51:21.880Z'
        updated_at:
          type: string
          format: date-time
          example: '2015-12-24T17:54:31.198Z'
        web_url:
          type: string
          description: URL of the pipeline in the GitLab UI.
          example: https://gitlab.example.com/gitlab-org/gitlab-foss/-/pipelines/61
        before_sha:
          type: string
          example: a91957a858320c0e17f3a0eca7cfacbff50ea29a
        tag:
          type: boolean
          example: false
        yaml_errors:
          type: string
          example: 'widgets:build: needs ''widgets:test'''
        user:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        started_at:
          type: string
          format: date-time
          example: '2015-12-24T17:54:30.733Z'
        finished_at:
          type: string
          format: date-time
          example: '2015-12-24T17:54:31.198Z'
        committed_at:
          type: string
          format: date-time
          example: '2015-12-24T15:51:21.880Z'
        duration:
          type: integer
          description: Time spent running in seconds
          example: 127
        queued_duration:
          type: integer
          description: Time spent enqueued in seconds
          example: 63
        coverage:
          type: number
          format: float
          example: 98.29
        detailed_status:
          "$ref": "#/components/schemas/DetailedStatusEntity"
        archived:
          type: boolean
          example: false
        name:
          type: string
          example: Build pipeline
    APIEntitiesCiBridge:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        status:
          type: string
          example: waiting_for_resource
        stage:
          type: string
          example: deploy
        name:
          type: string
          example: deploy_to_production
        ref:
          type: string
          example: main
        tag:
          type: boolean
        coverage:
          type: number
          format: float
          example: 98.29
        allow_failure:
          type: boolean
        created_at:
          type: string
          format: date-time
          example: '2015-12-24T15:51:21.880Z'
        started_at:
          type: string
          format: date-time
          example: '2015-12-24T17:54:30.733Z'
        finished_at:
          type: string
          format: date-time
          example: '2015-12-24T17:54:31.198Z'
        erased_at:
          type: string
          format: date-time
          example: '2015-12-24T18:00:29.728Z'
        duration:
          type: number
          description: Time spent running
          format: float
          example: 0.465
        queued_duration:
          type: number
          description: Time spent enqueued
          format: float
          example: 0.123
        user:
          "$ref": "#/components/schemas/APIEntitiesUser"
        commit:
          "$ref": "#/components/schemas/APIEntitiesCommit"
        pipeline:
          "$ref": "#/components/schemas/APIEntitiesCiPipelineBasic"
        failure_reason:
          type: string
          example: script_failure
        web_url:
          type: string
          example: https://example.com/foo/bar/-/jobs/1
        project:
          type: object
          properties:
            ci_job_token_scope_enabled:
              type: string
              example: false
        downstream_pipeline:
          "$ref": "#/components/schemas/APIEntitiesCiPipelineBasic"
    TestCaseEntity:
      type: object
      properties:
        status:
          type: string
          example: success
        name:
          type: string
          default: "(No name)"
          example: Security Reports can create an auto-remediation MR
        classname:
          type: string
          example: vulnerability_management_spec
        file:
          type: string
          example: "./spec/test_spec.rb"
        execution_time:
          type: integer
          example: 180
        system_output:
          type: string
          example: 'Failure/Error: is_expected.to eq(3)'
        stack_trace:
          type: string
          example: 'Failure/Error: is_expected.to eq(3)'
        recent_failures:
          type: object
          example:
            count: 3
            base_branch: develop
        attachment_url:
          type: string
          example: http://localhost/namespace1/project1/-/jobs/1/artifacts/file/some/path.png
    TestSuiteEntity:
      type: object
      properties:
        name:
          type: string
          example: test
        total_time:
          type: integer
          example: 1904
        total_count:
          type: integer
          example: 3363
        success_count:
          type: integer
          example: 3351
        failed_count:
          type: integer
          example: 0
        skipped_count:
          type: integer
          example: 12
        error_count:
          type: integer
          example: 0
        suite_error:
          type: string
          example: 'JUnit XML parsing failed: 1:1: FATAL: Document is empty'
        test_cases:
          type: array
          items:
            "$ref": "#/components/schemas/TestCaseEntity"
    TestReportEntity:
      type: object
      properties:
        total_time:
          type: integer
          example: 180
        total_count:
          type: integer
          example: 1
        success_count:
          type: integer
          example: 1
        failed_count:
          type: integer
          example: 0
        skipped_count:
          type: integer
          example: 0
        error_count:
          type: integer
          example: 0
        test_suites:
          type: array
          items:
            "$ref": "#/components/schemas/TestSuiteEntity"
    TestSuiteSummaryEntity:
      type: object
      properties:
        name:
          type: string
          example: test
        total_time:
          type: integer
          example: 1904
        total_count:
          type: integer
          example: 3363
        success_count:
          type: integer
          example: 3351
        failed_count:
          type: integer
          example: 0
        skipped_count:
          type: integer
          example: 12
        error_count:
          type: integer
          example: 0
        suite_error:
          type: string
          example: 'JUnit XML parsing failed: 1:1: FATAL: Document is empty'
        test_cases:
          type: array
          items:
            "$ref": "#/components/schemas/TestCaseEntity"
        build_ids:
          type: array
          example:
          - 66004
          items:
            type: integer
    TestReportSummaryEntity:
      type: object
      properties:
        total:
          type: object
          example:
            time: 0.42
            count: 2
            success: 2
            failed: 0
            skipped: 0
            error: 0
            suite_error:
        test_suites:
          type: array
          items:
            "$ref": "#/components/schemas/TestSuiteSummaryEntity"
    APIEntitiesCiSecureFile:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 123
        name:
          type: string
          example: upload-keystore.jks
        checksum:
          type: string
          example: 16630b189ab34b2e3504f4758e1054d2e478deda510b2b08cc0ef38d12e80aac
        checksum_algorithm:
          type: string
          example: sha256
        created_at:
          type: string
          format: date-time
          example: '2022-02-22T22:22:22.222Z'
        expires_at:
          type: string
          format: date-time
          example: '2023-09-21T14:55:59.000Z'
        metadata:
          type: object
          example:
            id: '75949910542696343243264405377658443914'
        file_extension:
          type: string
          example: jks
    APIEntitiesCiRunnerWithUuid:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 8
        description:
          type: string
          example: test-1-20150125
        ip_address:
          type: string
          description: Always `null`. Deprecated. Use the runner manager fields in
            the GraphQL API instead.
          example: 127.0.0.1
        active:
          type: boolean
          description: If `true`, the runner is allowed to receive jobs. Deprecated.
            Use `paused` instead.
          example: true
        paused:
          type: boolean
          example: false
        is_shared:
          type: boolean
          example: true
        runner_type:
          type: string
          enum:
          - instance_type
          - group_type
          - project_type
          example: instance_type
        name:
          type: string
          example: test
        online:
          type: boolean
          example: true
        created_by:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        created_at:
          type: string
          format: date-time
          example: '2025-05-03T00:00:00.000Z'
        status:
          type: string
          example: online
        job_execution_status:
          type: string
          enum:
          - active
          - idle
          example: idle
        uuid:
          type: string
          description: UUID of the runner. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/266813)
            in GitLab 19.6.
          example: '01966aa0-f383-7a6b-b694-cd4f2f96cca1'
    APIEntitiesCiRunnerDetails:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 8
        description:
          type: string
          example: test-1-20150125
        ip_address:
          type: string
          description: Always `null`. Deprecated. Use the runner manager fields in
            the GraphQL API instead.
          example: 127.0.0.1
        active:
          type: boolean
          description: If `true`, the runner is allowed to receive jobs. Deprecated.
            Use `paused` instead.
          example: true
        paused:
          type: boolean
          example: false
        is_shared:
          type: boolean
          example: true
        runner_type:
          type: string
          enum:
          - instance_type
          - group_type
          - project_type
          example: instance_type
        name:
          type: string
          example: test
        online:
          type: boolean
          example: true
        created_by:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        created_at:
          type: string
          format: date-time
          example: '2025-05-03T00:00:00.000Z'
        status:
          type: string
          example: online
        job_execution_status:
          type: string
          enum:
          - active
          - idle
          example: idle
        uuid:
          type: string
          description: UUID of the runner. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/266813)
            in GitLab 19.6.
          example: '01966aa0-f383-7a6b-b694-cd4f2f96cca1'
        tag_list:
          type: string
        run_untagged:
          type: string
        locked:
          type: string
        maximum_timeout:
          type: string
        access_level:
          type: string
        token_expires_at:
          type: string
          description: Expiry time of the runner authentication token. `null` if the
            token does not expire. Returned only to users who can view sensitive runner
            data. For instance runners, only administrators.
          format: date-time
          example: '2025-01-01T00:00:00.000Z'
        version:
          type: string
          description: Version of the runner, from its most recently contacted runner
            manager. Deprecated. Use the runner manager fields in the GraphQL API
            instead.
        revision:
          type: string
          description: Revision of the runner, from its most recently contacted runner
            manager. Deprecated. Use the runner manager fields in the GraphQL API
            instead.
        platform:
          type: string
          description: Platform of the runner, from its most recently contacted runner
            manager. Deprecated. Use the runner manager fields in the GraphQL API
            instead.
        architecture:
          type: string
          description: Architecture of the runner, from its most recently contacted
            runner manager. Deprecated. Use the runner manager fields in the GraphQL
            API instead.
        contacted_at:
          type: string
        maintenance_note:
          type: string
        projects:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesBasicProjectDetails"
        groups:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesBasicGroupDetails"
    APIEntitiesCiJobBasicWithProject:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        status:
          type: string
          example: waiting_for_resource
        stage:
          type: string
          example: deploy
        name:
          type: string
          example: deploy_to_production
        ref:
          type: string
          example: main
        tag:
          type: boolean
        coverage:
          type: number
          format: float
          example: 98.29
        allow_failure:
          type: boolean
        created_at:
          type: string
          format: date-time
          example: '2015-12-24T15:51:21.880Z'
        started_at:
          type: string
          format: date-time
          example: '2015-12-24T17:54:30.733Z'
        finished_at:
          type: string
          format: date-time
          example: '2015-12-24T17:54:31.198Z'
        erased_at:
          type: string
          format: date-time
          example: '2015-12-24T18:00:29.728Z'
        duration:
          type: number
          description: Time spent running
          format: float
          example: 0.465
        queued_duration:
          type: number
          description: Time spent enqueued
          format: float
          example: 0.123
        user:
          "$ref": "#/components/schemas/APIEntitiesUser"
        commit:
          "$ref": "#/components/schemas/APIEntitiesCommit"
        pipeline:
          "$ref": "#/components/schemas/APIEntitiesCiPipelineBasic"
        failure_reason:
          type: string
          example: script_failure
        web_url:
          type: string
          example: https://example.com/foo/bar/-/jobs/1
        project:
          "$ref": "#/components/schemas/APIEntitiesProjectIdentity"
    APIEntitiesCiResetTokenResult:
      type: object
      properties:
        token:
          type: string
          example: your_runner_token
        token_expires_at:
          type: string
          format: date-time
          example: '2025-01-01T00:00:00.000Z'
    APIEntitiesCiJobRouterDiscoveryInformation:
      type: object
      properties:
        server_url:
          type: string
          description: URL of the Job Router.
          example: wss://kas.example.com
    APIEntitiesCiJobRequestJobInfo:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        stage:
          type: string
        tag_list:
          type: array
          example:
          - docker
          - ruby
          items:
            type: string
        pipeline_id:
          type: string
        project_id:
          type: string
        project_name:
          type: string
        project_full_path:
          type: string
        namespace_id:
          type: string
        root_namespace_id:
          type: string
        organization_id:
          type: string
        instance_id:
          type: string
        instance_uuid:
          type: string
        user_id:
          type: string
        scoped_user_id:
          type: string
        time_in_queue_seconds:
          type: string
        project_jobs_running_on_instance_runners_count:
          type: string
        queue_size:
          type: string
        queue_depth:
          type: string
    APIEntitiesCiJobRequestGitInfo:
      type: object
      properties:
        repo_url:
          type: string
        ref:
          type: string
        sha:
          type: string
        before_sha:
          type: string
        ref_type:
          type: string
        refspecs:
          type: string
        depth:
          type: string
        repo_object_format:
          type: string
        protected:
          type: string
    APIEntitiesCiJobRequestRunnerInfo:
      type: object
      properties:
        uuid:
          type: string
        timeout:
          type: string
        runner_session_url:
          type: string
    APIEntitiesCiJobRequestStep:
      type: object
      properties:
        name:
          type: string
        script:
          type: array
          items:
            type: string
        timeout:
          type: integer
        when:
          type: string
        allow_failure:
          type: boolean
    APIEntitiesCiJobRequestHook:
      type: object
      properties:
        name:
          type: string
        script:
          type: array
          items:
            type: string
    APIEntitiesCiJobRequestPort:
      type: object
      properties:
        number:
          type: integer
        protocol:
          type: string
        name:
          type: string
    APIEntitiesCiJobRequestImage:
      type: object
      properties:
        name:
          type: string
        entrypoint:
          type: string
        ports:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCiJobRequestPort"
        executor_opts:
          type: string
        pull_policy:
          type: string
    APIEntitiesCiJobRequestService:
      type: object
      properties:
        name:
          type: string
        entrypoint:
          type: string
        ports:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCiJobRequestPort"
        executor_opts:
          type: string
        pull_policy:
          type: string
        alias:
          type: string
        command:
          type: string
        variables:
          type: string
    APIEntitiesCiJobRequestArtifacts:
      type: object
      properties:
        name:
          type: string
        untracked:
          type: boolean
        paths:
          type: array
          items:
            type: string
        exclude:
          type: array
          items:
            type: string
        when:
          type: string
        expire_in:
          type: string
        artifact_type:
          type: string
        artifact_format:
          type: string
    APIEntitiesCiJobRequestCache:
      type: object
      properties:
        key:
          type: string
        untracked:
          type: boolean
        paths:
          type: array
          items:
            type: string
        policy:
          type: string
        when:
          type: string
        fallback_keys:
          type: array
          items:
            type: string
    APIEntitiesCiJobRequestCredentials:
      type: object
      properties:
        type:
          type: string
        url:
          type: string
        username:
          type: string
        password:
          type: string
    APIEntitiesCiJobRequestResponse:
      type: object
      properties:
        id:
          type: string
        token:
          type: string
        allow_git_fetch:
          type: string
        job_info:
          "$ref": "#/components/schemas/APIEntitiesCiJobRequestJobInfo"
        git_info:
          "$ref": "#/components/schemas/APIEntitiesCiJobRequestGitInfo"
        runner_info:
          "$ref": "#/components/schemas/APIEntitiesCiJobRequestRunnerInfo"
        inputs:
          type: string
        variables:
          type: string
        steps:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCiJobRequestStep"
        hooks:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCiJobRequestHook"
        image:
          "$ref": "#/components/schemas/APIEntitiesCiJobRequestImage"
        services:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCiJobRequestService"
        artifacts:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCiJobRequestArtifacts"
        cache:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCiJobRequestCache"
        credentials:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCiJobRequestCredentials"
        features:
          type: string
        dependencies:
          type: string
        run:
          type: string
        suspend_options:
          type: string
        secrets:
          type: string
        policy_options:
          type: string
    APIEntitiesCiRuntimeEnvironmentKey:
      type: object
      properties:
        runtime_environment_key:
          type: string
          example: 42/s_machineid/data
    APIEntitiesCiResourceGroup:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        key:
          type: string
          example: production
        process_mode:
          type: string
          example: unordered
        created_at:
          type: string
          format: date-time
          example: '2021-09-01T08:04:59.650Z'
        updated_at:
          type: string
          format: date-time
          example: '2021-09-01T08:04:59.650Z'
    APIEntitiesCiJobBasic:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        status:
          type: string
          example: waiting_for_resource
        stage:
          type: string
          example: deploy
        name:
          type: string
          example: deploy_to_production
        ref:
          type: string
          example: main
        tag:
          type: boolean
        coverage:
          type: number
          format: float
          example: 98.29
        allow_failure:
          type: boolean
        created_at:
          type: string
          format: date-time
          example: '2015-12-24T15:51:21.880Z'
        started_at:
          type: string
          format: date-time
          example: '2015-12-24T17:54:30.733Z'
        finished_at:
          type: string
          format: date-time
          example: '2015-12-24T17:54:31.198Z'
        erased_at:
          type: string
          format: date-time
          example: '2015-12-24T18:00:29.728Z'
        duration:
          type: number
          description: Time spent running
          format: float
          example: 0.465
        queued_duration:
          type: number
          description: Time spent enqueued
          format: float
          example: 0.123
        user:
          "$ref": "#/components/schemas/APIEntitiesUser"
        commit:
          "$ref": "#/components/schemas/APIEntitiesCommit"
        pipeline:
          "$ref": "#/components/schemas/APIEntitiesCiPipelineBasic"
        failure_reason:
          type: string
          example: script_failure
        web_url:
          type: string
          example: https://example.com/foo/bar/-/jobs/1
        project:
          type: object
          properties:
            ci_job_token_scope_enabled:
              type: string
              example: false
    APIEntitiesAiSettings:
      type: object
      properties:
        duo_agent_platform_enabled:
          type: boolean
          example: true
        duo_workflow_mcp_enabled:
          type: boolean
          example: false
        foundational_agents_default_enabled:
          type: boolean
          example: true
        ai_catalog_restricted_to_group_hierarchy:
          type: boolean
          example: false
        ai_usage_data_collection_enabled:
          type: boolean
          example: false
        prompt_injection_protection_level:
          type: string
          example: no_checks
        web_search_enabled:
          type: boolean
          example: false
        duo_workflow_file_attachments_enabled:
          type: boolean
          example: false
        external_agent_audit_event_content_enabled:
          type: boolean
          example: true
        include_recommended_allowed:
          type: boolean
          example: false
        allow_all_unix_sockets:
          type: boolean
          example: false
        allow_project_extension:
          type: boolean
          example: true
        require_sandbox:
          type: boolean
          example: false
        minimum_access_level_execute:
          type: string
          example: developer
        minimum_access_level_execute_async:
          type: string
          example: developer
        minimum_access_level_manage:
          type: string
          example: maintainer
        minimum_access_level_enable_on_projects:
          type: string
          example: maintainer
    APIEntitiesGroupDetail:
      type: object
      properties:
        id:
          type: integer
          description: ID of the group.
          format: int64
        web_url:
          type: string
          description: URL to access the group in a browser.
          example: http://gitlab.example.com/groups/diaspora
        name:
          type: string
          description: Name of the group.
          example: Diaspora
        path:
          type: string
        description:
          type: string
        visibility:
          type: string
        share_with_group_lock:
          type: boolean
        require_two_factor_authentication:
          type: boolean
          description: If `true`, the group's own setting requires all users to set
            up two-factor authentication.
        two_factor_grace_period:
          type: integer
        project_creation_level:
          type: string
        auto_devops_enabled:
          type: string
        subgroup_creation_level:
          type: string
        emails_disabled:
          type: boolean
        emails_enabled:
          type: boolean
        show_diff_preview_in_email:
          type: boolean
        mentions_disabled:
          type: string
        lfs_enabled:
          type: boolean
        archived:
          type: boolean
        math_rendering_limits_enabled:
          type: boolean
        lock_math_rendering_limits_enabled:
          type: boolean
        crm_enabled:
          type: boolean
        resource_access_token_notify_inherited:
          type: boolean
        lock_resource_access_token_notify_inherited:
          type: boolean
        default_branch:
          type: string
        default_branch_protection:
          type: integer
        default_branch_protection_defaults:
          type: string
        avatar_url:
          type: string
        request_access_enabled:
          type: boolean
        full_name:
          type: string
        full_path:
          type: string
        created_at:
          type: string
        parent_id:
          type: string
        organization_id:
          type: integer
          format: int64
        shared_runners_setting:
          type: string
        max_artifacts_size:
          type: integer
        custom_attributes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        statistics:
          type: object
          properties:
            storage_size:
              type: string
            repository_size:
              type: string
            wiki_size:
              type: string
            lfs_objects_size:
              type: string
            job_artifacts_size:
              type: string
            pipeline_artifacts_size:
              type: string
            packages_size:
              type: string
            snippets_size:
              type: string
            uploads_size:
              type: string
        marked_for_deletion_on:
          type: string
        root_storage_statistics:
          description: Storage statistics for a top-level group. Returned only when
            `statistics` is `true` and the user is an administrator. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/469254)
            in GitLab 17.4.
          "$ref": "#/components/schemas/APIEntitiesNamespaceRootStorageStatistics"
        ldap_cn:
          type: string
        ldap_access:
          type: string
        ldap_group_links:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesLdapGroupLink"
        saml_group_links:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesSamlGroupLink"
        file_template_project_id:
          type: string
        wiki_access_level:
          type: string
        repository_storage:
          type: string
        duo_core_features_enabled:
          type: boolean
          description: "[Experimental] Indicates whether GitLab Duo Core features
            are enabled for the group"
        duo_features_enabled:
          type: boolean
          description: If `true`, GitLab Duo features are enabled for the group. Premium
            and Ultimate only.
        lock_duo_features_enabled:
          type: boolean
          description: If `true`, the GitLab Duo features enabled setting is enforced
            for all subgroups. Premium and Ultimate only.
        duo_code_suggestions_enabled:
          type: boolean
          description: If `true`, GitLab Duo Code Suggestions is turned on for the
            group. Premium and Ultimate only.
        lock_duo_code_suggestions_enabled:
          type: boolean
          description: If `true`, the Code Suggestions enabled setting is enforced
            for all subgroups. Premium and Ultimate only.
        auto_duo_code_review_enabled:
          type: string
        duo_code_review_level_allowed:
          type: boolean
        duo_code_review_default_level:
          type: string
          example: lite
        duo_code_review_decisions_enabled:
          type: string
        web_based_commit_signing_enabled:
          type: string
        allow_personal_snippets:
          type: string
        duo_namespace_access_rules:
          type: string
        built_in_project_templates_enabled:
          type: boolean
        lock_built_in_project_templates_enabled:
          type: boolean
        require_sha_for_merge:
          type: boolean
        lock_require_sha_for_merge:
          type: boolean
        require_two_factor_authentication_from_ancestor:
          type: boolean
          description: Whether an ancestor group requires all users to set up two-factor
            authentication. Members of this group must then set it up even when require_two_factor_authentication
            is false. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/352728)
            in GitLab 19.6.
        shared_with_groups:
          type: array
          items:
            type: object
        runners_token:
          type: string
          example: b8bc4a7a29eb76ea83cf79e4908c2b
        enabled_git_access_protocol:
          type: string
          example: ssh
        prevent_sharing_groups_outside_hierarchy:
          type: boolean
          description: If `true`, groups in this namespace cannot be shared with groups
            outside the namespace. Returned only for top-level groups.
        step_up_auth_required_oauth_provider:
          type: string
          description: OAuth provider required for step-up authentication.
        projects:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesProject"
        shared_projects:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesProject"
        shared_runners_minutes_limit:
          type: string
        extra_shared_runners_minutes_limit:
          type: string
        prevent_forking_outside_group:
          type: string
        service_access_tokens_expiration_enforced:
          type: string
        experiment_features_enabled:
          type: boolean
          description: If `true`, experimental and beta AI features are enabled for
            the group. Premium and Ultimate only.
        ai_settings:
          description: AI-related settings for the group. Returned only to users who
            can read the group, when AI features are available for the group.
          "$ref": "#/components/schemas/APIEntitiesAiSettings"
        duo_remote_flows_enabled:
          type: boolean
        lock_duo_remote_flows_enabled:
          type: boolean
        membership_lock:
          type: string
        ip_restriction_ranges:
          type: string
        allowed_email_domains_list:
          type: string
        only_allow_merge_if_pipeline_succeeds:
          type: string
        allow_merge_on_skipped_pipeline:
          type: string
        only_allow_merge_if_all_discussions_are_resolved:
          type: string
        unique_project_download_limit:
          type: string
        unique_project_download_limit_interval_in_seconds:
          type: string
        unique_project_download_limit_allowlist:
          type: array
          items:
            type: string
        unique_project_download_limit_alertlist:
          type: array
          items:
            type: integer
        auto_ban_user_on_excessive_projects_download:
          type: string
    APIEntitiesSshCertificate:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 142
        title:
          type: string
          example: new ssh cert
        key:
          type: string
        fingerprint:
          type: string
          description: SHA256 fingerprint of the SSH certificate authority public
            key. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/629633)
            in GitLab 19.5.
          example: SHA256:1CrrRznEotAVn+wfXVzYlDCaVcGoTvHIup4eNWBPK2k
        created_at:
          type: string
          format: date-time
          example: '2022-01-31T15:10:45.080Z'
    APIEntitiesCiJobArtifactEntry:
      type: object
      properties:
        name:
          type: string
          description: Name of the file or directory.
          example: index.html
        path:
          type: string
          description: Full path in the artifacts archive. Directories end with a
            slash.
          example: coverage/index.html
        type:
          type: string
          description: Type of the entry. Either `file` or `directory`.
          enum:
          - file
          - directory
          example: file
        size:
          type: integer
          description: File size in bytes. Returned only for files.
          example: 12345
        mode:
          type: string
          description: Unix file mode in octal format, such as `100644` for a file
            or `040755` for a directory.
          example: '100644'
    APIEntitiesCiCatalogResourcesVersion:
      type: object
      properties:
        catalog_url:
          type: string
          example: https://gitlab.example.com/explore/catalog/my-namespace/my-component-project
    APIEntitiesBulkImportsEntityFailure:
      type: object
      properties:
        relation:
          type: string
          example: label
        exception_message:
          type: string
          example: error message
        exception_class:
          type: string
          example: Exception
        correlation_id_value:
          type: string
          example: dfcf583058ed4508e4c7c617bd7f0edd
        source_url:
          type: string
          example: https://source.gitlab.com/group/-/epics/1
        source_title:
          type: string
          example: title
    APIEntitiesBulkImportsEntity:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        bulk_import_id:
          type: integer
          format: int64
          example: 1
        status:
          type: string
          enum:
          - created
          - started
          - finished
          - timeout
          - failed
          example: created
        entity_type:
          type: string
          enum:
          - group
          - project
        source_full_path:
          type: string
          example: source_group
        destination_full_path:
          type: string
          example: some_group/source_project
        destination_name:
          type: string
          example: destination_slug
        destination_slug:
          type: string
          example: destination_slug
        destination_namespace:
          type: string
          example: destination_path
        parent_id:
          type: integer
          format: int64
          example: 1
        namespace_id:
          type: integer
          format: int64
          example: 1
        project_id:
          type: integer
          format: int64
          example: 1
        created_at:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        updated_at:
          type: string
          format: date-time
          example: '2012-05-28T04:42:42-07:00'
        failures:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesBulkImportsEntityFailure"
        migrate_projects:
          type: boolean
          example: true
        migrate_memberships:
          type: boolean
          example: true
        has_failures:
          type: boolean
          example: false
        stats:
          type: object
    APIEntitiesBranch:
      type: object
      properties:
        name:
          type: string
          description: Name of the branch.
          example: master
        commit:
          description: Latest commit on the branch.
          "$ref": "#/components/schemas/APIEntitiesCommit"
        merged:
          type: boolean
          description: Whether the branch is merged into the default branch.
          example: true
        protected:
          type: boolean
          description: Whether the branch is protected.
          example: true
        developers_can_push:
          type: boolean
          description: Whether a protected branch rule allows the Developer role to
            push to the branch.
          example: true
        developers_can_merge:
          type: boolean
          description: Whether a protected branch rule allows the Developer role to
            merge to the branch.
          example: true
        can_push:
          type: boolean
          description: Whether the authenticated user can push to the branch.
          example: true
        default:
          type: boolean
          description: Whether the branch is the default branch of the project.
          example: true
        web_url:
          type: string
          description: URL of the branch in the GitLab UI.
          example: https://gitlab.example.com/Commit921/the-dude/-/tree/master
    APIEntitiesBadge:
      type: object
      properties:
        name:
          type: string
          example: Pipeline Status
        link_url:
          type: string
          example: https://example.gitlab.com
        image_url:
          type: string
          example: https://example.gitlab.com
        rendered_link_url:
          type: string
          example: https://example.gitlab.com
        rendered_image_url:
          type: string
          example: https://example.gitlab.com
        id:
          type: integer
          format: int64
          example: 1
        kind:
          type: string
          example: project
    APIEntitiesBasicBadgeDetails:
      type: object
      properties:
        name:
          type: string
          example: Pipeline Status
        link_url:
          type: string
          example: https://example.gitlab.com
        image_url:
          type: string
          example: https://example.gitlab.com
        rendered_link_url:
          type: string
          example: https://example.gitlab.com
        rendered_image_url:
          type: string
          example: https://example.gitlab.com
    APIEntitiesAwardEmoji:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        name:
          type: string
          example: lizard
        user:
          "$ref": "#/components/schemas/APIEntitiesUserBasic"
        created_at:
          type: string
          format: date-time
          example: '2019-01-10T13:39:08Z'
        updated_at:
          type: string
          format: date-time
          example: '2020-06-28T10:52:04Z'
        awardable_id:
          type: integer
          format: int64
          example: 42
        awardable_type:
          type: string
          example: Issue
        url:
          type: string
          example: https://example.com/emojis/example.gif
    APIEntitiesAppearance:
      type: object
      properties:
        title:
          type: string
          example: GitLab Community Edition
        description:
          type: string
          example: Open source software to collaborate on code
        pwa_name:
          type: string
          example: GitLab
        pwa_short_name:
          type: string
          example: GitLab
        pwa_description:
          type: string
          example: GitLab as PWA
        logo:
          type: string
          example: "/uploads/-/system/appearance/logo/1/logo.png"
        pwa_icon:
          type: string
          example: "/uploads/-/system/appearance/pwa_icon/1/icon.png"
        header_logo:
          type: string
          example: "/uploads/-/system/appearance/header_logo/1/header.png"
        favicon:
          type: string
          example: "/uploads/-/system/appearance/favicon/1/favicon.png"
        new_project_guidelines:
          type: string
          example: Please read the FAQs for help.
        member_guidelines:
          type: string
          example: Please read the member guidelines.
        profile_image_guidelines:
          type: string
          example: Custom profile image guidelines
        header_message:
          type: string
          example: This is a header message
        footer_message:
          type: string
          example: This is a footer message
        message_background_color:
          type: string
          example: "#e75e40"
        message_font_color:
          type: string
          example: "#ffffff"
        email_header_and_footer_enabled:
          type: boolean
          example: false
        site_name:
          type: string
          example: GitLab
    APIEntitiesMetricImage:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 23
        created_at:
          type: string
          format: date-time
          example: '2020-11-13T00:06:18.084Z'
        filename:
          type: string
          example: file.png
        file_path:
          type: string
          example: "/uploads/-/system/alert_metric_image/file/23/file.png"
        url:
          type: string
          example: https://example.com/metric
        url_text:
          type: string
          example: An example metric
    APIEntitiesPlanLimit:
      type: object
      properties:
        cargo_max_file_size:
          type: integer
          example: 5368709120
        ci_instance_level_variables:
          type: integer
          example: 25
        ci_pipeline_size:
          type: integer
          example: 0
        ci_pipeline_variables_count:
          type: integer
          example: 1200
        ci_variable_value_size:
          type: integer
          example: 131072
        ci_variable_file_value_size:
          type: integer
          example: 1048576
        ci_active_jobs:
          type: integer
          example: 0
        ci_project_subscriptions:
          type: integer
          example: 2
        ci_pipeline_schedules:
          type: integer
          example: 10
        ci_needs_size_limit:
          type: integer
          example: 50
        ci_job_variables_count:
          type: integer
          example: 1000
        ci_registered_group_runners:
          type: integer
          example: 1000
        ci_registered_project_runners:
          type: integer
          example: 1000
        conan_max_file_size:
          type: integer
          example: 3221225472
        dotenv_variables:
          type: integer
          example: 20
        dotenv_size:
          type: integer
          example: 5120
        draft_notes_per_merge_request:
          type: integer
          example: 200
        enforcement_limit:
          type: integer
          example: 15000
        generic_packages_max_file_size:
          type: integer
          example: 5368709120
        helm_max_file_size:
          type: integer
          example: 5242880
        limits_history:
          type: object
          example:
            enforcement_limit:
            - timestamp: 1686909124
              user_id: 1
              username: x
              value: 5
            notification_limit:
            - timestamp: 1686909124
              user_id: 2
              username: "y"
              value: 7
        maven_max_file_size:
          type: integer
          example: 3221225472
        notification_limit:
          type: integer
          example: 15000
        npm_max_file_size:
          type: integer
          example: 524288000
        nuget_max_file_size:
          type: integer
          example: 524288000
        organization_hooks:
          type: integer
          example: 50
        pipeline_hierarchy_size:
          type: integer
          example: 1000
        pypi_max_file_size:
          type: integer
          example: 3221225472
        service_desk_outbound_emails_per_hour:
          type: integer
          example: 100
        service_desk_outbound_emails_per_day:
          type: integer
          example: 700
        swift_max_file_size:
          type: integer
          example: 104857600
        terraform_module_max_file_size:
          type: integer
          example: 1073741824
        storage_size_limit:
          type: integer
          example: 15000
        web_hook_calls:
          type: integer
          example: 500
        web_hook_calls_low:
          type: integer
          example: 500
        web_hook_calls_mid:
          type: integer
          example: 500
        integration_executions:
          type: integer
          example: 500
        integration_executions_datadog:
          type: integer
          example: 3000
        max_pipelines_per_merge_train:
          type: integer
          example: 20
    APIEntitiesSystemBroadcastMessage:
      type: object
      properties:
        id:
          type: integer
          format: int64
        message:
          type: string
          example: Example broadcast message
        starts_at:
          type: string
          format: date-time
          example: '2016-01-04T15:39:55.570Z'
        ends_at:
          type: string
          format: date-time
          example: '2016-01-06T15:39:55.570Z'
        color:
          type: string
          example: "#E75E40"
        font:
          type: string
          example: "#FFFFFF"
        target_access_levels:
          type: array
          example:
          - 10
          - 30
        target_path:
          type: string
          example: "*/welcome"
        broadcast_type:
          type: string
          example: banner
        theme:
          type: string
          example: indigo
        dismissable:
          type: boolean
        active:
          type: boolean
    APIEntitiesBatchedBackgroundOperation:
      type: object
      properties:
        id:
          type: string
          example: "<cluster>:<partition_id>:<id/uuid>"
        partition:
          type: integer
          example: 1
        job_class_name:
          type: string
          example: UsersDeleteUnconfirmedSecondaryEmails
        table_name:
          type: string
          example: users
        column_name:
          type: string
          example: id
        status:
          type: string
          example: active
        created_at:
          type: string
          format: date-time
          example: '2025-05-15T10:00:00Z'
        started_at:
          type: string
          format: date-time
          example: '2025-05-15T10:05:00Z'
        finished_at:
          type: string
          format: date-time
          example: '2025-05-15T11:00:00Z'
        on_hold_until:
          type: string
          format: date-time
          example: '2025-05-15T10:15:00Z'
    APIEntitiesBatchedBackgroundMigration:
      type: object
      properties:
        id:
          type: string
          example: '1234'
        job_class_name:
          type: string
          example: CopyColumnUsingBackgroundMigrationJob
        table_name:
          type: string
          example: events
        column_name:
          type: string
          example: id
        status:
          type: string
          example: active
        progress:
          type: number
          example: 50
        created_at:
          type: string
          format: date-time
          example: '2022-11-28T16:26:39+02:00'
        estimated_time_remaining:
          type: string
          example: 1 day
    APIEntitiesAccessRequester:
      type: object
      properties:
        id:
          type: integer
          description: ID of the user.
          format: int64
          example: 1
        username:
          type: string
          description: Username of the user.
          example: admin
        public_email:
          type: string
          description: Public email address of the user.
          example: john@example.com
        name:
          type: string
          description: Name of the user. For a bot user, `****` if the current user
            cannot read the bot's project or group.
          example: Administrator
        state:
          type: string
          description: 'State of the user account. Possible values: `active`, `blocked`,
            `ldap_blocked`, `blocked_pending_approval`, `banned`, or `deactivated`.'
          example: active
        locked:
          type: boolean
          description: If `true`, the user account is locked, and the user cannot
            sign in until the lock expires or an administrator unlocks the account.
        avatar_url:
          type: string
          description: URL of the user's avatar.
          example: https://gravatar.com/avatar/1
        avatar_path:
          type: string
          example: "/user/avatar/28/The-Big-Lebowski-400-400.png"
        custom_attributes:
          type: array
          items:
            "$ref": "#/components/schemas/APIEntitiesCustomAttribute"
        web_url:
          type: string
          description: URL of the user's profile.
          example: https://gitlab.example.com/root
        requested_at:
          type: string
          format: date-time
          example: '2025-01-01T00:00:00.000Z'
    postApiV4RolloutsIdRequest:
      type: object
      properties:
        topic:
          type: string
          description: The event topic
          nullable: true
        type:
          type: string
          description: The event type
          nullable: true
          maxLength: 255
        data:
          type: object
          description: The event payload. Exactly one of `data`, `value` must be provided.
          properties:
            position:
              type: array
              items:
                type: integer
              description: Zero-based path to the stage/step in the flow definition;
                required for every event except com.gitlab.cd.rollout_succeeded
              nullable: true
            stage_name:
              type: string
              description: Name of the enclosing stage (an environment tier); absent
                for a step outside any stage
              nullable: true
              maxLength: 255
            environment:
              type: string
              description: Exact name of the target GitLab environment; resolves the
                rollout environment to update when a stage deploys to more than one
                environment
              nullable: true
              maxLength: 255
            step_type:
              type: string
              description: The step type, present on step_* events
              nullable: true
              maxLength: 255
            service:
              type: string
              description: Name of the Cd::Service, present on service_started/service_succeeded/service_failed
              nullable: true
              maxLength: 255
            error:
              type: string
              description: Failure detail, present on step_failed and service_failed
              nullable: true
              maxLength: 2000
            reason:
              type: string
              description: Human-readable prompt, present on approval_requested
              nullable: true
              maxLength: 2000
            reply:
              type: string
              description: Name of the AutoFlow channel to post the approval decision
                back into, present on approval_requested
              nullable: true
              maxLength: 255
          nullable: true
        value:
          type: object
          description: AutoFlow Value (protojson), decoded into the same topic/type/data
            shape as `data` above. Exactly one of `data`, `value` must be provided.
          nullable: true
        channel_tokens:
          type: array
          description: AutoFlow channels opened alongside this event, for posting
            a value back into them later
          items:
            type: object
            properties:
              channel_name:
                type: string
                description: Name of the AutoFlow channel
                nullable: true
                maxLength: 255
              token:
                type: string
                description: Token used to post a value into the channel
                nullable: true
                maxLength: 4096
            required:
            - channel_name
            - token
          nullable: true
    postApiV4OrbitQueryRequest:
      type: object
      properties:
        query:
          type: string
          description: GQL query text
          nullable: true
        response_format:
          type: string
          enum:
          - raw
          - llm
          - gql
          description: 'Response format: raw, llm, or gql'
          nullable: true
          default: raw
        source_type:
          type: string
          description: Subtype of a request from the GitLab UI. Only `code_intelligence`
            has an effect. The API ignores the attribute for requests that do not
            come from a GitLab UI session.
          nullable: true
      required:
      - query
    postApiV4OrbitQueryNameRequest:
      type: object
      properties:
        parameters:
          type: object
          description: Named query parameters
          nullable: true
          default: {}
        response_format:
          type: string
          enum:
          - raw
          - llm
          - gql
          description: 'Response format: raw, llm, or gql'
          nullable: true
          default: raw
        source_type:
          type: string
          description: Subtype of a request from the GitLab UI. Only `code_intelligence`
            has an effect. The API ignores the attribute for requests that do not
            come from a GitLab UI session.
          nullable: true
    postApiV4OrbitContextRequest:
      type: object
      properties:
        tokens:
          type: array
          items:
            type: string
          description: 'Exactly one token: Type[id], a GID, an instance URL, path!iid,
            path#iid, path&iid (epic), or path@ref (branch or commit)'
          nullable: true
        expand:
          oneOf:
          - type: boolean
            nullable: true
            default: false
          description: Attach the graph neighborhood of the entity. Default is `false`.
        response_format:
          type: string
          enum:
          - raw
          - llm
          description: 'Response format: raw or llm'
          nullable: true
          default: raw
      required:
      - tokens
    postApiV4JobsIdSbomScansAuthorizeRequest:
      type: object
      properties:
        filesize:
          type: integer
          description: Size of the artifact file.
          nullable: true
    postApiV4JobsIdSbomScansRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The sbom file to upload
          nullable: true
        sbom_digest:
          type: string
          description: Digest corresponding to uploaded SBOM
          nullable: true
      required:
      - file
    postApiV4JobsIdSbomScansSbomDigestRequest:
      type: object
      properties:
        purl_types:
          type: array
          description: List of package URL (purl) types valid for the given SBOM digest.
          nullable: true
      required:
      - purl_types
    patchApiV4ProjectsIdComplianceExternalControlsControlIdStatusRequest:
      type: object
      properties:
        status:
          type: string
          enum:
          - pass
          - fail
          - not_applicable
          description: Status of the control.
          minLength: 1
      required:
      - status
    postApiV4ProjectsIdSecurityScansSastSastEndpointRequest:
      type: object
      properties:
        file_path:
          type: string
          description: Path of the file to scan, relative to the project.
          nullable: true
        content:
          type: string
          description: Content of the file to scan.
          nullable: true
      required:
      - file_path
      - content
    postApiV4DuoCodeReviewEvaluationsRequest:
      type: object
      properties:
        diffs:
          type: string
          description: Raw diffs to review.
          nullable: true
        mr_title:
          type: string
          description: Title of the merge request.
          nullable: true
        mr_description:
          type: string
          description: Description of the merge request.
          nullable: true
        files_content:
          type: object
          description: Full file contents, where keys are file paths and values are
            the file contents.
          nullable: true
      required:
      - diffs
      - mr_title
      - mr_description
      - files_content
    postApiV4ChatCompletionsRequest:
      type: object
      properties:
        content:
          type: string
          description: Question sent to Chat.
          minLength: 1
          maxLength: 1000
        resource_type:
          type: string
          enum:
          - issue
          - epic
          - group
          - project
          - merge_request
          - commit
          - build
          - work_item
          description: Type of resource sent with the chat question.
          nullable: true
          maxLength: 100
        resource_id:
          oneOf:
          - type: string
            nullable: true
          - type: integer
            nullable: true
          description: ID of the resource. Can be a numeric ID or a commit SHA.
        referer_url:
          type: string
          description: Referer URL.
          nullable: true
          maxLength: 1000
        client_subscription_id:
          type: string
          description: Client subscription ID.
          nullable: true
          maxLength: 500
        with_clean_history:
          type: boolean
          description: If `true`, resets history before and after the request.
          nullable: true
        project_id:
          type: integer
          description: ID of the project. Required when `resource_type` is `commit`.
          nullable: true
        current_file:
          type: object
          description: Object that contains information about the current file.
          properties:
            file_name:
              type: string
              description: Name of the current file.
              nullable: true
              maxLength: 1000
            content_above_cursor:
              type: string
              description: Content above cursor.
              nullable: true
              maxLength: 400000
            content_below_cursor:
              type: string
              description: Content below cursor.
              nullable: true
              maxLength: 400000
            selected_text:
              type: string
              description: Content currently selected by the user.
              nullable: true
              maxLength: 400000
          nullable: true
        additional_context:
          type: array
          description: Additional context to pass to the chat request. See [Context
            attributes](https://docs.gitlab.com/api/chat/#context-attributes) for
            the parameters this attribute accepts.
          items:
            type: object
            properties:
              category:
                type: string
                enum:
                - file
                - snippet
                - merge_request
                - issue
                - dependency
                - local_git
                - terminal
                - user_rule
                - repository
                - directory
                - agent_user_environment
                - attachments
                description: Category of the additional context.
                minLength: 1
              id:
                type: string
                description: ID of the additional context.
                minLength: 1
                maxLength: 255
              content:
                type: string
                description: Content of the additional context. The value depends
                  on `category`.
                minLength: 1
                maxLength: 1000
              metadata:
                type: object
                description: Metadata of the additional context. The value depends
                  on `category`.
                nullable: true
            required:
            - category
            - id
            - content
          nullable: true
      required:
      - content
    postApiV4TokenExchangeRequest:
      type: object
      properties:
        audience:
          type: string
          enum:
          - gitlab-artifact-registry
          - gitlab-autoflow
          - gitlab-repositories
          description: Target service audience. Required unless a CI/CD ID token names
            it in its target_audience claim. When both are sent, they must match.
          nullable: true
        expires_in:
          type: integer
          minimum: 1
          maximum: 43200
          description: Requested token lifetime in seconds. The granted lifetime may
            be shorter than requested depending on the authentication method used
            to call this endpoint or the audience. For an audience bound to a resource,
            it never outlasts the token used to request it.
          nullable: true
          default: 300
        organization_id:
          type: integer
          description: ID of the organization to mint the token for. Required for
            Artifact Registry when the caller belongs to more than one.
          nullable: true
        resource:
          type: string
          description: Global ID of the resource the token grants access to, such
            as gid://gitlab/Project/1. Required for gitlab-repositories, ignored for
            other audiences.
          nullable: true
          maxLength: 255
        scope:
          type: string
          description: Space-separated actions to grant on the resource. For gitlab-repositories,
            read, write, or both. Defaults to read. Ignored for other audiences.
          nullable: true
          maxLength: 255
    postApiV4CodeSuggestionsCompletionsRequest:
      type: object
      properties:
        current_file:
          type: object
          description: Attributes of the file that suggestions are generated for.
            Requires `file_name` (name of the file) and `content_above_cursor` (content
            of the file above the cursor position). `content_below_cursor` (content
            of the file below the cursor position) is optional.
          properties:
            file_name:
              type: string
              description: Name of the current file.
              nullable: true
              maxLength: 255
            content_above_cursor:
              type: string
              description: Content above cursor.
              nullable: true
              maxLength: 400000
            content_below_cursor:
              type: string
              description: Content below cursor.
              nullable: true
              maxLength: 400000
          required:
          - file_name
          - content_above_cursor
          nullable: true
        intent:
          type: string
          enum:
          - completion
          - generation
          description: Intent of the completion request.
          nullable: true
        generation_type:
          type: string
          enum:
          - comment
          - empty_function
          - small_file
          description: Type of event for generation requests.
          nullable: true
        stream:
          type: boolean
          description: If `true`, streams the response as smaller chunks as they are
            ready, if applicable.
          nullable: true
          default: false
        project_path:
          type: string
          description: Path of the project.
          example: namespace/project
          nullable: true
        user_instruction:
          type: string
          description: User's instructions for Code Suggestions. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/462750)
            in GitLab 17.1 [with a feature flag](https://docs.gitlab.com/administration/feature_flags/)
            named `code_suggestions_context`. Disabled by default. [Generally available](https://gitlab.com/gitlab-org/gitlab/-/issues/462750)
            in GitLab 18.6. Feature flag `code_suggestions_context` removed.
          nullable: true
          maxLength: 600000
        context:
          type: array
          description: Additional context to use for Code Suggestions. Each element
            has a `type` (`file` or `snippet`), a `name` (the name of the file or
            code snippet), and `content` (the body of the file or function). [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/462750)
            in GitLab 17.1 [with a feature flag](https://docs.gitlab.com/administration/feature_flags/)
            named `code_suggestions_context`. Disabled by default. [Generally available](https://gitlab.com/gitlab-org/gitlab/-/issues/462750)
            in GitLab 18.6. Feature flag `code_suggestions_context` removed.
          items:
            type: object
            properties:
              type:
                type: string
                enum:
                - file
                - snippet
                description: Type of the context part.
                minLength: 1
              name:
                type: string
                description: Name of the context part.
                minLength: 1
                maxLength: 255
              content:
                type: string
                description: Content of the context part.
                minLength: 1
                maxLength: 600000
            required:
            - type
            - name
            - content
      required:
      - current_file
    postApiV4CodeSuggestionsDirectAccessRequest:
      type: object
      properties:
        project_path:
          type: string
          description: Path of the project.
          example: namespace/project
          nullable: true
    postApiV4CodeSuggestionsEnabledRequest:
      type: object
      properties:
        project_path:
          type: string
          description: Path of the project.
          example: namespace/project
          nullable: true
      required:
      - project_path
    postApiV4ProjectsIdAiAgentSessionsRequest:
      type: object
      properties:
        agent_type:
          type: string
          enum:
          - claude-code
          - opencode
          - cursor
          - codex
          description: The type of agent.
          minLength: 1
        agent_identity_id:
          type: integer
          description: ID of the registered agent identity.
          nullable: true
        sync_type:
          type: string
          enum:
          - hook
          - fallback
          - manual
          description: How the session was synced.
          minLength: 1
        goal:
          type: string
          description: User-provided session description.
          minLength: 1
        started_at:
          type: string
          format: date-time
          description: Session start time, supports backfill.
          nullable: true
        idempotency_key:
          type: string
          description: Client-generated UUID for retry safety.
          minLength: 1
          maxLength: 255
        workflow_definition:
          type: string
          description: Workflow definition identifier for the session.
          minLength: 1
        glab_version:
          type: string
          description: Version of the glab binary that created the session.
          minLength: 1
          maxLength: 255
        agent_version:
          type: string
          description: Version of the agent that ran the session.
          minLength: 1
          maxLength: 255
        parent_idempotency_key:
          type: string
          description: Client-generated key shared by the sessions of one agent run,
            one session for each project the agent worked in. Not used for idempotency.
          minLength: 1
          maxLength: 255
      required:
      - agent_type
      - agent_identity_id
      - sync_type
    patchApiV4ProjectsIdAiAgentSessionsSessionIdRequest:
      type: object
      properties:
        status:
          type: string
          enum:
          - completed
          - failed
          description: Terminal status.
          minLength: 1
        jsonl_sha256:
          type: string
          description: SHA-256 of the transcript file.
          pattern: "^\\p{AHex}{64}$"
          minLength: 1
          maxLength: 64
      required:
      - status
    postApiV4ProjectsIdAiAgentIdentitiesRequest:
      type: object
      properties:
        agent_type:
          type: string
          enum:
          - claude-code
          - opencode
          - cursor
          - codex
          description: Type of agent being registered.
          minLength: 1
        machine_fingerprint:
          type: string
          description: SHA-256 hash of the machine identifier.
          minLength: 1
          maxLength: 64
      required:
      - agent_type
      - machine_fingerprint
    postApiV4ProjectsIdAiAgentAuditEventsRequest:
      type: object
      properties:
        session_id:
          type: integer
          description: The session ID to associate events with.
          nullable: true
        events:
          type: array
          description: Batch of audit events. Maximum 500.
          items:
            type: object
            properties:
              event_name:
                type: string
                description: The audit event type.
                minLength: 1
              cloud_event_id:
                type: string
                description: Unique CloudEvent ID for deduplication.
                pattern: "(?:^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$)"
                minLength: 1
              occurred_at:
                type: string
                format: date-time
                description: When the event occurred (ISO 8601).
                nullable: true
              details:
                type: object
                description: Additional event details.
                nullable: true
                default: {}
            required:
            - event_name
            - cloud_event_id
            - occurred_at
      required:
      - session_id
      - events
    postApiV4AiDuoWorkflowsWorkflowsIdAuditEventsRequest:
      type: object
      properties:
        events:
          type: array
          description: Array of CloudEvents v1.0 envelopes. Maximum 500.
          items:
            type: object
            properties:
              id:
                type: string
                description: ID of the CloudEvent, as a UUID.
                nullable: true
              type:
                type: string
                description: Type of the event, for example `ai_llm_input_sent`.
                nullable: true
              source:
                type: string
                description: CloudEvent source.
                nullable: true
              time:
                type: string
                format: date-time
                description: Event timestamp from the gateway.
                nullable: true
              data:
                type: object
                description: Event-specific payload.
                nullable: true
            required:
            - id
            - type
            - source
            - time
      required:
      - events
    postApiV4AiDuoWorkflowsToolsRiskAssessmentResultsRequest:
      type: object
      properties:
        project_id:
          type: string
          description: The ID or path of the project
          nullable: true
        merge_request_iid:
          type: integer
          description: The IID of the merge request
          nullable: true
        diff_sha:
          type: string
          description: The full SHA of the diff revision the claims were assessed
            against
          pattern: "^[0-9a-f]{40}(?:[0-9a-f]{24})?$"
          nullable: true
        workflow_id:
          type: integer
          description: ID of the Duo workflow session that produced these claims
          nullable: true
        claims:
          type: array
          description: Categorical claims about the merge request
          items:
            type: object
            properties:
              name:
                type: string
                description: Name of the claim, for example authorization
                pattern: "^[a-z0-9_]+$"
                minLength: 1
                maxLength: 64
              value:
                type: string
                description: Categorical answer, for example true, false, or behavioral.
                  Never a score.
                minLength: 1
                maxLength: 256
              evidence:
                type: string
                description: Where the claim was observed, as a path:line reference
                nullable: true
                maxLength: 256
            required:
            - name
            - value
          nullable: true
        summary:
          type: string
          description: Plain-language explanation of the change and where its risk
            lies
          nullable: true
          maxLength: 2048
      required:
      - project_id
      - merge_request_iid
      - diff_sha
      - workflow_id
      - claims
    postApiV4AiDuoWorkflowsCodeReviewAddCommentsRequest:
      type: object
      properties:
        project_id:
          type: string
          description: ID or URL-encoded path of the project.
          nullable: true
        merge_request_iid:
          type: integer
          description: Internal ID of the merge request.
          nullable: true
        review_output:
          type: string
          description: Review output from LLM.
          nullable: true
        workflow_id:
          type: integer
          description: ID of the Duo Workflow session.
          nullable: true
      required:
      - project_id
      - merge_request_iid
      - review_output
    postApiV4AiDuoWorkflowsAgentWorkflowsRequest:
      type: object
      properties:
        project_id:
          type: string
          description: ID or path of the project to associate the flow with.
          example: '1'
          nullable: true
        namespace_id:
          type: string
          description: ID or path of the namespace to associate the flow with.
          example: '1'
          nullable: true
        ai_catalog_item_consumer_id:
          type: integer
          description: ID of the AI Catalog item consumer that determines which catalog
            item to run. Requires `project_id`. If `workflow_definition` is also provided,
            `ai_catalog_item_consumer_id` takes precedence.
          example: 1
          nullable: true
        start_workflow:
          type: boolean
          description: If `true`, starts the workflow in a CI pipeline. This feature
            is experimental.
          example: true
          nullable: true
        goal:
          type: string
          description: Goal of the workflow.
          example: Fix pipeline for merge request 1 in project 1
          nullable: true
        workflow_definition:
          type: string
          description: Workflow type based on its capability.
          example: software_developer
          nullable: true
        allow_agent_to_request_user:
          type: boolean
          description: If `true`, Duo Agent Platform may stop to ask the user questions
            before proceeding. If `false`, Duo Agent Platform runs through the workflow
            without asking for user input. Defaults to `true`.
          example: true
          nullable: true
        image:
          type: string
          description: Container image to use for running the workflow in CI pipeline.
          example: registry.gitlab.com/gitlab-org/duo-workflow/custom-image:latest
          nullable: true
        source_branch:
          type: string
          description: Source branch for the CI pipeline. Defaults to the project's
            default branch.
          example: main
          nullable: true
        environment:
          type: string
          enum:
          - ide
          - web
          - chat_partial
          - chat
          - ambient
          - external
          description: Environment for the workflow.
          nullable: true
        ai_catalog_item_version_id:
          type: integer
          description: ID of the AI Catalog item version that sourced the flow configuration
            used by the workflow.
          example: 1
          nullable: true
        additional_context:
          type: array
          description: Additional context for the flow. Each element is an object
            with at least `Category` and `Content` keys. `Content` is a JSON-serialized
            string.
          items:
            type: object
            properties:
              Category:
                type: string
                description: Category of the context detail.
                nullable: true
              Content:
                type: string
                description: Content of the context detail.
                nullable: true
            required:
            - Category
            - Content
          nullable: true
        issue_id:
          type: integer
          description: Internal ID of the issue that the workflow is associated with.
            Requires `project_id`.
          example: 123
          nullable: true
        merge_request_id:
          type: integer
          description: Internal ID of the merge request that the workflow is associated
            with. Requires `project_id`.
          example: 123
          nullable: true
    postApiV4AiDuoWorkflowsWorkflowsWorkflowIdCapsulesRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The capsule tar file
          nullable: true
        thread_ts:
          type: string
          description: The checkpoint thread the capsule was taken at
          example: 1f0a3b2c-4d5e-6f70-8192-a3b4c5d6e7f8
          nullable: true
          maxLength: 255
      required:
      - file
    postApiV4AiDuoWorkflowsRevokeTokenRequest:
      type: object
      properties:
        token:
          type: string
          description: Access token to revoke.
          nullable: true
      required:
      - token
    patchApiV4AiDuoWorkflowsWorkflowsIdRequest:
      type: object
      properties:
        status_event:
          type: string
          description: Status event to apply to the workflow, for example `finish`.
          example: finish
          nullable: true
        drop_reason:
          type: string
          description: Why the service dropped the session. Ignored unless status_event
            is drop; a value the service may not name is recorded as api_reported
          example: token_rejected
          nullable: true
          maxLength: 64
      required:
      - status_event
    postApiV4AiDuoWorkflowsWorkflowsIdCheckpointsRequest:
      type: object
      properties:
        thread_ts:
          type: string
          description: LangGraph `thread_ts` of the checkpoint.
          nullable: true
        parent_ts:
          type: string
          description: The parent ts
          nullable: true
        checkpoint_ns:
          type: string
          description: LangGraph checkpoint namespace this checkpoint belongs to.
            Omitted (or blank) for the flow's own top-level checkpoint lineage. Set
            to LangGraph's namespace string for one nested subgraph invocation, for
            example a delegated subagent dispatched by `DelegationNode`.
          nullable: true
          maxLength: 4096
        checkpoint:
          type: object
          description: Checkpoint content
          nullable: true
        compressed_checkpoint:
          type: string
          description: Checkpoint content zlib compressed and base64 encoded
          nullable: true
        metadata:
          type: object
          description: Checkpoint metadata.
          nullable: true
        model_metadata_json:
          type: string
          description: JSON string of the model metadata.
          nullable: true
        flow_metadata_json:
          type: string
          description: JSON string of the flow metadata.
          nullable: true
        current_thread:
          type: integer
          description: Hint used to group blobs by thread during checkpoint reconstruction.
          nullable: true
          default: 0
        channel_keys:
          type: array
          items:
            type: string
          description: Live channel membership of the checkpoint.
          nullable: true
        channel_blobs:
          type: array
          description: Per-channel blobs for incremental checkpoint storage.
          items:
            type: object
            properties:
              channel:
                type: string
                description: Name of the channel.
                nullable: true
                maxLength: 255
              version:
                type: string
                description: Version of the channel.
                nullable: true
                maxLength: 255
              write_type:
                type: string
                description: Blob serialization type. The read path decodes zlib-compressed
                  JSON, so producers must send "json".
                nullable: true
                maxLength: 255
              step_action:
                type: string
                enum:
                - conversation
                - compaction
                description: Whether the blob is appended to the stored channel data
                  (`conversation`) or replaces it (`compaction`).
                minLength: 1
              data:
                type: string
                description: Base64-encoded blob bytes.
                nullable: true
                maxLength: 1398104
            required:
            - channel
            - version
            - write_type
            - step_action
            - data
          nullable: true
      required:
      - thread_ts
      - metadata
    postApiV4AiDuoWorkflowsWorkflowsIdCheckpointWritesBatchRequest:
      type: object
      properties:
        thread_ts:
          type: string
          description: LangGraph `thread_ts` of the checkpoint.
          nullable: true
        checkpoint_writes:
          type: array
          description: List of checkpoint writes.
          items:
            type: object
            properties:
              task:
                type: string
                description: ID of the task.
                nullable: true
              idx:
                type: integer
                description: Index of the checkpoint write.
                nullable: true
              channel:
                type: string
                description: Name of the channel.
                nullable: true
              write_type:
                type: string
                description: Type of data.
                nullable: true
              data:
                type: string
                description: Checkpoint write data.
                nullable: true
            required:
            - task
            - idx
            - channel
            - write_type
            - data
      required:
      - thread_ts
      - checkpoint_writes
    postApiV4AiDuoWorkflowsWorkflowsIdEventsRequest:
      type: object
      properties:
        event_type:
          type: string
          enum:
          - pause
          - resume
          - stop
          - message
          - response
          - require_input
          description: Type of event.
          minLength: 1
        message:
          type: string
          description: Message from the human.
          nullable: true
        correlation_id:
          type: string
          description: Correlation ID for tracking events.
          pattern: "(?:^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$)"
          nullable: true
      required:
      - event_type
      - message
    putApiV4AiDuoWorkflowsWorkflowsIdEventsEventIdRequest:
      type: object
      properties:
        event_status:
          type: string
          enum:
          - queued
          - delivered
          description: Status of the event.
          minLength: 1
      required:
      - event_status
    postApiV4AiDuoWorkflowsDirectAccessRequest:
      type: object
      properties:
        workflow_definition:
          type: string
          description: workflow type based on its capability
          example: software_developer
          nullable: true
        root_namespace_id:
          type: string
          description: ID of the root namespace.
          example: '1'
          nullable: true
        project_id:
          type: string
          description: ID or URL-encoded path of the project.
          example: '1'
          nullable: true
    postApiV4AiDuoWorkflowsWorkflowsRequest:
      type: object
      properties:
        project_id:
          type: string
          description: ID or path of the project to associate the flow with.
          example: '1'
          nullable: true
        namespace_id:
          type: string
          description: ID or path of the namespace to associate the flow with.
          example: '1'
          nullable: true
        ai_catalog_item_consumer_id:
          type: integer
          description: The ID of AI Catalog ItemConsumer that configures which catalog
            item to execute. Requires `project_id`. If `workflow_definition` is also
            set, `ai_catalog_item_consumer_id` takes precedence.
          example: 1
          nullable: true
        start_workflow:
          type: boolean
          description: When true, starts the flow after creating it.
          example: true
          nullable: true
        goal:
          type: string
          description: Description of the task for the agent to complete, for example
            `Fix the failing pipeline`.
          example: Fix pipeline for merge request 1 in project 1
          nullable: true
        agent_privileges:
          type: array
          items:
            type: integer
          description: The actions the agent is allowed to perform
          nullable: true
        pre_approved_agent_privileges:
          type: array
          items:
            type: integer
          description: Privilege IDs the agent can use without asking for user approval.
            Must be a subset of `agent_privileges`.
          nullable: true
        workflow_definition:
          type: string
          description: workflow type based on its capability. If `ai_catalog_item_consumer_id`
            is also set, `ai_catalog_item_consumer_id` takes precedence.
          example: software_developer
          nullable: true
        allow_agent_to_request_user:
          type: boolean
          description: If `true`, the agent may pause to ask the user questions before
            proceeding. If `false`, the agent runs to completion without user input.
            Defaults to `true`.
          example: true
          nullable: true
        image:
          type: string
          description: Container image to use for the flow. Applies only when the
            flow runs in a CI pipeline. Must meet the custom image requirements for
            flows.
          example: registry.gitlab.com/gitlab-org/duo-workflow/custom-image:latest
          nullable: true
        source_branch:
          type: string
          description: Source branch for the flow. When not specified, a flow whose
            goal names a pipeline or merge request, such as fix_pipeline/v1, uses
            its branch, and other flows use the default branch. For a flow whose goal
            names a pipeline, the `merge_request` and `pipeline` entries in `additional_context`
            are also filled in from the pipeline. Applies only when the flow runs
            in a CI pipeline.
          example: main
          nullable: true
        environment:
          type: string
          enum:
          - ide
          - web
          - chat_partial
          - chat
          - ambient
          description: Execution environment for the workflow.
          nullable: true
        ai_catalog_item_version_id:
          type: integer
          description: ID of the AI Catalog item version that sourced the flow configuration
            used by the workflow.
          example: 1
          nullable: true
        additional_context:
          type: array
          description: Additional context for the flow. Each element is an object
            with at least `Category` and `Content` keys. `Content` is a JSON-serialized
            string.
          items:
            type: object
            properties:
              Category:
                type: string
                description: Category of the context detail.
                nullable: true
              Content:
                type: string
                description: Content of the context detail.
                nullable: true
            required:
            - Category
            - Content
          nullable: true
        issue_id:
          type: integer
          description: Internal ID of the issue to associate the flow with. Requires
            `project_id`.
          example: 123
          nullable: true
        merge_request_id:
          type: integer
          description: Internal ID of the merge request to associate the flow with.
            Requires `project_id`.
          example: 123
          nullable: true
        source:
          type: string
          enum:
          - merge_request_code_conflict
          - merge_request_dependency_bump
          - merge_request_fix_pipeline
          - merge_request_resolve_discussion
          - work_item_to_merge_request
          - fix_pipeline
          - convert_platform_ci_pipeline
          - duo_cli_interactive
          - duo_cli_run
          - duo_cli_acp
          - ide_extension
          - work_item_plan_to_merge_request
          - web_chat
          - vulnerability_leaked_token_rotation
          - mobile_chat
          description: 'Where the session was triggered from: a GitLab feature entry
            point, such as `merge_request_code_conflict`, or the client surface that
            created the session, such as `duo_cli_run` or `ide_extension`. Stored
            as the session `source_type`.'
          nullable: true
    postApiV4AiDuoWorkflowsWorkflowsWorkflowIdExecuteRequest:
      type: object
      properties:
        project_id:
          type: string
          description: ID or path of the project to associate the flow with.
          example: '1'
          nullable: true
          maxLength: 255
        namespace_id:
          type: string
          description: ID or path of the namespace to associate the flow with.
          example: '1'
          nullable: true
          maxLength: 255
        root_namespace_id:
          type: string
          description: The ID of the root namespace
          example: '1'
          nullable: true
          maxLength: 255
        ai_catalog_item_version_id:
          type: integer
          description: The ID of the AI Catalog ItemVersion that sourced the flow
            config used by the workflow.
          example: 1
          nullable: true
        client_type:
          type: string
          description: The type of client starting the session
          example: browser
          nullable: true
          maxLength: 255
        user_selected_model_identifier:
          type: string
          description: Identifier of the model the user selected for this session
          example: claude_sonnet_4_5
          nullable: true
          maxLength: 255
        user_selected_effort:
          type: string
          description: Reasoning effort level the user selected for this session
          example: high
          nullable: true
          maxLength: 255
        detached:
          type: boolean
          description: When true, asks Workhorse to answer once the run has started
            and keep it going after the request ends.
          example: true
          nullable: true
    postApiV4AiDuoWorkflowsWorkflowsWorkflowIdSessionFilesRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The image file to upload
          nullable: true
      required:
      - file
    postApiV4AiDuoWorkflowsWorkflowsWorkflowIdResumeRequest:
      type: object
      properties:
        human_approval:
          type: boolean
          description: If `true`, the human approves resuming the workflow.
          example: true
          nullable: true
        human_message:
          type: string
          description: Message accompanying the human decision.
          example: Looks good, please proceed
          nullable: true
          maxLength: 2000
      required:
      - human_approval
    postApiV4AiLlmGitCommandRequest:
      type: object
      properties:
        prompt:
          type: string
          description: Prompt used to generate the Git commands.
          nullable: true
      required:
      - prompt
    patchApiV4GroupsIdEnterpriseUsersUserIdRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the user account.
          nullable: true
        email:
          type: string
          description: Email address of the user account. Must be from a verified
            [group domain](https://docs.gitlab.com/user/enterprise_user/#manage-group-domains).
          nullable: true
        projects_limit:
          type: integer
          minimum: 0
          description: Maximum number of projects the user can create. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/240990)
            in GitLab 19.2.
          nullable: true
        can_create_group:
          type: boolean
          description: If `true`, the user can create groups. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/240990)
            in GitLab 19.2.
          nullable: true
    postApiV4ProjectsIdDependencyListExportsRequest:
      type: object
      properties:
        send_email:
          type: boolean
          description: If `true`, sends an email notification to the requesting user
            when the export completes.
          nullable: true
          default: false
        export_type:
          type: string
          enum:
          - dependency_list
          - csv
          - cyclonedx_1_6_json
          description: Format of the export.
          nullable: true
          default: dependency_list
    postApiV4GroupsIdDependencyListExportsRequest:
      type: object
      properties:
        send_email:
          type: boolean
          description: If `true`, sends an email notification to the requesting user
            when the export completes.
          nullable: true
          default: false
        export_type:
          type: string
          enum:
          - json_array
          - csv
          description: Format of the export.
          nullable: true
          default: json_array
    postApiV4PipelinesIdDependencyListExportsRequest:
      type: object
      properties:
        send_email:
          type: boolean
          description: If `true`, sends an email notification to the requesting user
            when the export completes.
          nullable: true
          default: false
        export_type:
          type: string
          enum:
          - sbom
          description: Format of the export.
          nullable: true
          default: sbom
    postApiV4GroupsIdProtectedBranchesRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the branch or wildcard.
          example: main
          nullable: true
        push_access_level:
          type: integer
          enum:
          - 30
          - 40
          - 60
          - 0
          description: Access level allowed to push. Defaults to `40` (Maintainer
            role). Does not support custom roles. Use `allowed_to_push` with `member_role_id`
            instead.
          nullable: true
        merge_access_level:
          type: integer
          enum:
          - 30
          - 40
          - 60
          - 0
          description: Access level allowed to merge. Defaults to `40` (Maintainer
            role). Does not support custom roles. Use `allowed_to_merge` with `member_role_id`
            instead.
          nullable: true
        allow_force_push:
          type: boolean
          description: If `true`, members who can push to this branch can also force
            push.
          nullable: true
          default: false
        unprotect_access_level:
          type: integer
          enum:
          - 30
          - 40
          - 60
          description: Access level allowed to unprotect. Defaults to `40` (Maintainer
            role). Does not support custom roles. Use `allowed_to_unprotect` with
            `member_role_id` instead.
          nullable: true
        allowed_to_push:
          type: array
          items:
            type: object
          description: 'Array of users, groups, deploy keys, custom roles, or access
            levels allowed to push to protected branches. Each element is a hash of
            the form `{user_id: integer}`, `{group_id: integer}`, `{deploy_key_id:
            integer}`, `{member_role_id: integer}`, or `{access_level: integer}`.
            `user_id`, `group_id`, and `access_level` are Premium and Ultimate only.
            `member_role_id` is Ultimate only. Group protected branches accept only
            `access_level` and `member_role_id`. To change an existing element, include
            its `id`. To delete it, include its `id` and set `_destroy` to `true`.
            `deploy_key_id` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/166598)
            in GitLab 17.5. `member_role_id` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/241819)
            in GitLab 19.2.'
          nullable: true
        allowed_to_merge:
          type: array
          items:
            type: object
          description: 'Array of users, groups, custom roles, or access levels allowed
            to merge protected branches. Each element is a hash of the form `{user_id:
            integer}`, `{group_id: integer}`, `{member_role_id: integer}`, or `{access_level:
            integer}`. `user_id`, `group_id`, and `access_level` are Premium and Ultimate
            only. `member_role_id` is Ultimate only. Group protected branches accept
            only `access_level` and `member_role_id`. To change an existing element,
            include its `id`. To delete it, include its `id` and set `_destroy` to
            `true`. `member_role_id` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/241819)
            in GitLab 19.2.'
          nullable: true
        allowed_to_unprotect:
          type: array
          items:
            type: object
          description: 'Array of users, groups, custom roles, or access levels allowed
            to unprotect protected branches. Each element is a hash of the form `{user_id:
            integer}`, `{group_id: integer}`, `{member_role_id: integer}`, or `{access_level:
            integer}`. `user_id`, `group_id`, and `access_level` are Premium and Ultimate
            only. `member_role_id` is Ultimate only. Group protected branches accept
            only `access_level` and `member_role_id`. Access level `0` (No access)
            is not available for this field. To change an existing element, include
            its `id`. To delete it, include its `id` and set `_destroy` to `true`.
            `member_role_id` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/241819)
            in GitLab 19.2.'
          nullable: true
        code_owner_approval_required:
          type: boolean
          description: If `true`, prevents pushes to this branch if it matches an
            item in the `CODEOWNERS` file. Default is `false`. Premium and Ultimate
            only.
          nullable: true
      required:
      - name
    patchApiV4GroupsIdProtectedBranchesNameRequest:
      type: object
      properties:
        allow_force_push:
          type: boolean
          description: If `true`, members who can push to this branch can also force
            push.
          nullable: true
        unprotect_access_level:
          type: integer
          enum:
          - 30
          - 40
          - 60
          description: Access level allowed to unprotect. Defaults to `40` (Maintainer
            role). Does not support custom roles. Use `allowed_to_unprotect` with
            `member_role_id` instead.
          nullable: true
        allowed_to_push:
          type: array
          items:
            type: object
          description: 'Array of users, groups, deploy keys, custom roles, or access
            levels allowed to push to protected branches. Each element is a hash of
            the form `{user_id: integer}`, `{group_id: integer}`, `{deploy_key_id:
            integer}`, `{member_role_id: integer}`, or `{access_level: integer}`.
            `user_id`, `group_id`, and `access_level` are Premium and Ultimate only.
            `member_role_id` is Ultimate only. Group protected branches accept only
            `access_level` and `member_role_id`. To change an existing element, include
            its `id`. To delete it, include its `id` and set `_destroy` to `true`.
            `deploy_key_id` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/166598)
            in GitLab 17.5. `member_role_id` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/241819)
            in GitLab 19.2.'
          nullable: true
        allowed_to_merge:
          type: array
          items:
            type: object
          description: 'Array of users, groups, custom roles, or access levels allowed
            to merge protected branches. Each element is a hash of the form `{user_id:
            integer}`, `{group_id: integer}`, `{member_role_id: integer}`, or `{access_level:
            integer}`. `user_id`, `group_id`, and `access_level` are Premium and Ultimate
            only. `member_role_id` is Ultimate only. Group protected branches accept
            only `access_level` and `member_role_id`. To change an existing element,
            include its `id`. To delete it, include its `id` and set `_destroy` to
            `true`. `member_role_id` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/241819)
            in GitLab 19.2.'
          nullable: true
        allowed_to_unprotect:
          type: array
          items:
            type: object
          description: 'Array of users, groups, custom roles, or access levels allowed
            to unprotect protected branches. Each element is a hash of the form `{user_id:
            integer}`, `{group_id: integer}`, `{member_role_id: integer}`, or `{access_level:
            integer}`. `user_id`, `group_id`, and `access_level` are Premium and Ultimate
            only. `member_role_id` is Ultimate only. Group protected branches accept
            only `access_level` and `member_role_id`. Access level `0` (No access)
            is not available for this field. To change an existing element, include
            its `id`. To delete it, include its `id` and set `_destroy` to `true`.
            `member_role_id` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/241819)
            in GitLab 19.2.'
          nullable: true
        code_owner_approval_required:
          type: boolean
          description: If `true`, prevents pushes to this branch if it matches an
            item in the `CODEOWNERS` file. Default is `false`. Premium and Ultimate
            only.
          nullable: true
    postApiV4GroupRepositoryStorageMovesRequest:
      type: object
      properties:
        source_storage_name:
          type: string
          description: Name of the source storage shard.
          minLength: 1
        destination_storage_name:
          type: string
          description: Name of the destination storage shard. If omitted, the storage
            is selected [automatically based on storage weights](https://docs.gitlab.com/administration/repository_storage_paths/#configure-where-new-repositories-are-stored).
          nullable: true
      required:
      - source_storage_name
    postApiV4GroupsIdRepositoryStorageMovesRequest:
      type: object
      properties:
        destination_storage_name:
          type: string
          description: Name of the destination storage shard. If omitted, the storage
            is selected [automatically based on storage weights](https://docs.gitlab.com/administration/repository_storage_paths/#configure-where-new-repositories-are-stored).
          nullable: true
    postApiV4GroupsIdSamlGroupLinksRequest:
      type: object
      properties:
        saml_group_name:
          type: string
          description: Name of the SAML group.
          nullable: true
        access_level:
          type: integer
          enum:
          - 5
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          description: 'Default access level for members of the SAML group. Possible
            values: `10` (Guest), `15` (Planner), `20` (Reporter), `25` (Security
            Manager), `30` (Developer), `40` (Maintainer), or `50` (Owner). `5` (Minimal
            access) is also valid when `id` is a top-level group.'
        member_role_id:
          type: integer
          description: ID of the member role for members of the SAML group.
          nullable: true
        provider:
          type: string
          description: Unique [provider name](https://docs.gitlab.com/integration/saml/#configure-saml-support-in-gitlab)
            that must match for this group link to be applied. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/548725)
            in GitLab 18.2.
          nullable: true
      required:
      - saml_group_name
      - access_level
    postApiV4ProjectsIdProtectedEnvironmentsRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the environment.
          nullable: true
        required_approval_count:
          type: integer
          description: Number of approvals required to deploy to the environment.
            Values greater than `0` are rejected. Deprecated. Use `approval_rules`
            instead.
          nullable: true
          default: 0
        deploy_access_levels:
          type: array
          description: Array of access levels allowed to deploy to the environment,
            with each entry specifying a user, group, or access level.
          items:
            type: object
            properties:
              user_id:
                type: integer
                description: ID of the user to grant access to.
                nullable: true
              group_id:
                type: integer
                description: ID of the group to grant access to.
                nullable: true
              group_inheritance_type:
                type: integer
                enum:
                - 0
                - 1
                description: Whether to include inherited group membership. Use `0`
                  for direct group membership only, or `1` to include inherited groups.
                  Defaults to `0`.
                nullable: true
              access_level:
                type: integer
                enum:
                - 40
                - 30
                - 20
                - 60
                description: Access level allowed to deploy to the environment.
                nullable: true
          nullable: true
        approval_rules:
          type: array
          description: Array of access levels allowed to approve deployments to the
            environment, with each entry specifying a user, group, or access level.
            Use `required_approvals` to set the number of approvals required from
            each entry.
          items:
            type: object
            properties:
              user_id:
                type: integer
                description: ID of the user to grant access to.
                nullable: true
              group_id:
                type: integer
                description: ID of the group to grant access to.
                nullable: true
              group_inheritance_type:
                type: integer
                enum:
                - 0
                - 1
                description: Whether to include inherited group membership. Use `0`
                  for direct group membership only, or `1` to include inherited groups.
                  Defaults to `0`.
                nullable: true
              id:
                type: integer
                description: ID of an existing entry to update.
                nullable: true
              _destroy:
                type: boolean
                description: If `true`, deletes the object.
                nullable: true
              access_level:
                type: integer
                enum:
                - 40
                - 30
                - 20
                - 60
                description: Access level allowed to approve deployments to the environment.
                nullable: true
              required_approvals:
                type: integer
                description: Number of approvals required for this rule.
                nullable: true
                default: 1
          nullable: true
      required:
      - name
      - deploy_access_levels
    putApiV4ProjectsIdProtectedEnvironmentsNameRequest:
      type: object
      properties:
        required_approval_count:
          type: integer
          description: Number of approvals required to deploy to the environment.
            Values greater than `0` are rejected. Deprecated. Use `approval_rules`
            instead.
          nullable: true
        deploy_access_levels:
          type: array
          description: Array of access levels allowed to deploy to the environment,
            with each entry specifying a user, group, or access level.
          items:
            type: object
            properties:
              user_id:
                type: integer
                description: ID of the user to grant access to.
                nullable: true
              group_id:
                type: integer
                description: ID of the group to grant access to.
                nullable: true
              group_inheritance_type:
                type: integer
                enum:
                - 0
                - 1
                description: Whether to include inherited group membership. Use `0`
                  for direct group membership only, or `1` to include inherited groups.
                  Defaults to `0`.
                nullable: true
              id:
                type: integer
                description: ID of an existing entry to update.
                nullable: true
              _destroy:
                type: boolean
                description: If `true`, deletes the object.
                nullable: true
              access_level:
                type: integer
                enum:
                - 40
                - 30
                - 20
                - 60
                description: Access level allowed to deploy to the environment.
                nullable: true
          nullable: true
        approval_rules:
          type: array
          description: Array of access levels allowed to approve deployments to the
            environment, with each entry specifying a user, group, or access level.
            Use `required_approvals` to set the number of approvals required from
            each entry.
          items:
            type: object
            properties:
              user_id:
                type: integer
                description: ID of the user to grant access to.
                nullable: true
              group_id:
                type: integer
                description: ID of the group to grant access to.
                nullable: true
              group_inheritance_type:
                type: integer
                enum:
                - 0
                - 1
                description: Whether to include inherited group membership. Use `0`
                  for direct group membership only, or `1` to include inherited groups.
                  Defaults to `0`.
                nullable: true
              id:
                type: integer
                description: ID of an existing entry to update.
                nullable: true
              _destroy:
                type: boolean
                description: If `true`, deletes the object.
                nullable: true
              access_level:
                type: integer
                enum:
                - 40
                - 30
                - 20
                - 60
                description: Access level allowed to approve deployments to the environment.
                nullable: true
              required_approvals:
                type: integer
                description: Number of approvals required for this rule.
                nullable: true
                default: 1
          nullable: true
    postApiV4GroupsIdProtectedEnvironmentsRequest:
      type: object
      properties:
        name:
          type: string
          enum:
          - production
          - staging
          - testing
          - development
          - other
          description: The deployment tier of the protected environment.
          minLength: 1
        required_approval_count:
          type: integer
          description: Number of approvals required to deploy to the environment.
            Values greater than `0` are rejected. Deprecated. Use `approval_rules`
            instead.
          nullable: true
          default: 0
        deploy_access_levels:
          type: array
          description: Array of access levels allowed to deploy to the environment,
            with each entry specifying a user, group, or access level.
          items:
            type: object
            properties:
              user_id:
                type: integer
                description: ID of the user to grant access to.
                nullable: true
              group_id:
                type: integer
                description: ID of the group to grant access to.
                nullable: true
              group_inheritance_type:
                type: integer
                enum:
                - 0
                - 1
                description: Whether to include inherited group membership. Use `0`
                  for direct group membership only, or `1` to include inherited groups.
                  Defaults to `0`.
                nullable: true
              access_level:
                type: integer
                enum:
                - 40
                - 30
                - 20
                - 60
                description: Access level allowed to deploy to the environment.
                nullable: true
          nullable: true
        approval_rules:
          type: array
          description: Array of access levels allowed to approve deployments to the
            environment, with each entry specifying a user, group, or access level.
            Use `required_approvals` to set the number of approvals required from
            each entry.
          items:
            type: object
            properties:
              user_id:
                type: integer
                description: ID of the user to grant access to.
                nullable: true
              group_id:
                type: integer
                description: ID of the group to grant access to.
                nullable: true
              group_inheritance_type:
                type: integer
                enum:
                - 0
                - 1
                description: Whether to include inherited group membership. Use `0`
                  for direct group membership only, or `1` to include inherited groups.
                  Defaults to `0`.
                nullable: true
              id:
                type: integer
                description: ID of an existing entry to update.
                nullable: true
              _destroy:
                type: boolean
                description: If `true`, deletes the object.
                nullable: true
              access_level:
                type: integer
                enum:
                - 40
                - 30
                - 20
                - 60
                description: Access level allowed to approve deployments to the environment.
                nullable: true
              required_approvals:
                type: integer
                description: Number of approvals required for this rule.
                nullable: true
                default: 1
          nullable: true
      required:
      - name
      - deploy_access_levels
    putApiV4GroupsIdProtectedEnvironmentsNameRequest:
      type: object
      properties:
        required_approval_count:
          type: integer
          description: Number of approvals required to deploy to the environment.
            Values greater than `0` are rejected. Deprecated. Use `approval_rules`
            instead.
          nullable: true
          default: 0
        deploy_access_levels:
          type: array
          description: Array of access levels allowed to deploy to the environment,
            with each entry specifying a user, group, or access level.
          items:
            type: object
            properties:
              user_id:
                type: integer
                description: ID of the user to grant access to.
                nullable: true
              group_id:
                type: integer
                description: ID of the group to grant access to.
                nullable: true
              group_inheritance_type:
                type: integer
                enum:
                - 0
                - 1
                description: Whether to include inherited group membership. Use `0`
                  for direct group membership only, or `1` to include inherited groups.
                  Defaults to `0`.
                nullable: true
              id:
                type: integer
                description: ID of an existing entry to update.
                nullable: true
              _destroy:
                type: boolean
                description: If `true`, deletes the object.
                nullable: true
              access_level:
                type: integer
                enum:
                - 40
                - 30
                - 20
                - 60
                description: Access level allowed to deploy to the environment.
                nullable: true
          nullable: true
        approval_rules:
          type: array
          description: Array of access levels allowed to approve deployments to the
            environment, with each entry specifying a user, group, or access level.
            Use `required_approvals` to set the number of approvals required from
            each entry.
          items:
            type: object
            properties:
              user_id:
                type: integer
                description: ID of the user to grant access to.
                nullable: true
              group_id:
                type: integer
                description: ID of the group to grant access to.
                nullable: true
              group_inheritance_type:
                type: integer
                enum:
                - 0
                - 1
                description: Whether to include inherited group membership. Use `0`
                  for direct group membership only, or `1` to include inherited groups.
                  Defaults to `0`.
                nullable: true
              id:
                type: integer
                description: ID of an existing entry to update.
                nullable: true
              _destroy:
                type: boolean
                description: If `true`, deletes the object.
                nullable: true
              access_level:
                type: integer
                enum:
                - 40
                - 30
                - 20
                - 60
                description: Access level allowed to approve deployments to the environment.
                nullable: true
              required_approvals:
                type: integer
                description: Number of approvals required for this rule.
                nullable: true
                default: 1
          nullable: true
    postApiV4ProjectAliasesRequest:
      type: object
      properties:
        project_id:
          type: string
          description: ID or URL-encoded path of the project.
          example: gitlab-org/gitlab
          nullable: true
        name:
          type: string
          description: Name of the alias. Must be unique.
          example: gitlab
          nullable: true
      required:
      - project_id
      - name
    postApiV4ProjectsIdMergeRequestsMergeRequestIidApprovalRulesRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the approval rule. Limited to 1024 characters.
          nullable: true
        approvals_required:
          type: integer
          description: Number of required approvals for the rule.
          nullable: true
        approval_project_rule_id:
          type: integer
          description: ID of a project-level approval rule.
          nullable: true
        user_ids:
          type: array
          items:
            type: integer
          description: IDs of users to add as approvers. If used with `usernames`,
            adds both lists of users.
          nullable: true
        group_ids:
          type: array
          items:
            type: integer
          description: IDs of groups to add as approvers.
          nullable: true
        usernames:
          type: array
          items:
            type: string
          description: Usernames of users to add as approvers. If used with `user_ids`,
            adds both lists of users.
          nullable: true
      required:
      - name
      - approvals_required
    putApiV4ProjectsIdMergeRequestsMergeRequestIidApprovalRulesApprovalRuleIdRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the approval rule. Limited to 1024 characters.
          nullable: true
        approvals_required:
          type: integer
          description: Number of required approvals for the rule.
          nullable: true
        user_ids:
          type: array
          items:
            type: integer
          description: IDs of users to add as approvers. If used with `usernames`,
            adds both lists of users.
          nullable: true
        group_ids:
          type: array
          items:
            type: integer
          description: IDs of groups to add as approvers.
          nullable: true
        usernames:
          type: array
          items:
            type: string
          description: Usernames of users to add as approvers. If used with `user_ids`,
            adds both lists of users.
          nullable: true
        remove_hidden_groups:
          type: boolean
          description: If `true`, removes hidden groups.
          nullable: true
    postApiV4SecurityProjectsIdVulnerabilityExportsRequest:
      type: object
      properties:
        export_format:
          type: string
          enum:
          - csv
          - pdf
          description: Format of the generated report. `pdf` [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/524058)
            in GitLab 18.1.
          nullable: true
          default: csv
        send_email:
          type: boolean
          description: If `true`, sends an email notification to the requesting user
            when the export completes.
          nullable: true
          default: false
        report_data:
          type: object
          description: 'Hash of report components mapped to frontend data assets to
            use in the export, for example `{ project_vulnerabilities_history: ''<svg>some
            report asset</svg>'' }`. Unsupported keys are discarded, and mismatched
            components are ignored with an error logged.'
          properties:
            project_vulnerabilities_history:
              type: object
              description: Data for rendering the project vulnerabilities history
                in PDF reports. Must include an SVG asset.
              nullable: true
            group_vulnerabilities_over_time:
              type: object
              description: Data for rendering the group vulnerabilities over time
                in PDF reports. Must include an SVG asset.
              nullable: true
            project_security_status:
              type: object
              description: Data for rendering the project grades summary in PDF reports.
              nullable: true
            total_risk_score:
              type: object
              description: Data for rendering the total risk score in PDF reports.
              nullable: true
            open_vulnerabilities_over_time:
              type: object
              description: Data for rendering the open vulnerabilities over time in
                PDF reports.
              nullable: true
            vulnerabilities_by_age:
              type: object
              description: Data for rendering the vulnerabilities by age in PDF reports.
              nullable: true
            vulnerabilities_by_severity_count:
              type: object
              description: Data for rendering the vulnerabilities by severity count
                in PDF reports.
              properties:
                critical:
                  type: object
                  description: Count, median age, and color for critical severity
                    vulnerabilities
                  properties:
                    count:
                      type: integer
                      description: Number of vulnerabilities
                      nullable: true
                    medianAge:
                      type: number
                      description: Median age in days
                      nullable: true
                    color:
                      type: string
                      description: Severity color hex code
                      nullable: true
                  nullable: true
                high:
                  type: object
                  description: Count, median age, and color for high severity vulnerabilities
                  properties:
                    count:
                      type: integer
                      description: Number of vulnerabilities
                      nullable: true
                    medianAge:
                      type: number
                      description: Median age in days
                      nullable: true
                    color:
                      type: string
                      description: Severity color hex code
                      nullable: true
                  nullable: true
                medium:
                  type: object
                  description: Count, median age, and color for medium severity vulnerabilities
                  properties:
                    count:
                      type: integer
                      description: Number of vulnerabilities
                      nullable: true
                    medianAge:
                      type: number
                      description: Median age in days
                      nullable: true
                    color:
                      type: string
                      description: Severity color hex code
                      nullable: true
                  nullable: true
                low:
                  type: object
                  description: Count, median age, and color for low severity vulnerabilities
                  properties:
                    count:
                      type: integer
                      description: Number of vulnerabilities
                      nullable: true
                    medianAge:
                      type: number
                      description: Median age in days
                      nullable: true
                    color:
                      type: string
                      description: Severity color hex code
                      nullable: true
                  nullable: true
                unknown:
                  type: object
                  description: Count, median age, and color for unknown severity vulnerabilities
                  properties:
                    count:
                      type: integer
                      description: Number of vulnerabilities
                      nullable: true
                    medianAge:
                      type: number
                      description: Median age in days
                      nullable: true
                    color:
                      type: string
                      description: Severity color hex code
                      nullable: true
                  nullable: true
                info:
                  type: object
                  description: Count, median age, and color for info severity vulnerabilities
                  properties:
                    count:
                      type: integer
                      description: Number of vulnerabilities
                      nullable: true
                    medianAge:
                      type: number
                      description: Median age in days
                      nullable: true
                    color:
                      type: string
                      description: Severity color hex code
                      nullable: true
                  nullable: true
              nullable: true
            dashboard_type:
              type: string
              enum:
              - project
              - group
              - instance
              description: Type of vulnerability grouping this report is being created
                for.
              nullable: true
            full_path:
              type: string
              description: Full path of the vulnerable.
              nullable: true
          nullable: true
          default: {}
        filters:
          type: object
          description: Filters to apply to the vulnerability export.
          properties:
            severity:
              type: array
              items:
                type: string
              description: Filter by vulnerability severities.
              nullable: true
            state:
              type: array
              items:
                type: string
              description: Filter by vulnerability states.
              nullable: true
            report_type:
              type: array
              items:
                type: string
              description: Filter by report types.
              nullable: true
            scanner_id:
              type: array
              items:
                type: string
              description: Filter by scanner IDs.
              nullable: true
            project_id:
              type: array
              items:
                type: integer
              description: Filter by project IDs.
              nullable: true
            has_resolution:
              type: boolean
              description: If `true`, includes only vulnerabilities resolved on the
                default branch. If `false`, includes only vulnerabilities not resolved
                on the default branch.
              nullable: true
            has_issues:
              type: boolean
              description: If `true`, includes only vulnerabilities with linked issues.
                If `false`, includes only vulnerabilities without linked issues.
              nullable: true
            has_merge_request:
              type: boolean
              description: If `true`, includes only vulnerabilities with linked merge
                requests. If `false`, includes only vulnerabilities without linked
                merge requests.
              nullable: true
            has_remediations:
              type: boolean
              description: If `true`, includes only vulnerabilities with available
                remediations. If `false`, includes only vulnerabilities without available
                remediations.
              nullable: true
            scanner:
              type: array
              items:
                type: string
              description: Filter by scanner external IDs.
              nullable: true
            image:
              type: array
              items:
                type: string
              description: Filter by container images.
              nullable: true
            cluster_agent_id:
              type: array
              items:
                type: string
              description: Filter by cluster agent IDs.
              nullable: true
          nullable: true
          default: {}
    postApiV4SecurityGroupsIdVulnerabilityExportsRequest:
      type: object
      properties:
        export_format:
          type: string
          enum:
          - csv
          - pdf
          description: Format of the generated report. `pdf` [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/524058)
            in GitLab 18.1.
          nullable: true
          default: csv
        send_email:
          type: boolean
          description: If `true`, sends an email notification to the requesting user
            when the export completes.
          nullable: true
          default: false
        report_data:
          type: object
          description: 'Hash of report components mapped to frontend data assets to
            use in the export, for example `{ project_vulnerabilities_history: ''<svg>some
            report asset</svg>'' }`. Unsupported keys are discarded, and mismatched
            components are ignored with an error logged.'
          properties:
            project_vulnerabilities_history:
              type: object
              description: Data for rendering the project vulnerabilities history
                in PDF reports. Must include an SVG asset.
              nullable: true
            group_vulnerabilities_over_time:
              type: object
              description: Data for rendering the group vulnerabilities over time
                in PDF reports. Must include an SVG asset.
              nullable: true
            project_security_status:
              type: object
              description: Data for rendering the project grades summary in PDF reports.
              nullable: true
            total_risk_score:
              type: object
              description: Data for rendering the total risk score in PDF reports.
              nullable: true
            open_vulnerabilities_over_time:
              type: object
              description: Data for rendering the open vulnerabilities over time in
                PDF reports.
              nullable: true
            vulnerabilities_by_age:
              type: object
              description: Data for rendering the vulnerabilities by age in PDF reports.
              nullable: true
            vulnerabilities_by_severity_count:
              type: object
              description: Data for rendering the vulnerabilities by severity count
                in PDF reports.
              properties:
                critical:
                  type: object
                  description: Count, median age, and color for critical severity
                    vulnerabilities
                  properties:
                    count:
                      type: integer
                      description: Number of vulnerabilities
                      nullable: true
                    medianAge:
                      type: number
                      description: Median age in days
                      nullable: true
                    color:
                      type: string
                      description: Severity color hex code
                      nullable: true
                  nullable: true
                high:
                  type: object
                  description: Count, median age, and color for high severity vulnerabilities
                  properties:
                    count:
                      type: integer
                      description: Number of vulnerabilities
                      nullable: true
                    medianAge:
                      type: number
                      description: Median age in days
                      nullable: true
                    color:
                      type: string
                      description: Severity color hex code
                      nullable: true
                  nullable: true
                medium:
                  type: object
                  description: Count, median age, and color for medium severity vulnerabilities
                  properties:
                    count:
                      type: integer
                      description: Number of vulnerabilities
                      nullable: true
                    medianAge:
                      type: number
                      description: Median age in days
                      nullable: true
                    color:
                      type: string
                      description: Severity color hex code
                      nullable: true
                  nullable: true
                low:
                  type: object
                  description: Count, median age, and color for low severity vulnerabilities
                  properties:
                    count:
                      type: integer
                      description: Number of vulnerabilities
                      nullable: true
                    medianAge:
                      type: number
                      description: Median age in days
                      nullable: true
                    color:
                      type: string
                      description: Severity color hex code
                      nullable: true
                  nullable: true
                unknown:
                  type: object
                  description: Count, median age, and color for unknown severity vulnerabilities
                  properties:
                    count:
                      type: integer
                      description: Number of vulnerabilities
                      nullable: true
                    medianAge:
                      type: number
                      description: Median age in days
                      nullable: true
                    color:
                      type: string
                      description: Severity color hex code
                      nullable: true
                  nullable: true
                info:
                  type: object
                  description: Count, median age, and color for info severity vulnerabilities
                  properties:
                    count:
                      type: integer
                      description: Number of vulnerabilities
                      nullable: true
                    medianAge:
                      type: number
                      description: Median age in days
                      nullable: true
                    color:
                      type: string
                      description: Severity color hex code
                      nullable: true
                  nullable: true
              nullable: true
            dashboard_type:
              type: string
              enum:
              - project
              - group
              - instance
              description: Type of vulnerability grouping this report is being created
                for.
              nullable: true
            full_path:
              type: string
              description: Full path of the vulnerable.
              nullable: true
          nullable: true
          default: {}
    postApiV4SecurityVulnerabilityExportsRequest:
      type: object
      properties:
        export_format:
          type: string
          enum:
          - csv
          - pdf
          description: Format of the generated report. `pdf` [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/524058)
            in GitLab 18.1.
          nullable: true
          default: csv
        send_email:
          type: boolean
          description: If `true`, sends an email notification to the requesting user
            when the export completes.
          nullable: true
          default: false
    postApiV4SecurityProjectsIdVulnerabilityArchiveExportsRequest:
      type: object
      properties:
        start_date:
          type: string
          format: date
          description: Start of the date range. Date in `dd/mm/yyyy` format. Vulnerabilities
            that were archived on or after this date are included in the export.
          nullable: true
        end_date:
          type: string
          format: date
          description: End of the date range. Date in `dd/mm/yyyy` format. Vulnerabilities
            that were archived on or before this date are included in the export.
          nullable: true
        export_format:
          type: string
          enum:
          - csv
          description: Format of the export.
          nullable: true
          default: csv
      required:
      - start_date
      - end_date
    postApiV4VulnerabilitiesIdIssueLinksRequest:
      type: object
      properties:
        target_issue_iid:
          type: integer
          description: Internal ID of the issue to relate to the vulnerability.
          nullable: true
        target_project_id:
          type: string
          description: The ID of the target project
          nullable: true
        link_type:
          type: string
          description: Link type
          nullable: true
          default: related
      required:
      - target_issue_iid
    postApiV4VulnerabilitiesVulnerabilityIdFlagsAiDetectionRequest:
      type: object
      properties:
        confidence_score:
          type: integer
          minimum: 0
          maximum: 100
          description: Confidence score for the AI-detected vulnerability flag.
        description:
          type: string
          description: Explanation for the detection result.
          minLength: 1
        origin:
          type: string
          description: Origin of the AI detection.
          pattern: "^(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\n\\uD800-\\uDFFF]){1,255}$"
          nullable: true
      required:
      - confidence_score
      - description
    postApiV4VulnerabilitiesIdResolveRequest:
      type: object
      properties:
        comment:
          type: string
          description: Comment why vulnerability was reverted to detected (maximum
            50,000 characters).
          nullable: true
    postApiV4VulnerabilitiesIdConfirmRequest:
      type: object
      properties:
        comment:
          type: string
          description: Comment related to the vulnerability.
          nullable: true
    postApiV4VulnerabilitiesIdRevertRequest:
      type: object
      properties:
        comment:
          type: string
          description: Comment related to the vulnerability.
          nullable: true
    postApiV4ProjectsIdVulnerabilitiesRequest:
      type: object
      properties:
        finding_id:
          type: integer
          description: ID of the vulnerability finding to create the vulnerability
            from.
          nullable: true
      required:
      - finding_id
    postApiV4ProjectsIdApprovalsRequest:
      type: object
      properties:
        approvals_before_merge:
          type: integer
          description: Number of approvals required before a merge request can be
            merged. Deprecated in GitLab 12.3. Create an approval rule instead. At
            least one of `approvals_before_merge`, `reset_approvals_on_push`, `selective_code_owner_removals`,
            `disable_overriding_approvers_per_merge_request`, `merge_requests_author_approval`,
            `merge_requests_disable_committers_approval`, `require_password_to_approve`,
            `require_reauthentication_to_approve` must be provided.
          nullable: true
        reset_approvals_on_push:
          type: boolean
          description: If `true`, resets approvals on push. At least one of `approvals_before_merge`,
            `reset_approvals_on_push`, `selective_code_owner_removals`, `disable_overriding_approvers_per_merge_request`,
            `merge_requests_author_approval`, `merge_requests_disable_committers_approval`,
            `require_password_to_approve`, `require_reauthentication_to_approve` must
            be provided.
          nullable: true
        selective_code_owner_removals:
          type: boolean
          description: If `true`, resets approvals from Code Owners if their files
            change. To use this field, `reset_approvals_on_push` must be `false`.
            At least one of `approvals_before_merge`, `reset_approvals_on_push`, `selective_code_owner_removals`,
            `disable_overriding_approvers_per_merge_request`, `merge_requests_author_approval`,
            `merge_requests_disable_committers_approval`, `require_password_to_approve`,
            `require_reauthentication_to_approve` must be provided.
          nullable: true
        disable_overriding_approvers_per_merge_request:
          type: boolean
          description: If `true`, prevents overrides of approvers in a merge request.
            At least one of `approvals_before_merge`, `reset_approvals_on_push`, `selective_code_owner_removals`,
            `disable_overriding_approvers_per_merge_request`, `merge_requests_author_approval`,
            `merge_requests_disable_committers_approval`, `require_password_to_approve`,
            `require_reauthentication_to_approve` must be provided.
          nullable: true
        merge_requests_author_approval:
          type: boolean
          description: If `true`, authors can self-approve merge requests. At least
            one of `approvals_before_merge`, `reset_approvals_on_push`, `selective_code_owner_removals`,
            `disable_overriding_approvers_per_merge_request`, `merge_requests_author_approval`,
            `merge_requests_disable_committers_approval`, `require_password_to_approve`,
            `require_reauthentication_to_approve` must be provided.
          nullable: true
        merge_requests_disable_committers_approval:
          type: boolean
          description: If `true`, users who commit on the merge request cannot approve
            it. At least one of `approvals_before_merge`, `reset_approvals_on_push`,
            `selective_code_owner_removals`, `disable_overriding_approvers_per_merge_request`,
            `merge_requests_author_approval`, `merge_requests_disable_committers_approval`,
            `require_password_to_approve`, `require_reauthentication_to_approve` must
            be provided.
          nullable: true
        require_password_to_approve:
          type: boolean
          description: If `true`, requires approvers to authenticate with a password
            before approving. Deprecated in GitLab 16.9. Use `require_reauthentication_to_approve`
            instead. At least one of `approvals_before_merge`, `reset_approvals_on_push`,
            `selective_code_owner_removals`, `disable_overriding_approvers_per_merge_request`,
            `merge_requests_author_approval`, `merge_requests_disable_committers_approval`,
            `require_password_to_approve`, `require_reauthentication_to_approve` must
            be provided.
          nullable: true
        require_reauthentication_to_approve:
          type: boolean
          description: If `true`, requires approvers to authenticate before approving.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/431346) in
            GitLab 17.1. At least one of `approvals_before_merge`, `reset_approvals_on_push`,
            `selective_code_owner_removals`, `disable_overriding_approvers_per_merge_request`,
            `merge_requests_author_approval`, `merge_requests_disable_committers_approval`,
            `require_password_to_approve`, `require_reauthentication_to_approve` must
            be provided.
          nullable: true
    postApiV4ProjectsIdManagedLicensesRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the license.
          example: MIT
          nullable: true
        approval_status:
          type: string
          enum:
          - allowed
          - denied
          description: Approval status of the license.
          minLength: 1
      required:
      - name
      - approval_status
    patchApiV4ProjectsIdManagedLicensesManagedLicenseIdRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the license.
          example: MIT
          nullable: true
        approval_status:
          type: string
          enum:
          - allowed
          - denied
          description: Approval status of the license.
          nullable: true
    postApiV4GroupsIdManagePersonalAccessTokensPatIdRotateRequest:
      type: object
      properties:
        expires_at:
          type: string
          format: date
          description: Date when the access token expires. If omitted, the new token
            expires one week after rotation when [token expiry is enforced](https://docs.gitlab.com/user/profile/personal_access_tokens/#access-token-expiration),
            and does not expire otherwise. When expiry is enforced, the date must
            be no more than one year after rotation.
          example: '2021-01-31'
          nullable: true
    postApiV4GroupsIdManageResourceAccessTokensPratIdRotateRequest:
      type: object
      properties:
        expires_at:
          type: string
          format: date
          description: Date when the access token expires. If omitted, the new token
            expires one week after rotation when [token expiry is enforced](https://docs.gitlab.com/user/profile/personal_access_tokens/#access-token-expiration),
            and does not expire otherwise. When expiry is enforced, the date must
            be no more than one year after rotation.
          example: '2021-01-31'
          nullable: true
    postApiV4ProjectsIdMergeRequestsMergeRequestIidBlocksRequest:
      type: object
      properties:
        blocking_merge_request_id:
          type: integer
          description: Global ID of the blocking merge request. Required if `blocking_merge_request_iid`
            is not provided. Mutually exclusive with `blocking_merge_request_iid`.
            Exactly one of `blocking_merge_request_id`, `blocking_merge_request_iid`
            must be provided.
          nullable: true
        blocking_merge_request_iid:
          type: integer
          description: Internal ID of the blocking merge request. Required if `blocking_merge_request_id`
            is not provided. Mutually exclusive with `blocking_merge_request_id`.
            Exactly one of `blocking_merge_request_id`, `blocking_merge_request_iid`
            must be provided.
          nullable: true
        blocking_project_id:
          oneOf:
          - type: string
            nullable: true
          - type: integer
            nullable: true
          description: ID or URL-encoded path of the project containing the blocking
            merge request. Required when `blocking_merge_request_iid` refers to a
            merge request in a different project. Defaults to the current project.
    putApiV4ProjectsIdMergeRequestApprovalSettingRequest:
      type: object
      properties:
        allow_author_approval:
          type: boolean
          description: If `true`, authors can self-approve merge requests. At least
            one of `allow_author_approval`, `allow_committer_approval`, `allow_overrides_to_approver_list_per_merge_request`,
            `retain_approvals_on_push`, `selective_code_owner_removals`, `require_password_to_approve`,
            `require_reauthentication_to_approve` must be provided.
        allow_committer_approval:
          type: boolean
          description: If `true`, committers can self-approve merge requests. At least
            one of `allow_author_approval`, `allow_committer_approval`, `allow_overrides_to_approver_list_per_merge_request`,
            `retain_approvals_on_push`, `selective_code_owner_removals`, `require_password_to_approve`,
            `require_reauthentication_to_approve` must be provided.
        allow_overrides_to_approver_list_per_merge_request:
          type: boolean
          description: If `true`, allows overriding approvers per merge request. At
            least one of `allow_author_approval`, `allow_committer_approval`, `allow_overrides_to_approver_list_per_merge_request`,
            `retain_approvals_on_push`, `selective_code_owner_removals`, `require_password_to_approve`,
            `require_reauthentication_to_approve` must be provided.
        retain_approvals_on_push:
          type: boolean
          description: If `true`, retains the approval count on a new push. At least
            one of `allow_author_approval`, `allow_committer_approval`, `allow_overrides_to_approver_list_per_merge_request`,
            `retain_approvals_on_push`, `selective_code_owner_removals`, `require_password_to_approve`,
            `require_reauthentication_to_approve` must be provided.
        selective_code_owner_removals:
          type: boolean
          description: If `true`, resets approvals from Code Owners if their files
            change. To use this field, `retain_approvals_on_push` must be `true`.
            At least one of `allow_author_approval`, `allow_committer_approval`, `allow_overrides_to_approver_list_per_merge_request`,
            `retain_approvals_on_push`, `selective_code_owner_removals`, `require_password_to_approve`,
            `require_reauthentication_to_approve` must be provided.
        require_password_to_approve:
          type: boolean
          description: If `true`, requires approvers to authenticate before approving.
            Deprecated in GitLab 16.9. Use `require_reauthentication_to_approve` instead,
            which takes precedence if both are provided. At least one of `allow_author_approval`,
            `allow_committer_approval`, `allow_overrides_to_approver_list_per_merge_request`,
            `retain_approvals_on_push`, `selective_code_owner_removals`, `require_password_to_approve`,
            `require_reauthentication_to_approve` must be provided.
        require_reauthentication_to_approve:
          type: boolean
          description: If `true`, requires approvers to authenticate before approving.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/431346) in
            GitLab 17.1. At least one of `allow_author_approval`, `allow_committer_approval`,
            `allow_overrides_to_approver_list_per_merge_request`, `retain_approvals_on_push`,
            `selective_code_owner_removals`, `require_password_to_approve`, `require_reauthentication_to_approve`
            must be provided.
    putApiV4GroupsIdMergeRequestApprovalSettingRequest:
      type: object
      properties:
        allow_author_approval:
          type: boolean
          description: If `true`, authors can self-approve merge requests. At least
            one of `allow_author_approval`, `allow_committer_approval`, `allow_overrides_to_approver_list_per_merge_request`,
            `retain_approvals_on_push`, `selective_code_owner_removals`, `require_password_to_approve`,
            `require_reauthentication_to_approve` must be provided.
        allow_committer_approval:
          type: boolean
          description: If `true`, committers can self-approve merge requests. At least
            one of `allow_author_approval`, `allow_committer_approval`, `allow_overrides_to_approver_list_per_merge_request`,
            `retain_approvals_on_push`, `selective_code_owner_removals`, `require_password_to_approve`,
            `require_reauthentication_to_approve` must be provided.
        allow_overrides_to_approver_list_per_merge_request:
          type: boolean
          description: If `true`, allows overriding approvers per merge request. At
            least one of `allow_author_approval`, `allow_committer_approval`, `allow_overrides_to_approver_list_per_merge_request`,
            `retain_approvals_on_push`, `selective_code_owner_removals`, `require_password_to_approve`,
            `require_reauthentication_to_approve` must be provided.
        retain_approvals_on_push:
          type: boolean
          description: If `true`, retains the approval count on a new push. At least
            one of `allow_author_approval`, `allow_committer_approval`, `allow_overrides_to_approver_list_per_merge_request`,
            `retain_approvals_on_push`, `selective_code_owner_removals`, `require_password_to_approve`,
            `require_reauthentication_to_approve` must be provided.
        selective_code_owner_removals:
          type: boolean
          description: If `true`, resets approvals from Code Owners if their files
            change. To use this field, `retain_approvals_on_push` must be `true`.
            At least one of `allow_author_approval`, `allow_committer_approval`, `allow_overrides_to_approver_list_per_merge_request`,
            `retain_approvals_on_push`, `selective_code_owner_removals`, `require_password_to_approve`,
            `require_reauthentication_to_approve` must be provided.
        require_password_to_approve:
          type: boolean
          description: If `true`, requires approvers to authenticate before approving.
            Deprecated in GitLab 16.9. Use `require_reauthentication_to_approve` instead,
            which takes precedence if both are provided. At least one of `allow_author_approval`,
            `allow_committer_approval`, `allow_overrides_to_approver_list_per_merge_request`,
            `retain_approvals_on_push`, `selective_code_owner_removals`, `require_password_to_approve`,
            `require_reauthentication_to_approve` must be provided.
        require_reauthentication_to_approve:
          type: boolean
          description: If `true`, requires approvers to authenticate before approving.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/431346) in
            GitLab 17.1. At least one of `allow_author_approval`, `allow_committer_approval`,
            `allow_overrides_to_approver_list_per_merge_request`, `retain_approvals_on_push`,
            `selective_code_owner_removals`, `require_password_to_approve`, `require_reauthentication_to_approve`
            must be provided.
    postApiV4GroupsIdHooksRequest:
      type: object
      properties:
        url:
          type: string
          description: Webhook URL.
          example: http://example.com/hook
          nullable: true
        name:
          type: string
          description: Name of the group webhook. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/460887)
            in GitLab 17.1.
          nullable: true
        description:
          type: string
          description: Description of the group webhook. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/460887)
            in GitLab 17.1.
          nullable: true
        push_events:
          type: boolean
          description: If `true`, triggers the group webhook on push events.
          nullable: true
        push_events_branch_filter:
          type: string
          description: Filter push events by branch name.
          nullable: true
        issues_events:
          type: boolean
          description: If `true`, triggers the group webhook on issue events.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: If `true`, triggers the group webhook on confidential issue
            events.
          nullable: true
        merge_requests_events:
          type: boolean
          description: If `true`, triggers the group webhook on merge request events.
          nullable: true
        tag_push_events:
          type: boolean
          description: If `true`, triggers the group webhook on tag push events.
          nullable: true
        note_events:
          type: boolean
          description: If `true`, triggers the group webhook on note events.
          nullable: true
        confidential_note_events:
          type: boolean
          description: If `true`, triggers the group webhook on confidential note
            events.
          nullable: true
        job_events:
          type: boolean
          description: If `true`, triggers the group webhook on job events.
          nullable: true
        pipeline_events:
          type: boolean
          description: If `true`, triggers the group webhook on pipeline events.
          nullable: true
        project_events:
          type: boolean
          description: If `true`, triggers the group webhook on project events.
          nullable: true
        wiki_page_events:
          type: boolean
          description: If `true`, triggers the group webhook on wiki page events.
          nullable: true
        deployment_events:
          type: boolean
          description: If `true`, triggers the group webhook on deployment events.
          nullable: true
        feature_flag_events:
          type: boolean
          description: If `true`, triggers the group webhook on feature flag events.
          nullable: true
        releases_events:
          type: boolean
          description: If `true`, triggers the group webhook on release events.
          nullable: true
        milestone_events:
          type: boolean
          description: If `true`, triggers the group webhook on milestone events.
          nullable: true
        subgroup_events:
          type: boolean
          description: If `true`, triggers the group webhook on subgroup events.
          nullable: true
        emoji_events:
          type: boolean
          description: If `true`, triggers the group webhook on emoji events.
          nullable: true
        resource_access_token_events:
          type: boolean
          description: If `true`, triggers the group webhook on group and project
            access token expiry events.
          nullable: true
        member_events:
          type: boolean
          description: If `true`, triggers the group webhook on member events.
          nullable: true
        vulnerability_events:
          type: boolean
          description: If `true`, triggers the group webhook on vulnerability events.
          nullable: true
        enable_ssl_verification:
          type: boolean
          description: If `true`, verifies the SSL certificate when the group webhook
            is triggered.
          nullable: true
        token:
          type: string
          description: Secret token used to validate received payloads. Not returned
            in the response, and changing the webhook URL resets it.
          nullable: true
        signing_token:
          type: string
          description: HMAC signing token used to compute the `webhook-signature`
            header. Must be in `whsec_<base64>` format encoding a 32-byte key, and
            is not returned in the response. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/231325)
            in GitLab 19.0.
          nullable: true
        custom_webhook_template:
          type: string
          description: Custom template for the group webhook request payload.
          nullable: true
        branch_filter_strategy:
          type: string
          enum:
          - wildcard
          - regex
          - all_branches
          description: Filter push events by branch. Defaults to `wildcard`.
          nullable: true
        duo_flow_callback_enabled:
          type: boolean
          description: If `true`, allows Duo Agent Platform flows to send lifecycle
            and progress events to this group webhook. A flow must reference the webhook's
            ID as `callback_hook_id` when it starts. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/249149)
            in GitLab 19.4 [with a feature flag](https://docs.gitlab.com/administration/feature_flags/)
            named `duo_flow_callback_hooks`. Disabled by default.
          nullable: true
        url_variables:
          type: array
          description: URL variables for interpolation.
          items:
            type: object
            properties:
              key:
                type: string
                description: Name of the variable.
                example: token
                nullable: true
              value:
                type: string
                description: Value of the variable.
                example: '123'
                nullable: true
            required:
            - key
            - value
          nullable: true
        custom_headers:
          type: array
          description: Custom headers for the hook.
          items:
            type: object
            properties:
              key:
                type: string
                description: Name of the header.
                example: X-Custom-Header
                nullable: true
              value:
                type: string
                description: Value of the header.
                example: value
                nullable: true
            required:
            - key
            - value
          nullable: true
      required:
      - url
    putApiV4GroupsIdHooksHookIdRequest:
      type: object
      properties:
        url:
          type: string
          description: Webhook URL.
          nullable: true
        name:
          type: string
          description: Name of the group webhook. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/460887)
            in GitLab 17.1.
          nullable: true
        description:
          type: string
          description: Description of the group webhook. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/460887)
            in GitLab 17.1.
          nullable: true
        push_events:
          type: boolean
          description: If `true`, triggers the group webhook on push events.
          nullable: true
        push_events_branch_filter:
          type: string
          description: Filter push events by branch name.
          nullable: true
        issues_events:
          type: boolean
          description: If `true`, triggers the group webhook on issue events.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: If `true`, triggers the group webhook on confidential issue
            events.
          nullable: true
        merge_requests_events:
          type: boolean
          description: If `true`, triggers the group webhook on merge request events.
          nullable: true
        tag_push_events:
          type: boolean
          description: If `true`, triggers the group webhook on tag push events.
          nullable: true
        note_events:
          type: boolean
          description: If `true`, triggers the group webhook on note events.
          nullable: true
        confidential_note_events:
          type: boolean
          description: If `true`, triggers the group webhook on confidential note
            events.
          nullable: true
        job_events:
          type: boolean
          description: If `true`, triggers the group webhook on job events.
          nullable: true
        pipeline_events:
          type: boolean
          description: If `true`, triggers the group webhook on pipeline events.
          nullable: true
        project_events:
          type: boolean
          description: If `true`, triggers the group webhook on project events.
          nullable: true
        wiki_page_events:
          type: boolean
          description: If `true`, triggers the group webhook on wiki page events.
          nullable: true
        deployment_events:
          type: boolean
          description: If `true`, triggers the group webhook on deployment events.
          nullable: true
        feature_flag_events:
          type: boolean
          description: If `true`, triggers the group webhook on feature flag events.
          nullable: true
        releases_events:
          type: boolean
          description: If `true`, triggers the group webhook on release events.
          nullable: true
        milestone_events:
          type: boolean
          description: If `true`, triggers the group webhook on milestone events.
          nullable: true
        subgroup_events:
          type: boolean
          description: If `true`, triggers the group webhook on subgroup events.
          nullable: true
        emoji_events:
          type: boolean
          description: If `true`, triggers the group webhook on emoji events.
          nullable: true
        resource_access_token_events:
          type: boolean
          description: If `true`, triggers the group webhook on group and project
            access token expiry events.
          nullable: true
        member_events:
          type: boolean
          description: If `true`, triggers the group webhook on member events.
          nullable: true
        vulnerability_events:
          type: boolean
          description: If `true`, triggers the group webhook on vulnerability events.
          nullable: true
        enable_ssl_verification:
          type: boolean
          description: If `true`, verifies the SSL certificate when the group webhook
            is triggered.
          nullable: true
        token:
          type: string
          description: Secret token used to validate received payloads. Not returned
            in the response, and changing the webhook URL resets it.
          nullable: true
        signing_token:
          type: string
          description: HMAC signing token used to compute the `webhook-signature`
            header. Must be in `whsec_<base64>` format encoding a 32-byte key, and
            is not returned in the response. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/231325)
            in GitLab 19.0.
          nullable: true
        custom_webhook_template:
          type: string
          description: Custom template for the group webhook request payload.
          nullable: true
        branch_filter_strategy:
          type: string
          enum:
          - wildcard
          - regex
          - all_branches
          description: Filter push events by branch. Defaults to `wildcard`.
          nullable: true
        duo_flow_callback_enabled:
          type: boolean
          description: If `true`, allows Duo Agent Platform flows to send lifecycle
            and progress events to this group webhook. A flow must reference the webhook's
            ID as `callback_hook_id` when it starts. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/249149)
            in GitLab 19.4 [with a feature flag](https://docs.gitlab.com/administration/feature_flags/)
            named `duo_flow_callback_hooks`. Disabled by default.
          nullable: true
        url_variables:
          type: array
          description: URL variables for interpolation.
          items:
            type: object
            properties:
              key:
                type: string
                description: Name of the variable.
                example: token
                nullable: true
              value:
                type: string
                description: Value of the variable.
                example: '123'
                nullable: true
            required:
            - key
            - value
          nullable: true
        custom_headers:
          type: array
          description: Custom headers for the hook.
          items:
            type: object
            properties:
              key:
                type: string
                description: Name of the header.
                example: X-Custom-Header
                nullable: true
              value:
                type: string
                description: Value of the header.
                example: value
                nullable: true
            required:
            - key
            - value
          nullable: true
    putApiV4GroupsIdHooksHookIdUrlVariablesKeyRequest:
      type: object
      properties:
        value:
          type: string
          description: Value of the URL variable.
          nullable: true
      required:
      - value
    putApiV4GroupsIdHooksHookIdCustomHeadersKeyRequest:
      type: object
      properties:
        value:
          type: string
          description: Value of the custom header.
          nullable: true
      required:
      - value
    patchApiV4GroupsIdSamlUidRequest:
      type: object
      properties:
        extern_uid:
          type: string
          description: New external UID of the user.
          nullable: true
      required:
      - extern_uid
    patchApiV4GroupsIdScimUidRequest:
      type: object
      properties:
        extern_uid:
          type: string
          description: New external UID of the user.
          nullable: true
      required:
      - extern_uid
    postApiV4GroupsIdMemberRolesRequest:
      type: object
      properties:
        base_access_level:
          type: integer
          enum:
          - 5
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          description: Base access level for the custom role. Valid values are 5 (Minimal
            Access), 10 (Guest), 15 (Planner), 20 (Reporter), 25 (Security Manager),
            30 (Developer), and 40 (Maintainer).
        name:
          type: string
          description: Name of the custom role. Defaults to `<base access level> -
            custom`, for example `Developer - custom`.
          nullable: true
        description:
          type: string
          description: Description of the custom role.
          nullable: true
        apply_security_scan_profiles:
          type: boolean
          description: Apply security scan profiles.
          nullable: true
          default: false
        admin_merge_request:
          type: boolean
          description: Allows approval of merge requests.
          nullable: true
          default: false
        archive_project:
          type: boolean
          description: Allows archiving of projects.
          nullable: true
          default: false
        archive_subgroup:
          type: boolean
          description: Ability to archive or unarchive a subgroup. This ability does
            not allow archiving top-level groups. Archiving unlinks projects from
            their fork networks and closes their open cross-fork merge requests, and
            unarchiving does not restore either.
          nullable: true
          default: false
        admin_ai_catalog_item_consumer:
          type: boolean
          description: Enable, disable, and configure items from the AI catalog for
            a project.
          nullable: true
          default: false
        create_security_scan_profiles:
          type: boolean
          description: Create security scan profiles.
          nullable: true
          default: false
        destroy_package:
          type: boolean
          description: Delete packages and package files in the package registry.
          nullable: true
          default: false
        remove_project:
          type: boolean
          description: Allows deletion of projects.
          nullable: true
          default: false
        delete_security_scan_profiles:
          type: boolean
          description: Delete security scan profiles.
          nullable: true
          default: false
        remove_group:
          type: boolean
          description: Ability to delete or restore a subgroup. This ability does
            not allow deleting top-level groups. Review the retention period settings
            to prevent accidental deletion.
          nullable: true
          default: false
        manage_security_policy_link:
          type: boolean
          description: Allows linking security policy projects.
          nullable: true
          default: false
        admin_ai_catalog_item:
          type: boolean
          description: Create, edit, and delete custom agents and flows in the AI
            catalog.
          nullable: true
          default: false
        admin_compliance_framework:
          type: boolean
          description: Create, read, update, and delete compliance frameworks. Users
            with this permission can also assign a compliance framework label to a
            project, and set the default framework of a group.
          nullable: true
          default: false
        admin_cicd_variables:
          type: boolean
          description: Create, read, update, and delete CI/CD variables.
          nullable: true
          default: false
        manage_deploy_tokens:
          type: boolean
          description: Manage deploy tokens at the group or project level.
          nullable: true
          default: false
        manage_group_access_tokens:
          type: boolean
          description: Create, read, update, and delete group access tokens. When
            creating a token, users with this custom permission must select a role
            for that token that has the same or fewer permissions as the default role
            used as the base for the custom role.
          nullable: true
          default: false
        admin_group_member:
          type: boolean
          description: Add or remove users in a group, and assign roles to users.
            When assigning a role, users with this custom permission must select a
            role that has the same or fewer permissions as the default role used as
            the base for their custom role.
          nullable: true
          default: false
        admin_integrations:
          type: boolean
          description: Create, read, update, and delete integrations with external
            applications.
          nullable: true
          default: false
        manage_merge_request_settings:
          type: boolean
          description: Configure merge request settings at the group or project level.
            Group actions include managing merge checks and approval settings. Project
            actions include viewing branch rules, creating and deleting rules for
            all branches or all protected branches, and managing MR configurations,
            approval rules and settings, external status checks, squash options, and
            branch targets. In order to enable Suggested reviewers, the "Manage project
            access tokens" custom permission needs to be enabled.
          nullable: true
          default: false
        manage_project_access_tokens:
          type: boolean
          description: Create, read, update, and delete project access tokens. When
            creating a token, users with this custom permission must select a role
            for that token that has the same or fewer permissions as the default role
            used as the base for the custom role.
          nullable: true
          default: false
        admin_protected_branch:
          type: boolean
          description: Create, read, update, and delete protected branches and branch
            rules for a project. Branch rules must target a branch name or pattern.
          nullable: true
          default: false
        admin_protected_environments:
          type: boolean
          description: Create, read, update, and delete protected environments
          nullable: true
          default: false
        admin_push_rules:
          type: boolean
          description: Configure push rules for repositories at the group or project
            level.
          nullable: true
          default: false
        admin_runners:
          type: boolean
          description: Create, view, edit, and delete group or project Runners. Includes
            configuring Runner settings.
          nullable: true
          default: false
        admin_security_attributes:
          type: boolean
          description: Manage the security categories and attributes. Also requires
            the `read_security_attribute` permission.
          nullable: true
          default: false
        admin_terraform_state:
          type: boolean
          description: Execute terraform commands, lock/unlock terraform state files,
            and remove file versions.
          nullable: true
          default: false
        admin_vulnerability:
          type: boolean
          description: Edit the status, linked issue, and severity of a vulnerability
            object. Also requires the `read_vulnerability` permission.
          nullable: true
          default: false
        admin_web_hook:
          type: boolean
          description: Manage webhooks
          nullable: true
          default: false
        pull_container_image:
          type: boolean
          description: Grants the ability to pull images from the container registry
          nullable: true
          default: false
        push_container_image:
          type: boolean
          description: Grants the ability to push images to the container registry
          nullable: true
          default: false
        read_agent_artifacts:
          type: boolean
          description: Read GitLab Duo Agent Platform artifacts, including audit events
            and session metadata, that are exposed through the agent artifacts dashboard.
          nullable: true
          default: false
        read_compliance_dashboard:
          type: boolean
          description: Read compliance capabilities including adherence, violations,
            and frameworks for groups and projects.
          nullable: true
          default: false
        read_security_scan_profiles:
          type: boolean
          description: Read security scan profiles.
          nullable: true
          default: false
        read_virtual_registry:
          type: boolean
          description: Allows read access to virtual registries at the group level.
            Enables users to resolve packages through the virtual registry without
            requiring broader group membership permissions. Only works on top level
            groups.
          nullable: true
          default: false
        update_sec_ai_workflow_settings:
          type: boolean
          description: Update security AI workflow settings such as SAST Vulnerability
            Resolution. Also requires the `read_vulnerability` permission.
          nullable: true
          default: false
        update_security_scan_profiles:
          type: boolean
          description: Update security scan profiles.
          nullable: true
          default: false
        read_admin_cicd:
          type: boolean
          description: Read CI/CD details for runners and jobs in the Admin Area.
          nullable: true
          default: false
        read_crm_contact:
          type: boolean
          description: Read CRM contact.
          nullable: true
          default: false
        read_dependency:
          type: boolean
          description: Allows read-only access to the dependencies and licenses.
          nullable: true
          default: false
        read_admin_groups:
          type: boolean
          description: Read group details in the Admin Area.
          nullable: true
          default: false
        read_admin_projects:
          type: boolean
          description: Read project details in the Admin Area.
          nullable: true
          default: false
        read_code:
          type: boolean
          description: Allows read-only access to the source code in the user interface.
            Does not allow users to edit or download repository archives, clone or
            pull repositories, view source code in an IDE, or view merge requests
            for private projects. You can download individual files because read-only
            access inherently grants the ability to make a local copy of the file.
          nullable: true
          default: false
        read_runners:
          type: boolean
          description: Allows read-only access to group or project runners, including
            the runner fleet dashboard.
          nullable: true
          default: false
        read_security_attribute:
          type: boolean
          description: Allows read-only access to the security categories and attributes.
          nullable: true
          default: false
        read_admin_subscription:
          type: boolean
          description: Read subscription details in the Admin area.
          nullable: true
          default: false
        read_admin_monitoring:
          type: boolean
          description: Read system information such as background migrations, health
            checks, and Gitaly in the Admin Area.
          nullable: true
          default: false
        read_admin_users:
          type: boolean
          description: Read the user list and user details in the Admin area.
          nullable: true
          default: false
        read_vulnerability:
          type: boolean
          description: Read vulnerability reports and security dashboards.
          nullable: true
          default: false
      required:
      - base_access_level
    postApiV4MemberRolesRequest:
      type: object
      properties:
        base_access_level:
          type: integer
          enum:
          - 5
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          description: Base access level for the custom role. Valid values are 5 (Minimal
            Access), 10 (Guest), 15 (Planner), 20 (Reporter), 25 (Security Manager),
            30 (Developer), and 40 (Maintainer).
        name:
          type: string
          description: Name of the custom role. Defaults to `<base access level> -
            custom`, for example `Developer - custom`.
          nullable: true
        description:
          type: string
          description: Description of the custom role.
          nullable: true
        apply_security_scan_profiles:
          type: boolean
          description: Apply security scan profiles.
          nullable: true
          default: false
        admin_merge_request:
          type: boolean
          description: Allows approval of merge requests.
          nullable: true
          default: false
        archive_project:
          type: boolean
          description: Allows archiving of projects.
          nullable: true
          default: false
        archive_subgroup:
          type: boolean
          description: Ability to archive or unarchive a subgroup. This ability does
            not allow archiving top-level groups. Archiving unlinks projects from
            their fork networks and closes their open cross-fork merge requests, and
            unarchiving does not restore either.
          nullable: true
          default: false
        admin_ai_catalog_item_consumer:
          type: boolean
          description: Enable, disable, and configure items from the AI catalog for
            a project.
          nullable: true
          default: false
        create_security_scan_profiles:
          type: boolean
          description: Create security scan profiles.
          nullable: true
          default: false
        destroy_package:
          type: boolean
          description: Delete packages and package files in the package registry.
          nullable: true
          default: false
        remove_project:
          type: boolean
          description: Allows deletion of projects.
          nullable: true
          default: false
        delete_security_scan_profiles:
          type: boolean
          description: Delete security scan profiles.
          nullable: true
          default: false
        remove_group:
          type: boolean
          description: Ability to delete or restore a subgroup. This ability does
            not allow deleting top-level groups. Review the retention period settings
            to prevent accidental deletion.
          nullable: true
          default: false
        manage_security_policy_link:
          type: boolean
          description: Allows linking security policy projects.
          nullable: true
          default: false
        admin_ai_catalog_item:
          type: boolean
          description: Create, edit, and delete custom agents and flows in the AI
            catalog.
          nullable: true
          default: false
        admin_compliance_framework:
          type: boolean
          description: Create, read, update, and delete compliance frameworks. Users
            with this permission can also assign a compliance framework label to a
            project, and set the default framework of a group.
          nullable: true
          default: false
        admin_cicd_variables:
          type: boolean
          description: Create, read, update, and delete CI/CD variables.
          nullable: true
          default: false
        manage_deploy_tokens:
          type: boolean
          description: Manage deploy tokens at the group or project level.
          nullable: true
          default: false
        manage_group_access_tokens:
          type: boolean
          description: Create, read, update, and delete group access tokens. When
            creating a token, users with this custom permission must select a role
            for that token that has the same or fewer permissions as the default role
            used as the base for the custom role.
          nullable: true
          default: false
        admin_group_member:
          type: boolean
          description: Add or remove users in a group, and assign roles to users.
            When assigning a role, users with this custom permission must select a
            role that has the same or fewer permissions as the default role used as
            the base for their custom role.
          nullable: true
          default: false
        admin_integrations:
          type: boolean
          description: Create, read, update, and delete integrations with external
            applications.
          nullable: true
          default: false
        manage_merge_request_settings:
          type: boolean
          description: Configure merge request settings at the group or project level.
            Group actions include managing merge checks and approval settings. Project
            actions include viewing branch rules, creating and deleting rules for
            all branches or all protected branches, and managing MR configurations,
            approval rules and settings, external status checks, squash options, and
            branch targets. In order to enable Suggested reviewers, the "Manage project
            access tokens" custom permission needs to be enabled.
          nullable: true
          default: false
        manage_project_access_tokens:
          type: boolean
          description: Create, read, update, and delete project access tokens. When
            creating a token, users with this custom permission must select a role
            for that token that has the same or fewer permissions as the default role
            used as the base for the custom role.
          nullable: true
          default: false
        admin_protected_branch:
          type: boolean
          description: Create, read, update, and delete protected branches and branch
            rules for a project. Branch rules must target a branch name or pattern.
          nullable: true
          default: false
        admin_protected_environments:
          type: boolean
          description: Create, read, update, and delete protected environments
          nullable: true
          default: false
        admin_push_rules:
          type: boolean
          description: Configure push rules for repositories at the group or project
            level.
          nullable: true
          default: false
        admin_runners:
          type: boolean
          description: Create, view, edit, and delete group or project Runners. Includes
            configuring Runner settings.
          nullable: true
          default: false
        admin_security_attributes:
          type: boolean
          description: Manage the security categories and attributes. Also requires
            the `read_security_attribute` permission.
          nullable: true
          default: false
        admin_terraform_state:
          type: boolean
          description: Execute terraform commands, lock/unlock terraform state files,
            and remove file versions.
          nullable: true
          default: false
        admin_vulnerability:
          type: boolean
          description: Edit the status, linked issue, and severity of a vulnerability
            object. Also requires the `read_vulnerability` permission.
          nullable: true
          default: false
        admin_web_hook:
          type: boolean
          description: Manage webhooks
          nullable: true
          default: false
        pull_container_image:
          type: boolean
          description: Grants the ability to pull images from the container registry
          nullable: true
          default: false
        push_container_image:
          type: boolean
          description: Grants the ability to push images to the container registry
          nullable: true
          default: false
        read_agent_artifacts:
          type: boolean
          description: Read GitLab Duo Agent Platform artifacts, including audit events
            and session metadata, that are exposed through the agent artifacts dashboard.
          nullable: true
          default: false
        read_compliance_dashboard:
          type: boolean
          description: Read compliance capabilities including adherence, violations,
            and frameworks for groups and projects.
          nullable: true
          default: false
        read_security_scan_profiles:
          type: boolean
          description: Read security scan profiles.
          nullable: true
          default: false
        read_virtual_registry:
          type: boolean
          description: Allows read access to virtual registries at the group level.
            Enables users to resolve packages through the virtual registry without
            requiring broader group membership permissions. Only works on top level
            groups.
          nullable: true
          default: false
        update_sec_ai_workflow_settings:
          type: boolean
          description: Update security AI workflow settings such as SAST Vulnerability
            Resolution. Also requires the `read_vulnerability` permission.
          nullable: true
          default: false
        update_security_scan_profiles:
          type: boolean
          description: Update security scan profiles.
          nullable: true
          default: false
        read_admin_cicd:
          type: boolean
          description: Read CI/CD details for runners and jobs in the Admin Area.
          nullable: true
          default: false
        read_crm_contact:
          type: boolean
          description: Read CRM contact.
          nullable: true
          default: false
        read_dependency:
          type: boolean
          description: Allows read-only access to the dependencies and licenses.
          nullable: true
          default: false
        read_admin_groups:
          type: boolean
          description: Read group details in the Admin Area.
          nullable: true
          default: false
        read_admin_projects:
          type: boolean
          description: Read project details in the Admin Area.
          nullable: true
          default: false
        read_code:
          type: boolean
          description: Allows read-only access to the source code in the user interface.
            Does not allow users to edit or download repository archives, clone or
            pull repositories, view source code in an IDE, or view merge requests
            for private projects. You can download individual files because read-only
            access inherently grants the ability to make a local copy of the file.
          nullable: true
          default: false
        read_runners:
          type: boolean
          description: Allows read-only access to group or project runners, including
            the runner fleet dashboard.
          nullable: true
          default: false
        read_security_attribute:
          type: boolean
          description: Allows read-only access to the security categories and attributes.
          nullable: true
          default: false
        read_admin_subscription:
          type: boolean
          description: Read subscription details in the Admin area.
          nullable: true
          default: false
        read_admin_monitoring:
          type: boolean
          description: Read system information such as background migrations, health
            checks, and Gitaly in the Admin Area.
          nullable: true
          default: false
        read_admin_users:
          type: boolean
          description: Read the user list and user details in the Admin area.
          nullable: true
          default: false
        read_vulnerability:
          type: boolean
          description: Read vulnerability reports and security dashboards.
          nullable: true
          default: false
      required:
      - base_access_level
    postApiV4ProjectsIdMergeTrainsMergeRequestsMergeRequestIidRequest:
      type: object
      properties:
        sha:
          type: string
          description: SHA that must match the `HEAD` of the source branch, otherwise
            the merge fails.
          nullable: true
        squash:
          type: boolean
          description: If `true`, the commits are squashed into a single commit on
            merge.
          nullable: true
        when_pipeline_succeeds:
          type: boolean
          description: "[Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/521290)
            in GitLab 17.11. Use `auto_merge` instead."
          nullable: true
        auto_merge:
          type: boolean
          description: If `true`, the merge request is added to the merge train when
            checks pass. If `false` or unspecified, it is added to the merge train
            immediately.
          nullable: true
    postApiV4GroupsIdPushRuleRequest:
      type: object
      properties:
        deny_delete_tag:
          type: boolean
          description: If `true`, denies deleting a tag. At least one of `deny_delete_tag`,
            `member_check`, `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          nullable: true
        member_check:
          type: boolean
          description: If `true`, restricts commits by author email to existing GitLab
            users. At least one of `deny_delete_tag`, `member_check`, `prevent_secrets`,
            `commit_message_regex`, `commit_message_negative_regex`, `branch_name_regex`,
            `author_email_regex`, `file_name_regex`, `max_file_size`, `commit_committer_check`,
            `commit_committer_name_check`, `reject_unsigned_commits`, `reject_non_dco_commits`
            must be provided.
          nullable: true
        prevent_secrets:
          type: boolean
          description: If `true`, rejects files that are likely to [contain secrets](https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/lib/gitlab/checks/files_denylist.yml).
            At least one of `deny_delete_tag`, `member_check`, `prevent_secrets`,
            `commit_message_regex`, `commit_message_negative_regex`, `branch_name_regex`,
            `author_email_regex`, `file_name_regex`, `max_file_size`, `commit_committer_check`,
            `commit_committer_name_check`, `reject_unsigned_commits`, `reject_non_dco_commits`
            must be provided.
          nullable: true
        commit_message_regex:
          type: string
          description: Regular expression that commit messages must match, for example
            `Fixed \d+\..*`. At least one of `deny_delete_tag`, `member_check`, `prevent_secrets`,
            `commit_message_regex`, `commit_message_negative_regex`, `branch_name_regex`,
            `author_email_regex`, `file_name_regex`, `max_file_size`, `commit_committer_check`,
            `commit_committer_name_check`, `reject_unsigned_commits`, `reject_non_dco_commits`
            must be provided.
          example: Fixed \d+\..*
          nullable: true
        commit_message_negative_regex:
          type: string
          description: Regular expression that commit messages must not match, for
            example `ssh\:\/\/`. At least one of `deny_delete_tag`, `member_check`,
            `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: ssh\:\/\/
          nullable: true
        branch_name_regex:
          type: string
          description: Regular expression that branch names must match, for example
            `(feature|hotfix)\/.*`. At least one of `deny_delete_tag`, `member_check`,
            `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: "(feature|hotfix)\\/.*"
          nullable: true
        author_email_regex:
          type: string
          description: Regular expression that commit author emails must match, for
            example `@my-company.com$`. At least one of `deny_delete_tag`, `member_check`,
            `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: "@my-company.com$"
          nullable: true
        file_name_regex:
          type: string
          description: Regular expression that committed filenames must not match,
            for example `(jar|exe)$`. At least one of `deny_delete_tag`, `member_check`,
            `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: "(jar|exe)$"
          nullable: true
        max_file_size:
          type: integer
          description: Maximum file size allowed, in MB. At least one of `deny_delete_tag`,
            `member_check`, `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: 20
          nullable: true
        commit_committer_check:
          type: boolean
          description: If `true`, users can push commits only if the committer email
            is one of their own verified emails. At least one of `deny_delete_tag`,
            `member_check`, `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: true
          nullable: true
        commit_committer_name_check:
          type: boolean
          description: If `true`, users can push commits only if the commit author
            name is consistent with their GitLab account name. At least one of `deny_delete_tag`,
            `member_check`, `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: true
          nullable: true
        reject_unsigned_commits:
          type: boolean
          description: If `true`, rejects commits that are not signed. At least one
            of `deny_delete_tag`, `member_check`, `prevent_secrets`, `commit_message_regex`,
            `commit_message_negative_regex`, `branch_name_regex`, `author_email_regex`,
            `file_name_regex`, `max_file_size`, `commit_committer_check`, `commit_committer_name_check`,
            `reject_unsigned_commits`, `reject_non_dco_commits` must be provided.
          example: true
          nullable: true
        reject_non_dco_commits:
          type: boolean
          description: If `true`, rejects commits that are not DCO certified. At least
            one of `deny_delete_tag`, `member_check`, `prevent_secrets`, `commit_message_regex`,
            `commit_message_negative_regex`, `branch_name_regex`, `author_email_regex`,
            `file_name_regex`, `max_file_size`, `commit_committer_check`, `commit_committer_name_check`,
            `reject_unsigned_commits`, `reject_non_dco_commits` must be provided.
          example: true
          nullable: true
    putApiV4GroupsIdPushRuleRequest:
      type: object
      properties:
        deny_delete_tag:
          type: boolean
          description: If `true`, denies deleting a tag. At least one of `deny_delete_tag`,
            `member_check`, `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          nullable: true
        member_check:
          type: boolean
          description: If `true`, restricts commits by author email to existing GitLab
            users. At least one of `deny_delete_tag`, `member_check`, `prevent_secrets`,
            `commit_message_regex`, `commit_message_negative_regex`, `branch_name_regex`,
            `author_email_regex`, `file_name_regex`, `max_file_size`, `commit_committer_check`,
            `commit_committer_name_check`, `reject_unsigned_commits`, `reject_non_dco_commits`
            must be provided.
          nullable: true
        prevent_secrets:
          type: boolean
          description: If `true`, rejects files that are likely to [contain secrets](https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/lib/gitlab/checks/files_denylist.yml).
            At least one of `deny_delete_tag`, `member_check`, `prevent_secrets`,
            `commit_message_regex`, `commit_message_negative_regex`, `branch_name_regex`,
            `author_email_regex`, `file_name_regex`, `max_file_size`, `commit_committer_check`,
            `commit_committer_name_check`, `reject_unsigned_commits`, `reject_non_dco_commits`
            must be provided.
          nullable: true
        commit_message_regex:
          type: string
          description: Regular expression that commit messages must match, for example
            `Fixed \d+\..*`. At least one of `deny_delete_tag`, `member_check`, `prevent_secrets`,
            `commit_message_regex`, `commit_message_negative_regex`, `branch_name_regex`,
            `author_email_regex`, `file_name_regex`, `max_file_size`, `commit_committer_check`,
            `commit_committer_name_check`, `reject_unsigned_commits`, `reject_non_dco_commits`
            must be provided.
          example: Fixed \d+\..*
          nullable: true
        commit_message_negative_regex:
          type: string
          description: Regular expression that commit messages must not match, for
            example `ssh\:\/\/`. At least one of `deny_delete_tag`, `member_check`,
            `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: ssh\:\/\/
          nullable: true
        branch_name_regex:
          type: string
          description: Regular expression that branch names must match, for example
            `(feature|hotfix)\/.*`. At least one of `deny_delete_tag`, `member_check`,
            `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: "(feature|hotfix)\\/.*"
          nullable: true
        author_email_regex:
          type: string
          description: Regular expression that commit author emails must match, for
            example `@my-company.com$`. At least one of `deny_delete_tag`, `member_check`,
            `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: "@my-company.com$"
          nullable: true
        file_name_regex:
          type: string
          description: Regular expression that committed filenames must not match,
            for example `(jar|exe)$`. At least one of `deny_delete_tag`, `member_check`,
            `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: "(jar|exe)$"
          nullable: true
        max_file_size:
          type: integer
          description: Maximum file size allowed, in MB. At least one of `deny_delete_tag`,
            `member_check`, `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: 20
          nullable: true
        commit_committer_check:
          type: boolean
          description: If `true`, users can push commits only if the committer email
            is one of their own verified emails. At least one of `deny_delete_tag`,
            `member_check`, `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: true
          nullable: true
        commit_committer_name_check:
          type: boolean
          description: If `true`, users can push commits only if the commit author
            name is consistent with their GitLab account name. At least one of `deny_delete_tag`,
            `member_check`, `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: true
          nullable: true
        reject_unsigned_commits:
          type: boolean
          description: If `true`, rejects commits that are not signed. At least one
            of `deny_delete_tag`, `member_check`, `prevent_secrets`, `commit_message_regex`,
            `commit_message_negative_regex`, `branch_name_regex`, `author_email_regex`,
            `file_name_regex`, `max_file_size`, `commit_committer_check`, `commit_committer_name_check`,
            `reject_unsigned_commits`, `reject_non_dco_commits` must be provided.
          example: true
          nullable: true
        reject_non_dco_commits:
          type: boolean
          description: If `true`, rejects commits that are not DCO certified. At least
            one of `deny_delete_tag`, `member_check`, `prevent_secrets`, `commit_message_regex`,
            `commit_message_negative_regex`, `branch_name_regex`, `author_email_regex`,
            `file_name_regex`, `max_file_size`, `commit_committer_check`, `commit_committer_name_check`,
            `reject_unsigned_commits`, `reject_non_dco_commits` must be provided.
          example: true
          nullable: true
    postApiV4ProjectsIdPushRuleRequest:
      type: object
      properties:
        deny_delete_tag:
          type: boolean
          description: If `true`, denies deleting a tag. At least one of `deny_delete_tag`,
            `member_check`, `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: true
          nullable: true
        member_check:
          type: boolean
          description: If `true`, restricts commits by author email to existing GitLab
            users. At least one of `deny_delete_tag`, `member_check`, `prevent_secrets`,
            `commit_message_regex`, `commit_message_negative_regex`, `branch_name_regex`,
            `author_email_regex`, `file_name_regex`, `max_file_size`, `commit_committer_check`,
            `commit_committer_name_check`, `reject_unsigned_commits`, `reject_non_dco_commits`
            must be provided.
          example: true
          nullable: true
        prevent_secrets:
          type: boolean
          description: If `true`, rejects files that are likely to [contain secrets](https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/lib/gitlab/checks/files_denylist.yml).
            At least one of `deny_delete_tag`, `member_check`, `prevent_secrets`,
            `commit_message_regex`, `commit_message_negative_regex`, `branch_name_regex`,
            `author_email_regex`, `file_name_regex`, `max_file_size`, `commit_committer_check`,
            `commit_committer_name_check`, `reject_unsigned_commits`, `reject_non_dco_commits`
            must be provided.
          example: true
          nullable: true
        commit_message_regex:
          type: string
          description: Regular expression that commit messages must match, for example
            `Fixed \d+\..*`. At least one of `deny_delete_tag`, `member_check`, `prevent_secrets`,
            `commit_message_regex`, `commit_message_negative_regex`, `branch_name_regex`,
            `author_email_regex`, `file_name_regex`, `max_file_size`, `commit_committer_check`,
            `commit_committer_name_check`, `reject_unsigned_commits`, `reject_non_dco_commits`
            must be provided.
          example: Fixed \d+\..*
          nullable: true
        commit_message_negative_regex:
          type: string
          description: Regular expression that commit messages must not match. At
            least one of `deny_delete_tag`, `member_check`, `prevent_secrets`, `commit_message_regex`,
            `commit_message_negative_regex`, `branch_name_regex`, `author_email_regex`,
            `file_name_regex`, `max_file_size`, `commit_committer_check`, `commit_committer_name_check`,
            `reject_unsigned_commits`, `reject_non_dco_commits` must be provided.
          example: ssh\:\/\/
          nullable: true
        branch_name_regex:
          type: string
          description: Regular expression that branch names must match. At least one
            of `deny_delete_tag`, `member_check`, `prevent_secrets`, `commit_message_regex`,
            `commit_message_negative_regex`, `branch_name_regex`, `author_email_regex`,
            `file_name_regex`, `max_file_size`, `commit_committer_check`, `commit_committer_name_check`,
            `reject_unsigned_commits`, `reject_non_dco_commits` must be provided.
          example: "(feature|hotfix)\\/.*"
          nullable: true
        author_email_regex:
          type: string
          description: Regular expression that commit author emails must match, for
            example `@my-company.com$`. At least one of `deny_delete_tag`, `member_check`,
            `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: "@my-company.com$"
          nullable: true
        file_name_regex:
          type: string
          description: Regular expression that committed filenames must not match.
            At least one of `deny_delete_tag`, `member_check`, `prevent_secrets`,
            `commit_message_regex`, `commit_message_negative_regex`, `branch_name_regex`,
            `author_email_regex`, `file_name_regex`, `max_file_size`, `commit_committer_check`,
            `commit_committer_name_check`, `reject_unsigned_commits`, `reject_non_dco_commits`
            must be provided.
          example: "(jar|exe)$"
          nullable: true
        max_file_size:
          type: integer
          description: Maximum file size allowed, in MB. At least one of `deny_delete_tag`,
            `member_check`, `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: 1024
          nullable: true
        commit_committer_check:
          type: boolean
          description: If `true`, users can push commits only if the committer email
            is one of their own verified emails. At least one of `deny_delete_tag`,
            `member_check`, `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: true
          nullable: true
        commit_committer_name_check:
          type: boolean
          description: If `true`, users can push commits only if the commit author
            name is consistent with their GitLab account name. At least one of `deny_delete_tag`,
            `member_check`, `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: true
          nullable: true
        reject_unsigned_commits:
          type: boolean
          description: If `true`, rejects commits that are not signed. At least one
            of `deny_delete_tag`, `member_check`, `prevent_secrets`, `commit_message_regex`,
            `commit_message_negative_regex`, `branch_name_regex`, `author_email_regex`,
            `file_name_regex`, `max_file_size`, `commit_committer_check`, `commit_committer_name_check`,
            `reject_unsigned_commits`, `reject_non_dco_commits` must be provided.
          example: true
          nullable: true
        reject_non_dco_commits:
          type: boolean
          description: If `true`, rejects commits that are not DCO certified. At least
            one of `deny_delete_tag`, `member_check`, `prevent_secrets`, `commit_message_regex`,
            `commit_message_negative_regex`, `branch_name_regex`, `author_email_regex`,
            `file_name_regex`, `max_file_size`, `commit_committer_check`, `commit_committer_name_check`,
            `reject_unsigned_commits`, `reject_non_dco_commits` must be provided.
          example: true
          nullable: true
    putApiV4ProjectsIdPushRuleRequest:
      type: object
      properties:
        deny_delete_tag:
          type: boolean
          description: If `true`, denies deleting a tag. At least one of `deny_delete_tag`,
            `member_check`, `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: true
          nullable: true
        member_check:
          type: boolean
          description: If `true`, restricts commits by author email to existing GitLab
            users. At least one of `deny_delete_tag`, `member_check`, `prevent_secrets`,
            `commit_message_regex`, `commit_message_negative_regex`, `branch_name_regex`,
            `author_email_regex`, `file_name_regex`, `max_file_size`, `commit_committer_check`,
            `commit_committer_name_check`, `reject_unsigned_commits`, `reject_non_dco_commits`
            must be provided.
          example: true
          nullable: true
        prevent_secrets:
          type: boolean
          description: If `true`, rejects files that are likely to [contain secrets](https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/lib/gitlab/checks/files_denylist.yml).
            At least one of `deny_delete_tag`, `member_check`, `prevent_secrets`,
            `commit_message_regex`, `commit_message_negative_regex`, `branch_name_regex`,
            `author_email_regex`, `file_name_regex`, `max_file_size`, `commit_committer_check`,
            `commit_committer_name_check`, `reject_unsigned_commits`, `reject_non_dco_commits`
            must be provided.
          example: true
          nullable: true
        commit_message_regex:
          type: string
          description: Regular expression that commit messages must match, for example
            `Fixed \d+\..*`. At least one of `deny_delete_tag`, `member_check`, `prevent_secrets`,
            `commit_message_regex`, `commit_message_negative_regex`, `branch_name_regex`,
            `author_email_regex`, `file_name_regex`, `max_file_size`, `commit_committer_check`,
            `commit_committer_name_check`, `reject_unsigned_commits`, `reject_non_dco_commits`
            must be provided.
          example: Fixed \d+\..*
          nullable: true
        commit_message_negative_regex:
          type: string
          description: Regular expression that commit messages must not match. At
            least one of `deny_delete_tag`, `member_check`, `prevent_secrets`, `commit_message_regex`,
            `commit_message_negative_regex`, `branch_name_regex`, `author_email_regex`,
            `file_name_regex`, `max_file_size`, `commit_committer_check`, `commit_committer_name_check`,
            `reject_unsigned_commits`, `reject_non_dco_commits` must be provided.
          example: ssh\:\/\/
          nullable: true
        branch_name_regex:
          type: string
          description: Regular expression that branch names must match. At least one
            of `deny_delete_tag`, `member_check`, `prevent_secrets`, `commit_message_regex`,
            `commit_message_negative_regex`, `branch_name_regex`, `author_email_regex`,
            `file_name_regex`, `max_file_size`, `commit_committer_check`, `commit_committer_name_check`,
            `reject_unsigned_commits`, `reject_non_dco_commits` must be provided.
          example: "(feature|hotfix)\\/.*"
          nullable: true
        author_email_regex:
          type: string
          description: Regular expression that commit author emails must match, for
            example `@my-company.com$`. At least one of `deny_delete_tag`, `member_check`,
            `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: "@my-company.com$"
          nullable: true
        file_name_regex:
          type: string
          description: Regular expression that committed filenames must not match.
            At least one of `deny_delete_tag`, `member_check`, `prevent_secrets`,
            `commit_message_regex`, `commit_message_negative_regex`, `branch_name_regex`,
            `author_email_regex`, `file_name_regex`, `max_file_size`, `commit_committer_check`,
            `commit_committer_name_check`, `reject_unsigned_commits`, `reject_non_dco_commits`
            must be provided.
          example: "(jar|exe)$"
          nullable: true
        max_file_size:
          type: integer
          description: Maximum file size allowed, in MB. At least one of `deny_delete_tag`,
            `member_check`, `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: 1024
          nullable: true
        commit_committer_check:
          type: boolean
          description: If `true`, users can push commits only if the committer email
            is one of their own verified emails. At least one of `deny_delete_tag`,
            `member_check`, `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: true
          nullable: true
        commit_committer_name_check:
          type: boolean
          description: If `true`, users can push commits only if the commit author
            name is consistent with their GitLab account name. At least one of `deny_delete_tag`,
            `member_check`, `prevent_secrets`, `commit_message_regex`, `commit_message_negative_regex`,
            `branch_name_regex`, `author_email_regex`, `file_name_regex`, `max_file_size`,
            `commit_committer_check`, `commit_committer_name_check`, `reject_unsigned_commits`,
            `reject_non_dco_commits` must be provided.
          example: true
          nullable: true
        reject_unsigned_commits:
          type: boolean
          description: If `true`, rejects commits that are not signed. At least one
            of `deny_delete_tag`, `member_check`, `prevent_secrets`, `commit_message_regex`,
            `commit_message_negative_regex`, `branch_name_regex`, `author_email_regex`,
            `file_name_regex`, `max_file_size`, `commit_committer_check`, `commit_committer_name_check`,
            `reject_unsigned_commits`, `reject_non_dco_commits` must be provided.
          example: true
          nullable: true
        reject_non_dco_commits:
          type: boolean
          description: If `true`, rejects commits that are not DCO certified. At least
            one of `deny_delete_tag`, `member_check`, `prevent_secrets`, `commit_message_regex`,
            `commit_message_negative_regex`, `branch_name_regex`, `author_email_regex`,
            `file_name_regex`, `max_file_size`, `commit_committer_check`, `commit_committer_name_check`,
            `reject_unsigned_commits`, `reject_non_dco_commits` must be provided.
          example: true
          nullable: true
    postApiV4ProjectsIdMirrorPullRequest:
      type: object
      properties:
        action:
          type: string
          description: Action of the GitHub pull request event.
          nullable: true
        pull_request.number:
          type: integer
          description: Pull request IID
          nullable: true
        pull_request.head.ref:
          type: string
          description: Source branch
          nullable: true
        pull_request.head.sha:
          type: string
          description: Source sha
          nullable: true
        pull_request.head.repo.full_name:
          type: string
          description: Source repository
          nullable: true
        pull_request.base.ref:
          type: string
          description: Target branch
          nullable: true
        pull_request.base.sha:
          type: string
          description: Target sha
          nullable: true
        pull_request.base.repo.full_name:
          type: string
          description: Target repository
          nullable: true
        force:
          type: boolean
          description: If `true`, resets a hard-failed mirror and retries the update.
            Ignored for requests authenticated with a GitHub webhook signature. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/576606)
            in GitLab 19.3.
          nullable: true
    putApiV4ProjectsIdMirrorPullRequest:
      type: object
      properties:
        enabled:
          type: boolean
          description: If `true`, enables pull mirroring on the project. At least
            one of `enabled`, `url`, `auth_user`, `auth_password`, `mirror_overwrites_diverged_branches`,
            `mirror_trigger_builds`, `only_mirror_protected_branches`, `mirror_branch_regex`
            must be provided.
          nullable: true
        url:
          type: string
          description: URL of the remote repository being mirrored. At least one of
            `enabled`, `url`, `auth_user`, `auth_password`, `mirror_overwrites_diverged_branches`,
            `mirror_trigger_builds`, `only_mirror_protected_branches`, `mirror_branch_regex`
            must be provided.
          nullable: true
        auth_user:
          type: string
          description: Username used to authenticate a project pull mirror. At least
            one of `enabled`, `url`, `auth_user`, `auth_password`, `mirror_overwrites_diverged_branches`,
            `mirror_trigger_builds`, `only_mirror_protected_branches`, `mirror_branch_regex`
            must be provided.
          nullable: true
        auth_password:
          type: string
          description: Password used to authenticate a project pull mirror, or a personal
            access token with the `api` scope enabled. At least one of `enabled`,
            `url`, `auth_user`, `auth_password`, `mirror_overwrites_diverged_branches`,
            `mirror_trigger_builds`, `only_mirror_protected_branches`, `mirror_branch_regex`
            must be provided.
          nullable: true
        mirror_trigger_builds:
          type: boolean
          description: If `true`, triggers pipelines for mirror updates. At least
            one of `enabled`, `url`, `auth_user`, `auth_password`, `mirror_overwrites_diverged_branches`,
            `mirror_trigger_builds`, `only_mirror_protected_branches`, `mirror_branch_regex`
            must be provided.
          nullable: true
        only_mirror_protected_branches:
          type: boolean
          description: If `true`, limits mirroring to only protected branches. Mutually
            exclusive with `mirror_branch_regex`. At least one of `enabled`, `url`,
            `auth_user`, `auth_password`, `mirror_overwrites_diverged_branches`, `mirror_trigger_builds`,
            `only_mirror_protected_branches`, `mirror_branch_regex` must be provided.
          nullable: true
        mirror_overwrites_diverged_branches:
          type: boolean
          description: If `true`, overwrites diverged branches. At least one of `enabled`,
            `url`, `auth_user`, `auth_password`, `mirror_overwrites_diverged_branches`,
            `mirror_trigger_builds`, `only_mirror_protected_branches`, `mirror_branch_regex`
            must be provided.
          nullable: true
        mirror_branch_regex:
          type: string
          description: Regular expression for branch names to mirror. Only branches
            with names matching the regex are mirrored. Omit `only_mirror_protected_branches`
            when using this attribute. Sending both returns `400 Bad Request`, even
            when `only_mirror_protected_branches` is `false`. Mutually exclusive with
            `only_mirror_protected_branches`. At least one of `enabled`, `url`, `auth_user`,
            `auth_password`, `mirror_overwrites_diverged_branches`, `mirror_trigger_builds`,
            `only_mirror_protected_branches`, `mirror_branch_regex` must be provided.
          nullable: true
    postApiV4LicenseRequest:
      type: object
      properties:
        license:
          type: string
          description: License string.
          nullable: true
      required:
      - license
    postApiV4GroupsIdLdapGroupLinksRequest:
      type: object
      properties:
        cn:
          type: string
          description: CN of an LDAP group. Exactly one of `cn`, `filter` must be
            provided.
          nullable: true
        filter:
          type: string
          description: LDAP filter for the group. Exactly one of `cn`, `filter` must
            be provided.
          nullable: true
        group_access:
          type: integer
          enum:
          - 5
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          description: Default access level for members of the LDAP group.
        provider:
          type: string
          description: Name of the provider for the LDAP group link.
          nullable: true
        member_role_id:
          type: integer
          description: ID of the member role for members of the LDAP group. Ultimate
            only.
          nullable: true
      required:
      - group_access
      - provider
    postApiV4GeoSitesRequest:
      type: object
      properties:
        primary:
          type: boolean
          description: If `true`, the site is the primary Geo site.
          nullable: true
          default: false
        enabled:
          type: boolean
          description: If `true`, the Geo site is enabled.
          nullable: true
          default: true
        name:
          type: string
          description: Unique identifier for the Geo site. Must match `geo_node_name`
            if it is set in `gitlab.rb`, otherwise it must match `external_url`.
          nullable: true
        url:
          type: string
          description: User-facing URL of the Geo site.
          nullable: true
        internal_url:
          type: string
          description: URL defined on the primary site that secondary sites use to
            contact it. Returns `url` if not set.
          nullable: true
        files_max_capacity:
          type: integer
          minimum: 0
          description: Maximum concurrency of LFS and attachment backfill for the
            secondary site.
          nullable: true
          default: 10
        repos_max_capacity:
          type: integer
          minimum: 0
          description: Maximum concurrency of repository backfill for the secondary
            site.
          nullable: true
          default: 10
        verification_max_capacity:
          type: integer
          minimum: 0
          description: Maximum concurrency of verification for the site.
          nullable: true
          default: 10
        container_repositories_max_capacity:
          type: integer
          minimum: 0
          description: Maximum concurrency of container repository sync for the site.
          nullable: true
          default: 2
        sync_object_storage:
          type: boolean
          description: If `true`, the secondary Geo site replicates blobs in object
            storage.
          nullable: true
          default: false
        selective_sync_type:
          type: string
          description: 'Limit syncing to only specific groups, or shards. Valid values:
            `"namespaces"`, `"shards"`, or `null`'
          nullable: true
        selective_sync_shards:
          type: array
          items:
            type: string
          description: Repository storages to sync projects from if `selective_sync_type`
            is `shards`.
          nullable: true
        selective_sync_namespace_ids:
          type: array
          items:
            type: integer
          description: IDs of groups to sync if `selective_sync_type` is `namespaces`.
          nullable: true
        selective_sync_organization_ids:
          type: array
          items:
            type: integer
          description: IDs of organizations to sync if `selective_sync_type` is `organizations`.
          nullable: true
        minimum_reverification_interval:
          type: integer
          description: Interval, in days, after which verification expires and is
            repeated. Has no effect when set on a secondary site.
          nullable: true
        checksum_mismatch_report_threshold:
          type: integer
          description: Number of consecutive checksum mismatches on a secondary site
            before it reports the resource to the primary for self-heal re-verification.
            Read from the secondary site, and has no effect when set on the primary.
          nullable: true
        checksum_mismatch_self_heal_cooldown_minutes:
          type: integer
          description: Minimum time, in minutes, between self-heal re-verification
            triggers for the same resource. The primary and each secondary site use
            their own value. Secondary sites use it to throttle re-reporting the same
            resource, and the primary uses it to throttle re-verifying an already-verified
            resource.
          nullable: true
        blob_download_timeout:
          type: integer
          minimum: 1
          maximum: 86400
          description: Maximum time (in seconds) for blob downloads during Geo sync.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/569919)
            in GitLab 18.10.
          nullable: true
          default: 28800
      required:
      - name
      - url
    putApiV4GeoSitesIdRequest:
      type: object
      properties:
        enabled:
          type: boolean
          description: If `true`, the Geo site is enabled.
          nullable: true
        name:
          type: string
          description: Unique identifier for the Geo site. Must match `geo_node_name`
            if it is set in `gitlab.rb`, otherwise it must match `external_url`.
          nullable: true
        url:
          type: string
          description: User-facing URL of the Geo site.
          nullable: true
        internal_url:
          type: string
          description: URL defined on the primary site that secondary sites use to
            contact it. Returns `url` if not set.
          nullable: true
        files_max_capacity:
          type: integer
          minimum: 0
          description: Maximum concurrency of LFS and attachment backfill for the
            secondary site.
          nullable: true
        repos_max_capacity:
          type: integer
          minimum: 0
          description: Maximum concurrency of repository backfill for the secondary
            site.
          nullable: true
        verification_max_capacity:
          type: integer
          minimum: 0
          description: Maximum concurrency of verification for the site.
          nullable: true
        container_repositories_max_capacity:
          type: integer
          minimum: 0
          description: Maximum concurrency of container repository sync for the site.
          nullable: true
        sync_object_storage:
          type: boolean
          description: If `true`, the secondary Geo site replicates blobs in object
            storage.
          nullable: true
        selective_sync_type:
          type: string
          description: 'Limit syncing to only specific groups, or shards. Valid values:
            `"namespaces"`, `"shards"`, or `null`'
          nullable: true
        selective_sync_shards:
          type: array
          items:
            type: string
          description: Repository storages to sync projects from if `selective_sync_type`
            is `shards`.
          nullable: true
        selective_sync_namespace_ids:
          type: array
          items:
            type: integer
          description: IDs of groups to sync if `selective_sync_type` is `namespaces`.
          nullable: true
        selective_sync_organization_ids:
          type: array
          items:
            type: integer
          description: IDs of organizations to sync if `selective_sync_type` is `organizations`.
          nullable: true
        minimum_reverification_interval:
          type: integer
          description: Interval, in days, after which verification expires and is
            repeated. Has no effect when set on a secondary site.
          nullable: true
        checksum_mismatch_report_threshold:
          type: integer
          description: Number of consecutive checksum mismatches on a secondary site
            before it reports the resource to the primary for self-heal re-verification.
            Read from the secondary site, and has no effect when set on the primary.
          nullable: true
        checksum_mismatch_self_heal_cooldown_minutes:
          type: integer
          description: Minimum time, in minutes, between self-heal re-verification
            triggers for the same resource. The primary and each secondary site use
            their own value. Secondary sites use it to throttle re-reporting the same
            resource, and the primary uses it to throttle re-verifying an already-verified
            resource.
          nullable: true
        blob_download_timeout:
          type: integer
          minimum: 1
          maximum: 86400
          description: Maximum time (in seconds) for blob downloads during Geo sync.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/569919)
            in GitLab 18.10.
          nullable: true
    postApiV4GeoNodesRequest:
      type: object
      properties:
        primary:
          type: boolean
          description: Specifying whether this node will be primary.
          nullable: true
          default: false
        enabled:
          type: boolean
          description: Specifying whether this node will be enabled.
          nullable: true
          default: true
        name:
          type: string
          description: Unique identifier for the Geo node. Must match `geo_node_name`
            if it is set in `gitlab.rb`, otherwise it must match `external_url`.
          nullable: true
        url:
          type: string
          description: User-facing URL of the Geo node.
          nullable: true
        internal_url:
          type: string
          description: URL defined on the primary node that secondary nodes use to
            contact it. Returns `url` if not set.
          nullable: true
        files_max_capacity:
          type: integer
          minimum: 0
          description: Control the maximum concurrency of LFS/attachment backfill
            for this secondary node.
          nullable: true
          default: 10
        repos_max_capacity:
          type: integer
          minimum: 0
          description: Control the maximum concurrency of repository backfill for
            this secondary node.
          nullable: true
          default: 10
        verification_max_capacity:
          type: integer
          minimum: 0
          description: Control the maximum concurrency of repository verification
            for this node.
          nullable: true
          default: 10
        container_repositories_max_capacity:
          type: integer
          minimum: 0
          description: Control the maximum concurrency of container repository sync
            for this node.
          nullable: true
          default: 2
        sync_object_storage:
          type: boolean
          description: Flag indicating if the secondary Geo node will replicate blobs
            in Object Storage.
          nullable: true
          default: false
        selective_sync_type:
          type: string
          description: Limit syncing to only specific groups or shards. Possible values
            are `namespaces`, `shards`, and `null`.
          nullable: true
        selective_sync_shards:
          type: array
          items:
            type: string
          description: Repository storages to sync projects from if `selective_sync_type`
            is `shards`.
          nullable: true
        selective_sync_namespace_ids:
          type: array
          items:
            type: integer
          description: IDs of groups to sync if `selective_sync_type` is `namespaces`.
          nullable: true
        selective_sync_organization_ids:
          type: array
          items:
            type: integer
          description: IDs of organizations to sync if `selective_sync_type` is `organizations`.
          nullable: true
        minimum_reverification_interval:
          type: integer
          description: Interval, in days, after which repository verification expires
            and is repeated. Has no effect when set on a secondary node.
          nullable: true
        checksum_mismatch_report_threshold:
          type: integer
          description: Number of consecutive checksum mismatches on a secondary node
            before it reports the resource to the primary for self-heal re-verification.
            Read from the secondary node, and has no effect when set on the primary.
          nullable: true
        checksum_mismatch_self_heal_cooldown_minutes:
          type: integer
          description: Minimum time, in minutes, between self-heal re-verification
            triggers for the same resource. The primary and each secondary node use
            their own value. Secondary nodes use it to throttle re-reporting the same
            resource, and the primary uses it to throttle re-verifying an already-verified
            resource.
          nullable: true
      required:
      - name
      - url
    putApiV4GeoNodesIdRequest:
      type: object
      properties:
        enabled:
          type: boolean
          description: If `true`, the Geo node is enabled.
          nullable: true
        name:
          type: string
          description: Unique identifier for the Geo node. Must match `geo_node_name`
            if it is set in `gitlab.rb`, otherwise it must match `external_url`.
          nullable: true
        url:
          type: string
          description: User-facing URL of the Geo node.
          nullable: true
        internal_url:
          type: string
          description: URL defined on the primary node that secondary nodes use to
            contact it. Returns `url` if not set.
          nullable: true
        files_max_capacity:
          type: integer
          minimum: 0
          description: Maximum concurrency of LFS and attachment backfill for the
            secondary node.
          nullable: true
        repos_max_capacity:
          type: integer
          minimum: 0
          description: Maximum concurrency of repository backfill for the secondary
            node.
          nullable: true
        verification_max_capacity:
          type: integer
          minimum: 0
          description: Maximum concurrency of repository verification for the node.
          nullable: true
        container_repositories_max_capacity:
          type: integer
          minimum: 0
          description: Maximum concurrency of container repository sync for the node.
          nullable: true
        sync_object_storage:
          type: boolean
          description: If `true`, the secondary Geo node replicates blobs in object
            storage.
          nullable: true
        selective_sync_type:
          type: string
          description: Limit syncing to only specific groups or shards. Possible values
            are `namespaces`, `shards`, and `null`.
          nullable: true
        selective_sync_shards:
          type: array
          items:
            type: string
          description: Repository storages to sync projects from if `selective_sync_type`
            is `shards`.
          nullable: true
        selective_sync_namespace_ids:
          type: array
          items:
            type: integer
          description: IDs of groups to sync if `selective_sync_type` is `namespaces`.
          nullable: true
        selective_sync_organization_ids:
          type: array
          items:
            type: integer
          description: IDs of organizations to sync if `selective_sync_type` is `organizations`.
          nullable: true
        minimum_reverification_interval:
          type: integer
          description: Interval, in days, after which repository verification expires
            and is repeated. Has no effect when set on a secondary node.
          nullable: true
        checksum_mismatch_report_threshold:
          type: integer
          description: Number of consecutive checksum mismatches on a secondary node
            before it reports the resource to the primary for self-heal re-verification.
            Read from the secondary node, and has no effect when set on the primary.
          nullable: true
        checksum_mismatch_self_heal_cooldown_minutes:
          type: integer
          description: Minimum time, in minutes, between self-heal re-verification
            triggers for the same resource. The primary and each secondary node use
            their own value. Secondary nodes use it to throttle re-reporting the same
            resource, and the primary uses it to throttle re-verifying an already-verified
            resource.
          nullable: true
    postApiV4ExperimentsExperimentNameAssignmentsRequest:
      type: object
      properties:
        variant:
          type: string
          description: Variant name to assign, for example `control` or `candidate`.
          minLength: 1
        context:
          type: object
          description: Context parameters (user, namespace, project). An actor context
            is resolved from the user. Defaults to current user.
          nullable: true
      required:
      - variant
    putApiV4ElasticsearchIndexedNamespacesRolloutRequest:
      type: object
      properties:
        percentage:
          type: integer
          minimum: 0
          maximum: 100
          description: Percentage of namespaces to enable or disable Elasticsearch
            indexing for.
        plan:
          type: string
          enum:
          - bronze
          - silver
          - premium
          - gold
          - ultimate
          - ultimate_trial
          - ultimate_trial_paid_customer
          - premium_trial
          - opensource
          description: Subscription tier to rollout Elasticsearch for.
          minLength: 1
      required:
      - percentage
      - plan
    putApiV4ElasticsearchIndexedNamespacesRollbackRequest:
      type: object
      properties:
        percentage:
          type: integer
          minimum: 0
          maximum: 100
          description: Percentage of namespaces to enable or disable Elasticsearch
            indexing for.
        plan:
          type: string
          enum:
          - bronze
          - silver
          - premium
          - gold
          - ultimate
          - ultimate_trial
          - ultimate_trial_paid_customer
          - premium_trial
          - opensource
          description: Subscription tier to rollout Elasticsearch for.
          minLength: 1
      required:
      - percentage
      - plan
    postApiV4GroupsIdEpicsEpicIidRelatedEpicsRequest:
      type: object
      properties:
        target_group_id:
          type: string
          description: ID or URL-encoded path of the target group.
          example: '1'
          nullable: true
        target_epic_iid:
          type: integer
          description: Internal ID of the target group's epic.
          example: 1
          nullable: true
        link_type:
          type: string
          enum:
          - relates_to
          - blocks
          - is_blocked_by
          description: Type of the relation. Defaults to `relates_to`.
          nullable: true
      required:
      - target_group_id
      - target_epic_iid
    postApiV4GroupsIdDashEpicsRequest:
      type: object
      properties:
        title:
          type: string
          description: Title of the epic.
          example: My Epic
          nullable: true
        description:
          type: string
          description: Description of the epic.
          example: Epic description
          nullable: true
        color:
          type: string
          description: Color of the epic.
          example: "#1068bf"
          nullable: true
        confidential:
          type: boolean
          description: If `true`, the epic is confidential.
          nullable: true
        created_at:
          type: string
          format: date-time
          description: Date and time the epic was created. Available only for administrators
            and project owners.
          example: '2016-03-11T03:45:40Z'
          nullable: true
        start_date:
          type: string
          description: Start date of the epic. Deprecated. Use `start_date_fixed`
            instead.
          example: '2018-07-31'
          nullable: true
        start_date_fixed:
          type: string
          description: Start date of the epic.
          example: '2018-07-31'
          nullable: true
        start_date_is_fixed:
          type: boolean
          description: If `true`, sources the start date from the `start_date_fixed`
            field instead of the issue milestones.
          nullable: true
        end_date:
          type: string
          description: Due date of the epic. Deprecated. Use `due_date_fixed` instead.
          example: '2019-08-11'
          nullable: true
        due_date_fixed:
          type: string
          description: Due date of the epic.
          example: '2019-08-11'
          nullable: true
        due_date_is_fixed:
          type: boolean
          description: If `true`, sources the due date from the `due_date_fixed` field
            instead of the issue milestones.
          nullable: true
        labels:
          type: array
          items:
            type: string
          description: Comma-separated list of label names. Label names from the epic
            group or a parent group can be used.
          nullable: true
        parent_id:
          type: integer
          description: ID of the parent epic.
          example: 12
          nullable: true
      required:
      - title
    putApiV4GroupsIdDashEpicsEpicIidRequest:
      type: object
      properties:
        title:
          type: string
          description: Title of the epic. At least one of `add_labels`, `color`, `confidential`,
            `description`, `due_date_fixed`, `due_date_is_fixed`, `labels`, `parent_id`,
            `remove_labels`, `start_date_fixed`, `start_date_is_fixed`, `state_event`,
            `title`, `start_date`, `end_date` must be provided.
          example: My Epic
          nullable: true
        color:
          type: string
          description: Color of the epic. At least one of `add_labels`, `color`, `confidential`,
            `description`, `due_date_fixed`, `due_date_is_fixed`, `labels`, `parent_id`,
            `remove_labels`, `start_date_fixed`, `start_date_is_fixed`, `state_event`,
            `title`, `start_date`, `end_date` must be provided.
          example: "#1068bf"
          nullable: true
        description:
          type: string
          description: Description of the epic. At least one of `add_labels`, `color`,
            `confidential`, `description`, `due_date_fixed`, `due_date_is_fixed`,
            `labels`, `parent_id`, `remove_labels`, `start_date_fixed`, `start_date_is_fixed`,
            `state_event`, `title`, `start_date`, `end_date` must be provided.
          example: Epic description
          nullable: true
        confidential:
          type: boolean
          description: If `true`, the epic is confidential. At least one of `add_labels`,
            `color`, `confidential`, `description`, `due_date_fixed`, `due_date_is_fixed`,
            `labels`, `parent_id`, `remove_labels`, `start_date_fixed`, `start_date_is_fixed`,
            `state_event`, `title`, `start_date`, `end_date` must be provided.
          nullable: true
        updated_at:
          type: string
          format: date-time
          description: Date and time the epic was updated. Available only for administrators
            and project owners.
          example: '2016-03-11T03:45:40Z'
          nullable: true
        start_date:
          type: string
          description: Start date of the epic. Deprecated. Use `start_date_fixed`
            instead. At least one of `add_labels`, `color`, `confidential`, `description`,
            `due_date_fixed`, `due_date_is_fixed`, `labels`, `parent_id`, `remove_labels`,
            `start_date_fixed`, `start_date_is_fixed`, `state_event`, `title`, `start_date`,
            `end_date` must be provided.
          example: '2018-07-31'
          nullable: true
        start_date_fixed:
          type: string
          description: Start date of the epic. At least one of `add_labels`, `color`,
            `confidential`, `description`, `due_date_fixed`, `due_date_is_fixed`,
            `labels`, `parent_id`, `remove_labels`, `start_date_fixed`, `start_date_is_fixed`,
            `state_event`, `title`, `start_date`, `end_date` must be provided.
          example: '2018-07-31'
          nullable: true
        start_date_is_fixed:
          type: boolean
          description: If `true`, sources the start date from the `start_date_fixed`
            field instead of the issue milestones. At least one of `add_labels`, `color`,
            `confidential`, `description`, `due_date_fixed`, `due_date_is_fixed`,
            `labels`, `parent_id`, `remove_labels`, `start_date_fixed`, `start_date_is_fixed`,
            `state_event`, `title`, `start_date`, `end_date` must be provided.
          nullable: true
        end_date:
          type: string
          description: Due date of the epic. Deprecated. Use `due_date_fixed` instead.
            At least one of `add_labels`, `color`, `confidential`, `description`,
            `due_date_fixed`, `due_date_is_fixed`, `labels`, `parent_id`, `remove_labels`,
            `start_date_fixed`, `start_date_is_fixed`, `state_event`, `title`, `start_date`,
            `end_date` must be provided.
          example: '2019-08-11'
          nullable: true
        due_date_fixed:
          type: string
          description: Due date of the epic. At least one of `add_labels`, `color`,
            `confidential`, `description`, `due_date_fixed`, `due_date_is_fixed`,
            `labels`, `parent_id`, `remove_labels`, `start_date_fixed`, `start_date_is_fixed`,
            `state_event`, `title`, `start_date`, `end_date` must be provided.
          example: '2019-08-11'
          nullable: true
        due_date_is_fixed:
          type: boolean
          description: If `true`, sources the due date from the `due_date_fixed` field
            instead of the issue milestones. At least one of `add_labels`, `color`,
            `confidential`, `description`, `due_date_fixed`, `due_date_is_fixed`,
            `labels`, `parent_id`, `remove_labels`, `start_date_fixed`, `start_date_is_fixed`,
            `state_event`, `title`, `start_date`, `end_date` must be provided.
          nullable: true
        labels:
          type: array
          items:
            type: string
          description: Comma-separated label names for the epic. At least one of `add_labels`,
            `color`, `confidential`, `description`, `due_date_fixed`, `due_date_is_fixed`,
            `labels`, `parent_id`, `remove_labels`, `start_date_fixed`, `start_date_is_fixed`,
            `state_event`, `title`, `start_date`, `end_date` must be provided.
          nullable: true
        add_labels:
          type: array
          items:
            type: string
          description: Comma-separated label names to add to the epic. At least one
            of `add_labels`, `color`, `confidential`, `description`, `due_date_fixed`,
            `due_date_is_fixed`, `labels`, `parent_id`, `remove_labels`, `start_date_fixed`,
            `start_date_is_fixed`, `state_event`, `title`, `start_date`, `end_date`
            must be provided.
          nullable: true
        remove_labels:
          type: array
          items:
            type: string
          description: Comma-separated label names to remove from the epic. At least
            one of `add_labels`, `color`, `confidential`, `description`, `due_date_fixed`,
            `due_date_is_fixed`, `labels`, `parent_id`, `remove_labels`, `start_date_fixed`,
            `start_date_is_fixed`, `state_event`, `title`, `start_date`, `end_date`
            must be provided.
          nullable: true
        state_event:
          type: string
          enum:
          - reopen
          - close
          description: Event to change the state of the epic. At least one of `add_labels`,
            `color`, `confidential`, `description`, `due_date_fixed`, `due_date_is_fixed`,
            `labels`, `parent_id`, `remove_labels`, `start_date_fixed`, `start_date_is_fixed`,
            `state_event`, `title`, `start_date`, `end_date` must be provided.
          nullable: true
        parent_id:
          type: integer
          description: ID of the parent epic. At least one of `add_labels`, `color`,
            `confidential`, `description`, `due_date_fixed`, `due_date_is_fixed`,
            `labels`, `parent_id`, `remove_labels`, `start_date_fixed`, `start_date_is_fixed`,
            `state_event`, `title`, `start_date`, `end_date` must be provided.
          example: 12
          nullable: true
    postApiV4GroupsIdDashEpicsEpicIidEpicsRequest:
      type: object
      properties:
        title:
          type: string
          description: Title of the child epic.
          example: Epic title
          nullable: true
        confidential:
          type: boolean
          description: If `true`, marks the epic as confidential. Ignored if the `confidential_epics`
            feature flag is disabled. Defaults to the confidentiality state of the
            parent epic.
          example: true
          nullable: true
      required:
      - title
    putApiV4GroupsIdDashEpicsEpicIidEpicsChildEpicIdRequest:
      type: object
      properties:
        move_before_id:
          type: integer
          description: ID of the epic to position before the child epic.
          example: 1
          nullable: true
        move_after_id:
          type: integer
          description: ID of the epic to position after the child epic.
          example: 1
          nullable: true
    putApiV4GroupsIdDashEpicsEpicIidIssuesEpicIssueIdRequest:
      type: object
      properties:
        move_before_id:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
          description: ID of the epic-issue association to position before the issue.
        move_after_id:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
          description: ID of the epic-issue association to position after the issue.
        page:
          type: integer
          description: Page number of results to retrieve.
          example: 1
          nullable: true
          default: 1
        per_page:
          type: integer
          description: Number of items to list per page.
          example: 20
          nullable: true
          default: 20
    postApiV4ProjectsIdApprovalSettingsRulesRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the approval rule. Limited to 1024 characters.
          nullable: true
        approvals_required:
          type: integer
          description: Number of required approvals for the rule.
          nullable: true
        rule_type:
          type: string
          description: Type of the approval rule. Possible values are `regular`, `report_approver`,
            and `any_approver`.
          example: regular
          nullable: true
        users:
          type: array
          items:
            type: integer
          description: IDs of users to add as approvers. Deprecated. Use `user_ids`
            instead.
          nullable: true
        user_ids:
          type: array
          items:
            type: integer
          description: IDs of users to add as approvers. When used with `usernames`,
            both lists of users are added.
          nullable: true
        groups:
          type: array
          items:
            type: integer
          description: IDs of groups to add as approvers. Deprecated. Use `group_ids`
            instead.
          nullable: true
        group_ids:
          type: array
          items:
            type: integer
          description: IDs of groups to add as approvers.
          nullable: true
        usernames:
          type: array
          items:
            type: string
          description: Usernames of approvers. If used with `user_ids`, adds both
            lists of users.
          nullable: true
        protected_branch_ids:
          type: array
          items:
            type: integer
          description: IDs of protected branches to scope the rule by.
          nullable: true
        applies_to_all_protected_branches:
          type: boolean
          description: If `true`, applies the rule to all protected branches and ignores
            the `protected_branch_ids` attribute.
          nullable: true
          default: false
        report_type:
          type: string
          enum:
          - code_coverage
          description: Type of the report required when `rule_type` is set to `report_approver`.
          nullable: true
        coverage_minimum_threshold:
          type: number
          description: Minimum code coverage percentage for the rule, from 0 to 100.
            If coverage falls below this threshold, approval is required.
          nullable: true
        vulnerabilities_allowed:
          type: integer
          description: Number of vulnerabilities allowed for the rule.
          nullable: true
        scanners:
          type: array
          items:
            type: string
          description: Security scanners to be considered by the approval rule.
          nullable: true
        severity_levels:
          type: array
          items:
            type: string
          description: Security levels to be considered by the approval rule.
          nullable: true
        vulnerability_states:
          type: array
          items:
            type: string
          description: Vulnerability states to be considered by the approval rule.
          nullable: true
      required:
      - name
      - approvals_required
    putApiV4ProjectsIdApprovalSettingsRulesApprovalRuleIdRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the approval rule. Limited to 1024 characters.
          nullable: true
        approvals_required:
          type: integer
          description: Number of required approvals for the rule.
          nullable: true
        users:
          type: array
          items:
            type: integer
          description: IDs of users to add as approvers. Deprecated. Use `user_ids`
            instead.
          nullable: true
        user_ids:
          type: array
          items:
            type: integer
          description: IDs of users to add as approvers. When used with `usernames`,
            both lists of users are added.
          nullable: true
        groups:
          type: array
          items:
            type: integer
          description: IDs of groups to add as approvers. Deprecated. Use `group_ids`
            instead.
          nullable: true
        group_ids:
          type: array
          items:
            type: integer
          description: IDs of groups to add as approvers.
          nullable: true
        usernames:
          type: array
          items:
            type: string
          description: Usernames of approvers. If used with `user_ids`, adds both
            lists of users.
          nullable: true
        protected_branch_ids:
          type: array
          items:
            type: integer
          description: IDs of protected branches to scope the rule by.
          nullable: true
        applies_to_all_protected_branches:
          type: boolean
          description: If `true`, applies the rule to all protected branches and ignores
            the `protected_branch_ids` attribute.
          nullable: true
        remove_hidden_groups:
          type: boolean
          description: If `true`, removes hidden groups from the approval rule.
          nullable: true
        coverage_minimum_threshold:
          type: number
          description: Minimum code coverage percentage for the rule, from 0 to 100.
            If coverage falls below this threshold, approval is required.
          nullable: true
        vulnerabilities_allowed:
          type: integer
          description: Number of vulnerabilities allowed for the rule.
          nullable: true
        scanners:
          type: array
          items:
            type: string
          description: Security scanners to be considered by the approval rule.
          nullable: true
        severity_levels:
          type: array
          items:
            type: string
          description: Security levels to be considered by the approval rule.
          nullable: true
        vulnerability_states:
          type: array
          items:
            type: string
          description: Vulnerability states to be considered by the approval rule.
          nullable: true
    postApiV4ProjectsIdExternalStatusChecksRequest:
      type: object
      properties:
        name:
          type: string
          description: Display name of the external status check service.
          example: QA
          nullable: true
        shared_secret:
          type: string
          description: HMAC secret for the external status check.
          example: hmac-sha256
          nullable: true
        external_url:
          type: string
          description: URL of the external status check service.
          example: https://www.example.com
          nullable: true
        protected_branch_ids:
          type: array
          items:
            type: integer
          description: IDs of protected branches to scope the rule by.
          nullable: true
      required:
      - name
      - external_url
    putApiV4ProjectsIdExternalStatusChecksCheckIdRequest:
      type: object
      properties:
        name:
          type: string
          description: Display name of the external status check service.
          example: QA
          nullable: true
        shared_secret:
          type: string
          description: HMAC secret for the external status check.
          example: hmac-sha256
          nullable: true
        external_url:
          type: string
          description: URL of the external status check service.
          example: https://www.example.com
          nullable: true
        protected_branch_ids:
          type: array
          items:
            type: integer
          description: IDs of protected branches to scope the rule by.
          nullable: true
    postApiV4ProjectsIdMergeRequestsMergeRequestIidStatusCheckResponsesRequest:
      type: object
      properties:
        external_status_check_id:
          type: integer
          description: ID of the external status check.
          example: 1
          nullable: true
        sha:
          type: string
          description: SHA at `HEAD` of the source branch.
          example: 5957a570eee0ac4580ec027fb874ad7514d1e576
          nullable: true
        status:
          type: string
          enum:
          - passed
          - failed
          - pending
          description: Status of the check.
          minLength: 1
      required:
      - external_status_check_id
      - sha
      - status
    postApiV4GroupsIdApprovalRulesRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the approval rule. Limited to 1024 characters.
          nullable: true
        approvals_required:
          type: integer
          description: Number of required approvals for the rule.
          nullable: true
        rule_type:
          type: string
          description: Type of the approval rule. Supported values include `any_approver`,
            `regular`, and `report_approver`.
          example: regular
          nullable: true
        user_ids:
          type: array
          items:
            type: integer
          description: IDs of users to add as approvers for this rule.
          nullable: true
        group_ids:
          type: array
          items:
            type: integer
          description: IDs of groups to add as approvers.
          nullable: true
      required:
      - name
      - approvals_required
    putApiV4GroupsIdApprovalRulesApprovalRuleIdRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the approval rule. Limited to 1024 characters.
          nullable: true
        approvals_required:
          type: integer
          description: Number of required approvals for the rule.
          nullable: true
        rule_type:
          type: string
          description: Type of the approval rule. Supported values include `any_approver`,
            `regular`, and `report_approver`.
          example: regular
          nullable: true
        user_ids:
          type: array
          items:
            type: integer
          description: IDs of users to add as approvers for this rule.
          nullable: true
        group_ids:
          type: array
          items:
            type: integer
          description: IDs of groups to add as approvers.
          nullable: true
    putApiV4GroupsIdSecuritySettingsRequest:
      type: object
      properties:
        secret_push_protection_enabled:
          type: boolean
          description: If `true`, enables secret push protection for projects in the
            group.
          nullable: true
        projects_to_exclude:
          type: array
          items:
            type: integer
          description: IDs of projects to exclude from secret push protection.
          nullable: true
      required:
      - secret_push_protection_enabled
    putApiV4ProjectsIdSecuritySettingsRequest:
      type: object
      properties:
        secret_push_protection_enabled:
          type: boolean
          description: If `true`, enables secret push protection for the project.
            At least one of `secret_push_protection_enabled`, `pre_receive_secret_detection_enabled`,
            `fast_dependency_paths_enabled` must be provided.
          nullable: true
        pre_receive_secret_detection_enabled:
          type: boolean
          description: If `true`, enables secret push protection for the project.
            [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/514413) in
            GitLab 17.9. Use `secret_push_protection_enabled` instead. At least one
            of `secret_push_protection_enabled`, `pre_receive_secret_detection_enabled`,
            `fast_dependency_paths_enabled` must be provided.
          nullable: true
        fast_dependency_paths_enabled:
          type: boolean
          description: Deprecated. Has no effect; dependency graph builds always record
            direct edges only. At least one of `secret_push_protection_enabled`, `pre_receive_secret_detection_enabled`,
            `fast_dependency_paths_enabled` must be provided.
          nullable: true
    postApiV4ProjectsIdApprovalRulesRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the approval rule. Limited to 1024 characters.
          nullable: true
        approvals_required:
          type: integer
          description: Number of required approvals for the rule.
          nullable: true
        rule_type:
          type: string
          description: Type of the approval rule. Possible values are `regular`, `report_approver`,
            and `any_approver`.
          example: regular
          nullable: true
        users:
          type: array
          items:
            type: integer
          description: IDs of users to add as approvers. Deprecated. Use `user_ids`
            instead.
          nullable: true
        user_ids:
          type: array
          items:
            type: integer
          description: IDs of users to add as approvers. When used with `usernames`,
            both lists of users are added.
          nullable: true
        groups:
          type: array
          items:
            type: integer
          description: IDs of groups to add as approvers. Deprecated. Use `group_ids`
            instead.
          nullable: true
        group_ids:
          type: array
          items:
            type: integer
          description: IDs of groups to add as approvers.
          nullable: true
        usernames:
          type: array
          items:
            type: string
          description: Usernames of approvers. If used with `user_ids`, adds both
            lists of users.
          nullable: true
        protected_branch_ids:
          type: array
          items:
            type: integer
          description: IDs of protected branches to scope the rule by.
          nullable: true
        applies_to_all_protected_branches:
          type: boolean
          description: If `true`, applies the rule to all protected branches and ignores
            the `protected_branch_ids` attribute.
          nullable: true
          default: false
        report_type:
          type: string
          enum:
          - code_coverage
          description: Type of the report required when `rule_type` is set to `report_approver`.
          nullable: true
        coverage_minimum_threshold:
          type: number
          description: Minimum code coverage percentage for the rule, from 0 to 100.
            If coverage falls below this threshold, approval is required.
          nullable: true
        vulnerabilities_allowed:
          type: integer
          description: Number of vulnerabilities allowed for the rule.
          nullable: true
        scanners:
          type: array
          items:
            type: string
          description: Security scanners to be considered by the approval rule.
          nullable: true
        severity_levels:
          type: array
          items:
            type: string
          description: Security levels to be considered by the approval rule.
          nullable: true
        vulnerability_states:
          type: array
          items:
            type: string
          description: Vulnerability states to be considered by the approval rule.
          nullable: true
      required:
      - name
      - approvals_required
    putApiV4ProjectsIdApprovalRulesApprovalRuleIdRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the approval rule. Limited to 1024 characters.
          nullable: true
        approvals_required:
          type: integer
          description: Number of required approvals for the rule.
          nullable: true
        users:
          type: array
          items:
            type: integer
          description: IDs of users to add as approvers. Deprecated. Use `user_ids`
            instead.
          nullable: true
        user_ids:
          type: array
          items:
            type: integer
          description: IDs of users to add as approvers. When used with `usernames`,
            both lists of users are added.
          nullable: true
        groups:
          type: array
          items:
            type: integer
          description: IDs of groups to add as approvers. Deprecated. Use `group_ids`
            instead.
          nullable: true
        group_ids:
          type: array
          items:
            type: integer
          description: IDs of groups to add as approvers.
          nullable: true
        usernames:
          type: array
          items:
            type: string
          description: Usernames of approvers. If used with `user_ids`, adds both
            lists of users.
          nullable: true
        protected_branch_ids:
          type: array
          items:
            type: integer
          description: IDs of protected branches to scope the rule by.
          nullable: true
        applies_to_all_protected_branches:
          type: boolean
          description: If `true`, applies the rule to all protected branches and ignores
            the `protected_branch_ids` attribute.
          nullable: true
        remove_hidden_groups:
          type: boolean
          description: If `true`, removes hidden groups from the approval rule.
          nullable: true
        coverage_minimum_threshold:
          type: number
          description: Minimum code coverage percentage for the rule, from 0 to 100.
            If coverage falls below this threshold, approval is required.
          nullable: true
        vulnerabilities_allowed:
          type: integer
          description: Number of vulnerabilities allowed for the rule.
          nullable: true
        scanners:
          type: array
          items:
            type: string
          description: Security scanners to be considered by the approval rule.
          nullable: true
        severity_levels:
          type: array
          items:
            type: string
          description: Security levels to be considered by the approval rule.
          nullable: true
        vulnerability_states:
          type: array
          items:
            type: string
          description: Vulnerability states to be considered by the approval rule.
          nullable: true
    postApiV4ProjectsIdClusterAgentsAgentIdUrlConfigurationsRequest:
      type: object
      properties:
        url:
          type: string
          description: Agent URL for this URL configuration.
          nullable: true
        client_cert:
          type: string
          description: Client certificate in PEM format, used for mTLS authentication.
            Must be provided with `client_key`.
          nullable: true
        client_key:
          type: string
          description: Client key in PEM format, used for mTLS authentication. Must
            be provided with `client_cert`.
          nullable: true
        ca_cert:
          type: string
          description: CA certificate in PEM format used to verify the agent endpoint.
          nullable: true
        tls_host:
          type: string
          description: TLS host name to verify the server name in the agent endpoint.
          nullable: true
      required:
      - url
    postApiV4RunnerControllersRunnerControllerIdTokensRequest:
      type: object
      properties:
        description:
          type: string
          description: Description of the runner controller token.
          example: Token for managing runner
          nullable: true
    postApiV4RunnerControllersRequest:
      type: object
      properties:
        description:
          type: string
          description: Description of the runner controller.
          example: Controller for managing runner
          nullable: true
        state:
          type: string
          enum:
          - disabled
          - enabled
          - dry_run
          description: State of the runner controller.
          nullable: true
          default: disabled
    putApiV4RunnerControllersIdRequest:
      type: object
      properties:
        description:
          type: string
          description: Description of the runner controller.
          example: Controller for managing runner
          nullable: true
        state:
          type: string
          enum:
          - disabled
          - enabled
          - dry_run
          description: State of the runner controller.
          nullable: true
    postApiV4ProjectsIdMergeRequestsMergeRequestIidSuggestedReviewersRequest:
      type: object
      properties:
        suggestions:
          type: array
          description: Recommended reviewers (maximum is 50).
          items:
            type: object
            properties:
              user_id:
                type: integer
                description: ID of the recommended user.
                nullable: true
              reason:
                type: string
                description: Model rationale for the recommendation (maximum 2048
                  characters).
                nullable: true
                maxLength: 2048
              approval_rule_id:
                type: integer
                description: ID of the approval rule the user was suggested for.
                nullable: true
              approval_rule_type:
                type: string
                enum:
                - merge_request_rule
                - project_rule
                description: Type of the approval rule the user was suggested for.
                minLength: 1
            required:
            - user_id
            - approval_rule_type
          nullable: true
      required:
      - suggestions
    putApiV4AdminDataManagementModelNameChecksumRequest:
      type: object
      properties:
        identifiers:
          oneOf:
          - type: array
            items:
              type: integer
            nullable: true
          - type: array
            items:
              type: string
            nullable: true
          description: Filter results with an array of unique identifiers of the requested
            model, which can be integers or base64 encoded strings.
        checksum_state:
          type: string
          enum:
          - started
          - succeeded
          - failed
          - disabled
          description: Filter by checksum status.
          nullable: true
    putApiV4AdminSecurityCompliancePolicySettingsRequest:
      type: object
      properties:
        csp_namespace_id:
          type: integer
          description: ID of the group designated to centrally manage security policies
            and compliance frameworks. Must be a top-level group. Set to `null` to
            clear the setting.
          nullable: true
      required:
      - csp_namespace_id
    patchApiV4AdminZoektNamespacesIdRequest:
      type: object
      properties:
        number_of_replicas_override:
          type: integer
          minimum: 1
          description: Number of replicas override to set. Set to `null` to unset
            the override.
          nullable: true
    putApiV4AdminZoektShardsNodeIdIndexedNamespacesNamespaceIdRequest:
      type: object
      properties:
        search:
          type: boolean
          description: If `true`, enables the indexed namespace for searching.
          nullable: true
    putApiV4AdminActiveContextConnectionsActivateRequest:
      type: object
      properties:
        connection_id:
          type: integer
          description: ID of the connection.
          nullable: true
      required:
      - connection_id
    putApiV4AdminActiveContextConnectionsDeactivateRequest:
      type: object
      properties:
        connection_id:
          type: integer
          description: ID of the connection. If omitted, defaults to the active connection.
          nullable: true
    putApiV4AdminActiveContextCollectionsIdRequest:
      type: object
      properties:
        queue_shard_count:
          type: integer
          description: Number of queue shards. At least one of `queue_shard_count`,
            `queue_shard_limit` must be provided.
          nullable: true
        queue_shard_limit:
          type: integer
          description: Maximum number of queued items processed from each queue shard
            at a time. At least one of `queue_shard_count`, `queue_shard_limit` must
            be provided.
          nullable: true
        connection_id:
          type: integer
          description: ID of the connection. If omitted, defaults to the active connection.
          nullable: true
    postApiV4AdminActiveContextDeadQueueReplayRequest:
      type: object
      properties:
        queue:
          type: string
          description: Name of the target queue, for example `retry_queue`, `second_retry_queue`,
            `code`, or `code_backfill`.
          nullable: true
      required:
      - queue
    putApiV4AdminActiveContextCodeEnabledNamespacesRequest:
      type: object
      properties:
        namespace_id:
          oneOf:
          - type: string
            nullable: true
          - type: integer
            nullable: true
          description: ID or path of the namespace.
        state:
          type: string
          enum:
          - pending
          - ready
          description: Indexing state to transition the enabled namespace to.
          minLength: 1
        connection_id:
          type: integer
          description: ID of the connection. If omitted, defaults to the active connection.
          nullable: true
      required:
      - namespace_id
      - state
    postApiV4AdminMemberRolesRequest:
      type: object
      properties:
        name:
          type: string
          description: Name for the role. Defaults to `Admin role - custom`.
          nullable: true
        description:
          type: string
          description: Description for role.
          nullable: true
        read_admin_cicd:
          type: boolean
          description: Read CI/CD details for runners and jobs in the Admin Area.
          nullable: true
          default: false
        read_admin_groups:
          type: boolean
          description: Read group details in the Admin Area.
          nullable: true
          default: false
        read_admin_projects:
          type: boolean
          description: Read project details in the Admin Area.
          nullable: true
          default: false
        read_admin_subscription:
          type: boolean
          description: Read subscription details in the Admin area.
          nullable: true
          default: false
        read_admin_monitoring:
          type: boolean
          description: Read system information such as background migrations, health
            checks, and Gitaly in the Admin Area.
          nullable: true
          default: false
        read_admin_users:
          type: boolean
          description: Read the user list and user details in the Admin area.
          nullable: true
          default: false
    postApiV4GroupsIdBoardsRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the board.
          nullable: true
      required:
      - name
    putApiV4GroupsIdBoardsBoardIdRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the board.
          nullable: true
        hide_backlog_list:
          type: boolean
          description: If `true`, hides the Open list.
          nullable: true
        hide_closed_list:
          type: boolean
          description: If `true`, hides the Closed list.
          nullable: true
        assignee_id:
          type: integer
          description: ID of the assignee to scope the board to. Premium and Ultimate
            only.
          nullable: true
        milestone_id:
          type: integer
          description: The ID of a milestone to associate with board
          nullable: true
        labels:
          type: string
          description: Comma-separated list of label names
          nullable: true
        weight:
          type: integer
          description: The weight of the board
          nullable: true
    postApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsCreateRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the registered model.
          nullable: true
        description:
          type: string
          description: Description of the registered model.
          nullable: true
        tags:
          type: array
          description: Additional metadata for the registered model.
          items:
            type: object
            properties:
              key:
                type: string
                description: Name of the tag.
                nullable: true
              value:
                type: string
                description: Value of the tag.
                nullable: true
            required:
            - key
          nullable: true
      required:
      - name
    patchApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsUpdateRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the registered model.
          nullable: true
        description:
          type: string
          description: Description of the registered model.
          nullable: true
    postApiV4ProjectsIdMlMlflowApi20MlflowRegisteredModelsGetLatestVersionsRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the registered model.
          nullable: true
    postApiV4ProjectsIdMlMlflowApi20MlflowRunsCreateRequest:
      type: object
      properties:
        experiment_id:
          type: integer
          description: ID of the experiment, relative to the project.
          nullable: true
        start_time:
          type: integer
          description: Unix timestamp, in milliseconds, of when the run started.
          nullable: true
          default: 0
        user_id:
          type: string
          description: Any value provided is ignored.
          nullable: true
        tags:
          type: array
          description: Tags to store with the run. Tags are stored but not displayed.
          items:
            type: object
            properties:
              key:
                type: string
                description: Name of the tag.
                nullable: true
              value:
                type: string
                description: Value of the tag.
                nullable: true
            required:
            - key
          nullable: true
        run_name:
          type: string
          description: Name of the run.
          nullable: true
      required:
      - experiment_id
    postApiV4ProjectsIdMlMlflowApi20MlflowRunsSearchRequest:
      type: object
      properties:
        experiment_ids:
          type: array
          description: IDs of the experiments to search for runs, relative to the
            project.
          nullable: true
        max_results:
          type: integer
          description: Maximum number of runs to fetch in a page. The maximum is 1000.
          nullable: true
          default: 200
        order_by:
          oneOf:
          - type: string
            nullable: true
            default: created_at DESC
          - type: array
            items:
              type: string
            nullable: true
          description: 'Order criteria. Can be by a column of the run/candidate (`created_at`,
            `name`) or by a metric if prefixed by `metrics`. Valid examples: `created_at`,
            `created_at DESC`, `metrics.my_metric DESC`. A list uses its first entry.
            Sorting by candidate parameter or metadata is not supported.'
        page_token:
          type: string
          description: Token for pagination.
          nullable: true
      required:
      - experiment_ids
    postApiV4ProjectsIdMlMlflowApi20MlflowRunsUpdateRequest:
      type: object
      properties:
        run_id:
          type: string
          description: UUID of the candidate.
          nullable: true
        status:
          type: string
          enum:
          - RUNNING
          - SCHEDULED
          - FINISHED
          - FAILED
          - KILLED
          description: 'Status of the run. Accepts: ["RUNNING", "SCHEDULED", "FINISHED",
            "FAILED", "KILLED"].'
          nullable: true
        end_time:
          type: integer
          description: Ending time of the run.
          nullable: true
      required:
      - run_id
    postApiV4ProjectsIdMlMlflowApi20MlflowRunsLogMetricRequest:
      type: object
      properties:
        run_id:
          type: string
          description: UUID of the run.
          nullable: true
        key:
          type: string
          description: Name of the metric.
          nullable: true
        value:
          type: number
          description: Value of the metric.
          nullable: true
        timestamp:
          type: integer
          description: Unix timestamp, in milliseconds, when the metric was recorded.
          nullable: true
        step:
          type: integer
          description: Step at which the metric was recorded.
          nullable: true
      required:
      - run_id
      - key
      - value
      - timestamp
    postApiV4ProjectsIdMlMlflowApi20MlflowRunsLogParameterRequest:
      type: object
      properties:
        run_id:
          type: string
          description: UUID of the run.
          nullable: true
        key:
          type: string
          description: Name of the parameter.
          nullable: true
        value:
          type: string
          description: Value of the parameter.
          nullable: true
      required:
      - run_id
      - key
      - value
    postApiV4ProjectsIdMlMlflowApi20MlflowRunsSetTagRequest:
      type: object
      properties:
        run_id:
          type: string
          description: UUID of the run.
          nullable: true
        key:
          type: string
          description: Name of the tag.
          nullable: true
        value:
          type: string
          description: Value of the tag.
          nullable: true
      required:
      - run_id
      - key
      - value
    postApiV4ProjectsIdMlMlflowApi20MlflowRunsLogBatchRequest:
      type: object
      properties:
        run_id:
          type: string
          description: UUID of the run.
          nullable: true
        metrics:
          type: array
          description: Array of metrics to record for the run.
          items:
            type: object
            properties:
              key:
                type: string
                description: Name of the metric.
                nullable: true
              value:
                type: number
                description: Value of the metric.
                nullable: true
              timestamp:
                type: integer
                description: Unix timestamp, in milliseconds, when the metric was
                  recorded.
                nullable: true
              step:
                type: integer
                description: Step at which the metric was recorded.
                nullable: true
            required:
            - key
            - value
            - timestamp
          nullable: true
          default: []
        params:
          type: array
          description: Array of parameters to record for the run.
          items:
            type: object
            properties:
              key:
                type: string
                description: Name of the parameter.
                nullable: true
              value:
                type: string
                description: Value of the parameter.
                nullable: true
            required:
            - key
            - value
          nullable: true
          default: []
        tags:
          type: array
          description: Array of tags to set on the run.
          items:
            type: object
            properties:
              key:
                type: string
                description: Name of the tag.
                nullable: true
              value:
                type: string
                description: Value of the tag.
                nullable: true
            required:
            - key
            - value
          nullable: true
          default: []
      required:
      - run_id
    postApiV4ProjectsIdMlMlflowApi20MlflowRunsDeleteRequest:
      type: object
      properties:
        run_id:
          type: string
          description: UUID of the run.
          nullable: true
      required:
      - run_id
    postApiV4ProjectsIdMlMlflowApi20MlflowModelVersionsCreateRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the registered model to create the version for. Required.
          nullable: true
        description:
          type: string
          description: Description of the model version.
          nullable: true
        tags:
          type: array
          description: Additional metadata for a model version.
          items:
            type: object
            properties:
              key:
                type: string
                description: Name of the tag.
                nullable: true
              value:
                type: string
                description: Value of the tag.
                nullable: true
            required:
            - key
          nullable: true
        run_id:
          type: string
          description: Run ID of the candidate to be promoted to a model version.
          nullable: true
    patchApiV4ProjectsIdMlMlflowApi20MlflowModelVersionsUpdateRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the registered model.
          nullable: true
        description:
          type: string
          description: Description of the model version.
          nullable: true
    postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsSearchRequest:
      type: object
      properties:
        max_results:
          type: integer
          description: Maximum number of experiments to fetch in a page. The maximum
            is 1000.
          nullable: true
          default: 200
        order_by:
          oneOf:
          - type: string
            nullable: true
            default: created_at DESC
          - type: array
            items:
              type: string
            nullable: true
          description: Column and direction to sort experiments by, for example `created_at
            DESC` or `name`. Supported columns are `name`, `created_at`, `updated_at`,
            `last_updated_timestamp` and `id`. A list uses its first entry.
        page_token:
          type: string
          description: Token for pagination.
          nullable: true
        filter:
          type: string
          description: Ignored. Accepted for MLflow API compatibility.
          nullable: true
    postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsCreateRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the experiment.
          nullable: true
        tags:
          type: array
          description: Tags containing metadata about the experiment.
          items:
            type: object
            properties:
              key:
                type: string
                description: Name of the tag.
                nullable: true
              value:
                type: string
                description: Value of the tag.
                nullable: true
            required:
            - key
          nullable: true
        artifact_location:
          type: string
          description: Ignored. Accepted for MLflow API compatibility.
          nullable: true
      required:
      - name
    postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsSetExperimentTagRequest:
      type: object
      properties:
        experiment_id:
          type: string
          description: ID of the experiment.
          nullable: true
        key:
          type: string
          description: Name of the tag.
          nullable: true
        value:
          type: string
          description: Value of the tag.
          nullable: true
      required:
      - experiment_id
      - key
      - value
    postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsDeleteRequest:
      type: object
      properties:
        experiment_id:
          type: string
          description: ID of the experiment.
          nullable: true
      required:
      - experiment_id
    putApiV4UsersIdCustomAttributesKeyRequest:
      type: object
      properties:
        value:
          type: string
          description: Value of the custom attribute.
          nullable: true
      required:
      - value
    postApiV4UsersRequest:
      type: object
      properties:
        email:
          type: string
          description: Email address of the user.
          nullable: true
        password:
          type: string
          description: The password of the new user. If `force_random_password` or
            `reset_password` is `true`, it takes priority over `password`. At least
            one of `password`, `reset_password`, `force_random_password` must be provided.
          nullable: true
        reset_password:
          type: boolean
          description: Flag indicating the user will be sent a password reset token.
            Can be used with `force_random_password`. Takes priority over `password`.
            At least one of `password`, `reset_password`, `force_random_password`
            must be provided.
          nullable: true
        skip_confirmation:
          type: boolean
          description: Flag indicating the account is confirmed. Default is `false`.
          nullable: true
        force_random_password:
          type: boolean
          description: Flag indicating a random password will be set. Can be used
            with `reset_password`. Takes priority over `password`. At least one of
            `password`, `reset_password`, `force_random_password` must be provided.
          nullable: true
        name:
          type: string
          description: The name of the user
          nullable: true
        username:
          type: string
          description: The username of the user
          nullable: true
        linkedin:
          type: string
          description: The LinkedIn username
          nullable: true
        twitter:
          type: string
          description: The Twitter username
          nullable: true
        discord:
          type: string
          description: The Discord user ID
          nullable: true
        website_url:
          type: string
          description: The website of the user
          nullable: true
        github:
          type: string
          description: The GitHub username
          nullable: true
        organization:
          type: string
          description: The organization of the user. Empty string or nil clears the
            field.
          nullable: true
        projects_limit:
          type: integer
          description: The number of projects a user can create
          nullable: true
        extern_uid:
          type: string
          description: The external authentication provider UID. All or none of `extern_uid`,
            `provider` must be provided.
          nullable: true
        provider:
          type: string
          description: Name of the external authentication provider. All or none of
            `extern_uid`, `provider` must be provided.
          nullable: true
        bio:
          type: string
          description: The biography of the user
          nullable: true
        location:
          type: string
          description: The location of the user
          nullable: true
        pronouns:
          type: string
          description: The pronouns of the user
          nullable: true
        public_email:
          type: string
          description: The public email of the user. Must be a verified email address
            of the user.
          nullable: true
        commit_email:
          type: string
          description: The commit email, _private for private commit email
          nullable: true
        admin:
          type: boolean
          description: Flag indicating the user is an administrator. Default is `false`
            for new users.
          nullable: true
        can_create_group:
          type: boolean
          description: Flag indicating the user can create top-level groups
          nullable: true
        external:
          type: boolean
          description: Flag indicating the user is an external user. For new users,
            the default comes from the instance setting for new external users.
          nullable: true
        avatar:
          type: string
          format: binary
          description: Avatar image for user
          nullable: true
        theme_id:
          type: integer
          description: The GitLab theme for the user
          nullable: true
        color_scheme_id:
          type: integer
          description: The color scheme for the file viewer
          nullable: true
        private_profile:
          type: boolean
          description: Flag indicating the user has a private profile. For new users,
            the default comes from the instance setting for new user profiles.
          nullable: true
        note:
          type: string
          description: Admin note for this user
          nullable: true
        view_diffs_file_by_file:
          type: boolean
          description: If `true`, the user sees only one file diff per page.
          nullable: true
        policy_advanced_editor:
          type: boolean
          description: Flag indicating that advanced editor is enabled
          nullable: true
        shared_runners_minutes_limit:
          type: integer
          description: Maximum number of monthly compute minutes for this user. `nil`
            inherits the instance default, `0` means unlimited, and a value greater
            than `0` sets the limit. Can be set by administrators only. Premium and
            Ultimate only.
          nullable: true
        extra_shared_runners_minutes_limit:
          type: integer
          description: "(admin-only) Extra compute minutes quota for this user. Premium
            and Ultimate only."
          nullable: true
        group_id_for_saml:
          type: integer
          description: ID for group where SAML has been configured
          nullable: true
        auditor:
          type: boolean
          description: Flag indicating auditor status of the user. Default is `false`
            for new users. Premium and Ultimate only.
          nullable: true
      required:
      - email
      - name
      - username
    putApiV4UsersIdRequest:
      type: object
      properties:
        email:
          type: string
          description: Primary email address of the user.
          nullable: true
        password:
          type: string
          description: The password of the user
          nullable: true
        skip_reconfirmation:
          type: boolean
          description: Flag indicating the account skips the confirmation by email.
            Default is `false`.
          nullable: true
        name:
          type: string
          description: The name of the user
          nullable: true
        username:
          type: string
          description: The username of the user
          nullable: true
        linkedin:
          type: string
          description: The LinkedIn username
          nullable: true
        twitter:
          type: string
          description: The Twitter username
          nullable: true
        discord:
          type: string
          description: The Discord user ID
          nullable: true
        website_url:
          type: string
          description: The website of the user
          nullable: true
        github:
          type: string
          description: The GitHub username
          nullable: true
        organization:
          type: string
          description: The organization of the user. Empty string or nil clears the
            field.
          nullable: true
        projects_limit:
          type: integer
          description: The number of projects a user can create
          nullable: true
        extern_uid:
          type: string
          description: The external authentication provider UID. All or none of `extern_uid`,
            `provider` must be provided.
          nullable: true
        provider:
          type: string
          description: Name of the external authentication provider. All or none of
            `extern_uid`, `provider` must be provided.
          nullable: true
        bio:
          type: string
          description: The biography of the user
          nullable: true
        location:
          type: string
          description: The location of the user
          nullable: true
        pronouns:
          type: string
          description: The pronouns of the user
          nullable: true
        public_email:
          type: string
          description: The public email of the user. Must be a verified email address
            of the user.
          nullable: true
        commit_email:
          type: string
          description: The commit email, _private for private commit email
          nullable: true
        admin:
          type: boolean
          description: Flag indicating the user is an administrator. Default is `false`
            for new users.
          nullable: true
        can_create_group:
          type: boolean
          description: Flag indicating the user can create top-level groups
          nullable: true
        external:
          type: boolean
          description: Flag indicating the user is an external user. For new users,
            the default comes from the instance setting for new external users.
          nullable: true
        avatar:
          type: string
          format: binary
          description: Avatar image for user
          nullable: true
        theme_id:
          type: integer
          description: The GitLab theme for the user
          nullable: true
        color_scheme_id:
          type: integer
          description: The color scheme for the file viewer
          nullable: true
        private_profile:
          type: boolean
          description: Flag indicating the user has a private profile. For new users,
            the default comes from the instance setting for new user profiles.
          nullable: true
        note:
          type: string
          description: Admin note for this user
          nullable: true
        view_diffs_file_by_file:
          type: boolean
          description: If `true`, the user sees only one file diff per page.
          nullable: true
        policy_advanced_editor:
          type: boolean
          description: Flag indicating that advanced editor is enabled
          nullable: true
        shared_runners_minutes_limit:
          type: integer
          description: Maximum number of monthly compute minutes for this user. `nil`
            inherits the instance default, `0` means unlimited, and a value greater
            than `0` sets the limit. Can be set by administrators only. Premium and
            Ultimate only.
          nullable: true
        extra_shared_runners_minutes_limit:
          type: integer
          description: "(admin-only) Extra compute minutes quota for this user. Premium
            and Ultimate only."
          nullable: true
        group_id_for_saml:
          type: integer
          description: ID for group where SAML has been configured
          nullable: true
        auditor:
          type: boolean
          description: Flag indicating auditor status of the user. Default is `false`
            for new users. Premium and Ultimate only.
          nullable: true
    postApiV4UsersUserIdKeysRequest:
      type: object
      properties:
        key:
          type: string
          description: Public key value of the SSH key.
          nullable: true
        title:
          type: string
          description: Title of the SSH key.
          nullable: true
        expires_at:
          type: string
          format: date-time
          description: Date when the SSH key expires.
          nullable: true
        usage_type:
          type: string
          enum:
          - auth_and_signing
          - auth
          - signing
          description: Usage scope for the key.
          nullable: true
          default: auth_and_signing
      required:
      - key
      - title
    postApiV4UsersIdGpgKeysRequest:
      type: object
      properties:
        key:
          type: string
          description: Public key value of the GPG key.
          nullable: true
      required:
      - key
    postApiV4UsersIdEmailsRequest:
      type: object
      properties:
        email:
          type: string
          description: Email address to add to the user account.
          nullable: true
        skip_confirmation:
          type: boolean
          description: If `true`, skips email confirmation and assumes the email is
            verified. Default is `false`.
          nullable: true
      required:
      - email
    postApiV4UsersUserIdImpersonationTokensRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the impersonation token.
          nullable: true
        description:
          type: string
          description: Description of the impersonation token. Limited to 255 characters.
          nullable: true
        expires_at:
          type: string
          format: date
          description: Date when the impersonation token expires. If omitted, the
            token does not expire, which is accepted only when [token expiry is not
            enforced](https://docs.gitlab.com/user/profile/personal_access_tokens/#access-token-expiration).
          nullable: true
        scopes:
          type: array
          items:
            type: string
          description: Array of approved scopes. For a list of possible values, see
            [access token scopes](https://docs.gitlab.com/security/tokens/access_token_scopes/).
            Required if `granular_scopes` is not provided. Mutually exclusive with
            `granular_scopes`.
          nullable: true
        granular_scopes:
          type: array
          description: List of granular scopes to assign, one object for each scope.
            Each scope pairs an access level with a list of permissions. Mutually
            exclusive with `scopes`.
          items:
            type: object
            properties:
              access:
                type: string
                enum:
                - personal_projects
                - all_memberships
                - selected_memberships
                - user
                - instance
                description: Access to configure for the granular scope.
                minLength: 1
              permissions:
                type: array
                items:
                  type: string
                description: List of permissions for the granular scope.
                nullable: true
              project_ids:
                type: array
                items:
                  type: integer
                description: IDs of projects to associate with the granular scope,
                  when access is `selected_memberships`.
                nullable: true
              group_ids:
                type: array
                items:
                  type: integer
                description: IDs of groups to associate with the granular scope, when
                  access is `selected_memberships`.
                nullable: true
            required:
            - access
            - permissions
          nullable: true
      required:
      - name
    postApiV4UsersUserIdPersonalAccessTokensRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the access token.
          example: My token
          nullable: true
        description:
          type: string
          description: Description of the access token. Limited to 255 characters.
          example: A token used for k8s
          nullable: true
        expires_at:
          type: string
          format: date
          description: Expiration date of the access token in ISO format (YYYY-MM-DD).
            If undefined and token expiry is enforced, the date is set to the maximum
            allowable lifetime limit. Otherwise, the token does not expire.
          example: '2021-01-31'
          nullable: true
        scopes:
          type: array
          items:
            type: string
            enum:
            - api
            - read_api
            - read_user
            - create_runner
            - manage_runner
            - k8s_proxy
            - self_rotate
            - mcp
            - mcp_orbit
            - granular
            - read_repository
            - write_repository
            - read_registry
            - write_registry
            - read_virtual_registry
            - write_virtual_registry
            - read_observability
            - write_observability
            - ai_features
            - sudo
            - admin_mode
            - read_service_ping
          description: Array of approved scopes. For a list of possible values, see
            [access token scopes](https://docs.gitlab.com/security/tokens/access_token_scopes/).
            Exactly one of `scopes`, `granular_scopes` must be provided.
          nullable: true
        granular_scopes:
          type: array
          description: List of granular scopes to assign, one object for each scope.
            Each scope pairs an access level with a list of permissions. Exactly one
            of `scopes`, `granular_scopes` must be provided.
          items:
            type: object
            properties:
              access:
                type: string
                enum:
                - personal_projects
                - all_memberships
                - selected_memberships
                - user
                - instance
                description: Access to configure for the granular scope.
                minLength: 1
              permissions:
                type: array
                items:
                  type: string
                description: List of permissions for the granular scope.
                nullable: true
              project_ids:
                type: array
                items:
                  type: integer
                description: IDs of projects to associate with the granular scope,
                  when access is `selected_memberships`.
                nullable: true
              group_ids:
                type: array
                items:
                  type: integer
                description: IDs of groups to associate with the granular scope, when
                  access is `selected_memberships`.
                nullable: true
            required:
            - access
            - permissions
          nullable: true
      required:
      - name
    postApiV4UserKeysRequest:
      type: object
      properties:
        key:
          type: string
          description: Public key value of the SSH key.
          nullable: true
        title:
          type: string
          description: Title of the SSH key.
          nullable: true
        expires_at:
          type: string
          format: date-time
          description: Date when the SSH key expires.
          nullable: true
        usage_type:
          type: string
          enum:
          - auth_and_signing
          - auth
          - signing
          description: Usage scope for the key.
          nullable: true
          default: auth_and_signing
      required:
      - key
      - title
    postApiV4UserGpgKeysRequest:
      type: object
      properties:
        key:
          type: string
          description: Public key value of the GPG key.
          nullable: true
      required:
      - key
    postApiV4UserEmailsRequest:
      type: object
      properties:
        email:
          type: string
          description: Email address to add to the account.
          nullable: true
      required:
      - email
    putApiV4UserUserIdCreditCardValidationRequest:
      type: object
      properties:
        credit_card_validated_at:
          type: string
          format: date-time
          description: Time when the user's credit card was validated.
          nullable: true
        credit_card_expiration_month:
          type: integer
          description: Month the credit card expires.
          nullable: true
        credit_card_expiration_year:
          type: integer
          description: Year the credit card expires.
          nullable: true
        credit_card_holder_name:
          type: string
          description: Name of the credit card holder.
          nullable: true
        credit_card_mask_number:
          type: string
          description: Last 4 digits of the credit card number.
          nullable: true
        credit_card_type:
          type: string
          description: Name of the credit card network.
          nullable: true
        zuora_payment_method_xid:
          type: string
          description: ID of the Zuora payment method.
          nullable: true
        stripe_setup_intent_xid:
          type: string
          description: ID of the Stripe setup intent.
          nullable: true
        stripe_payment_method_xid:
          type: string
          description: ID of the Stripe payment method.
          nullable: true
        stripe_card_fingerprint:
          type: string
          description: Stripe credit card fingerprint.
          nullable: true
      required:
      - credit_card_validated_at
      - credit_card_expiration_month
      - credit_card_expiration_year
      - credit_card_holder_name
      - credit_card_mask_number
      - credit_card_type
    putApiV4UserPreferencesRequest:
      type: object
      properties:
        view_diffs_file_by_file:
          type: boolean
          description: If `true`, the user sees only one file diff per page. At least
            one of `view_diffs_file_by_file`, `show_whitespace_in_diffs`, `pass_user_identities_to_ci_jwt`,
            `policy_advanced_editor`, `emoji_skin_tone`, `mobile_push_working_hours_enabled`,
            `mobile_push_working_hours_start`, `mobile_push_working_hours_end`, `mobile_push_working_days`,
            `mobile_push_working_hours_time_zone` must be provided.
          nullable: true
        show_whitespace_in_diffs:
          type: boolean
          description: If `true`, the user sees whitespace changes in diffs. At least
            one of `view_diffs_file_by_file`, `show_whitespace_in_diffs`, `pass_user_identities_to_ci_jwt`,
            `policy_advanced_editor`, `emoji_skin_tone`, `mobile_push_working_hours_enabled`,
            `mobile_push_working_hours_start`, `mobile_push_working_hours_end`, `mobile_push_working_days`,
            `mobile_push_working_hours_time_zone` must be provided.
          nullable: true
        pass_user_identities_to_ci_jwt:
          type: boolean
          description: If `true`, passes the user's external identities to CI jobs
            as part of a JSON web token. This attribute does not contain enough information
            to identify or authorize the user in an external system. It is internal
            to GitLab and must not be passed to third-party services. For more information,
            see [Token Payload](https://docs.gitlab.com/ci/secrets/id_token_authentication/#token-payload).
            At least one of `view_diffs_file_by_file`, `show_whitespace_in_diffs`,
            `pass_user_identities_to_ci_jwt`, `policy_advanced_editor`, `emoji_skin_tone`,
            `mobile_push_working_hours_enabled`, `mobile_push_working_hours_start`,
            `mobile_push_working_hours_end`, `mobile_push_working_days`, `mobile_push_working_hours_time_zone`
            must be provided.
          nullable: true
        policy_advanced_editor:
          type: boolean
          description: If `true`, enables the advanced editor. At least one of `view_diffs_file_by_file`,
            `show_whitespace_in_diffs`, `pass_user_identities_to_ci_jwt`, `policy_advanced_editor`,
            `emoji_skin_tone`, `mobile_push_working_hours_enabled`, `mobile_push_working_hours_start`,
            `mobile_push_working_hours_end`, `mobile_push_working_days`, `mobile_push_working_hours_time_zone`
            must be provided.
          nullable: true
        emoji_skin_tone:
          type: string
          enum:
          - default
          - light
          - medium_light
          - medium
          - medium_dark
          - dark
          description: Default skin tone for emoji that have skin tone variants. One
            of `default`, `light`, `medium_light`, `medium`, `medium_dark`, or `dark`.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/633107) in
            GitLab 19.6. At least one of `view_diffs_file_by_file`, `show_whitespace_in_diffs`,
            `pass_user_identities_to_ci_jwt`, `policy_advanced_editor`, `emoji_skin_tone`,
            `mobile_push_working_hours_enabled`, `mobile_push_working_hours_start`,
            `mobile_push_working_hours_end`, `mobile_push_working_days`, `mobile_push_working_hours_time_zone`
            must be provided.
          nullable: true
        mobile_push_working_hours_enabled:
          type: boolean
          description: If `true`, mobile push notifications are sent only during the
            working hours below. To-dos created outside them are summarized in one
            notification when the working hours begin. Setting this to `true` requires
            a start time, an end time that differs from it, a time zone, and at least
            one working day. Send them in the same request or set them first. At least
            one of `view_diffs_file_by_file`, `show_whitespace_in_diffs`, `pass_user_identities_to_ci_jwt`,
            `policy_advanced_editor`, `emoji_skin_tone`, `mobile_push_working_hours_enabled`,
            `mobile_push_working_hours_start`, `mobile_push_working_hours_end`, `mobile_push_working_days`,
            `mobile_push_working_hours_time_zone` must be provided.
          nullable: true
        mobile_push_working_hours_start:
          type: integer
          minimum: 0
          maximum: 1439
          description: Start of the working hours as minutes after midnight, for example
            `540` for 09:00. At least one of `view_diffs_file_by_file`, `show_whitespace_in_diffs`,
            `pass_user_identities_to_ci_jwt`, `policy_advanced_editor`, `emoji_skin_tone`,
            `mobile_push_working_hours_enabled`, `mobile_push_working_hours_start`,
            `mobile_push_working_hours_end`, `mobile_push_working_days`, `mobile_push_working_hours_time_zone`
            must be provided.
          nullable: true
        mobile_push_working_hours_end:
          type: integer
          minimum: 0
          maximum: 1439
          description: End of the working hours as minutes after midnight. A value
            before the start means the window crosses midnight. At least one of `view_diffs_file_by_file`,
            `show_whitespace_in_diffs`, `pass_user_identities_to_ci_jwt`, `policy_advanced_editor`,
            `emoji_skin_tone`, `mobile_push_working_hours_enabled`, `mobile_push_working_hours_start`,
            `mobile_push_working_hours_end`, `mobile_push_working_days`, `mobile_push_working_hours_time_zone`
            must be provided.
          nullable: true
        mobile_push_working_days:
          type: array
          items:
            type: string
            enum:
            - monday
            - tuesday
            - wednesday
            - thursday
            - friday
            - saturday
            - sunday
          description: Weekdays with working hours, for example `["monday", "tuesday"]`.
            Defaults to Monday through Friday. The array you send replaces the whole
            set. At least one of `view_diffs_file_by_file`, `show_whitespace_in_diffs`,
            `pass_user_identities_to_ci_jwt`, `policy_advanced_editor`, `emoji_skin_tone`,
            `mobile_push_working_hours_enabled`, `mobile_push_working_hours_start`,
            `mobile_push_working_hours_end`, `mobile_push_working_days`, `mobile_push_working_hours_time_zone`
            must be provided.
          nullable: true
        mobile_push_working_hours_time_zone:
          type: string
          description: IANA time zone the working hours are defined in, for example
            `Europe/Berlin`. At least one of `view_diffs_file_by_file`, `show_whitespace_in_diffs`,
            `pass_user_identities_to_ci_jwt`, `policy_advanced_editor`, `emoji_skin_tone`,
            `mobile_push_working_hours_enabled`, `mobile_push_working_hours_start`,
            `mobile_push_working_hours_end`, `mobile_push_working_days`, `mobile_push_working_hours_time_zone`
            must be provided.
          nullable: true
          maxLength: 64
    putApiV4UserStatusRequest:
      type: object
      properties:
        emoji:
          type: string
          description: Name of the emoji to use as a status. If omitted, `speech_balloon`
            is used. Must be one of the names in the [Gemojione index](https://github.com/bonusly/gemojione/blob/master/config/index.json).
          nullable: true
        message:
          type: string
          description: Message to set as a status. Can contain emoji codes. Maximum
            of 100 characters.
          nullable: true
        availability:
          type: string
          description: Availability of the user. Possible values are `busy` and `not_set`.
          nullable: true
        clear_status_after:
          type: string
          enum:
          - 30_minutes
          - 3_hours
          - 8_hours
          - 1_day
          - 3_days
          - 7_days
          - 30_days
          description: Time after which the status is cleared automatically.
          nullable: true
    patchApiV4UserStatusRequest:
      type: object
      properties:
        emoji:
          type: string
          description: Name of the emoji to use as a status. If omitted, `speech_balloon`
            is used. Must be one of the names in the [Gemojione index](https://github.com/bonusly/gemojione/blob/master/config/index.json).
          nullable: true
        message:
          type: string
          description: Message to set as a status. Can contain emoji codes. Maximum
            of 100 characters.
          nullable: true
        availability:
          type: string
          description: Availability of the user. Possible values are `busy` and `not_set`.
          nullable: true
        clear_status_after:
          type: string
          enum:
          - 30_minutes
          - 3_hours
          - 8_hours
          - 1_day
          - 3_days
          - 7_days
          - 30_days
          description: Time after which the status is cleared automatically.
          nullable: true
    putApiV4UserAvatarRequest:
      type: object
      properties:
        avatar:
          type: string
          format: binary
          description: The avatar file (generated by Multipart middleware)
          nullable: true
      required:
      - avatar
    postApiV4UserPersonalAccessTokensRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the access token.
          example: My token
          nullable: true
        description:
          type: string
          description: Description of the access token. Limited to 255 characters.
          example: A token used for k8s
          nullable: true
        expires_at:
          type: string
          format: date
          description: Expiration date of the access token in ISO format (YYYY-MM-DD).
            If undefined and token expiry is enforced, the date is set to the maximum
            allowable lifetime limit. Otherwise, the token does not expire.
          example: '2021-01-31'
          nullable: true
        granular_scopes:
          type: array
          description: List of granular scopes to assign, one object for each scope.
            Each scope pairs an access level with a list of permissions. Exactly one
            of `scopes`, `granular_scopes` must be provided.
          items:
            type: object
            properties:
              access:
                type: string
                enum:
                - personal_projects
                - all_memberships
                - selected_memberships
                - user
                - instance
                description: Access to configure for the granular scope.
                minLength: 1
              permissions:
                type: array
                items:
                  type: string
                description: List of permissions for the granular scope.
                nullable: true
              project_ids:
                type: array
                items:
                  type: integer
                description: IDs of projects to associate with the granular scope,
                  when access is `selected_memberships`.
                nullable: true
              group_ids:
                type: array
                items:
                  type: integer
                description: IDs of groups to associate with the granular scope, when
                  access is `selected_memberships`.
                nullable: true
            required:
            - access
            - permissions
          nullable: true
        scopes:
          type: array
          items:
            type: string
            enum:
            - k8s_proxy
            - self_rotate
          description: Array of approved scopes. For a list of possible values, see
            [access token scopes](https://docs.gitlab.com/security/tokens/access_token_scopes/).
            Exactly one of `scopes`, `granular_scopes` must be provided.
          nullable: true
      required:
      - name
    postApiV4UserApplicationsRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the application.
          example: MyApplication
          nullable: true
        redirect_uri:
          type: string
          description: Redirect URI of the application.
          example: https://redirect.uri
          nullable: true
        scopes:
          type: string
          description: Scopes available to the application. Separate multiple scopes
            with a space.
          minLength: 1
        confidential:
          type: boolean
          description: If `true`, the application can securely store client credentials,
            such as the client secret. Non-confidential applications (such as native
            mobile apps and Single Page Apps) might expose client credentials.
          nullable: true
          default: true
      required:
      - name
      - redirect_uri
      - scopes
    putApiV4UserApplicationsIdRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the application.
          nullable: true
        scopes:
          type: string
          description: Scopes available to the application. Separate multiple scopes
            with a space.
          minLength: 1
    postApiV4SnippetRepositoryStorageMovesRequest:
      type: object
      properties:
        source_storage_name:
          type: string
          description: Name of the source storage shard.
          minLength: 1
        destination_storage_name:
          type: string
          description: Name of the destination storage shard. If not provided, the
            storage is selected [automatically based on storage weights](https://docs.gitlab.com/administration/repository_storage_paths/#configure-where-new-repositories-are-stored).
          nullable: true
      required:
      - source_storage_name
    postApiV4SnippetsIdRepositoryStorageMovesRequest:
      type: object
      properties:
        destination_storage_name:
          type: string
          description: Name of the destination storage shard. If not provided, the
            storage is selected [automatically based on storage weights](https://docs.gitlab.com/administration/repository_storage_paths/#configure-where-new-repositories-are-stored).
          nullable: true
    putApiV4ApplicationSettingsRequest:
      type: object
      properties:
        admin_mode:
          type: boolean
          description: If `true`, requires administrators to re-authenticate before
            performing potentially dangerous administrative operations.
          nullable: true
        admin_notification_email:
          type: string
          description: If set, [abuse reports](https://docs.gitlab.com/administration/review_abuse_reports/)
            are sent to this address. Abuse reports are always available in the **Admin**
            area. Deprecated. Use `abuse_notification_email` instead.
          nullable: true
        abuse_notification_email:
          type: string
          description: If set, [abuse reports](https://docs.gitlab.com/administration/review_abuse_reports/)
            are sent to this address. Abuse reports are always available in the **Admin**
            area.
          nullable: true
        after_sign_up_text:
          type: string
          description: Text shown after sign up.
          nullable: true
        after_sign_out_path:
          type: string
          description: Users are redirected to this page after they sign out.
          nullable: true
        akismet_enabled:
          type: boolean
          description: If `true`, helps prevent bots from creating issues. Requires
            `akismet_api_key`.
          nullable: true
        akismet_api_key:
          type: string
          description: Generate API key at http://www.akismet.com
          nullable: true
        asset_proxy_enabled:
          type: boolean
          description: Enable proxying of assets
          nullable: true
        asset_proxy_url:
          type: string
          description: URL of the asset proxy server
          nullable: true
        asset_proxy_secret_key:
          type: string
          description: Shared secret with the asset proxy server
          nullable: true
        asset_proxy_whitelist:
          type: array
          items:
            type: string
          description: Assets that match these domains are not proxied. Wildcards
            allowed. Your GitLab installation URL is automatically allowlisted. GitLab
            restart is required to apply changes. Deprecated. Use `asset_proxy_allowlist`
            instead.
          nullable: true
        asset_proxy_allowlist:
          type: array
          items:
            type: string
          description: Assets that match these domains are not proxied. Wildcards
            allowed. Your GitLab installation URL is automatically allowlisted. GitLab
            restart is required to apply changes.
          nullable: true
        authn_data_retention_cleanup_enabled:
          type: boolean
          description: If `true`, runs cleanup workers that permanently delete authentication
            login history older than one year, and previously revoked OAuth access
            tokens and grants older than one month. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/579002)
            in GitLab 18.7.
          nullable: true
        container_registry_token_expire_delay:
          type: integer
          description: Duration, in minutes, that container registry authorization
            tokens remain valid.
          nullable: true
        oauth_access_token_expires_in:
          type: integer
          description: 'Maximum lifetime in seconds of all new OAuth access tokens
            issued by the instance. Minimum value: `300` (5 minutes). Default value:
            `7200` (2 hours). If blank or `null`, uses default value. Does not affect
            existing OAuth access tokens.'
          nullable: true
        decompress_archive_file_timeout:
          type: integer
          description: Timeout for decompressing archived files, in seconds. Set to
            `0` to disable the timeout.
          nullable: true
        default_artifacts_expire_in:
          type: string
          description: Set the default expiration time for each job's artifacts.
          nullable: true
        default_ci_config_path:
          type: string
          description: Default CI/CD configuration file and path for new projects.
            If empty, new projects use `.gitlab-ci.yml`.
          nullable: true
        default_project_creation:
          type: integer
          enum:
          - 0
          - 3
          - 4
          - 1
          - 2
          description: 'Default minimum role required to create projects. Can take:
            `0` _(No one)_, `1` _(Maintainers)_, `2` _(Developers)_, `3` _(Administrators)_,
            or `4` _(Owners)_.'
          nullable: true
        default_remove_source_branch_after_merge:
          type: boolean
          description: Enable the delete source branch option by default for new projects
          nullable: true
        default_branch_protection:
          type: integer
          enum:
          - 0
          - 3
          - 1
          - 2
          - 4
          description: Level of protection for the default branch. [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/408314)
            in GitLab 17.0. Use `default_branch_protection_defaults` instead.
          nullable: true
        default_branch_protection_defaults:
          type: object
          description: Default branch protection settings. For available options,
            see [Options for `default_branch_protection_defaults`](https://docs.gitlab.com/api/groups/#options-for-default_branch_protection_defaults).
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/408314) in
            GitLab 17.0.
          properties:
            allowed_to_push:
              type: array
              description: Array of access levels allowed to push to the default branch.
              items:
                type: object
                properties:
                  access_level:
                    type: integer
                    enum:
                    - 30
                    - 40
                    - 60
                    - 0
                    description: Access level allowed to push to the default branch.
                required:
                - access_level
              nullable: true
            allow_force_push:
              type: boolean
              description: If `true`, allows force push for all users with push access.
              nullable: true
            allowed_to_merge:
              type: array
              description: Array of access levels allowed to merge into the default
                branch.
              items:
                type: object
                properties:
                  access_level:
                    type: integer
                    enum:
                    - 30
                    - 40
                    - 60
                    - 0
                    description: Access level allowed to merge into the default branch.
                required:
                - access_level
              nullable: true
            code_owner_approval_required:
              type: boolean
              description: Require approval from code owners
              nullable: true
            developer_can_initial_push:
              type: boolean
              description: If `true`, allows developers to make the initial push.
              nullable: true
          nullable: true
        default_group_visibility:
          type: string
          enum:
          - private
          - internal
          - public
          description: What visibility level new groups receive. Default is `private`.
            Cannot be set to any levels in `restricted_visibility_levels`.
          nullable: true
        default_project_visibility:
          type: string
          enum:
          - private
          - internal
          - public
          description: What visibility level new projects receive. Default is `private`.
            Cannot be set to any levels in `restricted_visibility_levels`.
          nullable: true
        default_projects_limit:
          type: integer
          description: Maximum number of personal projects per user. Default is `100000`.
          nullable: true
        default_snippet_visibility:
          type: string
          enum:
          - private
          - internal
          - public
          description: What visibility level new snippets receive. Default is `private`.
          nullable: true
        dependency_management_settings:
          type: object
          description: 'Dependency management settings. Set `security_update_scheduler_max_concurrency`
            (integer) to cap the number of security update scheduler jobs that run
            concurrently across the Sidekiq fleet. Default: `30`. Capped at `200`.
            Set to `0` to remove the concurrency limit. Set `security_update_scheduler_project_period_in_seconds`
            (integer) to the seconds between security update scheduler runs for each
            project. Default: `300`. Maximum: `86400`. Set the period to `0` to remove
            the rate limit. Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/239173)
            in GitLab 19.1.'
          properties:
            security_update_scheduler_max_concurrency:
              type: integer
              description: Maximum number of dependency management security update
                scheduler jobs to run concurrently across the Sidekiq fleet.
              nullable: true
            security_update_scheduler_project_period_in_seconds:
              type: integer
              description: 'Seconds between dependency management security update
                scheduler runs for each project. Default: `300`. Maximum: `86400`.
                Set to `0` to remove the limit.'
              nullable: true
          nullable: true
        disable_admin_oauth_scopes:
          type: boolean
          description: Stop administrators from connecting to non-trusted OAuth applications.
          nullable: true
        disable_feed_token:
          type: boolean
          description: Disable display of RSS/Atom and Calendar `feed_tokens`
          nullable: true
        disabled_oauth_sign_in_sources:
          type: array
          items:
            type: string
          description: OAuth sign-in sources to disable.
          nullable: true
        discussions_resolve_limit:
          type: integer
          description: 'Maximum number of thread resolve and unresolve requests per
            minute for each user. Default: `0`, which disables the rate limit. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/606720)
            in GitLab 19.6.'
          nullable: true
        draft_notes_create_limit:
          type: integer
          description: 'Maximum number of draft note create requests per minute for
            each user. Default: `0`, which disables the rate limit. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/636471)
            in GitLab 19.6.'
          nullable: true
        domain_denylist_enabled:
          type: boolean
          description: If `true`, enables the domain denylist for sign-ups. Requires
            `domain_denylist`.
          nullable: true
        domain_denylist:
          type: array
          items:
            type: string
          description: 'Users with e-mail addresses that match these domain(s) will
            NOT be able to sign-up. Wildcards allowed. Enter multiple entries on separate
            lines. Ex: domain.com, *.domain.com'
          nullable: true
        domain_allowlist:
          type: array
          items:
            type: string
          description: Only users with email addresses that match these domains can
            sign up. Wildcards allowed. For example, `domain.com` or `*.domain.com`.
            If empty, all domains are allowed.
          nullable: true
        outbound_local_requests_whitelist:
          type: array
          items:
            type: string
          description: List of trusted domains or IP addresses to which local requests
            are allowed when local requests for webhooks and integrations are disabled.
          nullable: true
        email_otp_enabled:
          type: boolean
          description: If `true`, enables email-based one-time passwords (OTP) as
            a multi-factor authentication method. Requires `require_email_verification_on_account_locked`
            to be `true`.
          nullable: true
        environment_delete_rows_limit_per_user:
          type: integer
          description: Maximum number of deployment, job, and merge request link rows
            each user can delete with environments every minute.
          nullable: true
        iframe_rendering_enabled:
          type: boolean
          description: If `true`, allows rendering of iframes in Markdown.
          nullable: true
        iframe_rendering_allowlist:
          type: array
          items:
            type: string
          description: IDs of embed providers users can embed content from. Enter
            multiple entries separated by commas or on separate lines.
          nullable: true
        iframe_rendering_allowlist_raw:
          type: string
          description: Raw newline- or comma-separated list of IDs of embed providers
            users can embed content from.
          nullable: true
        eks_integration_enabled:
          type: boolean
          description: Enable integration with Amazon EKS
          nullable: true
        eks_account_id:
          type: string
          description: Amazon account ID for EKS integration.
          nullable: true
        eks_access_key_id:
          type: string
          description: Access key ID for the EKS integration IAM user.
          nullable: true
        eks_secret_access_key:
          type: string
          description: Secret access key for the EKS integration IAM user.
          nullable: true
        email_author_in_body:
          type: boolean
          description: If `true`, includes the name of the issue, merge request, or
            comment author in the email body. Useful when email servers do not support
            overriding the sender name.
          nullable: true
        email_confirmation_setting:
          type: string
          enum:
          - 'off'
          - soft
          - hard
          description: Specifies whether users must confirm their email address before
            signing in. `off` does not require confirmation, `soft` allows sign-in
            during a confirmation period, and `hard` requires confirmation before
            sign-in.
          nullable: true
        enabled_git_access_protocol:
          type: string
          enum:
          - ssh
          - http
          - all
          description: Protocol allowed for Git access. Set to `all` to allow both
            SSH and HTTP(S).
          nullable: true
        gitpod_enabled:
          type: boolean
          description: If `true`, enables [Ona integration](https://docs.gitlab.com/integration/gitpod/).
            Requires `gitpod_url`.
          nullable: true
        gitpod_url:
          type: string
          description: Ona instance URL for the integration.
          nullable: true
        gitaly_timeout_default:
          type: integer
          description: Default Gitaly timeout, in seconds. Set to `0` to disable timeouts.
          nullable: true
        gitaly_timeout_fast:
          type: integer
          description: Gitaly fast operation timeout, in seconds. Set to 0 to disable
            timeouts.
          nullable: true
        gitaly_timeout_medium:
          type: integer
          description: Medium Gitaly timeout, in seconds. Set to 0 to disable timeouts.
          nullable: true
        grafana_enabled:
          type: boolean
          description: If `true`, enables Grafana.
          nullable: true
        grafana_url:
          type: string
          description: Grafana URL.
          nullable: true
        gravatar_enabled:
          type: boolean
          description: If `true`, enables the Gravatar service.
          nullable: true
        help_page_hide_commercial_content:
          type: boolean
          description: If `true`, hides marketing-related entries from help.
          nullable: true
        help_page_support_url:
          type: string
          description: Alternate support URL for help page and help dropdown.
          nullable: true
        help_page_documentation_base_url:
          type: string
          description: Alternate documentation pages URL.
          nullable: true
        help_page_text:
          type: string
          description: Custom text displayed on the help page.
          nullable: true
        home_page_url:
          type: string
          description: Users who are not signed in are redirected to this page.
          nullable: true
        housekeeping_enabled:
          type: boolean
          description: Enable automatic repository housekeeping (git repack, git gc)
          nullable: true
        housekeeping_full_repack_period:
          type: integer
          description: Number of Git pushes after which a full `git repack` is run.
            Deprecated. Use `housekeeping_optimize_repository_period` instead. All
            or none of `housekeeping_full_repack_period`, `housekeeping_gc_period`,
            `housekeeping_incremental_repack_period` must be provided.
          nullable: true
        housekeeping_gc_period:
          type: integer
          description: Number of Git pushes after which `git gc` is run. Deprecated.
            Use `housekeeping_optimize_repository_period` instead. All or none of
            `housekeeping_full_repack_period`, `housekeeping_gc_period`, `housekeeping_incremental_repack_period`
            must be provided.
          nullable: true
        housekeeping_incremental_repack_period:
          type: integer
          description: Number of Git pushes after which an incremental `git repack`
            is run. Deprecated. Use `housekeeping_optimize_repository_period` instead.
            Exactly one of `housekeeping_incremental_repack_period`, `housekeeping_optimize_repository_period`
            must be provided. All or none of `housekeeping_full_repack_period`, `housekeeping_gc_period`,
            `housekeeping_incremental_repack_period` must be provided.
          nullable: true
        housekeeping_optimize_repository_period:
          type: integer
          description: Number of Git pushes after which Gitaly is asked to optimize
            a repository. Exactly one of `housekeeping_incremental_repack_period`,
            `housekeeping_optimize_repository_period` must be provided.
          nullable: true
        html_emails_enabled:
          type: boolean
          description: If `true`, sends emails in both HTML and plain text formats.
            If `false`, sends emails in plain text only. Defaults to `true`.
          nullable: true
        import_sources:
          type: array
          items:
            type: string
            enum:
            - github
            - bitbucket
            - bitbucket_server
            - fogbugz
            - git
            - gitlab_project
            - gitea
            - manifest
          description: Sources to allow project import from. OmniAuth must be configured
            for GitHub, Bitbucket, and GitLab.com.
          nullable: true
        invisible_captcha_enabled:
          type: boolean
          description: If `true`, enables Invisible CAPTCHA spam detection during
            account creation.
          nullable: true
        max_artifacts_size:
          type: integer
          description: Maximum file size, in MB, for each job's artifacts.
          nullable: true
        max_attachment_size:
          type: integer
          description: Maximum attachment size in MB.
          nullable: true
        max_export_size:
          type: integer
          description: Maximum export size in MB
          nullable: true
        max_github_response_size_limit:
          type: integer
          description: Maximum size in MB for GitHub API responses. Set to `0` for
            unlimited size.
          nullable: true
        max_github_response_json_value_count:
          type: integer
          description: Maximum object count for GitHub API responses. Set to `0` for
            unlimited. The count is an estimate based on the number of `:`, `,`, `{`,
            and `[` characters in the response.
          nullable: true
        max_import_size:
          type: integer
          description: Maximum import size in MB
          nullable: true
        max_import_record_size:
          type: integer
          description: Maximum size in MiB of a single record in an import file. Set
            to `0` for unlimited. Default is `50`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/631025)
            in GitLab 19.7.
          nullable: true
        max_import_remote_file_size:
          type: integer
          description: Maximum remote file size in MB for imports from external object
            storages
          nullable: true
        max_decompressed_archive_size:
          type: integer
          description: Maximum decompressed file size for imported archives in MB.
            Set to `0` for unlimited. Default is `25600`.
          nullable: true
        max_pages_size:
          type: integer
          description: Maximum size of each GitLab Pages site in MB. Set to `0` to
            allow up to 1 TB.
          nullable: true
        max_pages_custom_domains_per_project:
          type: integer
          description: Maximum number of GitLab Pages custom domains per project
          nullable: true
        max_terraform_state_size_bytes:
          type: integer
          description: Maximum size of the Terraform state file in bytes. Set to `0`
            for unlimited size.
          nullable: true
        merge_requests_create_limit:
          type: integer
          description: 'Maximum number of merge requests a user can create per minute.
            Default: `0`, which disables the rate limit. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/606714)
            in GitLab 19.6.'
          nullable: true
        merge_requests_merge_ref_limit:
          type: integer
          description: 'Maximum number of merge ref requests per minute for each user
            or IP address. Default: `0`, which disables the rate limit. Introduced
            in GitLab 19.7.'
          nullable: true
        merge_requests_rebase_limit:
          type: integer
          description: 'Maximum number of merge request rebases per minute for each
            user. Default: `30`. Set to `0` to disable the rate limit. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/606716)
            in GitLab 19.6.'
          nullable: true
        merge_requests_read_diffs_limit:
          type: integer
          description: 'Maximum number of merge request changes, diffs, raw diffs,
            and diff version API requests per minute for each user, or for each IP
            address for unauthenticated requests. Default: `300`. Set to `0` to disable
            the rate limit. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/606717)
            in GitLab 19.7.'
          nullable: true
        metrics_method_call_threshold:
          type: integer
          description: Method call is only tracked if it takes longer than this threshold,
            in milliseconds.
          nullable: true
        o11y_provisioner_api_key:
          type: string
          description: API key GitLab sends to the Observability provisioner. GitLab.com
            only. Not returned in responses.
          nullable: true
          maxLength: 510
        o11y_provisioner_url:
          type: string
          description: URL of the Observability provisioner API. GitLab.com only.
          nullable: true
          maxLength: 255
        pages_domain_create_limit:
          type: integer
          description: 'Maximum number of Pages custom domains each user can create
            per day. Default: `50`. Set to `0` to disable the rate limit. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/635642)
            in GitLab 19.6.'
          nullable: true
        pages_domain_verify_limit:
          type: integer
          description: 'Maximum number of Pages custom domain verification requests
            per minute for each user. Default: `5`. Set to `0` to disable the rate
            limit. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/635642)
            in GitLab 19.6.'
          nullable: true
        password_authentication_enabled:
          type: boolean
          description: Flag indicating if password authentication is enabled for the
            web interface. Mutually exclusive with `password_authentication_enabled_for_web`,
            `signin_enabled`.
          nullable: true
        password_authentication_enabled_for_web:
          type: boolean
          description: If `true`, enables authentication for the web interface via
            a GitLab account password. Defaults to `true`. Mutually exclusive with
            `password_authentication_enabled`, `signin_enabled`.
          nullable: true
        signin_enabled:
          type: boolean
          description: If `true`, enables password authentication for the web interface.
            Deprecated. Use `password_authentication_enabled_for_web` instead. Mutually
            exclusive with `password_authentication_enabled_for_web`, `password_authentication_enabled`.
          nullable: true
        password_authentication_enabled_for_git:
          type: boolean
          description: If `true`, enables authentication for Git over HTTP(S) via
            a GitLab account password. Defaults to `true`.
          nullable: true
        performance_bar_allowed_group_id:
          type: string
          description: Path of the group that is allowed to toggle the performance
            bar. Deprecated. Use `performance_bar_allowed_group_path` instead.
          nullable: true
        performance_bar_allowed_group_path:
          type: string
          description: Path of the group that is allowed to toggle the performance
            bar.
          nullable: true
        performance_bar_enabled:
          type: string
          description: 'Deprecated: Pass `performance_bar_allowed_group_path: nil`
            instead. Allow enabling the performance.'
          nullable: true
        personal_access_token_prefix:
          type: string
          description: Prefix to prepend to all personal access tokens.
          nullable: true
        require_personal_access_token_expiry:
          type: boolean
          description: If `true`, requires an expiration date on group and project
            access tokens, and on personal access tokens not owned by service accounts.
          nullable: true
        kroki_enabled:
          type: boolean
          description: If `true`, enables [Kroki integration](https://docs.gitlab.com/administration/integration/kroki/).
            Requires `kroki_url`.
          nullable: true
        kroki_url:
          type: string
          description: Kroki server URL.
          nullable: true
        plantuml_enabled:
          type: boolean
          description: If `true`, enables [PlantUML integration](https://docs.gitlab.com/administration/integration/plantuml/).
            Requires `plantuml_url`.
          nullable: true
        plantuml_url:
          type: string
          description: The PlantUML server URL
          nullable: true
        diagramsnet_enabled:
          type: boolean
          description: If `true`, enables [Diagrams.net integration](https://docs.gitlab.com/administration/integration/diagrams_net/).
            Requires `diagramsnet_url`. Defaults to `true`.
          nullable: true
        diagramsnet_url:
          type: string
          description: The Diagrams.net server URL
          nullable: true
        polling_interval_multiplier:
          type: number
          description: Interval multiplier used by endpoints that perform polling.
            Set to `0` to disable polling.
          nullable: true
        project_export_enabled:
          type: boolean
          description: If `true`, enables project export.
          nullable: true
        prometheus_metrics_enabled:
          type: boolean
          description: If `true`, enables Prometheus metrics.
          nullable: true
        push_event_hooks_limit:
          type: integer
          description: 'Maximum number of changes (branches or tags) in a single push
            above which webhooks and integrations are not triggered. Setting to `0`
            does not disable throttling. Default: `3`.'
          nullable: true
        push_event_activities_limit:
          type: integer
          description: Maximum number of changes (branches or tags) in a single push
            above which a bulk push event is created. Setting to `0` does not disable
            throttling.
          nullable: true
        recaptcha_enabled:
          type: boolean
          description: If `true`, enables reCAPTCHA. Requires `recaptcha_private_key`
            and `recaptcha_site_key`.
          nullable: true
        recaptcha_site_key:
          type: string
          description: Generate site key at http://www.google.com/recaptcha
          nullable: true
        recaptcha_private_key:
          type: string
          description: Generate private key at http://www.google.com/recaptcha
          nullable: true
        login_recaptcha_protection_enabled:
          type: boolean
          description: Helps prevent brute-force attacks
          nullable: true
        repository_checks_enabled:
          type: boolean
          description: If `true`, GitLab periodically runs `git fsck` in all project
            and wiki repositories to look for silent disk corruption issues.
          nullable: true
        repository_storages_weighted:
          type: object
          additionalProperties:
            type: integer
          description: Hash of names of storages taken from `gitlab.yml` to [weights](https://docs.gitlab.com/administration/repository_storage_paths/#configure-where-new-repositories-are-stored)
            ranging from 0 to 100. New projects are created in one of these stores,
            chosen by a weighted random selection.
          nullable: true
        require_two_factor_authentication:
          type: boolean
          description: If `true`, requires all users to set up two-factor authentication.
            Requires `two_factor_grace_period`.
          nullable: true
        two_factor_grace_period:
          type: integer
          description: Amount of time, in hours, that users can skip enforced two-factor
            authentication setup.
          nullable: true
        restricted_visibility_levels:
          type: array
          items:
            type: string
          description: Selected levels cannot be used by non-administrator users for
            groups, projects, or snippets. Can take `private`, `internal`, and `public`
            as a parameter. If the `public` level is restricted, user profiles are
            only visible to signed-in users. If empty, no levels are restricted. Cannot
            select levels that are set as `default_project_visibility` and `default_group_visibility`.
          nullable: true
        session_expire_delay:
          type: integer
          description: Session duration in minutes. Requires a GitLab restart to apply
            changes.
          nullable: true
        session_expire_from_init:
          type: boolean
          description: If `true`, sessions expire a number of minutes after the session
            was created rather than after the last activity. The session lifetime
            is defined by `session_expire_delay`.
          nullable: true
        shared_runners_enabled:
          type: boolean
          description: Enable shared runners for new projects
          nullable: true
        shared_runners_text:
          type: string
          description: 'Shared runners text '
          nullable: true
        valid_runner_registrars:
          type: array
          items:
            type: string
          description: List of types which are allowed to register a GitLab Runner.
            Can be `[]`, `['group']`, `['project']`, or `['group', 'project']`.
          nullable: true
        signup_enabled:
          type: boolean
          description: If `true`, enables registration. Defaults to `true`.
          nullable: true
        sourcegraph_enabled:
          type: boolean
          description: If `true`, enables Sourcegraph integration. Requires `sourcegraph_url`.
          nullable: true
        sourcegraph_public_only:
          type: boolean
          description: If `true`, blocks Sourcegraph from being loaded on private
            and internal projects. Defaults to `true`.
          nullable: true
        sourcegraph_url:
          type: string
          description: Configured Sourcegraph instance URL.
          nullable: true
        spam_check_endpoint_enabled:
          type: boolean
          description: Enable Spam Check via external API endpoint
          nullable: true
        spam_check_endpoint_url:
          type: string
          description: URL of the external Spamcheck service endpoint. Valid URI schemes
            are `grpc` or `tls`. Specifying `tls` forces communication to be encrypted.
          nullable: true
        terminal_max_session_time:
          type: integer
          description: Maximum time for a web terminal WebSocket connection, in seconds.
            Set to `0` for unlimited time.
          nullable: true
        usage_ping_enabled:
          type: boolean
          description: Every week GitLab will report license usage back to GitLab,
            Inc.
          nullable: true
        local_markdown_version:
          type: integer
          description: Local Markdown version. Increase this value to invalidate all
            cached Markdown.
          nullable: true
        allow_local_requests_from_hooks_and_services:
          type: boolean
          description: If `true`, allows requests to the local network from webhooks
            and integrations. Deprecated. Use `allow_local_requests_from_web_hooks_and_services`
            instead.
          nullable: true
        mailgun_events_enabled:
          type: boolean
          description: Enable Mailgun event receiver
          nullable: true
        mailgun_signing_key:
          type: string
          description: Mailgun HTTP webhook signing key for receiving events from
            webhook.
          nullable: true
        snowplow_enabled:
          type: boolean
          description: Enable Snowplow tracking
          nullable: true
        snowplow_collector_hostname:
          type: string
          description: The Snowplow collector hostname
          nullable: true
        snowplow_cookie_domain:
          type: string
          description: Snowplow cookie domain, for example `.gitlab.com`.
          nullable: true
        snowplow_app_id:
          type: string
          description: Snowplow site name or application ID, for example `gitlab`.
          nullable: true
        issues_create_limit:
          type: integer
          description: Maximum number of issue creation requests allowed per minute
            per user. Set to 0 for unlimited requests per minute.
          nullable: true
        raw_blob_request_limit:
          type: integer
          description: Maximum number of requests per minute for each raw path (default
            is `300`). Set to `0` to disable throttling.
          nullable: true
        raw_blob_request_limit_unauthenticated:
          type: integer
          description: Maximum number of unauthenticated requests per minute across
            all raw paths in a project (default is `800`). Set to `0` to disable throttling.
          nullable: true
        release_evidence_collections_limit_per_user:
          type: integer
          description: Maximum number of release evidence collection requests a user
            can make per minute. Set to `0` to disable the limit.
          nullable: true
        release_writes_limit_per_project:
          type: integer
          description: Maximum number of release create and update requests per minute
            for each project. Set to `0` to disable the limit.
          nullable: true
        release_writes_limit_per_user:
          type: integer
          description: Maximum number of release create and update requests a user
            can make per minute. Set to `0` to disable the limit.
          nullable: true
        wiki_page_max_content_bytes:
          type: integer
          description: 'Maximum wiki page content size in bytes. Default: 5242880
            bytes (5 MB). The minimum value is 1024 bytes.'
          nullable: true
        description_and_note_max_size:
          type: integer
          description: Maximum work item, merge request, and vulnerability description
            and comment content size in bytes.
          nullable: true
        wiki_asciidoc_allow_uri_includes:
          type: boolean
          description: If `true`, allows URI includes for AsciiDoc wiki pages.
          nullable: true
        require_admin_approval_after_user_signup:
          type: boolean
          description: If `true`, requires explicit administrator approval for new
            signups.
          nullable: true
        whats_new_variant:
          type: string
          enum:
          - all_tiers
          - current_tier
          - disabled
          description: Which features [What's new](https://docs.gitlab.com/administration/whats-new/)
            shows. `all_tiers` shows features for all tiers, `current_tier` shows
            only features for the instance's tier, and `disabled` hides What's new.
          nullable: true
        floc_enabled:
          type: boolean
          description: If `true`, enables FloC (Federated Learning of Cohorts).
          nullable: true
        user_deactivation_emails_enabled:
          type: boolean
          description: If `true`, sends emails to users when their account is deactivated.
          nullable: true
        show_migrate_from_jenkins_banner:
          type: boolean
          description: If `true`, shows the Jenkins migration banner.
          nullable: true
        enable_artifact_external_redirect_warning_page:
          type: boolean
          description: If `true`, shows the external redirect page that warns about
            user-generated content in GitLab Pages.
          nullable: true
        users_get_by_id_limit:
          type: integer
          description: Maximum number of calls to the `/users/:id` API per 10 minutes
            per user. Set to `0` for unlimited requests.
          nullable: true
        runner_token_expiration_interval:
          type: integer
          description: Set the expiration time (in seconds) of authentication tokens
            of newly registered instance runners. Minimum value is 7200 seconds. For
            more information, see [Automatically rotate authentication tokens](https://docs.gitlab.com/ci/runners/configure_runners/#automatically-rotate-runner-authentication-tokens).
          nullable: true
        group_runner_token_expiration_interval:
          type: integer
          description: Set the expiration time (in seconds) of authentication tokens
            of newly registered group runners. Minimum value is 7200 seconds. For
            more information, see [Automatically rotate authentication tokens](https://docs.gitlab.com/ci/runners/configure_runners/#automatically-rotate-runner-authentication-tokens).
          nullable: true
        project_runner_token_expiration_interval:
          type: integer
          description: Set the expiration time (in seconds) of authentication tokens
            of newly registered project runners. Minimum value is 7200 seconds. For
            more information, see [Automatically rotate authentication tokens](https://docs.gitlab.com/ci/runners/configure_runners/#automatically-rotate-runner-authentication-tokens).
          nullable: true
        pipeline_limit_per_project_user_sha:
          type: integer
          description: Maximum number of pipeline creation requests per minute per
            user and commit. Set to `0` for unlimited requests. Disabled by default.
          nullable: true
        pipeline_limit_per_user:
          type: integer
          description: Maximum number of pipeline creation requests allowed per minute
            per user. Set to `0` for unlimited requests.
          nullable: true
        ci_lint_limit_per_user:
          type: integer
          description: Maximum number of CI Lint requests per minute per user. Set
            to `0` for unlimited requests. Disabled by default.
          nullable: true
        jira_connect_application_key:
          type: string
          description: ID of the OAuth application used to authenticate with the GitLab
            for Jira Cloud app.
          nullable: true
        jira_connect_public_key_storage_enabled:
          type: boolean
          description: If `true`, enables public key storage for the GitLab for Jira
            Cloud app.
          nullable: true
        jira_connect_proxy_url:
          type: string
          description: URL of the GitLab instance used as a proxy for the GitLab for
            Jira Cloud app.
          nullable: true
        jira_connect_domain_allowlist:
          type: array
          items:
            type: string
          description: List of Jira domains that can install the GitLab for Jira Cloud
            app. Applies to the Connect app only. If empty, all domains are allowed.
          nullable: true
        jira_connect_domain_allowlist_raw:
          type: string
          description: Raw newline- or comma-separated list of Jira domains that can
            install the GitLab for Jira Cloud app. Applies to the Connect app only.
          nullable: true
        jira_forge_app_id:
          type: string
          description: Atlassian Forge app ID (ARI) of the GitLab for Jira Cloud app,
            used to verify inbound Forge Invocation Tokens.
          nullable: true
        bulk_import_concurrent_pipeline_batch_limit:
          type: integer
          description: Maximum number of simultaneous direct transfer batch exports
            to process.
          nullable: true
        concurrent_relation_batch_export_limit:
          type: integer
          description: Maximum number of simultaneous batch export jobs to process.
          nullable: true
        project_export_limit_per_root_namespace:
          type: integer
          description: 'Maximum number of project export requests every 10 minutes
            for each top-level group or personal namespace, across all its projects.
            Default: 0. Set to `0` for no limit.'
          nullable: true
        project_relations_export_limit:
          type: integer
          description: Maximum number of project relations export requests per minute
            per user for each project during direct transfer migrations. Set to `0`
            to disable the rate limit.
          nullable: true
        project_relations_export_download_limit:
          type: integer
          description: Maximum number of project relations export downloads per minute
            per user for each project during direct transfer migrations. Set to `0`
            to disable the rate limit.
          nullable: true
        group_relations_export_limit:
          type: integer
          description: Maximum number of group relations export requests per minute
            per user for each group during direct transfer migrations. Set to `0`
            to disable the rate limit.
          nullable: true
        group_relations_export_download_limit:
          type: integer
          description: Maximum number of group relations export downloads per minute
            per user for each group during direct transfer migrations. Set to `0`
            to disable the rate limit.
          nullable: true
        bulk_import_enabled:
          type: boolean
          description: If `true`, enables migrating GitLab groups and projects by
            direct transfer.
          nullable: true
        bulk_import_max_download_file:
          type: integer
          description: Maximum download file size, in MB, when importing from source
            GitLab instances by direct transfer.
          nullable: true
        autocomplete_users_limit:
          type: integer
          description: Maximum number of authenticated requests per minute per user
            to the users autocomplete endpoint.
          nullable: true
        autocomplete_users_unauthenticated_limit:
          type: integer
          description: Maximum number of unauthenticated requests per minute per IP
            address to the users autocomplete endpoint.
          nullable: true
        concurrent_github_import_jobs_limit:
          type: integer
          description: Maximum number of simultaneous import jobs for the GitHub importer.
            Default is `1000`.
          nullable: true
        concurrent_bitbucket_import_jobs_limit:
          type: integer
          description: Maximum number of simultaneous import jobs for the Bitbucket
            Cloud importer. Default is `100`.
          nullable: true
        concurrent_bitbucket_server_import_jobs_limit:
          type: integer
          description: Maximum number of simultaneous import jobs for the Bitbucket
            Server importer. Default is `100`.
          nullable: true
        concurrent_pull_request_import_jobs_limit:
          type: integer
          description: Maximum number of simultaneous pull request import jobs for
            the GitHub, Bitbucket Cloud, and Bitbucket Server importers. Default is
            `200`.
          nullable: true
        allow_runner_registration_token:
          type: boolean
          description: If `true`, allows using a registration token to create a runner.
            Defaults to `true`.
          nullable: true
        ci_max_includes:
          type: integer
          description: "[Maximum number of includes](https://docs.gitlab.com/administration/cicd/limits/#maximum-number-of-includes)
            per pipeline. Default is `150`."
          nullable: true
        ci_max_caches_per_job:
          type: integer
          description: Maximum number of caches that can be defined in a single CI/CD
            job.
          nullable: true
        ci_max_runner_managers_per_runner:
          type: integer
          description: 'Maximum number of runner managers for each runner. If a runner
            exceeds this limit, GitLab brings it back to the limit by deleting managers
            that have not contacted GitLab for at least two hours, starting with the
            most stale. Applies only when the `log_runner_manager_cap` or `enforce_runner_manager_cap`
            feature flag is enabled. Default: `100000`. To disable the limit, set
            to `0`.'
          nullable: true
        ci_runner_manager_cap_deletions_per_run:
          type: integer
          description: 'Maximum number of runner managers deleted by each run of the
            runner manager cap. Default: `1000`.'
          nullable: true
        ci_runner_manager_cap_cleanup_backlog_limit:
          type: integer
          description: 'Number of deleted runner manager records still waiting for
            background cleanup, above which the runner manager cap stops deleting.
            Default: `10000`.'
          nullable: true
        ci_runner_manager_creation_ceiling:
          type: integer
          description: 'Number of runner managers for each runner at which the runner
            cannot create new runner managers. Existing runner managers continue to
            work. Applies only when the `log_runner_manager_cap` or `enforce_runner_manager_ceiling`
            feature flag is enabled. Default: `150000`. To disable the limit, set
            to `0`.'
          nullable: true
        ci_stale_runner_managers_cleanup_deletions_per_run:
          type: integer
          description: 'Maximum number of stale runner managers deleted by each run
            of the stale runner manager cleanup. Applies only when the `stale_runner_manager_cleanup_by_partition`
            feature flag is enabled. Default: `500`.'
          nullable: true
        ci_stale_runner_managers_cleanup_backlog_limit:
          type: integer
          description: 'Number of deleted runner manager records still waiting for
            background cleanup, above which the stale runner manager cleanup stops
            deleting. If higher than `ci_runner_manager_cap_cleanup_backlog_limit`,
            that value is used instead. Applies only when the `stale_runner_manager_cleanup_by_partition`
            feature flag is enabled. Default: `5000`.'
          nullable: true
        ci_lint_api_require_authentication:
          type: boolean
          description: If `true`, `GET /projects/:id/ci/lint` requires authentication,
            including for public projects.
          nullable: true
        release_evidence_max_size_bytes:
          type: integer
          description: 'Maximum size of a release evidence, in bytes. Applies only
            when the `release_evidence_size_limit` feature flag is enabled. Default:
            `2097152` (2 MiB). To disable the limit, set to `0`.'
          nullable: true
        ci_job_live_trace_enabled:
          type: boolean
          description: If `true`, turns on incremental logging for job logs. Archived
            job logs are incrementally uploaded to object storage, which must be configured.
          nullable: true
        ci_job_trace_update_interval:
          type: integer
          description: Job log update interval when the job log is not open, in seconds.
          nullable: true
        ci_job_trace_update_interval_when_being_watched:
          type: integer
          description: Job log update interval when the job log is open, in seconds.
          nullable: true
        git_push_pipeline_limit:
          type: integer
          description: Maximum number of branch or tag pipelines that can be triggered
            by a single Git push. Set to `0` to disable the limit.
          nullable: true
        security_policy_global_group_approvers_enabled:
          type: boolean
          description: If `true`, looks up merge request approval policy approval
            groups globally. If `false`, looks them up within project hierarchies.
          nullable: true
        slack_app_enabled:
          type: boolean
          description: If `true`, enables the GitLab for Slack app. Requires `slack_app_id`,
            `slack_app_secret`, `slack_app_signing_secret`, and `slack_app_verification_token`.
          nullable: true
        slack_app_id:
          type: string
          description: Client ID of the GitLab for Slack app.
          nullable: true
        slack_app_secret:
          type: string
          description: Client secret of the GitLab for Slack app. Used for authenticating
            OAuth requests from the app.
          nullable: true
        slack_app_signing_secret:
          type: string
          description: Signing secret of the GitLab for Slack app. Used for authenticating
            API requests from the app.
          nullable: true
        slack_app_verification_token:
          type: string
          description: Verification token of the GitLab for Slack app. This method
            of authentication is deprecated by Slack and used only for authenticating
            slash commands from the app.
          nullable: true
        namespace_aggregation_schedule_lease_duration_in_seconds:
          type: integer
          description: Maximum duration, in seconds, between refreshes of namespace
            statistics. Defaults to `300`.
          nullable: true
        project_jobs_api_rate_limit:
          type: integer
          description: Maximum authenticated requests to /project/:id/jobs per minute
          nullable: true
        security_txt_content:
          type: string
          description: Public security contact information made available at https://gitlab.example.com/.well-known/security.txt.
          nullable: true
        downstream_pipeline_trigger_limit_per_project_user_sha:
          type: integer
          description: "[Maximum number of downstream pipelines](https://docs.gitlab.com/administration/cicd/limits/#limit-downstream-pipeline-trigger-rate)
            that can be triggered per minute for a given project, user, and commit.
            Default: `0` (no restriction)."
          nullable: true
        pipeline_cancel_limit_per_user_project:
          type: integer
          description: Maximum number of pipeline cancellations allowed per minute
            for a given project.
          nullable: true
        pipeline_retry_limit_per_user_project:
          type: integer
          description: Maximum number of pipeline retries allowed per minute for a
            given project.
          nullable: true
        runner_job_list_completed_statuses_limit_per_user:
          type: integer
          description: Maximum number of runner job list requests filtered by a completed
            status allowed per minute for a given user.
          nullable: true
        runner_job_list_project_filtered_limit_per_user:
          type: integer
          description: Maximum number of runner job list requests filtered to the
            user's projects allowed per minute for a given user.
          nullable: true
        runner_manager_list_limit_per_user:
          type: integer
          description: Maximum number of runner managers a user can list per minute.
          nullable: true
        pipeline_schedule_management_limit_per_user:
          type: integer
          description: Maximum number of pipeline schedule changes (create, update,
            delete, take ownership) allowed per minute for a given user.
          nullable: true
        pipeline_trigger_management_limit_per_user:
          type: integer
          description: Maximum number of pipeline trigger token changes (create, update,
            delete) allowed per minute for a given user.
          nullable: true
        job_retry_limit_per_user_project:
          type: integer
          description: Maximum number of job retries allowed per minute for a given
            project.
          nullable: true
        job_play_limit_per_user_project:
          type: integer
          description: Maximum number of manual job runs allowed per minute for a
            given project.
          nullable: true
        pipeline_delete_limit_per_user_project:
          type: integer
          description: Maximum number of pipeline deletions allowed per minute for
            a given project.
          nullable: true
        job_erase_limit_per_user_project:
          type: integer
          description: Maximum number of job erasures allowed per minute for a given
            project.
          nullable: true
        job_cancel_limit_per_user_project:
          type: integer
          description: Maximum number of job cancellations allowed per minute for
            a given project.
          nullable: true
        ai_action_api_rate_limit:
          type: integer
          minimum: 1
          description: Maximum requests a user can make per 8 hours to aiAction endpoint
          nullable: true
        code_suggestions_api_rate_limit:
          type: integer
          description: Maximum number of requests a user can make to the code suggestions
            endpoint per minute.
          nullable: true
        resource_usage_limits:
          type: object
          description: Definition for resource usage limits enforced in Sidekiq workers.
          nullable: true
        code_dropdown_custom_clients:
          type: array
          description: Custom "Open with" clients shown in the project Code dropdown
            list
          items:
            type: object
            properties:
              name:
                type: string
                description: Name shown to users in the Code dropdown list
                nullable: true
              ssh_url_template:
                type: string
                description: URL template opened for the SSH clone URL. Must contain
                  {url} exactly once
                nullable: true
              http_url_template:
                type: string
                description: URL template opened for the HTTPS clone URL. Must contain
                  {url} exactly once
                nullable: true
            required:
            - name
          nullable: true
        vscode_extension_marketplace:
          type: object
          description: Settings for VS Code Extension Marketplace.
          properties:
            enabled:
              type: boolean
              description: If `true`, enables the VS Code extension marketplace for
                the Web IDE and Workspaces.
              nullable: true
            preset:
              type: string
              description: The preset configuration of URL's for the VS Code Extension
                Marketplace
              nullable: true
            custom_values:
              type: object
              description: VS Code Extension Marketplace URL's when preset is 'custom'
              nullable: true
          nullable: true
        enable_language_server_restrictions:
          type: boolean
          description: Enables enforcing language server restrictions
          nullable: true
        minimum_language_server_version:
          type: string
          description: Minimum language server version to accept requests from.
          nullable: true
        terraform_state_encryption_enabled:
          type: boolean
          description: Enable encryption for Terraform state files
          nullable: true
        logging_field_schema_version:
          type: integer
          enum:
          - 0
          - 1
          description: Logging field schema version (v0, v1, …). Cannot be downgraded.
          nullable: true
        logging_field_dual_emit_target:
          type: integer
          enum:
          - 1
          description: Version to dual-emit alongside schema_version. Must be strictly
            greater than schema_version, or omit/null to disable.
          nullable: true
        rsa_key_restriction:
          type: integer
          enum:
          - 0
          - 1024
          - 2048
          - 3072
          - 4096
          - -1
          description: Restrictions on the complexity of uploaded RSA keys. A value
            of -1 disables all RSA keys.
          nullable: true
        dsa_key_restriction:
          type: integer
          enum:
          - 0
          - 1024
          - 2048
          - 3072
          - -1
          description: Restrictions on the complexity of uploaded DSA keys. A value
            of -1 disables all DSA keys.
          nullable: true
        ecdsa_key_restriction:
          type: integer
          enum:
          - 0
          - 256
          - 384
          - 521
          - -1
          description: Restrictions on the complexity of uploaded ECDSA keys. A value
            of -1 disables all ECDSA keys.
          nullable: true
        ed25519_key_restriction:
          type: integer
          enum:
          - 0
          - 256
          - -1
          description: Restrictions on the complexity of uploaded ED25519 keys. A
            value of -1 disables all ED25519 keys.
          nullable: true
        ecdsa_sk_key_restriction:
          type: integer
          enum:
          - 0
          - 256
          - -1
          description: Restrictions on the complexity of uploaded ECDSA_SK keys. A
            value of -1 disables all ECDSA_SK keys.
          nullable: true
        ed25519_sk_key_restriction:
          type: integer
          enum:
          - 0
          - 256
          - -1
          description: Restrictions on the complexity of uploaded ED25519_SK keys.
            A value of -1 disables all ED25519_SK keys.
          nullable: true
        allow_account_deletion:
          type: string
          description: If `true`, allows users to delete their accounts. Premium and
            Ultimate only.
          nullable: true
        allow_application_default_credentials_for_offline_transfer:
          type: string
          description: If `true`, allows Google Cloud Application Default Credentials
            for offline transfer. Even when enabled, only administrators can use these
            credentials, and the bucket name must start with `gitlab-offline-transfer-`.
            Has no effect on GitLab.com. For more information, see [Allow application
            default credentials for offline transfer](https://docs.gitlab.com/administration/settings/import_and_export_settings/#allow-application-default-credentials-for-offline-transfer).
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/602489)
            in GitLab 19.3.
          nullable: true
        allow_bypass_placeholder_confirmation:
          type: string
          description: If `true`, skips confirmation when administrators reassign
            placeholder users. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/534330)
            in GitLab 18.0.
          nullable: true
        allow_local_requests_from_system_hooks:
          type: string
          description: If `true`, allows requests to the local network from system
            hooks.
          nullable: true
        allow_local_requests_from_web_hooks_and_services:
          type: string
          description: If `true`, allows requests to the local network from webhooks
            and integrations.
          nullable: true
        allow_project_creation_for_guest_and_below:
          type: string
          description: If `true`, users assigned up to the Guest role can create groups
            and personal projects. Defaults to `true`.
          nullable: true
        allow_s3_compatible_storage_for_offline_transfer:
          type: string
          description: If `true`, allows S3-compatible object storage for offline
            transfer. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/579705)
            in GitLab 18.9.
          nullable: true
        archive_builds_in_human_readable:
          type: string
          description: 'Set the duration for which the jobs are considered as old
            and expired. After that time passes, the jobs are archived and no longer
            able to be retried. Make it empty to never expire jobs. It has to be no
            less than 1 day, for example: `15 days`, `1 month`, `2 years`.'
          nullable: true
        asciidoc_max_includes:
          type: string
          description: 'Maximum number of AsciiDoc include directives processed in
            any one document. Default: `32`. Maximum: `64`.'
          nullable: true
        authorized_keys_enabled:
          type: string
          description: If `true`, GitLab uses the `authorized_keys` file to authenticate
            SSH keys, which supports Git over SSH without additional configuration.
            Disable only if you have configured your OpenSSH server to use `AuthorizedKeysCommand`.
            Defaults to `true`.
          nullable: true
        auto_accept_awarded_achievements:
          type: string
          description: 'If `true`, newly awarded achievements are accepted automatically
            and appear on user profiles immediately. Does not affect achievements
            awarded before this setting is enabled. Recipients can still hide any
            achievement. Default value: `false`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/607750)
            in GitLab 19.4.'
          nullable: true
        auto_devops_domain:
          type: string
          description: Specify a domain to use by default for every project's Auto
            Review Apps and Auto Deploy stages.
          nullable: true
        auto_devops_enabled:
          type: string
          description: If `true`, enables Auto DevOps for projects by default. Auto
            DevOps automatically builds, tests, and deploys applications based on
            a predefined CI/CD configuration.
          nullable: true
        bulk_import_max_download_file_size:
          type: string
          description: Maximum download file size when importing from source GitLab
            instances by direct transfer.
          nullable: true
        can_create_group:
          type: string
          description: If `true`, users can create top-level groups. Defaults to `true`.
          nullable: true
        ci_delete_pipelines_in_seconds_limit_human_readable:
          type: string
          description: Maximum value that is allowed for configuring pipeline retention.
            Defaults to `1 year`.
          nullable: true
        ci_max_total_yaml_size_bytes:
          type: string
          description: Maximum amount of memory, in bytes, that can be allocated for
            the pipeline configuration, with all included YAML configuration files.
          nullable: true
        ci_partitions_in_seconds_limit:
          type: string
          description: Time window, in seconds, before new CI partitions are created
            and the system switches to the next set of partitions. Must be between
            1 month and 6 months. Default is 1 month (`2592000`). Write-only. Not
            returned in GET responses. Deprecated. Use `ci_partitions_in_seconds_limit_human_readable`
            instead. Scheduled for removal in API v5.
          nullable: true
        ci_partitions_in_seconds_limit_human_readable:
          type: string
          description: Time window before new CI partitions are created and the system
            switches to the next set of partitions. Must be between `1 month` and
            `6 months`. Defaults to `1 month`.
          nullable: true
        commit_email_hostname:
          type: string
          description: Custom hostname (for private commit emails).
          nullable: true
        container_expiration_policies_enable_historic_entries:
          type: string
          description: If `true`, enables [cleanup policies](https://docs.gitlab.com/user/packages/container_registry/reduce_container_registry_storage/#enable-the-cleanup-policy)
            for all projects.
          nullable: true
        container_registry_cleanup_tags_service_max_list_size:
          type: string
          description: Maximum number of tags that can be deleted in a single execution
            of [cleanup policies](https://docs.gitlab.com/user/packages/container_registry/reduce_container_registry_storage/#set-cleanup-limits-to-conserve-resources).
          nullable: true
        container_registry_delete_tags_service_timeout:
          type: string
          description: Maximum time, in seconds, that the cleanup process can take
            to delete a batch of tags for [cleanup policies](https://docs.gitlab.com/user/packages/container_registry/reduce_container_registry_storage/#set-cleanup-limits-to-conserve-resources).
          nullable: true
        container_registry_expiration_policies_caching:
          type: string
          description: If `true`, enables caching during the execution of [cleanup
            policies](https://docs.gitlab.com/user/packages/container_registry/reduce_container_registry_storage/#set-cleanup-limits-to-conserve-resources).
          nullable: true
        container_registry_expiration_policies_worker_capacity:
          type: string
          description: Number of workers for [cleanup policies](https://docs.gitlab.com/user/packages/container_registry/reduce_container_registry_storage/#set-cleanup-limits-to-conserve-resources).
          nullable: true
        custom_http_clone_url_root:
          type: string
          description: Set a custom Git clone URL for HTTP(S).
          nullable: true
        default_branch_name:
          type: string
          description: "[Set the initial branch name](https://docs.gitlab.com/user/project/repository/branches/default/#change-the-default-branch-name-for-new-projects-in-an-instance)
            for all projects in an instance."
          nullable: true
        default_dark_syntax_highlighting_theme:
          type: string
          description: Default dark mode syntax highlighting theme for users who are
            new or not signed in. See [IDs of available themes](https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/themes.rb#L16).
          nullable: true
        default_preferred_language:
          type: string
          description: Default preferred language for users who are not logged in.
          nullable: true
        default_syntax_highlighting_theme:
          type: string
          description: Default syntax highlighting theme for users who are new or
            not signed in. See [IDs of available themes](https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/themes.rb#L16).
          nullable: true
        delete_inactive_projects:
          type: string
          description: Enable dormant project deletion. Default is `false`.
          nullable: true
        deletion_adjourned_period:
          type: string
          description: Number of days to wait before deleting a project or group that
            is marked for deletion. Value must be between `1` and `90`. Defaults to
            `30`.
          nullable: true
        diff_max_commits:
          type: string
          description: Maximum number of [diff commits](https://docs.gitlab.com/administration/diff_limits/)
            per merge request.
          nullable: true
        diff_max_files:
          type: string
          description: Maximum number of [files in a diff](https://docs.gitlab.com/administration/diff_limits/).
          nullable: true
        diff_max_lines:
          type: string
          description: Maximum number of [lines in a diff](https://docs.gitlab.com/administration/diff_limits/).
          nullable: true
        diff_max_patch_bytes:
          type: string
          description: Maximum [diff patch size](https://docs.gitlab.com/administration/diff_limits/),
            in bytes.
          nullable: true
        diff_max_versions:
          type: string
          description: Maximum number of [diff versions](https://docs.gitlab.com/administration/diff_limits/)
            per merge request.
          nullable: true
        disable_password_authentication_for_users_with_sso_identities:
          type: string
          description: Disable password authentication in the web interface for users
            with an SSO identity. This does not affect Git operations over HTTP(S).
            Default is `false`.
          nullable: true
        dns_rebinding_protection_enabled:
          type: string
          description: If `true`, enforces DNS-rebinding attack protection.
          nullable: true
        email_restrictions:
          type: string
          description: Regular expression that is checked against the email used during
            registration.
          nullable: true
        email_restrictions_enabled:
          type: string
          description: If `true`, prevents new users from signing up with an email
            address that matches the `email_restrictions` regular expression.
          nullable: true
        enforce_terms:
          type: string
          description: If `true`, enforces the application terms of service for all
            users. Requires `terms`.
          nullable: true
        external_auth_client_cert:
          type: string
          description: Certificate to use to authenticate with the external authorization
            service. Requires `external_auth_client_key`.
          nullable: true
        external_auth_client_key:
          type: string
          description: Private key for the certificate when authentication is required
            for the external authorization service. Encrypted when stored.
          nullable: true
        external_auth_client_key_pass:
          type: string
          description: Passphrase to use for the private key when authenticating with
            the external authorization service. Encrypted when stored.
          nullable: true
        external_authorization_service_default_label:
          type: string
          description: Default classification label to use when requesting authorization
            and no classification label has been specified on the project.
          nullable: true
        external_authorization_service_enabled:
          type: string
          description: If `true`, uses an external authorization service for accessing
            projects. Requires `external_authorization_service_default_label`, `external_authorization_service_timeout`,
            and `external_authorization_service_url`.
          nullable: true
        external_authorization_service_timeout:
          type: string
          description: 'The timeout after which an authorization request is aborted,
            in seconds. When a request times out, access is denied to the user. (min:
            0.001, max: 10, step: 0.001).'
          nullable: true
        external_authorization_service_url:
          type: string
          description: URL to which authorization requests are directed.
          nullable: true
        external_pipeline_validation_service_timeout:
          type: string
          description: Time to wait for a response from the pipeline validation service,
            in seconds. Assumes `OK` if it times out.
          nullable: true
        external_pipeline_validation_service_token:
          type: string
          description: Token to include as the `X-Gitlab-Token` header in requests
            to the URL in `external_pipeline_validation_service_url`.
          nullable: true
        external_pipeline_validation_service_url:
          type: string
          description: URL to use for pipeline validation requests.
          nullable: true
        failed_login_attempts_unlock_period_in_minutes:
          type: string
          description: Time period in minutes after which the user is unlocked when
            maximum number of failed sign-in attempts reached.
          nullable: true
        feature_flag_user_list_write_bytes_limit_per_user:
          type: integer
          description: Maximum number of bytes of feature flag user lists a user can
            write per minute.
          nullable: true
        first_day_of_week:
          type: string
          description: Start day of the week for calendar views and date pickers.
            Valid values are `0` (default) for Sunday, `1` for Monday, and `6` for
            Saturday.
          nullable: true
        git_push_per_project_limit:
          type: integer
          description: 'Maximum number of Git pushes every minute to one project,
            over HTTPS and SSH. Default: `600`. Set to `0` to disable the limit. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/269867)
            in GitLab 19.6. This attribute is in beta and might be changed or removed
            without notice.'
          nullable: true
        github_gists_import_limit:
          type: string
          description: 'Maximum number of GitHub gists import requests per minute,
            per user. Default: `6`. Set to `0` to disable the rate limit.'
          nullable: true
        gitlab_dedicated_instance:
          type: string
          description: If `true`, the instance was provisioned for GitLab Dedicated.
          nullable: true
        gitlab_environment_toolkit_instance:
          type: string
          description: If `true`, the instance was provisioned with the GitLab Environment
            Toolkit for Service Ping reporting.
          nullable: true
        gitlab_product_usage_data_enabled:
          type: string
          description: If `true`, product usage data collection is enabled. When the
            `GITLAB_PRODUCT_USAGE_DATA_ENABLED` environment variable is set, the API
            returns the effective value from the environment variable.
          nullable: true
        gitlab_shell_operation_limit:
          type: string
          description: 'Maximum number of Git operations per minute a user can perform.
            Default: `600`.'
          nullable: true
        gitlab_shell_operation_per_actor_limit:
          type: integer
          description: 'Maximum number of Git operations one user or deploy key can
            perform every minute across all repositories. Default: `6000`. Set to
            `0` to disable the limit. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/267274)
            in GitLab 19.6. This attribute is in beta and might be changed or removed
            without notice.'
          nullable: true
        group_hooks_create_limit:
          type: string
          description: 'Maximum number of group webhooks a user can create per minute
            for a given group. Default: `10`. Set to `0` to disable limits. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/635281)
            in GitLab 19.6.'
          nullable: true
        hashed_storage_enabled:
          type: string
          description: 'Create new projects using hashed storage paths: Enable immutable,
            hash-based paths and repository names to store repositories on disk. This
            prevents repositories from having to be moved or renamed when the Project
            URL changes and may improve disk I/O performance. (Always enabled in GitLab
            versions 13.0 and later, configuration is scheduled for removal in 14.0)'
          nullable: true
        hide_third_party_offers:
          type: string
          description: If `true`, hides offers from third parties in GitLab.
          nullable: true
        inactive_projects_delete_after_months:
          type: string
          description: If `delete_inactive_projects` is `true`, the time (in months)
            to wait before deleting dormant projects. Default is `2`.
          nullable: true
        inactive_projects_min_size_mb:
          type: string
          description: If `delete_inactive_projects` is `true`, the minimum repository
            size, in MB, for projects to be checked for inactivity. Default is `0`.
          nullable: true
        inactive_projects_send_warning_email_after_months:
          type: string
          description: If `delete_inactive_projects` is `true`, sets the time (in
            months) to wait before emailing Maintainers that the project is scheduled
            to be deleted because it is dormant. Default is `1`.
          nullable: true
        inactive_resource_access_tokens_delete_after_days:
          type: string
          description: Specifies retention period for inactive project and group access
            tokens. Default is `30`.
          nullable: true
        include_optional_metrics_in_service_ping:
          type: string
          description: If `true`, enables optional metrics in Service Ping.
          nullable: true
        keep_latest_artifact:
          type: string
          description: If `true`, prevents the deletion of the artifacts from the
            most recent successful jobs, regardless of the expiry time. Defaults to
            `true`.
          nullable: true
        kroki_diagram_proxy_enabled:
          type: string
          description: Enable Kroki diagram proxy. Default is `false`.
          nullable: true
        kroki_formats:
          type: string
          description: 'Additional formats supported by the Kroki instance. Possible
            values are `true` or `false` for formats `bpmn`, `blockdiag`, `excalidraw`,
            and `mermaid` in the format `<format>: true` or `<format>: false`.'
          nullable: true
        lock_require_sha_for_merge:
          type: string
          description: If `true`, enforces the `require_sha_for_merge` setting for
            all groups on the instance. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/236732)
            in GitLab 19.2.
          nullable: true
        max_http_decompressed_size:
          type: string
          description: Maximum allowed size in MiB for Gzip-compressed HTTP responses
            from outbound requests after decompression. Set to `0` for unlimited.
          nullable: true
        max_http_response_csv_structural_chars:
          type: string
          description: Maximum allowed object count in CSV HTTP responses from outbound
            requests. Count is an estimate based on the number of `,`, `;`, `\t`,
            and `\n` occurrences in the response. Introduced in GitLab 18.4.
          nullable: true
        max_http_response_json_depth:
          type: string
          description: Maximum allowed nesting depth in JSON HTTP responses from outbound
            requests.
          nullable: true
        max_http_response_json_structural_chars:
          type: string
          description: Maximum allowed object count in JSON HTTP responses from outbound
            requests. Count is an estimate based on the number of `:`, `,`, `{`, and
            `[` occurrences in the response. Introduced in GitLab 18.4.
          nullable: true
        max_http_response_size_limit:
          type: string
          description: Maximum allowed size in MiB for HTTP responses from outbound
            requests. Set to `0` for unlimited. Applicable for integrations, importers,
            and webhooks. Introduced in GitLab 18.4.
          nullable: true
        max_http_response_xml_structural_chars:
          type: string
          description: Maximum allowed object count in XML HTTP responses from outbound
            requests. Count is an estimate based on the number of `<`, and `=` occurrences
            in the response. Introduced in GitLab 18.4.
          nullable: true
        max_login_attempts:
          type: string
          description: Maximum number of sign-in attempts before locking out the user.
          nullable: true
        max_yaml_depth:
          type: string
          description: 'Maximum depth of nested CI/CD configuration added with the
            [`include` keyword](https://docs.gitlab.com/ci/yaml/#include). Default:
            `100`.'
          nullable: true
        max_yaml_size_bytes:
          type: string
          description: 'Maximum size in bytes of a single CI/CD configuration file.
            Default: `2097152`.'
          nullable: true
        minimum_password_length:
          type: string
          description: Indicates whether passwords require a minimum length. Premium
            and Ultimate only.
          nullable: true
        mirror_available:
          type: string
          description: If `true`, project Maintainers can configure repository mirroring.
            If `false`, only administrators can configure repository mirroring.
          nullable: true
        ml_experiment_tracking_run_retention_days:
          type: integer
          description: 'Number of days to keep model experiment runs that no model
            version uses, and experiments that have no runs left. Deletion starts
            no earlier than one period after retention is turned on. `0` keeps all
            runs and experiments. Maximum: `36500`. Default: `0`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/270962)
            in GitLab 19.7.'
          nullable: true
        notify_on_unknown_sign_in:
          type: string
          description: If `true`, sends a notification when a sign-in from an unknown
            IP address occurs.
          nullable: true
        offline_transfer_exports_enabled:
          type: string
          description: If `true`, enables exporting GitLab groups and projects by
            offline transfer. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/588971)
            in GitLab 19.3.
          nullable: true
        offline_transfer_imports_enabled:
          type: string
          description: If `true`, enables importing GitLab groups and projects by
            offline transfer. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/588971)
            in GitLab 19.3.
          nullable: true
        package_registry_allow_anyone_to_pull_option:
          type: string
          description: If `true`, makes the option to [allow anyone to pull from the
            package registry](https://docs.gitlab.com/user/packages/package_registry/#allow-anyone-to-pull-from-package-registry)
            visible and changeable in project settings.
          nullable: true
        package_registry_cleanup_policies_worker_capacity:
          type: string
          description: Number of workers assigned to the packages cleanup policies.
          nullable: true
        pages_domain_verification_enabled:
          type: string
          description: If `true`, requires users to prove ownership of custom domains.
            Domain verification is an essential security measure for public GitLab
            sites. Users are required to demonstrate they control a domain before
            it is enabled.
          nullable: true
        pages_unique_domain_default_enabled:
          type: string
          description: If `true`, enables unique domains by default for Pages sites
            to avoid cookie sharing between sites under a given namespace. Defaults
            to `true`.
          nullable: true
        plantuml_diagram_proxy_enabled:
          type: string
          description: Enable PlantUML diagram proxy. Default is `false`.
          nullable: true
        project_hooks_create_limit:
          type: string
          description: 'Maximum number of project webhooks a user can create per minute
            for a given project. Default: `5`. Set to `0` to disable limits. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/605597)
            in GitLab 19.6.'
          nullable: true
        projects_api_rate_limit_unauthenticated:
          type: string
          description: 'Maximum number of requests per 10 minutes per IP address for
            unauthenticated requests to the [list all projects API](https://docs.gitlab.com/api/projects/#list-all-projects).
            Default: `400`. To disable throttling, set to `0`.'
          nullable: true
        protected_ci_variables:
          type: string
          description: If `true`, CI/CD variables are protected by default.
          nullable: true
        rate_limiting_response_text:
          type: string
          description: When rate limiting is enabled via the `throttle_*` settings,
            send this plain text response when a rate limit is exceeded. `Retry later`
            is sent if this is blank.
          nullable: true
        receive_max_input_size:
          type: string
          description: Maximum push size (MB).
          nullable: true
        relation_export_batch_size:
          type: string
          description: Size of each batch when exporting batched relations. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/194607)
            in GitLab 18.2.
          nullable: true
        remember_me_enabled:
          type: string
          description: If `true`, enables the [**Remember me** setting](https://docs.gitlab.com/administration/settings/account_and_limit_settings/#configure-the-remember-me-option).
          nullable: true
        require_admin_two_factor_authentication:
          type: string
          description: Allow administrators to require 2FA for all administrators
            on the instance.
          nullable: true
        require_email_verification_on_account_locked:
          type: string
          description: If `true`, all users on the instance must verify their identity
            after suspicious sign-in activity is detected.
          nullable: true
        require_sha_for_merge:
          type: string
          description: If `true`, requires a valid commit `sha` for calls to the [merge
            a merge request](https://docs.gitlab.com/api/merge_requests/#merge-a-merge-request)
            endpoint. Sets the instance default. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/236732)
            in GitLab 19.2.
          nullable: true
        runner_jobs_endpoints_api_limit:
          type: string
          description: 'Maximum number of requests per minute per job token for requests
            to the `/jobs/*` runner jobs API endpoints. Default: `200`. To disable
            throttling, set to `0`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/462537)
            in GitLab 18.5.'
          nullable: true
        runner_jobs_patch_trace_api_limit:
          type: string
          description: 'Maximum number of requests per minute per runner token for
            requests to the `PATCH /jobs/:id/trace` runner jobs API endpoint. Default:
            2000. To disable throttling, set to 0. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/462537)
            in GitLab 18.5.'
          nullable: true
        runner_jobs_request_api_limit:
          type: string
          description: 'Maximum number of requests per minute per runner token for
            requests to the `/jobs/request` runner jobs API endpoint. Default: `2000`.
            To disable throttling, set to `0`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/462537)
            in GitLab 18.5.'
          nullable: true
        runner_manager_creation_limit:
          type: string
          description: 'Maximum number of runner managers each runner can create every
            10 minutes. Applies only when the `log_runner_manager_creation_limit`
            or `enforce_runner_manager_creation_limit` feature flag is enabled. Default:
            `1000`. To disable the limit, set to `0`.'
          nullable: true
        search_rate_limit:
          type: string
          description: 'Maximum number of requests per minute for performing a search
            while authenticated. Default: `30`. To disable throttling, set to `0`.'
          nullable: true
        search_rate_limit_unauthenticated:
          type: string
          description: 'Maximum number of requests per minute for performing a search
            while unauthenticated. Default: `10`. To disable throttling, set to `0`.'
          nullable: true
        sidekiq_job_limiter_compression_threshold_bytes:
          type: string
          description: 'Threshold in bytes at which Sidekiq jobs are compressed before
            being stored in Redis. Default: 100,000 bytes (100 KB).'
          nullable: true
        sidekiq_job_limiter_limit_bytes:
          type: string
          description: 'Threshold in bytes at which Sidekiq jobs are rejected. Default:
            0 bytes (doesn''t reject any job).'
          nullable: true
        sidekiq_job_limiter_mode:
          type: string
          enum:
          - track
          - compress
          description: 'Sets the behavior for Sidekiq job size limits. Default: ''compress''.'
          nullable: true
        sidekiq_timezone_override:
          type: string
          description: IANA timezone identifier (for example, `America/Chicago`) applied
            to all Sidekiq cron jobs. When blank, no override is applied and cron
            jobs use the Rails application timezone.
          nullable: true
        sign_in_restrictions:
          type: string
          description: Application sign in restrictions.
          nullable: true
        silent_admin_exports_enabled:
          type: string
          description: If `true`, enables [Silent administrator exports](https://docs.gitlab.com/administration/settings/import_and_export_settings/#enable-silent-admin-exports).
            Default is `false`.
          nullable: true
        silent_mode_enabled:
          type: string
          description: If `true`, enables [Silent mode](https://docs.gitlab.com/administration/silent_mode/).
            Default is `false`.
          nullable: true
        snippet_size_limit:
          type: string
          description: 'Maximum snippet content size in bytes. Default: 52428800 bytes
            (50 MB).'
          nullable: true
        snowplow_database_collector_hostname:
          type: string
          description: The Snowplow collector for database events hostname. (for example,
            `your-db-snowplow-collector.example.com`)
          nullable: true
        spam_check_api_key:
          type: string
          description: API key used by GitLab for accessing the Spam Check service
            endpoint.
          nullable: true
        static_objects_external_storage_auth_token:
          type: string
          description: Authentication token for the external storage linked in `static_objects_external_storage_url`.
          nullable: true
        static_objects_external_storage_url:
          type: string
          description: URL to an external storage for repository static objects.
          nullable: true
        system_hooks_create_limit:
          type: string
          description: 'Maximum number of system hooks a user can create per minute.
            Default: `5`. Set to `0` to disable limits. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/635281)
            in GitLab 19.6.'
          nullable: true
        terms:
          type: string
          description: "(**Required by**: `enforce_terms`) Markdown content for the
            ToS."
          nullable: true
        throttle_authenticated_api_enabled:
          type: string
          description: If `true`, enables the authenticated API request rate limit.
            Helps reduce request volume (for example, from crawlers or abusive bots).
            Requires `throttle_authenticated_api_period_in_seconds` and `throttle_authenticated_api_requests_per_period`.
          nullable: true
        throttle_authenticated_api_period_in_seconds:
          type: string
          description: Rate limit period in seconds.
          nullable: true
        throttle_authenticated_api_requests_per_period:
          type: string
          description: Maximum requests per period per user.
          nullable: true
        throttle_authenticated_git_http_enabled:
          type: string
          description: 'If `true`, enforces the authenticated Git HTTP request rate
            limit. Default value: `false`.'
          nullable: true
        throttle_authenticated_git_http_period_in_seconds:
          type: string
          description: 'Rate limit period in seconds. `throttle_authenticated_git_http_enabled`
            must be `true`. Default value: `3600`.'
          nullable: true
        throttle_authenticated_git_http_requests_per_period:
          type: string
          description: 'Maximum requests per period per user. `throttle_authenticated_git_http_enabled`
            must be `true`. Default value: `3600`.'
          nullable: true
        throttle_authenticated_mcp_enabled:
          type: string
          description: 'If `true`, enforces the rate limit on requests to the MCP
            Server endpoint, `/api/v4/mcp`, for any HTTP method. Does not apply to
            other MCP endpoints. Default value: `false`.'
          nullable: true
        throttle_authenticated_mcp_period_in_seconds:
          type: string
          description: 'Rate limit period in seconds. `throttle_authenticated_mcp_enabled`
            must be `true`. Default value: `60`.'
          nullable: true
        throttle_authenticated_mcp_requests_per_period:
          type: string
          description: 'Maximum requests per period per user. `throttle_authenticated_mcp_enabled`
            must be `true`. Default value: `600`.'
          nullable: true
        throttle_authenticated_dependency_proxy_enabled:
          type: string
          description: 'If `true`, enforces the authenticated dependency proxy request
            rate limit. Default value: `false`.'
          nullable: true
        throttle_authenticated_dependency_proxy_period_in_seconds:
          type: string
          description: 'Rate limit period in seconds. `throttle_authenticated_dependency_proxy_enabled`
            must be `true`. Default value: `15`.'
          nullable: true
        throttle_authenticated_dependency_proxy_requests_per_period:
          type: string
          description: 'Maximum requests per period per user. `throttle_authenticated_dependency_proxy_enabled`
            must be `true`. Default value: `1000`.'
          nullable: true
        throttle_authenticated_packages_api_enabled:
          type: string
          description: If `true`, enables the authenticated package registry API request
            rate limit. Helps reduce request volume (for example, from crawlers or
            abusive bots). View [package registry rate limits](https://docs.gitlab.com/rate_limits/api/package-registry/)
            for more details. Requires `throttle_authenticated_packages_api_period_in_seconds`
            and `throttle_authenticated_packages_api_requests_per_period`.
          nullable: true
        throttle_authenticated_packages_api_period_in_seconds:
          type: string
          description: Rate limit period in seconds. View [package registry rate limits](https://docs.gitlab.com/rate_limits/api/package-registry/)
            for more details.
          nullable: true
        throttle_authenticated_packages_api_requests_per_period:
          type: string
          description: Maximum requests per period per user. View [package registry
            rate limits](https://docs.gitlab.com/rate_limits/api/package-registry/)
            for more details.
          nullable: true
        throttle_authenticated_web_enabled:
          type: string
          description: If `true`, enables the authenticated web request rate limit.
            Helps reduce request volume (for example, from crawlers or abusive bots).
            Requires `throttle_authenticated_web_period_in_seconds` and `throttle_authenticated_web_requests_per_period`.
          nullable: true
        throttle_authenticated_web_period_in_seconds:
          type: string
          description: Rate limit period in seconds.
          nullable: true
        throttle_authenticated_web_requests_per_period:
          type: string
          description: Maximum requests per period per user.
          nullable: true
        throttle_unauthenticated_api_enabled:
          type: string
          description: If `true`, enables the unauthenticated API request rate limit.
            Helps reduce request volume (for example, from crawlers or abusive bots).
            Requires `throttle_unauthenticated_api_period_in_seconds` and `throttle_unauthenticated_api_requests_per_period`.
          nullable: true
        throttle_unauthenticated_api_period_in_seconds:
          type: string
          description: Rate limit period in seconds.
          nullable: true
        throttle_unauthenticated_api_requests_per_period:
          type: string
          description: Maximum requests per period per IP.
          nullable: true
        throttle_unauthenticated_enabled:
          type: string
          description: If `true`, enables the unauthenticated web request rate limit.
            Helps reduce request volume (for example, from crawlers or abusive bots).
            Requires `throttle_unauthenticated_period_in_seconds` and `throttle_unauthenticated_requests_per_period`.
            [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/335300) in
            GitLab 14.3. Use `throttle_unauthenticated_web_enabled` or `throttle_unauthenticated_api_enabled`
            instead.
          nullable: true
        throttle_unauthenticated_git_http_enabled:
          type: string
          description: 'If `true`, enforces the unauthenticated Git HTTP request rate
            limit. Default value: `false`.'
          nullable: true
        throttle_unauthenticated_git_http_period_in_seconds:
          type: string
          description: 'Rate limit period in seconds. `throttle_unauthenticated_git_http_enabled`
            must be `true`. Default value: `3600`.'
          nullable: true
        throttle_unauthenticated_git_http_requests_per_period:
          type: string
          description: 'Maximum requests per period per IP. `throttle_unauthenticated_git_http_enabled`
            must be `true`. Default value: `3600`.'
          nullable: true
        throttle_unauthenticated_packages_api_enabled:
          type: string
          description: If `true`, enables the unauthenticated package registry API
            request rate limit. Helps reduce request volume (for example, from crawlers
            or abusive bots). View [package registry rate limits](https://docs.gitlab.com/rate_limits/api/package-registry/)
            for more details. Requires `throttle_unauthenticated_packages_api_period_in_seconds`
            and `throttle_unauthenticated_packages_api_requests_per_period`.
          nullable: true
        throttle_unauthenticated_packages_api_period_in_seconds:
          type: string
          description: Rate limit period in seconds. View [package registry rate limits](https://docs.gitlab.com/rate_limits/api/package-registry/)
            for more details.
          nullable: true
        throttle_unauthenticated_packages_api_requests_per_period:
          type: string
          description: Maximum requests per period per IP. View [package registry
            rate limits](https://docs.gitlab.com/rate_limits/api/package-registry/)
            for more details.
          nullable: true
        throttle_unauthenticated_period_in_seconds:
          type: string
          description: Rate limit period in seconds. [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/335300)
            in GitLab 14.3. Use `throttle_unauthenticated_web_period_in_seconds` or
            `throttle_unauthenticated_api_period_in_seconds` instead.
          nullable: true
        throttle_unauthenticated_requests_per_period:
          type: string
          description: Maximum requests per period per IP. [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/335300)
            in GitLab 14.3. Use `throttle_unauthenticated_web_requests_per_period`
            or `throttle_unauthenticated_api_requests_per_period` instead.
          nullable: true
        throttle_unauthenticated_web_enabled:
          type: string
          description: If `true`, enables the unauthenticated web request rate limit.
            Helps reduce request volume (for example, from crawlers or abusive bots).
            Requires `throttle_unauthenticated_web_period_in_seconds` and `throttle_unauthenticated_web_requests_per_period`.
          nullable: true
        throttle_unauthenticated_web_period_in_seconds:
          type: string
          description: Rate limit period in seconds.
          nullable: true
        throttle_unauthenticated_web_requests_per_period:
          type: string
          description: Maximum requests per period per IP.
          nullable: true
        time_tracking_limit_to_hours:
          type: string
          description: If `true`, limits display of time tracking units to hours.
            Default is `false`.
          nullable: true
        top_level_group_creation_enabled:
          type: string
          description: If `true`, users can create top-level groups with the API.
            Defaults to `true`.
          nullable: true
        unique_ips_limit_enabled:
          type: string
          description: If `true`, limits sign-ins from multiple IP addresses. Requires
            `unique_ips_limit_per_user` and `unique_ips_limit_time_window`.
          nullable: true
        unique_ips_limit_per_user:
          type: string
          description: Maximum number of IPs per user.
          nullable: true
        unique_ips_limit_time_window:
          type: string
          description: How many seconds an IP is counted towards the limit.
          nullable: true
        update_runner_versions_enabled:
          type: string
          description: If `true`, fetches GitLab Runner release version data from
            GitLab.com. For more information, see how to [determine which runners
            need to be upgraded](https://docs.gitlab.com/ci/runners/runners_scope/#determine-which-runners-need-to-be-upgraded).
          nullable: true
        use_clickhouse_for_analytics:
          type: string
          description: If `true`, enables ClickHouse as a data source for analytics
            reports. ClickHouse must be configured for this setting to take effect.
            Premium and Ultimate only.
          nullable: true
        user_default_external:
          type: string
          description: If `true`, newly registered users are external by default.
          nullable: true
        user_default_internal_regex:
          type: string
          description: Specify an email address regex pattern to identify default
            internal users.
          nullable: true
        user_defaults_to_private_profile:
          type: string
          description: If `true`, newly created users have a private profile by default.
            Defaults to `false`.
          nullable: true
        user_oauth_applications:
          type: string
          description: If `true`, allows users to register any application to use
            GitLab as an OAuth provider. This setting does not affect group-level
            OAuth applications.
          nullable: true
        user_show_add_ssh_key_message:
          type: string
          description: When set to `false` disable the `You won't be able to pull
            or push repositories via SSH until you add an SSH key to your profile`
            warning shown to users with no uploaded SSH key.
          nullable: true
        users_api_limit_followers:
          type: string
          description: 'Maximum number of requests per minute, per user or IP address.
            Default: 100. Set to `0` to disable limits. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/181054)
            in GitLab 17.10.'
          nullable: true
        users_api_limit_following:
          type: string
          description: 'Maximum number of requests per minute, per user or IP address.
            Default: 100. Set to `0` to disable limits. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/181054)
            in GitLab 17.10.'
          nullable: true
        users_api_limit_gpg_key:
          type: string
          description: 'Maximum number of requests per minute, per user or IP address.
            Default: 120. Set to `0` to disable limits. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/181054)
            in GitLab 17.10.'
          nullable: true
        users_api_limit_gpg_keys:
          type: string
          description: 'Maximum number of requests per minute, per user or IP address.
            Default: 120. Set to `0` to disable limits. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/181054)
            in GitLab 17.10.'
          nullable: true
        users_api_limit_status:
          type: string
          description: 'Maximum number of requests per minute, per user or IP address.
            Default: 240. Set to `0` to disable limits. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/181054)
            in GitLab 17.10.'
          nullable: true
        version_check_enabled:
          type: string
          description: If `true`, GitLab informs you when an update is available.
          nullable: true
        web_hook_event_resend_limit:
          type: string
          description: 'Maximum number of webhook event resend requests per minute,
            per user, for a given project or group. Default: `5`. Set to `0` to disable
            limits. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/587887)
            in GitLab 19.3.'
          nullable: true
        web_hook_test_limit:
          type: string
          description: 'Maximum number of webhook test requests per minute, per user,
            for a given project, group, or organization. Default: `5`. Set to `0`
            to disable limits. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/587887)
            in GitLab 19.3.'
          nullable: true
        elasticsearch_aws:
          type: boolean
          description: If `true`, enables the use of AWS hosted Elasticsearch. Premium
            and Ultimate only.
          nullable: true
        elasticsearch_aws_access_key:
          type: string
          description: AWS IAM access key. Premium and Ultimate only.
          nullable: true
        elasticsearch_aws_region:
          type: string
          description: AWS region where the Elasticsearch domain is configured. Premium
            and Ultimate only.
          nullable: true
        elasticsearch_aws_secret_access_key:
          type: string
          description: AWS IAM secret access key. Premium and Ultimate only.
          nullable: true
        elasticsearch_indexing:
          type: boolean
          description: If `true`, turns on indexing for advanced search. Premium and
            Ultimate only.
          nullable: true
        elasticsearch_search:
          type: boolean
          description: If `true`, enables Elasticsearch search. Premium and Ultimate
            only.
          nullable: true
        elasticsearch_pause_indexing:
          type: boolean
          description: If `true`, pauses Elasticsearch indexing for both Advanced
            Search and ActiveContext.
          nullable: true
        elasticsearch_advanced_search_pause_indexing:
          type: boolean
          description: If `true`, pauses advanced search indexing.
          nullable: true
        elasticsearch_url:
          type: string
          description: URL to use for connecting to Elasticsearch. Use a comma-separated
            list or an array to support clustering (for example, `http://localhost:9200,
            http://localhost:9201` or `["http://localhost:9200", "http://localhost:9201"]`).
            Premium and Ultimate only.
          nullable: true
        elasticsearch_username:
          type: string
          description: Username of your Elasticsearch instance. Premium and Ultimate
            only.
          nullable: true
        elasticsearch_password:
          type: string
          description: Password of your Elasticsearch instance. Premium and Ultimate
            only.
          nullable: true
        elasticsearch_limit_indexing:
          type: boolean
          description: If `true`, limits Elasticsearch to index certain namespaces
            and projects. Premium and Ultimate only.
          nullable: true
        active_context_pause_indexing:
          type: boolean
          description: If `true`, pauses ActiveContext indexing.
          nullable: true
        elasticsearch_namespace_ids:
          type: array
          items:
            type: integer
          description: IDs of namespaces to index with Elasticsearch if `elasticsearch_limit_indexing`
            is enabled. Premium and Ultimate only.
          nullable: true
        elasticsearch_project_ids:
          type: array
          items:
            type: integer
          description: IDs of projects to index with Elasticsearch if `elasticsearch_limit_indexing`
            is enabled. Premium and Ultimate only.
          nullable: true
        secret_detection_token_revocation_enabled:
          type: boolean
          description: If `true`, enables secret detection token revocation.
          nullable: true
        secret_detection_token_revocation_url:
          type: string
          description: URL that GitLab sends leaked tokens to for revocation.
          nullable: true
        secret_detection_revocation_token_types_url:
          type: string
          description: URL that returns the token types that can be revoked.
          nullable: true
        email_additional_text:
          type: string
          description: Additional text added to the bottom of every email for legal/auditing/compliance
            reasons. Premium and Ultimate only.
          nullable: true
        default_project_deletion_protection:
          type: boolean
          description: If `true`, enables default project deletion protection so only
            administrators can delete projects. GitLab Self-Managed, Premium and Ultimate
            only.
          nullable: true
        disable_personal_access_tokens:
          type: boolean
          description: If `true`, disables personal access tokens. GitLab Self-Managed,
            Premium and Ultimate only. There is no method available to enable a personal
            access token that's been disabled through the API. This is a [known issue](https://gitlab.com/gitlab-org/gitlab/-/issues/399233).
            For more information about available workarounds, see [Workaround](https://gitlab.com/gitlab-org/gitlab/-/issues/399233#workaround).
          nullable: true
        repository_size_limit:
          type: integer
          description: Size limit per repository (MB). Premium and Ultimate only.
          nullable: true
        file_template_project_id:
          type: integer
          description: ID of the project to load custom file templates from. Premium
            and Ultimate only.
          nullable: true
        updating_name_disabled_for_users:
          type: boolean
          description: If `true`, prevents users from updating their profile name.
          nullable: true
        disable_overriding_approvers_per_merge_request:
          type: boolean
          description: If `true`, prevents users from overriding approval rules in
            projects and merge requests.
          nullable: true
        prevent_merge_requests_author_approval:
          type: boolean
          description: If `true`, prevents merge request authors from approving their
            own merge requests.
          nullable: true
        prevent_merge_requests_committers_approval:
          type: boolean
          description: If `true`, prevents committers from approving merge requests
            they contributed to.
          nullable: true
        maven_package_requests_forwarding:
          type: boolean
          description: If `true`, forwards Maven package requests to `repo.maven.apache.org`
            when not found in the GitLab package registry. Premium and Ultimate only.
          nullable: true
        npm_package_requests_forwarding:
          type: boolean
          description: If `true`, forwards npm package requests to `npmjs.org` when
            not found in the GitLab package registry. Premium and Ultimate only.
          nullable: true
        pypi_package_requests_forwarding:
          type: boolean
          description: If `true`, forwards PyPI package requests to `pypi.org` when
            not found in the GitLab package registry. Premium and Ultimate only.
          nullable: true
        rubygems_package_requests_forwarding:
          type: boolean
          description: If `true`, forwards RubyGems package requests to `rubygems.org`
            when not found in the GitLab package registry. Premium and Ultimate only.
          nullable: true
        virtual_registries_endpoints_api_limit:
          type: integer
          description: 'Maximum number of requests on virtual registries endpoints,
            per IP address, per 15 seconds. Default: 4000. To disable limits, set
            to `0`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/521692)
            in GitLab 17.11.'
          nullable: true
        audit_events_api_limit:
          type: integer
          description: Maximum number of requests per minute per user to the instance
            audit events API.
          nullable: true
        project_audit_events_api_limit:
          type: integer
          description: Maximum number of requests per minute per user per project
            to the project audit events API.
          nullable: true
        group_audit_events_api_limit:
          type: integer
          description: Maximum number of requests per minute per user per group to
            the group audit events API.
          nullable: true
        insights_query_limit:
          type: integer
          description: 'Maximum number of Insights chart queries per minute for each
            user or IP address, for each group or project. Default: `0`, which disables
            the rate limit. GitLab.com uses `60`.'
          nullable: true
        dast_configuration_show_limit:
          type: integer
          description: 'Maximum number of DAST configuration page views per minute
            for each user. Default: `0`, which disables the rate limit.'
          nullable: true
        scanned_resources_artifacts_count_limit:
          type: integer
          description: 'Maximum number of DAST and API fuzzing artifacts parsed for
            the scanned resources CSV and GraphQL fields of a pipeline. Default: `0`,
            which disables the limit.'
          nullable: true
        scanned_resources_artifacts_size_limit_megabytes:
          type: integer
          description: 'Maximum total size, in megabytes, of DAST and API fuzzing
            artifacts parsed for the scanned resources CSV and GraphQL fields of a
            pipeline. Default: `0`, which disables the limit.'
          nullable: true
        scanned_resources_csv_download_limit:
          type: integer
          description: 'Maximum number of scanned resources CSV downloads per minute
            for each user. Default: `0`, which disables the rate limit.'
          nullable: true
        scanned_resources_pipelines_query_limit:
          type: integer
          description: 'Maximum number of pipelines per minute for each user whose
            `scannedResources` or `scannedResourcesCount` GraphQL fields are requested.
            Default: `0`, which disables the rate limit.'
          nullable: true
        issues_analytics_limit:
          type: integer
          description: 'Maximum number of issue analytics chart requests a user can
            make every minute in a group or project. For unauthenticated requests,
            the limit applies to each IP address. Default: `60`. Set to `0` to disable
            the rate limit.'
          nullable: true
        merge_train_removal_limit_per_user:
          type: integer
          description: 'Maximum number of merge requests a user can remove from merge
            trains per minute. Default: `30`. Set to `0` to disable the rate limit.'
          nullable: true
        orbit_query_limit:
          type: integer
          description: 'Maximum number of GitLab Orbit queries per minute per user.
            Default: `60`. Set to `0` to disable the rate limit.'
          nullable: true
        orbit_indexing_status_limit:
          type: integer
          description: 'Maximum number of GitLab Orbit indexing status requests per
            minute per user. Default: `30`. Set to `0` to disable the rate limit.'
          nullable: true
        orbit_item_counts_limit:
          type: integer
          description: 'Maximum number of GitLab Orbit item count requests per minute
            per user. Default: `30`. Set to `0` to disable the rate limit.'
          nullable: true
        orbit_rate_limit_allowlist_raw:
          type: string
          description: 'Raw newline-, comma-, or whitespace-separated list of usernames
            excluded from the GitLab Orbit rate limits. Maximum: 100 usernames.'
          nullable: true
        subscription_usage_per_minute_limit:
          type: integer
          description: 'Maximum number of `subscriptionUsage` and `trialUsage` GraphQL
            requests per minute per user. Default: `300`. Set to `0` to disable the
            rate limit.'
          nullable: true
        subscription_usage_per_hour_limit:
          type: integer
          description: 'Maximum number of `subscriptionUsage` and `trialUsage` GraphQL
            requests per hour per user. Default: `10000`. Set to `0` to disable the
            rate limit.'
          nullable: true
        subscription_usage_per_day_limit:
          type: integer
          description: 'Maximum number of `subscriptionUsage` and `trialUsage` GraphQL
            requests per day per user. Default: `40000`. Set to `0` to disable the
            rate limit.'
          nullable: true
        budget_cap_update_per_minute_limit:
          type: integer
          description: 'Maximum number of `upsertUserBudgetCapOverrides` and `upsertFlatUserCap`
            GraphQL mutation calls per minute per user. Default: `150`. Set to `0`
            to disable the rate limit.'
          nullable: true
        budget_cap_update_per_hour_limit:
          type: integer
          description: 'Maximum number of `upsertUserBudgetCapOverrides` and `upsertFlatUserCap`
            GraphQL mutation calls per hour per user. Default: `1000`. Set to `0`
            to disable the rate limit.'
          nullable: true
        budget_cap_update_per_day_limit:
          type: integer
          description: 'Maximum number of `upsertUserBudgetCapOverrides` and `upsertFlatUserCap`
            GraphQL mutation calls per day per user. Default: `20000`. Set to `0`
            to disable the rate limit.'
          nullable: true
        subscriptions_payment_form_per_hour_limit:
          type: integer
          description: 'Maximum number of payment form requests per hour per authenticated
            user, or per IP address during identity verification. Default: `20`. Set
            to `0` to disable the rate limit.'
          nullable: true
        subscriptions_validate_payment_method_per_hour_limit:
          type: integer
          description: 'Maximum number of payment method validation requests per hour
            per authenticated user, or per IP address during identity verification.
            Default: `10`. Set to `0` to disable the rate limit.'
          nullable: true
        credits_usage_per_minute_limit:
          type: integer
          description: 'Maximum number of `creditsUsage` GraphQL requests per minute
            per user. Default: `60`. Set to `0` to disable the rate limit.'
          nullable: true
        credits_usage_per_hour_limit:
          type: integer
          description: 'Maximum number of `creditsUsage` GraphQL requests per hour
            per user. Default: `300`. Set to `0` to disable the rate limit.'
          nullable: true
        credits_usage_per_day_limit:
          type: integer
          description: 'Maximum number of `creditsUsage` GraphQL requests per day
            per user. Default: `3000`. Set to `0` to disable the rate limit.'
          nullable: true
        trial_create_limit:
          type: integer
          description: 'Maximum number of trial creation requests per hour per user.
            Default: `10`. Set to `0` to disable the rate limit.'
          nullable: true
        hand_raise_lead_create_limit:
          type: integer
          description: 'Maximum number of hand-raise lead requests per hour per user.
            Default: `10`. Set to `0` to disable the rate limit.'
          nullable: true
        user_add_on_assignment_bulk_create_limit:
          type: integer
          description: 'Maximum number of `userAddOnAssignmentBulkCreate` GraphQL
            mutation calls per minute per user. Default: `0`. Set to `0` to disable
            the rate limit.'
          nullable: true
        billed_users_scan_per_minute_limit:
          type: integer
          description: 'Maximum number of requests that calculate billable users per
            minute per user per top-level group. Default: `500`. Set to `0` to disable
            the rate limit.'
          nullable: true
        billed_users_scan_per_hour_limit:
          type: integer
          description: 'Maximum number of requests that calculate billable users per
            hour per user per top-level group. Default: `2500`. Set to `0` to disable
            the rate limit.'
          nullable: true
        billed_users_scan_per_day_limit:
          type: integer
          description: 'Maximum number of requests that calculate billable users per
            day per user per top-level group. Default: `20000`. Set to `0` to disable
            the rate limit.'
          nullable: true
        seat_usage_export_limit:
          type: integer
          description: 'Maximum number of seat usage CSV exports per hour per user
            per top-level group. Default: `10`. Set to `0` to disable the rate limit.'
          nullable: true
        group_owners_can_manage_default_branch_protection:
          type: boolean
          description: If `true`, allows group owners to manage default branch protection
            in their groups. If `false`, group owners cannot override the instance
            default branch protection. GitLab Self-Managed, Premium and Ultimate only.
          nullable: true
        maintenance_mode:
          type: boolean
          description: If `true`, puts the instance into maintenance mode. Non-administrator
            users can sign in with read-only access and make read-only API requests.
            Premium and Ultimate only.
          nullable: true
        maintenance_mode_message:
          type: string
          description: Message displayed when instance is in maintenance mode. Premium
            and Ultimate only.
          nullable: true
        git_two_factor_session_expiry:
          type: integer
          description: Maximum duration (in minutes) of a session for Git operations
            when 2FA is enabled. Premium and Ultimate only.
          nullable: true
        max_number_of_repository_downloads:
          type: integer
          description: 'Maximum number of unique repositories a user can download
            in the specified time period before they are banned. Default: 0, Maximum:
            10,000 repositories. GitLab Self-Managed, Ultimate only.'
          nullable: true
        max_number_of_repository_downloads_within_time_period:
          type: integer
          description: 'Reporting time period (in seconds). Default: 0, Maximum: 864000
            seconds (10 days). GitLab Self-Managed, Ultimate only.'
          nullable: true
        git_rate_limit_users_allowlist:
          type: array
          items:
            type: string
          description: 'List of usernames excluded from Git anti-abuse rate limits.
            Default: `[]`, Maximum: 100 usernames. GitLab Self-Managed, Ultimate only.'
          nullable: true
        git_rate_limit_users_alertlist:
          type: array
          items:
            type: integer
          description: 'List of user IDs that are emailed when the Git abuse rate
            limit is exceeded. Default: `[]`, Maximum: 100 user IDs. GitLab Self-Managed,
            Ultimate only.'
          nullable: true
        auto_ban_user_on_excessive_projects_download:
          type: boolean
          description: If `true`, automatically bans users from the application when
            they download more than the maximum number of unique projects in the time
            period specified by `max_number_of_repository_downloads` and `max_number_of_repository_downloads_within_time_period`.
            GitLab Self-Managed, Ultimate only.
          nullable: true
        make_profile_private:
          type: boolean
          description: If `true`, allows users to make their profiles private.
          nullable: true
        service_access_tokens_expiration_enforced:
          type: boolean
          description: If `true`, enforces token expiration for service account users.
            Premium and Ultimate only.
          nullable: true
        duo_features_enabled:
          type: boolean
          description: If `true`, enables GitLab Duo features for this instance. GitLab
            Self-Managed, Premium and Ultimate only.
          nullable: true
        lock_duo_features_enabled:
          type: boolean
          description: If `true`, enforces the GitLab Duo features enabled setting
            for all subgroups. GitLab Self-Managed, Premium and Ultimate only.
          nullable: true
        disabled_direct_code_suggestions:
          type: boolean
          description: If `true`, disables direct connections for Code Suggestions
            for users.
          nullable: true
        receptive_cluster_agents_enabled:
          type: boolean
          description: If `true`, enables receptive mode for GitLab agents for Kubernetes.
          nullable: true
        auto_duo_code_review_enabled:
          type: boolean
          description: If `true`, enables automatic reviews by GitLab Duo on merge
            requests.
          nullable: true
        duo_code_review_decisions_enabled:
          type: boolean
          description: If `true`, GitLab Duo can approve and request changes on merge
            requests.
          nullable: true
        duo_code_review_level_allowed:
          type: boolean
          description: If `true`, allows Standard reviews by GitLab Duo Code Review
            Flow. Beta.
          nullable: true
        duo_code_review_default_level:
          type: string
          enum:
          - lite
          - standard
          description: Default review level for GitLab Duo Code Review Flow. One of
            `lite` or `standard`. Beta.
          nullable: true
        security_scan_stale_after_days:
          type: integer
          description: 'Number of days to retain security scan data before purging.
            Must be between 7 and 90 days. Default: 30 days for GitLab.com, 90 days
            for GitLab Self-Managed. Premium and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/222998)
            in GitLab 18.9.'
          nullable: true
        duo_custom_agents_enabled:
          type: boolean
          description: If `true`, allows custom agents for this instance. Defaults
            to `true`. GitLab Self-Managed, Premium and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/594615)
            in GitLab 19.0.
          nullable: true
        lock_duo_custom_agents_enabled:
          type: boolean
          description: If `true`, enforces the custom agents enabled setting for all
            groups. GitLab Self-Managed, Premium and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/594615)
            in GitLab 19.0.
          nullable: true
        duo_custom_flows_enabled:
          type: boolean
          description: If `true`, allows custom flows for this instance. Defaults
            to `true`. GitLab Self-Managed, Premium and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/594615)
            in GitLab 19.0.
          nullable: true
        lock_duo_custom_flows_enabled:
          type: boolean
          description: If `true`, enforces the custom flows enabled setting for all
            groups. GitLab Self-Managed, Premium and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/594615)
            in GitLab 19.0.
          nullable: true
        duo_external_agents_enabled:
          type: boolean
          description: If `true`, allows external agents for this instance. Defaults
            to `true`. GitLab Self-Managed, Premium and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/594615)
            in GitLab 19.0.
          nullable: true
        lock_duo_external_agents_enabled:
          type: boolean
          description: If `true`, enforces the external agents enabled setting for
            all groups. GitLab Self-Managed, Premium and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/594615)
            in GitLab 19.0.
          nullable: true
        duo_remote_flows_enabled:
          type: boolean
          description: If `true`, enables GitLab Duo remote flows for the instance.
          nullable: true
        lock_duo_remote_flows_enabled:
          type: boolean
          description: If `true`, enforces the GitLab Duo remote flows enabled setting
            for all subgroups.
          nullable: true
        duo_scheduled_automations_enabled:
          type: boolean
          description: If `true`, allows GitLab Duo flows to run on a schedule for
            the instance. Defaults to `true`.
          nullable: true
        lock_duo_scheduled_automations_enabled:
          type: boolean
          description: If `true`, enforces the scheduled automations enabled setting
            for all groups.
          nullable: true
        duo_code_suggestions_enabled:
          type: boolean
          description: If `true`, allows GitLab Duo Code Suggestions for the instance.
            Defaults to `true`. GitLab Self-Managed, Premium and Ultimate only.
          nullable: true
        lock_duo_code_suggestions_enabled:
          type: boolean
          description: If `true`, enforces the Code Suggestions enabled setting for
            all groups. Always `true` when `duo_code_suggestions_enabled` is `false`.
            Becomes `false` when `duo_code_suggestions_enabled` changes to `true`,
            unless the same request sets this attribute. GitLab Self-Managed, Premium
            and Ultimate only.
          nullable: true
        duo_workflows_default_image_registry:
          type: string
          description: Default container registry for Duo Agent Platform foundational
            flow images.
          nullable: true
        ci_telemetry_otel_endpoint:
          type: string
          description: OTEL Collector endpoint URL for CI job telemetry.
          nullable: true
        ci_job_telemetry_sampling_rate:
          type: number
          description: Sampling rate for CI job telemetry, ranging from 0.0 to 1.0.
          nullable: true
        duo_namespace_access_rules:
          type: array
          description: Access rules that control which namespaces can access Duo features.
          items:
            type: object
            properties:
              through_namespace:
                type: object
                description: Group whose members can access the listed features.
                properties:
                  id:
                    type: integer
                    description: ID of the group.
                    nullable: true
                  name:
                    type: string
                    description: Name of the group.
                    nullable: true
                  full_path:
                    type: string
                    description: Full path of the group.
                    nullable: true
                required:
                - id
                nullable: true
              features:
                type: array
                items:
                  type: string
                description: List of accessible features.
                nullable: true
            required:
            - features
          nullable: true
        built_in_project_templates_enabled:
          type: boolean
          description: If `true`, enables built-in project templates when users create
            projects. Premium and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/235284)
            in GitLab 19.0 [with a feature flag](https://docs.gitlab.com/administration/feature_flags/)
            named `use_built_in_project_templates_enabled`. [Generally available](https://gitlab.com/gitlab-org/gitlab/-/work_items/593623)
            in GitLab 19.2. Feature flag `use_built_in_project_templates_enabled`
            removed.
          nullable: true
        lock_built_in_project_templates_enabled:
          type: boolean
          description: If `true`, enforces the `built_in_project_templates_enabled`
            setting for all groups. Premium and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/235284)
            in GitLab 19.0 [with a feature flag](https://docs.gitlab.com/administration/feature_flags/)
            named `use_built_in_project_templates_enabled`. [Generally available](https://gitlab.com/gitlab-org/gitlab/-/work_items/593623)
            in GitLab 19.2. Feature flag `use_built_in_project_templates_enabled`
            removed.
          nullable: true
        duo_template_project_id:
          type: integer
          description: ID of the project to use as the Duo Code Review custom instructions
            template for this instance.
          nullable: true
        use_nats_for_audit_streaming:
          type: boolean
          description: If `true`, routes audit event streaming through NATS JetStream.
            NATS must be configured for this setting to take effect. Premium and Ultimate
            only.
          nullable: true
        allow_all_integrations:
          type: string
          description: If `true`, allows all integrations on the instance. If `false`,
            only integrations in `allowed_integrations` are allowed. Ultimate only.
            [Added](https://gitlab.com/gitlab-org/gitlab/-/issues/500610) in GitLab
            17.6.
          nullable: true
        allow_group_owners_to_manage_ldap:
          type: string
          description: If `true`, allows group owners to manage LDAP. Premium and
            Ultimate only.
          nullable: true
        allowed_integrations:
          type: string
          description: When `allow_all_integrations` is `false`, only integrations
            in this list are allowed on the instance. Ultimate only. [Added](https://gitlab.com/gitlab-org/gitlab/-/issues/500610)
            in GitLab 17.6.
          nullable: true
        automatic_purchased_storage_allocation:
          type: string
          description: If `true`, permits automatic allocation of purchased storage
            in a namespace. Relevant only to EE distributions.
          nullable: true
        check_namespace_plan:
          type: string
          description: If `true`, makes licensed EE features available to projects
            only if the project namespace's plan includes the feature or if the project
            is public. Premium and Ultimate only.
          nullable: true
        delete_unconfirmed_users:
          type: string
          description: If `true`, deletes users who have not confirmed their email
            after `unconfirmed_users_delete_after_days` days. Default is `false`.
            GitLab Self-Managed, Premium and Ultimate only.
          nullable: true
        disable_invite_members:
          type: string
          description: If `true`, disables the invite members functionality for groups.
          nullable: true
        elasticsearch_client_adapter:
          type: string
          description: Faraday adapter used by the Elasticsearch Ruby Client. Defaults
            to `typhoeus`. Possible values are `typhoeus` and `net_http`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/550805)
            in GitLab 18.5. Premium and Ultimate only.
          nullable: true
        elasticsearch_indexed_field_length_limit:
          type: string
          description: Maximum size of text fields to index by Elasticsearch. A value
            of `0` means no limit. This does not apply to repository and wiki indexing.
            Premium and Ultimate only.
          nullable: true
        elasticsearch_indexed_file_size_limit_kb:
          type: string
          description: Maximum size, in KB, of repository and wiki files that are
            indexed by Elasticsearch. Premium and Ultimate only.
          nullable: true
        elasticsearch_max_bulk_concurrency:
          type: string
          description: Maximum concurrency of Elasticsearch bulk requests per indexing
            operation. This only applies to repository indexing operations. Premium
            and Ultimate only.
          nullable: true
        elasticsearch_max_bulk_size_mb:
          type: string
          description: Maximum size of Elasticsearch bulk indexing requests in MB.
            This only applies to repository indexing operations. Premium and Ultimate
            only.
          nullable: true
        elasticsearch_max_code_indexing_concurrency:
          type: string
          description: Maximum concurrency of Elasticsearch code indexing background
            jobs. This only applies to repository indexing operations. Premium and
            Ultimate only.
          nullable: true
        elasticsearch_replicas:
          type: string
          description: 'Number of replicas for Elasticsearch indices. Use an integer
            to set all indices to the same value. Use an object to set per-index values.
            For example: `{"gitlab-production": 1, "gitlab-production-notes": 2}`.
            When using an object, you must provide both `elasticsearch_shards` and
            `elasticsearch_replicas` for each index. If either value is missing for
            an index, that index is skipped. Premium and Ultimate only.'
          nullable: true
        elasticsearch_requeue_workers:
          type: string
          description: If `true`, enables automatic requeuing of indexing workers.
            This improves non-code indexing throughput by enqueuing Sidekiq jobs until
            all documents are processed. Premium and Ultimate only.
          nullable: true
        elasticsearch_retry_on_failure:
          type: string
          description: Maximum number of possible retries for Elasticsearch search
            requests. Premium and Ultimate only.
          nullable: true
        elasticsearch_shards:
          type: string
          description: 'Number of shards for Elasticsearch indices. Use an integer
            to set all indices to the same value. Use an object to set per-index values.
            For example: `{"gitlab-production": 5, "gitlab-production-notes": 3}`.
            When using an object, you must provide both `elasticsearch_shards` and
            `elasticsearch_replicas` for each index. If either value is missing for
            an index, that index is skipped. Premium and Ultimate only.'
          nullable: true
        elasticsearch_worker_number_of_shards:
          type: string
          description: Number of indexing worker shards. This improves non-code indexing
            throughput by enqueuing more parallel Sidekiq jobs. Default is `2`. Premium
            and Ultimate only.
          nullable: true
        enforce_namespace_storage_limit:
          type: string
          description: If `true`, enforces namespace storage limits.
          nullable: true
        enforce_pipl_compliance:
          type: string
          description: If `true`, enforces PIPL compliance on GitLab.com.
          nullable: true
        geo_node_allowed_ips:
          type: string
          description: Comma-separated list of IPs and CIDRs of allowed secondary
            nodes. For example, `1.1.1.1, 2.2.2.0/24`. GitLab Self-Managed, Premium
            and Ultimate only.
          nullable: true
        geo_status_timeout:
          type: string
          description: Number of seconds after which a request to get a secondary
            node status times out. GitLab Self-Managed, Premium and Ultimate only.
          nullable: true
        globally_allowed_ips:
          type: string
          description: Comma-separated list of IP addresses and CIDRs always allowed
            for inbound traffic. For example, `1.1.1.1, 2.2.2.0/24`.
          nullable: true
        group_secrets_limit:
          type: string
          description: 'Maximum number of secrets allowed per group in Secrets Manager.
            Default: 500. To disable the limit, set to `0`. Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/219436)
            in GitLab 18.9.'
          nullable: true
        lock_memberships_to_saml:
          type: string
          description: If `true`, enforces a [global lock on SAML group memberships](https://docs.gitlab.com/user/group/saml_sso/group_sync/#global-saml-group-memberships-lock).
          nullable: true
        max_personal_access_token_lifetime:
          type: string
          description: Maximum allowable lifetime for access tokens in days. When
            left blank, default value of 365 is applied. When set, value must be 365
            or less. When changed, existing access tokens with an expiration date
            beyond the maximum allowable lifetime are revoked. GitLab Self-Managed,
            Ultimate only. In GitLab 17.6 or later, the maximum lifetime limit can
            be [extended to 400 days](https://gitlab.com/gitlab-org/gitlab/-/issues/461901)
            by enabling a [feature flag](https://docs.gitlab.com/administration/feature_flags/)
            named `buffered_token_expiration_limit`.
          nullable: true
        max_ssh_key_lifetime:
          type: string
          description: Maximum allowable lifetime for SSH keys in days. GitLab Self-Managed,
            Ultimate only. In GitLab 17.6 or later, the maximum lifetime limit can
            be [extended to 400 days](https://gitlab.com/gitlab-org/gitlab/-/issues/461901)
            by enabling a [feature flag](https://docs.gitlab.com/administration/feature_flags/)
            named `buffered_token_expiration_limit`.
          nullable: true
        mirror_capacity_threshold:
          type: string
          description: Minimum capacity to be available before scheduling more mirrors
            preemptively. Premium and Ultimate only.
          nullable: true
        mirror_max_capacity:
          type: string
          description: Maximum number of mirrors that can be synchronizing at the
            same time. Premium and Ultimate only.
          nullable: true
        mirror_max_delay:
          type: string
          description: Maximum time (in minutes) between updates that a mirror can
            have when scheduled to synchronize. Premium and Ultimate only.
          nullable: true
        package_metadata_purl_types:
          type: string
          description: List of [package registry metadata to sync](https://docs.gitlab.com/administration/settings/security_and_compliance/#choose-package-registry-metadata-to-sync).
            See [the list](https://gitlab.com/gitlab-org/gitlab/-/blob/ace16c20d5da7c4928dd03fb139692638b557fe3/app/models/concerns/enums/package_metadata.rb#L5)
            of the available values. GitLab Self-Managed, Ultimate only.
          nullable: true
        password_lowercase_required:
          type: string
          description: If `true`, passwords require at least one lowercase letter.
            Premium and Ultimate only.
          nullable: true
        password_number_required:
          type: string
          description: If `true`, passwords require at least one number. Premium and
            Ultimate only.
          nullable: true
        password_symbol_required:
          type: string
          description: If `true`, passwords require at least one symbol character.
            Premium and Ultimate only.
          nullable: true
        password_uppercase_required:
          type: string
          description: If `true`, passwords require at least one uppercase letter.
            Premium and Ultimate only.
          nullable: true
        project_secrets_limit:
          type: string
          description: 'Maximum number of secrets allowed per project in Secrets Manager.
            Default: 100. To disable the limit, set to `0`. Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/219436)
            in GitLab 18.9.'
          nullable: true
        scan_execution_policies_action_limit:
          type: string
          description: Maximum number of `actions` per scan execution policy. Defaults
            to `0` and cannot be set above `20`.
          nullable: true
        scan_execution_policies_schedule_limit:
          type: string
          description: 'Maximum number of `type: schedule` rules per scan execution
            policy. Defaults to `0` and cannot be set above `20`.'
          nullable: true
        secret_push_protection_available:
          type: string
          description: If `true`, allows projects to enable secret push protection.
            This does not enable secret push protection. Ultimate only.
          nullable: true
        security_approval_policies_limit:
          type: string
          description: Maximum number of active merge request approval policies per
            security policy project. Defaults to `5` and cannot be set above `20`.
          nullable: true
        security_mr_report_cache_lifetime_minutes:
          type: string
          description: 'Number of minutes to cache security reports on merge requests
            (10-60). Default: 10. Premium and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/223399)
            in GitLab 18.10.'
          nullable: true
        shared_runners_minutes:
          type: string
          description: Set the maximum number of compute minutes that a group can
            use on instance runners per month. Premium and Ultimate only.
          nullable: true
        unconfirmed_users_delete_after_days:
          type: string
          description: Specifies how many days after account creation to delete users
            who have not confirmed their email. Only applicable if `delete_unconfirmed_users`
            is set to `true`. Must be `1` or greater. Default is `7`. GitLab Self-Managed,
            Premium and Ultimate only.
          nullable: true
        allow_possible_spam:
          type: string
          nullable: true
        import_jobs_concurrency_limit:
          type: string
          nullable: true
        deny_all_requests_except_allowed:
          type: string
          nullable: true
        block_jwt_for_reclaimed_paths:
          type: string
          nullable: true
        root_moved_permanently_redirection:
          type: string
          nullable: true
        domain_denylist_raw:
          type: string
          nullable: true
        domain_allowlist_raw:
          type: string
          nullable: true
        outbound_local_requests_allowlist_raw:
          type: string
          nullable: true
        enforce_ci_inbound_job_token_scope_enabled:
          type: string
          nullable: true
        enforce_email_subaddress_restrictions:
          type: string
          nullable: true
        error_tracking_enabled:
          type: string
          nullable: true
        error_tracking_api_url:
          type: string
          nullable: true
        force_pages_access_control:
          type: string
          nullable: true
        jira_connect_additional_audience_url:
          type: string
          nullable: true
        math_rendering_limits_enabled:
          type: string
          nullable: true
        max_artifacts_content_include_size:
          type: string
          nullable: true
        organization_cluster_agent_authorization_enabled:
          type: string
          nullable: true
        instance_token_prefix:
          type: string
          nullable: true
        pages_extra_deployments_default_expiry_seconds:
          type: string
          nullable: true
        throttle_authenticated_git_lfs_enabled:
          type: string
          nullable: true
        throttle_authenticated_git_lfs_period_in_seconds:
          type: string
          nullable: true
        throttle_authenticated_git_lfs_requests_per_period:
          type: string
          nullable: true
        throttle_authenticated_files_api_enabled:
          type: string
          nullable: true
        throttle_authenticated_files_api_period_in_seconds:
          type: string
          nullable: true
        throttle_authenticated_files_api_requests_per_period:
          type: string
          nullable: true
        throttle_authenticated_deprecated_api_enabled:
          type: string
          nullable: true
        throttle_authenticated_deprecated_api_period_in_seconds:
          type: string
          nullable: true
        throttle_authenticated_deprecated_api_requests_per_period:
          type: string
          nullable: true
        throttle_unauthenticated_files_api_enabled:
          type: string
          nullable: true
        throttle_unauthenticated_files_api_period_in_seconds:
          type: string
          nullable: true
        throttle_unauthenticated_files_api_requests_per_period:
          type: string
          nullable: true
        throttle_unauthenticated_deprecated_api_enabled:
          type: string
          nullable: true
        throttle_unauthenticated_deprecated_api_period_in_seconds:
          type: string
          nullable: true
        throttle_unauthenticated_deprecated_api_requests_per_period:
          type: string
          nullable: true
        throttle_protected_paths_enabled:
          type: string
          nullable: true
        throttle_protected_paths_period_in_seconds:
          type: string
          nullable: true
        throttle_protected_paths_requests_per_period:
          type: string
          nullable: true
        protected_paths_raw:
          type: string
          nullable: true
        protected_paths_for_get_request_raw:
          type: string
          nullable: true
        usage_ping_generation_enabled:
          type: string
          nullable: true
        usage_ping_features_enabled:
          type: string
          nullable: true
        project_create_limit:
          type: string
          nullable: true
        group_create_limit:
          type: string
          nullable: true
        notes_create_limit:
          type: string
          nullable: true
        notes_create_limit_allowlist_raw:
          type: string
          nullable: true
        merge_request_diff_download_request_limit:
          type: string
          nullable: true
        markdown_upload_limit_megabytes_per_day:
          type: string
          nullable: true
        members_delete_limit:
          type: string
          nullable: true
        milestone_destroy_limit:
          type: string
          nullable: true
        project_import_limit:
          type: string
          nullable: true
        project_export_limit:
          type: string
          nullable: true
        project_download_export_limit:
          type: string
          nullable: true
        group_import_limit:
          type: string
          nullable: true
        group_export_limit:
          type: string
          nullable: true
        group_download_export_limit:
          type: string
          nullable: true
        resource_access_token_notify_inherited:
          type: string
          nullable: true
        lock_resource_access_token_notify_inherited:
          type: string
          nullable: true
        sentry_enabled:
          type: string
          nullable: true
        sentry_dsn:
          type: string
          nullable: true
        sentry_clientside_dsn:
          type: string
          nullable: true
        sentry_environment:
          type: string
          nullable: true
        sentry_clientside_traces_sample_rate:
          type: string
          nullable: true
        search_rate_limit_allowlist_raw:
          type: string
          nullable: true
        users_get_by_id_limit_allowlist_raw:
          type: string
          nullable: true
        invitation_flow_enforcement:
          type: string
          nullable: true
        can_create_organization:
          type: string
          nullable: true
        concurrent_relation_export_limit:
          type: string
          nullable: true
        allow_contribution_mapping_to_admins:
          type: string
          nullable: true
        deactivation_email_additional_text:
          type: string
          nullable: true
        glql_db_seconds_per_ip_limit:
          type: string
          nullable: true
        glql_db_seconds_per_query_limit:
          type: string
          nullable: true
        glql_db_seconds_per_user_limit:
          type: string
          nullable: true
        glql_duo_db_seconds_per_user_limit:
          type: string
          nullable: true
        group_api_limit:
          type: string
          nullable: true
        group_archive_unarchive_api_limit:
          type: string
          nullable: true
        group_invited_groups_api_limit:
          type: string
          nullable: true
        group_shared_groups_api_limit:
          type: string
          nullable: true
        group_projects_api_limit:
          type: string
          nullable: true
        groups_api_limit:
          type: string
          nullable: true
        issuable_csv_import_limit:
          type: string
          nullable: true
        label_delete_limit:
          type: string
          nullable: true
        merge_requests_update_limit:
          type: string
          nullable: true
        pages_deployments_api_limit:
          type: string
          nullable: true
        project_api_limit:
          type: string
          nullable: true
        project_invited_groups_api_limit:
          type: string
          nullable: true
        project_repositories_archive_limit:
          type: string
          nullable: true
        project_repositories_archive_unauthenticated_limit:
          type: string
          nullable: true
        project_repositories_blame_limit:
          type: string
          nullable: true
        project_repositories_blame_unauthenticated_limit:
          type: string
          nullable: true
        project_repositories_blobs_batch_limit:
          type: string
          nullable: true
        project_repository_commits_api_limit:
          type: string
          nullable: true
        project_repositories_compare_limit:
          type: string
          nullable: true
        project_repositories_compare_unauthenticated_limit:
          type: string
          nullable: true
        projects_api_limit:
          type: string
          nullable: true
        project_members_api_limit:
          type: string
          nullable: true
        protected_branch_write_limit:
          type: string
          nullable: true
        create_organization_api_limit:
          type: string
          nullable: true
        delete_merged_branches_limit:
          type: string
          nullable: true
        cross_reference_checks_limit:
          type: string
          nullable: true
        user_contributed_projects_api_limit:
          type: string
          nullable: true
        user_projects_api_limit:
          type: string
          nullable: true
        user_starred_projects_api_limit:
          type: string
          nullable: true
        users_api_limit_ssh_keys:
          type: string
          nullable: true
        users_api_limit_ssh_key:
          type: string
          nullable: true
        tags_create_limit:
          type: string
          nullable: true
        todos_list_api_limit:
          type: string
          nullable: true
        wiki_read_request_limit_unauthenticated:
          type: string
          nullable: true
        merge_request_diffs_page_request_limit:
          type: string
          nullable: true
        merge_request_diff_resources_request_limit:
          type: string
          nullable: true
        work_item_hierarchy_add_children_limit:
          type: string
          nullable: true
        work_item_move_limit:
          type: string
          nullable: true
        work_item_update_limit:
          type: string
          nullable: true
        track_namespace_visits_limit:
          type: string
          nullable: true
        ipv6_rate_limit_prefix_length:
          type: string
          nullable: true
        observability_backend_ssl_verification_enabled:
          type: string
          nullable: true
        global_search_snippet_titles_enabled:
          type: string
          nullable: true
        global_search_users_enabled:
          type: string
          nullable: true
        global_search_groups_enabled:
          type: string
          nullable: true
        global_search_work_items_enabled:
          type: string
          nullable: true
        global_search_merge_requests_enabled:
          type: string
          nullable: true
        global_search_block_anonymous_searches_enabled:
          type: string
          nullable: true
        vscode_extension_marketplace_enabled:
          type: string
          nullable: true
        vscode_extension_marketplace_extension_host_domain:
          type: string
          nullable: true
        vscode_extension_marketplace_single_origin_fallback_enabled:
          type: string
          nullable: true
        reindexing_minimum_index_size:
          type: string
          nullable: true
        reindexing_minimum_relative_bloat_size:
          type: string
          nullable: true
        anonymous_searches_allowed:
          type: string
          nullable: true
        default_search_scope:
          type: string
          nullable: true
        delay_user_account_self_deletion:
          type: string
          nullable: true
        background_operations_max_jobs:
          type: string
          nullable: true
        pg_ash_sampling_enabled:
          type: string
          nullable: true
        pg_ash_sample_interval_seconds:
          type: string
          nullable: true
        enforce_granular_tokens:
          type: string
          nullable: true
        granular_tokens_enforced_after:
          type: string
          nullable: true
        deactivate_dormant_users:
          type: string
          nullable: true
        deactivate_dormant_users_period:
          type: string
          nullable: true
        nuget_skip_metadata_url_validation:
          type: string
          nullable: true
        helm_max_packages_count:
          type: string
          nullable: true
        mcp_server_enabled:
          type: string
          nullable: true
        dynamic_client_registration_enabled:
          type: string
          nullable: true
        ci_cd_catalog_projects_allowlist:
          type: string
          nullable: true
        ci_cd_catalog_projects_allowlist_raw:
          type: string
          nullable: true
        duo_chat_expiration_column:
          type: string
          nullable: true
        duo_chat_expiration_days:
          type: string
          nullable: true
        elasticsearch_aws_role_arn:
          type: string
          nullable: true
        elasticsearch_client_request_timeout:
          type: string
          nullable: true
        elasticsearch_indexing_timeout_minutes:
          type: string
          nullable: true
        elasticsearch_analyzers_smartcn_enabled:
          type: string
          nullable: true
        elasticsearch_analyzers_smartcn_search:
          type: string
          nullable: true
        elasticsearch_analyzers_kuromoji_enabled:
          type: string
          nullable: true
        elasticsearch_analyzers_kuromoji_search:
          type: string
          nullable: true
        elasticsearch_code_scope:
          type: string
          nullable: true
        instance_level_ai_beta_features_enabled:
          type: string
          nullable: true
        lock_memberships_to_ldap:
          type: string
          nullable: true
        lock_model_prompt_cache_enabled:
          type: string
          nullable: true
        model_prompt_cache_enabled:
          type: string
          nullable: true
        secret_detection_token_revocation_token:
          type: string
          nullable: true
        throttle_incident_management_notification_enabled:
          type: string
          nullable: true
        throttle_incident_management_notification_per_period:
          type: string
          nullable: true
        throttle_incident_management_notification_period_in_seconds:
          type: string
          nullable: true
        product_analytics_enabled:
          type: string
          nullable: true
        product_analytics_data_collector_host:
          type: string
          nullable: true
        product_analytics_configurator_connection_string:
          type: string
          nullable: true
        cube_api_base_url:
          type: string
          nullable: true
        cube_api_key:
          type: string
          nullable: true
        duo_availability:
          type: string
          nullable: true
        duo_agent_platform_enabled:
          type: string
          nullable: true
        duo_cli_enabled:
          type: string
          nullable: true
        ai_audit_events_streaming_enabled:
          type: string
          nullable: true
        duo_token_usage_tracking_enabled:
          type: string
          nullable: true
        duo_workflow_file_attachments_enabled:
          type: string
          nullable: true
        duo_remote_flows_availability:
          type: string
          nullable: true
        duo_foundational_flows_enabled:
          type: string
          nullable: true
        duo_foundational_flows_availability:
          type: string
          nullable: true
        duo_scheduled_automations_availability:
          type: string
          nullable: true
        duo_code_suggestions_availability:
          type: string
          nullable: true
        duo_custom_agents_availability:
          type: string
          nullable: true
        duo_custom_flows_availability:
          type: string
          nullable: true
        duo_external_agents_availability:
          type: string
          nullable: true
        tool_approval_for_session_enabled:
          type: string
          nullable: true
        tool_approval_for_session_availability:
          type: string
          nullable: true
        duo_auto_mode_enabled:
          type: string
          nullable: true
        duo_auto_mode_availability:
          type: string
          nullable: true
        enabled_expanded_logging:
          type: string
          nullable: true
        foundational_agents_default_enabled:
          type: string
          nullable: true
        foundational_agents_statuses:
          type: string
          nullable: true
        zoekt_indexing_enabled:
          type: string
          nullable: true
        zoekt_search_enabled:
          type: string
          nullable: true
        zoekt_indexing_paused:
          type: string
          nullable: true
        zoekt_auto_index_root_namespace:
          type: string
          nullable: true
        zoekt_cache_response:
          type: string
          nullable: true
        zoekt_cpu_to_tasks_ratio:
          type: string
          nullable: true
        zoekt_force_reindexing_percentage:
          type: string
          nullable: true
        zoekt_indexing_parallelism:
          type: string
          nullable: true
        zoekt_rollout_batch_size:
          type: string
          nullable: true
        zoekt_lost_node_threshold:
          type: string
          nullable: true
        zoekt_indexing_timeout:
          type: string
          nullable: true
        zoekt_maximum_files:
          type: string
          nullable: true
        zoekt_indexed_file_size_limit:
          type: string
          nullable: true
        zoekt_trigram_max:
          type: string
          nullable: true
        zoekt_rollout_retry_interval:
          type: string
          nullable: true
        zoekt_default_number_of_replicas:
          type: string
          nullable: true
        zoekt_max_projects_for_legacy_search:
          type: string
          nullable: true
        zoekt_max_restarts_15m:
          type: string
          nullable: true
        zoekt_initial_indexing_limit:
          type: string
          nullable: true
        orbit_auto_index_root_namespace:
          type: string
          nullable: true
        orbit_dap_enabled_by_default:
          type: string
          nullable: true
        epic_move_list_limit:
          type: string
          nullable: true
        duo_workflow_oauth_application_id:
          type: string
          nullable: true
        pipeline_execution_policies_per_configuration_limit:
          type: string
          nullable: true
        scan_execution_policies_per_configuration_limit:
          type: string
          nullable: true
        vulnerability_management_policies_per_configuration_limit:
          type: string
          nullable: true
        dependency_firewall_policies_per_configuration_limit:
          type: string
          nullable: true
        policy_store_experiment_enabled:
          type: string
          nullable: true
        secret_detection_service_auth_token:
          type: string
          nullable: true
        secret_detection_service_url:
          type: string
          nullable: true
        fetch_observability_alerts_from_cloud:
          type: string
          nullable: true
        global_search_code_enabled:
          type: string
          nullable: true
        global_search_commits_enabled:
          type: string
          nullable: true
        global_search_wiki_enabled:
          type: string
          nullable: true
        global_search_limited_indexing_enabled:
          type: string
          nullable: true
        elastic_migration_worker_enabled:
          type: string
          nullable: true
        display_gitlab_credits_user_data:
          type: string
          nullable: true
        vac_project_ids_raw:
          type: string
          nullable: true
        enable_member_promotion_management:
          type: string
          nullable: true
        allow_deploy_tokens_and_keys_with_external_authn:
          type: string
          nullable: true
        allow_top_level_group_owners_to_create_service_accounts:
          type: string
          nullable: true
        dependency_scanning_sbom_scan_api_upload_limit:
          type: string
          nullable: true
        dependency_scanning_sbom_scan_api_download_limit:
          type: string
          nullable: true
        auto_duo_code_review_on_push_enabled:
          type: string
          nullable: true
    postApiV4ServiceAccountsRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the user. If omitted, uses `Service account user`.
          nullable: true
        username:
          type: string
          description: Username of the user account. If omitted, generates a name
            prefixed with `service_account_`.
          nullable: true
        email:
          type: string
          description: Email address of the user account. If omitted, generates a
            no-reply email address prefixed with `service_account_`. Custom email
            addresses require confirmation, unless the email confirmation settings
            are [turned off](https://docs.gitlab.com/administration/settings/sign_up_restrictions/#confirm-user-email).
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/178689)
            in GitLab 17.9.
          nullable: true
        external:
          type: boolean
          description: Flag indicating the user is an external user. Default is `true`.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/583452) in
            GitLab 19.5.
          nullable: true
    patchApiV4ServiceAccountsUserIdRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the user. If omitted when creating a new service account,
            uses `Service account user`.
          nullable: true
        username:
          type: string
          description: Username of the user account. If omitted when creating a new
            service account, generates a name prefixed with `service_account_`.
          nullable: true
        email:
          type: string
          description: Email address of the user account. If omitted when creating
            a new service account, generates a no-reply email address. Custom email
            addresses require confirmation, unless the email confirmation settings
            are [turned off](https://docs.gitlab.com/administration/settings/sign_up_restrictions/#confirm-user-email).
          nullable: true
        external:
          type: boolean
          description: Flag indicating the user is an external user. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/583452)
            in GitLab 19.5.
          nullable: true
    postApiV4ProjectsIdServiceAccountsRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the user. If omitted, uses `Service account user`.
          nullable: true
        username:
          type: string
          description: Username of the user account. If omitted, generates a name
            prefixed with `service_account_project_`.
          nullable: true
        email:
          type: string
          description: Email address of the user account. If omitted, generates an
            email address prefixed with `service_account_project_`. Custom email addresses
            require confirmation, unless the top-level group has a matching [verified
            domain](https://docs.gitlab.com/user/enterprise_user/#manage-group-domains)
            or email confirmation settings are [turned off](https://docs.gitlab.com/administration/settings/sign_up_restrictions/#confirm-user-email).
          nullable: true
    patchApiV4ProjectsIdServiceAccountsUserIdRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the user. If omitted when creating a new service account,
            uses `Service account user`.
          nullable: true
        username:
          type: string
          description: Username of the user account. If omitted when creating a new
            service account, generates a name prefixed with `service_account_project_`.
          nullable: true
        email:
          type: string
          description: Email address of the user account. If omitted when creating
            a new service account, generates an email address prefixed with `service_account_project_`.
            Custom email addresses require confirmation, unless the top-level group
            has a matching [verified domain](https://docs.gitlab.com/user/enterprise_user/#manage-group-domains)
            or email confirmation settings are [turned off](https://docs.gitlab.com/administration/settings/sign_up_restrictions/#confirm-user-email).
          nullable: true
    postApiV4ProjectsIdServiceAccountsUserIdPersonalAccessTokensRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the access token.
          example: My token
          nullable: true
        description:
          type: string
          description: Description of the access token. Limited to 255 characters.
          example: A token used for k8s
          nullable: true
        expires_at:
          type: string
          format: date
          description: Expiration date of the access token in ISO format (YYYY-MM-DD).
            If undefined and token expiry is enforced, the date is set to the maximum
            allowable lifetime limit. Otherwise, the token does not expire.
          example: '2021-01-31'
          nullable: true
        scopes:
          type: array
          items:
            type: string
            enum:
            - api
            - read_api
            - read_user
            - create_runner
            - manage_runner
            - k8s_proxy
            - self_rotate
            - mcp
            - mcp_orbit
            - granular
            - read_repository
            - write_repository
            - read_registry
            - write_registry
            - read_virtual_registry
            - write_virtual_registry
            - read_observability
            - write_observability
            - ai_features
            - sudo
            - admin_mode
            - read_service_ping
          description: Array of approved scopes. For a list of possible values, see
            [access token scopes](https://docs.gitlab.com/security/tokens/access_token_scopes/).
      required:
      - name
      - scopes
    postApiV4ProjectsIdServiceAccountsUserIdPersonalAccessTokensTokenIdRotateRequest:
      type: object
      properties:
        expires_at:
          type: string
          format: date
          description: Date when the access token expires. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/505671)
            in GitLab 17.9. If omitted, the new token expires one week after rotation
            when [token expiry is enforced](https://docs.gitlab.com/user/profile/personal_access_tokens/#access-token-expiration),
            and does not expire otherwise.
          example: '2021-01-31'
          nullable: true
    postApiV4ProjectRepositoryStorageMovesRequest:
      type: object
      properties:
        source_storage_name:
          type: string
          description: Name of the source storage shard.
          minLength: 1
        destination_storage_name:
          type: string
          description: Name of the destination storage shard. If not provided, the
            storage is selected [automatically based on storage weights](https://docs.gitlab.com/administration/repository_storage_paths/#configure-where-new-repositories-are-stored).
          nullable: true
      required:
      - source_storage_name
    postApiV4ProjectsIdRepositoryStorageMovesRequest:
      type: object
      properties:
        destination_storage_name:
          type: string
          description: Name of the destination storage shard. If not provided, the
            storage is selected [automatically based on storage weights](https://docs.gitlab.com/administration/repository_storage_paths/#configure-where-new-repositories-are-stored).
          nullable: true
    postApiV4ProjectsIdMilestonesRequest:
      type: object
      properties:
        title:
          type: string
          description: The title of the milestone
          nullable: true
        description:
          type: string
          description: The description of the milestone
          nullable: true
        due_date:
          type: string
          description: Due date of the milestone, in ISO 8601 format (`YYYY-MM-DD`).
          nullable: true
        start_date:
          type: string
          description: Start date of the milestone, in ISO 8601 format (`YYYY-MM-DD`).
          nullable: true
      required:
      - title
    putApiV4ProjectsIdMilestonesMilestoneIdRequest:
      type: object
      properties:
        title:
          type: string
          description: The title of the milestone. At least one of `title`, `description`,
            `start_date`, `due_date`, `state_event` must be provided.
          nullable: true
        state_event:
          type: string
          enum:
          - close
          - activate
          description: State event of the milestone. At least one of `title`, `description`,
            `start_date`, `due_date`, `state_event` must be provided.
          nullable: true
        description:
          type: string
          description: The description of the milestone. At least one of `title`,
            `description`, `start_date`, `due_date`, `state_event` must be provided.
          nullable: true
        due_date:
          type: string
          description: Due date of the milestone, in ISO 8601 format (`YYYY-MM-DD`).
            At least one of `title`, `description`, `start_date`, `due_date`, `state_event`
            must be provided.
          nullable: true
        start_date:
          type: string
          description: Start date of the milestone, in ISO 8601 format (`YYYY-MM-DD`).
            At least one of `title`, `description`, `start_date`, `due_date`, `state_event`
            must be provided.
          nullable: true
    putApiV4NotificationSettingsRequest:
      type: object
      properties:
        level:
          type: string
          description: Global notification level.
          nullable: true
        notification_email:
          type: string
          description: Email address where notifications are sent.
          nullable: true
        new_release:
          type: boolean
          description: Turn on notifications when a new release is published.
          nullable: true
        new_note:
          type: boolean
          description: Turn on notifications when a new comment is added.
          nullable: true
        new_issue:
          type: boolean
          description: Turn on notifications when a new issue is created.
          nullable: true
        reopen_issue:
          type: boolean
          description: Turn on notifications when an issue is reopened.
          nullable: true
        close_issue:
          type: boolean
          description: Turn on notifications when an issue is closed.
          nullable: true
        reassign_issue:
          type: boolean
          description: Turn on notifications when an issue is reassigned.
          nullable: true
        issue_due:
          type: boolean
          description: Turn on notifications when an issue is due tomorrow.
          nullable: true
        new_merge_request:
          type: boolean
          description: Turn on notifications when a new merge request is created.
          nullable: true
        push_to_merge_request:
          type: boolean
          description: Turn on notifications when someone pushes to a merge request.
          nullable: true
        reopen_merge_request:
          type: boolean
          description: Turn on notifications when a merge request is reopened.
          nullable: true
        close_merge_request:
          type: boolean
          description: Turn on notifications when a merge request is closed.
          nullable: true
        reassign_merge_request:
          type: boolean
          description: Turn on notifications when a merge request is reassigned.
          nullable: true
        change_reviewer_merge_request:
          type: boolean
          description: Turn on notifications when a merge request's reviewer is changed.
          nullable: true
        merge_merge_request:
          type: boolean
          description: Turn on notifications when a merge request is merged.
          nullable: true
        failed_pipeline:
          type: boolean
          description: Turn on notifications when a pipeline fails.
          nullable: true
        fixed_pipeline:
          type: boolean
          description: Turn on notifications when a previously failed pipeline is
            fixed.
          nullable: true
        success_pipeline:
          type: boolean
          description: Turn on notifications when a pipeline completes successfully.
          nullable: true
        moved_project:
          type: boolean
          description: Turn on notifications when a project is moved.
          nullable: true
        merge_when_pipeline_succeeds:
          type: boolean
          description: Turn on notifications when a merge request is set to auto-merge.
          nullable: true
        new_epic:
          type: boolean
          description: Turn on notifications when a new epic is created. Premium and
            Ultimate only.
          nullable: true
        service_account_failed_pipeline:
          type: boolean
          description: Enable/disable this notification
          nullable: true
        service_account_success_pipeline:
          type: boolean
          description: Enable/disable this notification
          nullable: true
        service_account_fixed_pipeline:
          type: boolean
          description: Enable/disable this notification
          nullable: true
        approver:
          type: boolean
          description: Turn on notifications when a merge request you're eligible
            to approve is created.
          nullable: true
    putApiV4GroupsIdNotificationSettingsRequest:
      type: object
      properties:
        level:
          type: string
          description: The group notification level
          nullable: true
        new_release:
          type: boolean
          description: Turn on notifications when a new release is published.
          nullable: true
        new_note:
          type: boolean
          description: Turn on notifications when a new comment is added.
          nullable: true
        new_issue:
          type: boolean
          description: Turn on notifications when a new issue is created.
          nullable: true
        reopen_issue:
          type: boolean
          description: Turn on notifications when an issue is reopened.
          nullable: true
        close_issue:
          type: boolean
          description: Turn on notifications when an issue is closed.
          nullable: true
        reassign_issue:
          type: boolean
          description: Turn on notifications when an issue is reassigned.
          nullable: true
        issue_due:
          type: boolean
          description: Turn on notifications when an issue is due tomorrow.
          nullable: true
        new_merge_request:
          type: boolean
          description: Turn on notifications when a new merge request is created.
          nullable: true
        push_to_merge_request:
          type: boolean
          description: Turn on notifications when someone pushes to a merge request.
          nullable: true
        reopen_merge_request:
          type: boolean
          description: Turn on notifications when a merge request is reopened.
          nullable: true
        close_merge_request:
          type: boolean
          description: Turn on notifications when a merge request is closed.
          nullable: true
        reassign_merge_request:
          type: boolean
          description: Turn on notifications when a merge request is reassigned.
          nullable: true
        change_reviewer_merge_request:
          type: boolean
          description: Turn on notifications when a merge request's reviewer is changed.
          nullable: true
        merge_merge_request:
          type: boolean
          description: Turn on notifications when a merge request is merged.
          nullable: true
        failed_pipeline:
          type: boolean
          description: Turn on notifications when a pipeline fails.
          nullable: true
        fixed_pipeline:
          type: boolean
          description: Turn on notifications when a previously failed pipeline is
            fixed.
          nullable: true
        success_pipeline:
          type: boolean
          description: Turn on notifications when a pipeline completes successfully.
          nullable: true
        moved_project:
          type: boolean
          description: Turn on notifications when a project is moved.
          nullable: true
        merge_when_pipeline_succeeds:
          type: boolean
          description: Turn on notifications when a merge request is set to auto-merge.
          nullable: true
        new_epic:
          type: boolean
          description: Turn on notifications when a new epic is created. Premium and
            Ultimate only.
          nullable: true
        service_account_failed_pipeline:
          type: boolean
          description: Enable/disable this notification
          nullable: true
        service_account_success_pipeline:
          type: boolean
          description: Enable/disable this notification
          nullable: true
        service_account_fixed_pipeline:
          type: boolean
          description: Enable/disable this notification
          nullable: true
    putApiV4ProjectsIdNotificationSettingsRequest:
      type: object
      properties:
        level:
          type: string
          description: The project notification level
          nullable: true
        new_release:
          type: boolean
          description: Turn on notifications when a new release is published.
          nullable: true
        new_note:
          type: boolean
          description: Turn on notifications when a new comment is added.
          nullable: true
        new_issue:
          type: boolean
          description: Turn on notifications when a new issue is created.
          nullable: true
        reopen_issue:
          type: boolean
          description: Turn on notifications when an issue is reopened.
          nullable: true
        close_issue:
          type: boolean
          description: Turn on notifications when an issue is closed.
          nullable: true
        reassign_issue:
          type: boolean
          description: Turn on notifications when an issue is reassigned.
          nullable: true
        issue_due:
          type: boolean
          description: Turn on notifications when an issue is due tomorrow.
          nullable: true
        new_merge_request:
          type: boolean
          description: Turn on notifications when a new merge request is created.
          nullable: true
        push_to_merge_request:
          type: boolean
          description: Turn on notifications when someone pushes to a merge request.
          nullable: true
        reopen_merge_request:
          type: boolean
          description: Turn on notifications when a merge request is reopened.
          nullable: true
        close_merge_request:
          type: boolean
          description: Turn on notifications when a merge request is closed.
          nullable: true
        reassign_merge_request:
          type: boolean
          description: Turn on notifications when a merge request is reassigned.
          nullable: true
        change_reviewer_merge_request:
          type: boolean
          description: Turn on notifications when a merge request's reviewer is changed.
          nullable: true
        merge_merge_request:
          type: boolean
          description: Turn on notifications when a merge request is merged.
          nullable: true
        failed_pipeline:
          type: boolean
          description: Turn on notifications when a pipeline fails.
          nullable: true
        fixed_pipeline:
          type: boolean
          description: Turn on notifications when a previously failed pipeline is
            fixed.
          nullable: true
        success_pipeline:
          type: boolean
          description: Turn on notifications when a pipeline completes successfully.
          nullable: true
        moved_project:
          type: boolean
          description: Turn on notifications when a project is moved.
          nullable: true
        merge_when_pipeline_succeeds:
          type: boolean
          description: Turn on notifications when a merge request is set to auto-merge.
          nullable: true
        approver:
          type: boolean
          description: Turn on notifications when a merge request you're eligible
            to approve is created.
          nullable: true
        service_account_failed_pipeline:
          type: boolean
          description: Enable/disable this notification
          nullable: true
        service_account_success_pipeline:
          type: boolean
          description: Enable/disable this notification
          nullable: true
        service_account_fixed_pipeline:
          type: boolean
          description: Enable/disable this notification
          nullable: true
    postApiV4ProjectsIdIssuesNoteableIdNotesRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note. Limited to 1,000,000 characters. To promote
            the issue to an epic, put `/promote` at the start of a line. If the body
            contains only quick actions, no comment is added.
          nullable: true
        confidential:
          type: boolean
          description: If `true`, marks the note as internal. Deprecated. Use `internal`
            instead.
          nullable: true
        internal:
          type: boolean
          description: Internal note flag.
          nullable: true
          default: false
        created_at:
          type: string
          description: Date and time the note was created, in ISO 8601 format such
            as `2016-03-11T03:45:40Z`. Must be on or after 1970-01-01. Requires administrator
            or project/group owner rights.
          nullable: true
        merge_request_diff_head_sha:
          type: string
          description: SHA of the head commit, which ensures the merge request wasn't
            updated after the API request was sent. Required for the [`/merge`](https://docs.gitlab.com/user/project/quick_actions/#merge)
            quick action.
          nullable: true
      required:
      - body
    putApiV4ProjectsIdIssuesNoteableIdNotesNoteIdRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note. Limited to 1,000,000 characters.
          minLength: 1
        confidential:
          type: boolean
          description: If `true`, the note must already be confidential. If `false`,
            it must not be. Confidentiality cannot be changed after a note is created.
            Deprecated.
          nullable: true
    postApiV4ProjectsIdMergeRequestsNoteableIdNotesRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note. Limited to 1,000,000 characters.
          nullable: true
        confidential:
          type: boolean
          description: If `true`, marks the note as internal. Deprecated. Use `internal`
            instead.
          nullable: true
        internal:
          type: boolean
          description: Internal note flag.
          nullable: true
          default: false
        created_at:
          type: string
          description: Date and time the note was created, in ISO 8601 format such
            as `2016-03-11T03:45:40Z`. Must be on or after 1970-01-01. Requires administrator
            or project/group owner rights.
          nullable: true
        merge_request_diff_head_sha:
          type: string
          description: SHA of the head commit, which ensures the merge request wasn't
            updated after the API request was sent. Required for the [`/merge`](https://docs.gitlab.com/user/project/quick_actions/#merge)
            quick action.
          nullable: true
      required:
      - body
    putApiV4ProjectsIdMergeRequestsNoteableIdNotesNoteIdRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note. Limited to 1,000,000 characters.
          minLength: 1
        confidential:
          type: boolean
          description: If `true`, the note must already be confidential. If `false`,
            it must not be. Confidentiality cannot be changed after a note is created.
            Deprecated.
          nullable: true
    postApiV4ProjectsIdSnippetsNoteableIdNotesRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note. Limited to 1,000,000 characters.
          nullable: true
        confidential:
          type: boolean
          description: If `true`, marks the note as internal. Deprecated. Use `internal`
            instead.
          nullable: true
        internal:
          type: boolean
          description: Internal note flag.
          nullable: true
          default: false
        created_at:
          type: string
          description: Date and time the note was created, in ISO 8601 format such
            as `2016-03-11T03:45:40Z`. Must be on or after 1970-01-01. Requires administrator
            or project/group owner rights.
          nullable: true
        merge_request_diff_head_sha:
          type: string
          description: SHA of the head commit, which ensures the merge request wasn't
            updated after the API request was sent. Required for the [`/merge`](https://docs.gitlab.com/user/project/quick_actions/#merge)
            quick action.
          nullable: true
      required:
      - body
    putApiV4ProjectsIdSnippetsNoteableIdNotesNoteIdRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note. Limited to 1,000,000 characters.
          minLength: 1
        confidential:
          type: boolean
          description: If `true`, the note must already be confidential. If `false`,
            it must not be. Confidentiality cannot be changed after a note is created.
            Deprecated.
          nullable: true
    postApiV4ProjectsIdWikiPagesNoteableIdNotesRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note. Limited to 1,000,000 characters.
          nullable: true
        confidential:
          type: boolean
          description: If `true`, marks the note as internal. Deprecated. Use `internal`
            instead.
          nullable: true
        internal:
          type: boolean
          description: Internal note flag.
          nullable: true
          default: false
        created_at:
          type: string
          description: Date and time the note was created, in ISO 8601 format such
            as `2016-03-11T03:45:40Z`. Must be on or after 1970-01-01. Requires administrator
            or project/group owner rights.
          nullable: true
        merge_request_diff_head_sha:
          type: string
          description: SHA of the head commit, which ensures the merge request wasn't
            updated after the API request was sent. Required for the [`/merge`](https://docs.gitlab.com/user/project/quick_actions/#merge)
            quick action.
          nullable: true
      required:
      - body
    putApiV4ProjectsIdWikiPagesNoteableIdNotesNoteIdRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note. Limited to 1,000,000 characters.
          minLength: 1
        confidential:
          type: boolean
          description: If `true`, the note must already be confidential. If `false`,
            it must not be. Confidentiality cannot be changed after a note is created.
            Deprecated.
          nullable: true
    postApiV4GroupsIdEpicsNoteableIdNotesRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note. Limited to 1,000,000 characters.
          nullable: true
        confidential:
          type: boolean
          description: If `true`, marks the note as internal. Deprecated. Use `internal`
            instead.
          nullable: true
        internal:
          type: boolean
          description: Internal note flag.
          nullable: true
          default: false
        created_at:
          type: string
          description: Date and time the note was created, in ISO 8601 format such
            as `2016-03-11T03:45:40Z`. Must be on or after 1970-01-01. Requires administrator
            or project/group owner rights.
          nullable: true
        merge_request_diff_head_sha:
          type: string
          description: SHA of the head commit, which ensures the merge request wasn't
            updated after the API request was sent. Required for the [`/merge`](https://docs.gitlab.com/user/project/quick_actions/#merge)
            quick action.
          nullable: true
      required:
      - body
    putApiV4GroupsIdEpicsNoteableIdNotesNoteIdRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note. Limited to 1,000,000 characters.
          minLength: 1
        confidential:
          type: boolean
          description: If `true`, the note must already be confidential. If `false`,
            it must not be. Confidentiality cannot be changed after a note is created.
            Deprecated.
          nullable: true
    postApiV4ProjectsIdVulnerabilitiesNoteableIdNotesRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note. Limited to 1,000,000 characters.
          nullable: true
        confidential:
          type: boolean
          description: If `true`, marks the note as internal. Deprecated. Use `internal`
            instead.
          nullable: true
        internal:
          type: boolean
          description: Internal note flag.
          nullable: true
          default: false
        created_at:
          type: string
          description: Date and time the note was created, in ISO 8601 format such
            as `2016-03-11T03:45:40Z`. Must be on or after 1970-01-01. Requires administrator
            or project/group owner rights.
          nullable: true
        merge_request_diff_head_sha:
          type: string
          description: SHA of the head commit, which ensures the merge request wasn't
            updated after the API request was sent. Required for the [`/merge`](https://docs.gitlab.com/user/project/quick_actions/#merge)
            quick action.
          nullable: true
      required:
      - body
    putApiV4ProjectsIdVulnerabilitiesNoteableIdNotesNoteIdRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note. Limited to 1,000,000 characters.
          minLength: 1
        confidential:
          type: boolean
          description: If `true`, the note must already be confidential. If `false`,
            it must not be. Confidentiality cannot be changed after a note is created.
            Deprecated.
          nullable: true
    postApiV4GroupsIdWikiPagesNoteableIdNotesRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note. Limited to 1,000,000 characters.
          nullable: true
        confidential:
          type: boolean
          description: If `true`, marks the note as internal. Deprecated. Use `internal`
            instead.
          nullable: true
        internal:
          type: boolean
          description: Internal note flag.
          nullable: true
          default: false
        created_at:
          type: string
          description: Date and time the note was created, in ISO 8601 format such
            as `2016-03-11T03:45:40Z`. Must be on or after 1970-01-01. Requires administrator
            or project/group owner rights.
          nullable: true
        merge_request_diff_head_sha:
          type: string
          description: SHA of the head commit, which ensures the merge request wasn't
            updated after the API request was sent. Required for the [`/merge`](https://docs.gitlab.com/user/project/quick_actions/#merge)
            quick action.
          nullable: true
      required:
      - body
    putApiV4GroupsIdWikiPagesNoteableIdNotesNoteIdRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note. Limited to 1,000,000 characters.
          minLength: 1
        confidential:
          type: boolean
          description: If `true`, the note must already be confidential. If `false`,
            it must not be. Confidentiality cannot be changed after a note is created.
            Deprecated.
          nullable: true
    postApiV4McpRequest:
      type: object
      properties:
        jsonrpc:
          type: string
          enum:
          - '2.0'
          description: JSON-RPC protocol version identifier. Must be `2.0`.
          minLength: 1
        method:
          type: string
          description: Name of the JSON-RPC method invoked on the MCP server.
          minLength: 1
        id:
          oneOf:
          - type: integer
          - type: string
          description: ID of the JSON-RPC request returned in the response.
        params:
          oneOf:
          - type: object
            nullable: true
          - type: array
            nullable: true
          description: Parameters for the JSON-RPC method specified in `method`.
      required:
      - jsonrpc
      - method
    postApiV4GroupsIdServiceAccountsRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the user. If omitted when creating a new service account,
            uses `Service account user`.
          nullable: true
        username:
          type: string
          description: Username of the user account. If omitted when creating a new
            service account, generates a username prefixed with `service_account_group_`.
          nullable: true
        email:
          type: string
          description: Email address of the user account. If omitted when creating
            a new service account, generates an email address prefixed with `service_account_group_`.
            Custom email addresses require confirmation, unless the top-level group
            has a matching [verified domain](https://docs.gitlab.com/user/enterprise_user/#manage-group-domains)
            or email confirmation settings are [turned off](https://docs.gitlab.com/administration/settings/sign_up_restrictions/#confirm-user-email).
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/181456)
            in GitLab 17.9.
          nullable: true
    patchApiV4GroupsIdServiceAccountsUserIdRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the user. If omitted when creating a new service account,
            uses `Service account user`.
          nullable: true
        username:
          type: string
          description: Username of the user account. If omitted when creating a new
            service account, generates a username prefixed with `service_account_group_`.
          nullable: true
        email:
          type: string
          description: Email address of the user account. If omitted when creating
            a new service account, generates an email address prefixed with `service_account_group_`.
            Custom email addresses require confirmation, unless the top-level group
            has a matching [verified domain](https://docs.gitlab.com/user/enterprise_user/#manage-group-domains)
            or email confirmation settings are [turned off](https://docs.gitlab.com/administration/settings/sign_up_restrictions/#confirm-user-email).
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/196309)
            in GitLab 18.2.
          nullable: true
    postApiV4GroupsIdServiceAccountsUserIdPersonalAccessTokensRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the access token.
          example: My token
          nullable: true
        description:
          type: string
          description: Description of the access token. Limited to 255 characters.
          example: A token used for k8s
          nullable: true
        expires_at:
          type: string
          format: date
          description: Expiration date of the access token in ISO format (YYYY-MM-DD).
            If undefined and token expiry is enforced, the date is set to the maximum
            allowable lifetime limit. Otherwise, the token does not expire.
          example: '2021-01-31'
          nullable: true
        scopes:
          type: array
          items:
            type: string
            enum:
            - api
            - read_api
            - read_user
            - create_runner
            - manage_runner
            - k8s_proxy
            - self_rotate
            - mcp
            - mcp_orbit
            - granular
            - read_repository
            - write_repository
            - read_registry
            - write_registry
            - read_virtual_registry
            - write_virtual_registry
            - read_observability
            - write_observability
            - ai_features
            - sudo
            - admin_mode
            - read_service_ping
          description: Array of approved scopes. For a list of possible values, see
            [access token scopes](https://docs.gitlab.com/security/tokens/access_token_scopes/).
      required:
      - name
      - scopes
    postApiV4GroupsIdServiceAccountsUserIdPersonalAccessTokensTokenIdRotateRequest:
      type: object
      properties:
        expires_at:
          type: string
          format: date
          description: Date when the access token expires. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/505671)
            in GitLab 17.9. If omitted, the new token expires one week after rotation
            when [token expiry is enforced](https://docs.gitlab.com/user/profile/personal_access_tokens/#access-token-expiration),
            and does not expire otherwise.
          example: '2021-01-31'
          nullable: true
    postApiV4GroupsIdMilestonesRequest:
      type: object
      properties:
        title:
          type: string
          description: The title of the milestone
          nullable: true
        description:
          type: string
          description: The description of the milestone
          nullable: true
        due_date:
          type: string
          description: Due date of the milestone, in ISO 8601 format (`YYYY-MM-DD`).
          nullable: true
        start_date:
          type: string
          description: Start date of the milestone, in ISO 8601 format (`YYYY-MM-DD`).
          nullable: true
      required:
      - title
    putApiV4GroupsIdMilestonesMilestoneIdRequest:
      type: object
      properties:
        title:
          type: string
          description: The title of the milestone. At least one of `title`, `description`,
            `start_date`, `due_date`, `state_event` must be provided.
          nullable: true
        state_event:
          type: string
          enum:
          - close
          - activate
          description: State event of the milestone. At least one of `title`, `description`,
            `start_date`, `due_date`, `state_event` must be provided.
          nullable: true
        description:
          type: string
          description: The description of the milestone. At least one of `title`,
            `description`, `start_date`, `due_date`, `state_event` must be provided.
          nullable: true
        due_date:
          type: string
          description: Due date of the milestone, in ISO 8601 format (`YYYY-MM-DD`).
            At least one of `title`, `description`, `start_date`, `due_date`, `state_event`
            must be provided.
          nullable: true
        start_date:
          type: string
          description: Start date of the milestone, in ISO 8601 format (`YYYY-MM-DD`).
            At least one of `title`, `description`, `start_date`, `due_date`, `state_event`
            must be provided.
          nullable: true
    postApiV4ProjectsIdLabelsRequest:
      type: object
      properties:
        name:
          type: string
          description: The name of the label to be created
          nullable: true
        color:
          type: string
          description: Color of the label in 6-digit hex notation with a leading `#`
            sign, for example `#FFAABB`, or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
          nullable: true
        description:
          type: string
          description: Description of the label.
          nullable: true
        archived:
          type: boolean
          description: Whether the label is archived
          nullable: true
        priority:
          type: integer
          description: The priority of the label
          nullable: true
      required:
      - name
      - color
    putApiV4ProjectsIdLabelsRequest:
      type: object
      properties:
        label_id:
          type: integer
          description: ID of the label to update. Exactly one of `label_id`, `name`
            must be provided.
          nullable: true
        name:
          type: string
          description: Name of the label to update. Exactly one of `label_id`, `name`
            must be provided.
          nullable: true
        new_name:
          type: string
          description: The new name of the label. At least one of `new_name`, `color`,
            `description`, `priority`, `archived` must be provided.
          nullable: true
        color:
          type: string
          description: New color of the label, given in 6-digit hex notation with
            a leading `#` sign (for example, `#FFAABB`), or one of the [CSS color
            names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
            At least one of `new_name`, `color`, `description`, `priority`, `archived`
            must be provided.
          nullable: true
        description:
          type: string
          description: New description of label. At least one of `new_name`, `color`,
            `description`, `priority`, `archived` must be provided.
          nullable: true
        archived:
          type: boolean
          description: Whether the label is archived. At least one of `new_name`,
            `color`, `description`, `priority`, `archived` must be provided.
          nullable: true
        priority:
          type: integer
          description: The priority of the label. At least one of `new_name`, `color`,
            `description`, `priority`, `archived` must be provided.
          nullable: true
    putApiV4ProjectsIdLabelsNameRequest:
      type: object
      properties:
        new_name:
          type: string
          description: The new name of the label. At least one of `new_name`, `color`,
            `description`, `priority`, `archived` must be provided.
          nullable: true
        color:
          type: string
          description: New color of the label, given in 6-digit hex notation with
            a leading `#` sign (for example, `#FFAABB`), or one of the [CSS color
            names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
            At least one of `new_name`, `color`, `description`, `priority`, `archived`
            must be provided.
          nullable: true
        description:
          type: string
          description: New description of label. At least one of `new_name`, `color`,
            `description`, `priority`, `archived` must be provided.
          nullable: true
        archived:
          type: boolean
          description: Whether the label is archived. At least one of `new_name`,
            `color`, `description`, `priority`, `archived` must be provided.
          nullable: true
        priority:
          type: integer
          description: The priority of the label. At least one of `new_name`, `color`,
            `description`, `priority`, `archived` must be provided.
          nullable: true
    putApiV4ProjectsIdLabelsPromoteRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the label to promote.
          nullable: true
      required:
      - name
    postApiV4GroupsIdLabelsRequest:
      type: object
      properties:
        name:
          type: string
          description: The name of the label to be created
          nullable: true
        color:
          type: string
          description: Color of the label in 6-digit hex notation with a leading `#`
            sign, for example `#FFAABB`, or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
          nullable: true
        description:
          type: string
          description: Description of the label.
          nullable: true
        archived:
          type: boolean
          description: Whether the label is archived
          nullable: true
      required:
      - name
      - color
    putApiV4GroupsIdLabelsRequest:
      type: object
      properties:
        label_id:
          type: integer
          description: ID of the label to update. Exactly one of `label_id`, `name`
            must be provided.
          nullable: true
        name:
          type: string
          description: Name of the label to update. Exactly one of `label_id`, `name`
            must be provided.
          nullable: true
        new_name:
          type: string
          description: The new name of the label. At least one of `new_name`, `color`,
            `description`, `archived` must be provided.
          nullable: true
        color:
          type: string
          description: New color of the label, given in 6-digit hex notation with
            a leading `#` sign (for example, `#FFAABB`), or one of the [CSS color
            names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
            At least one of `new_name`, `color`, `description`, `archived` must be
            provided.
          nullable: true
        description:
          type: string
          description: New description of label. At least one of `new_name`, `color`,
            `description`, `archived` must be provided.
          nullable: true
        archived:
          type: boolean
          description: Whether the label is archived. At least one of `new_name`,
            `color`, `description`, `archived` must be provided.
          nullable: true
    putApiV4GroupsIdLabelsNameRequest:
      type: object
      properties:
        new_name:
          type: string
          description: The new name of the label. At least one of `new_name`, `color`,
            `description`, `archived` must be provided.
          nullable: true
        color:
          type: string
          description: New color of the label, given in 6-digit hex notation with
            a leading `#` sign (for example, `#FFAABB`), or one of the [CSS color
            names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
            At least one of `new_name`, `color`, `description`, `archived` must be
            provided.
          nullable: true
        description:
          type: string
          description: New description of label. At least one of `new_name`, `color`,
            `description`, `archived` must be provided.
          nullable: true
        archived:
          type: boolean
          description: Whether the label is archived. At least one of `new_name`,
            `color`, `description`, `archived` must be provided.
          nullable: true
    postApiV4GroupsIdBoardsBoardIdListsRequest:
      type: object
      properties:
        label_id:
          type: integer
          description: ID of the label. Exactly one of `label_id`, `milestone_id`,
            `iteration_id`, `assignee_id`, `status_id` must be provided.
          nullable: true
        milestone_id:
          type: integer
          description: The ID of an existing milestone. Exactly one of `label_id`,
            `milestone_id`, `iteration_id`, `assignee_id`, `status_id` must be provided.
          nullable: true
        iteration_id:
          type: integer
          description: ID of the iteration. Premium and Ultimate only. Exactly one
            of `label_id`, `milestone_id`, `iteration_id`, `assignee_id`, `status_id`
            must be provided.
          nullable: true
        assignee_id:
          type: integer
          description: ID of the user. Premium and Ultimate only. Exactly one of `label_id`,
            `milestone_id`, `iteration_id`, `assignee_id`, `status_id` must be provided.
          nullable: true
        status_id:
          type: integer
          description: ID of the status. Premium and Ultimate only. Exactly one of
            `label_id`, `milestone_id`, `iteration_id`, `assignee_id`, `status_id`
            must be provided.
          nullable: true
    putApiV4GroupsIdBoardsBoardIdListsListIdRequest:
      type: object
      properties:
        position:
          type: integer
          description: Position of the list.
          nullable: true
      required:
      - position
    postApiV4ProjectsIdIssuesNoteableIdDiscussionsRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note or reply.
          nullable: true
        created_at:
          type: string
          description: Date and time the note was created, in ISO 8601 format such
            as `2016-03-11T03:45:40Z`. Requires administrator or project/group owner
            rights.
          nullable: true
      required:
      - body
    putApiV4ProjectsIdIssuesNoteableIdDiscussionsDiscussionIdRequest:
      type: object
      properties:
        resolved:
          type: boolean
          description: If `true`, resolves the discussion. If `false`, reopens the
            discussion.
          nullable: true
      required:
      - resolved
    postApiV4ProjectsIdIssuesNoteableIdDiscussionsDiscussionIdNotesRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note or reply.
          nullable: true
        created_at:
          type: string
          description: Date and time the note was created, in ISO 8601 format such
            as `2016-03-11T03:45:40Z`. Requires administrator or project/group owner
            rights.
          nullable: true
      required:
      - body
    putApiV4ProjectsIdIssuesNoteableIdDiscussionsDiscussionIdNotesNoteIdRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note or reply. Exactly one of `body`, `resolved`
            must be provided.
          nullable: true
        resolved:
          type: boolean
          description: If `true`, resolves the note. If `false`, reopens the note.
            If empty, the note is returned unchanged. Exactly one of `body`, `resolved`
            must be provided.
          nullable: true
    postApiV4ProjectsIdSnippetsNoteableIdDiscussionsRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note or reply.
          nullable: true
        created_at:
          type: string
          description: Date and time the note was created, in ISO 8601 format such
            as `2016-03-11T03:45:40Z`. Requires administrator or project/group owner
            rights.
          nullable: true
      required:
      - body
    postApiV4ProjectsIdSnippetsNoteableIdDiscussionsDiscussionIdNotesRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note or reply.
          nullable: true
        created_at:
          type: string
          description: Date and time the note was created, in ISO 8601 format such
            as `2016-03-11T03:45:40Z`. Requires administrator or project/group owner
            rights.
          nullable: true
      required:
      - body
    putApiV4ProjectsIdSnippetsNoteableIdDiscussionsDiscussionIdNotesNoteIdRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note or reply. Exactly one of `body`, `resolved`
            must be provided.
          nullable: true
        resolved:
          type: boolean
          description: If `true`, resolves the note. If `false`, reopens the note.
            If empty, the note is returned unchanged. Exactly one of `body`, `resolved`
            must be provided.
          nullable: true
    postApiV4ProjectsIdMergeRequestsNoteableIdDiscussionsRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note or reply.
          nullable: true
        created_at:
          type: string
          description: Date and time the note was created, in ISO 8601 format such
            as `2016-03-11T03:45:40Z`. Requires administrator or project/group owner
            rights.
          nullable: true
        position:
          type: object
          description: Position when creating a diff note
          properties:
            base_sha:
              type: string
              description: Base commit SHA in the source branch
              nullable: true
            start_sha:
              type: string
              description: SHA referencing commit in target branch
              nullable: true
            head_sha:
              type: string
              description: SHA referencing HEAD of this merge request
              nullable: true
            position_type:
              type: string
              enum:
              - text
              - image
              - file
              description: Type of the position reference
              minLength: 1
            new_path:
              type: string
              description: File path after change
              nullable: true
            new_line:
              type: integer
              description: For `text` diff notes, the line number after change
              nullable: true
            old_path:
              type: string
              description: File path before change
              nullable: true
            old_line:
              type: integer
              description: For `text` diff notes, the line number before change
              nullable: true
            width:
              type: integer
              description: For `image` diff notes, the width of the image
              nullable: true
            height:
              type: integer
              description: For `image` diff notes, the height of the image
              nullable: true
            x:
              type: integer
              description: For `image` diff notes, the X coordinate in the image
              nullable: true
            "y":
              type: integer
              description: For `image` diff notes, the Y coordinate in the image
              nullable: true
            line_range:
              type: object
              description: Multi-line start and end
              properties:
                start:
                  type: object
                  description: Start line for a multi-line note
                  properties:
                    line_code:
                      type: string
                      description: Start line code for multi-line note
                      nullable: true
                    type:
                      type: string
                      description: Start line type for multi-line note. Use `new`
                        for an added line and `old` for a removed line. Omit for an
                        unchanged line
                      nullable: true
                    old_line:
                      type: integer
                      description: Start old_line line number
                      nullable: true
                    new_line:
                      type: integer
                      description: Start new_line line number
                      nullable: true
                  nullable: true
                end:
                  type: object
                  description: End line for a multi-line note
                  properties:
                    line_code:
                      type: string
                      description: End line code for multi-line note
                      nullable: true
                    type:
                      type: string
                      description: End line type for multi-line note. Use `new` for
                        an added line and `old` for a removed line. Omit for an unchanged
                        line
                      nullable: true
                    old_line:
                      type: integer
                      description: End old_line line number
                      nullable: true
                    new_line:
                      type: integer
                      description: End new_line line number
                      nullable: true
                  nullable: true
              nullable: true
          required:
          - base_sha
          - start_sha
          - head_sha
          - position_type
          nullable: true
      required:
      - body
    putApiV4ProjectsIdMergeRequestsNoteableIdDiscussionsDiscussionIdRequest:
      type: object
      properties:
        resolved:
          type: boolean
          description: If `true`, resolves the discussion. If `false`, reopens the
            discussion.
          nullable: true
      required:
      - resolved
    postApiV4ProjectsIdMergeRequestsNoteableIdDiscussionsDiscussionIdNotesRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note or reply.
          nullable: true
        created_at:
          type: string
          description: Date and time the note was created, in ISO 8601 format such
            as `2016-03-11T03:45:40Z`. Requires administrator or project/group owner
            rights.
          nullable: true
      required:
      - body
    putApiV4ProjectsIdMergeRequestsNoteableIdDiscussionsDiscussionIdNotesNoteIdRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note or reply. Exactly one of `body`, `resolved`
            must be provided.
          nullable: true
        resolved:
          type: boolean
          description: If `true`, resolves the note. If `false`, reopens the note.
            If empty, the note is returned unchanged. Exactly one of `body`, `resolved`
            must be provided.
          nullable: true
    postApiV4ProjectsIdRepositoryCommitsNoteableIdDiscussionsRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note or reply.
          nullable: true
        created_at:
          type: string
          description: Date and time the note was created, in ISO 8601 format such
            as `2016-03-11T03:45:40Z`. Requires administrator or project/group owner
            rights.
          nullable: true
        position:
          type: object
          description: Position when creating a diff note
          properties:
            base_sha:
              type: string
              description: SHA of the parent commit
              nullable: true
            start_sha:
              type: string
              description: SHA of the parent commit
              nullable: true
            head_sha:
              type: string
              description: SHA of this commit. Same as `noteable_id`
              nullable: true
            position_type:
              type: string
              enum:
              - text
              - image
              - file
              description: Type of the position reference
              minLength: 1
            new_path:
              type: string
              description: File path after change
              nullable: true
            new_line:
              type: integer
              description: For `text` diff notes, the line number after change
              nullable: true
            old_path:
              type: string
              description: File path before change
              nullable: true
            old_line:
              type: integer
              description: For `text` diff notes, the line number before change
              nullable: true
            width:
              type: integer
              description: For `image` diff notes, the width of the image
              nullable: true
            height:
              type: integer
              description: For `image` diff notes, the height of the image
              nullable: true
            x:
              type: integer
              description: For `image` diff notes, the X coordinate in the image
              nullable: true
            "y":
              type: integer
              description: For `image` diff notes, the Y coordinate in the image
              nullable: true
            line_range:
              type: object
              description: Multi-line start and end
              properties:
                start:
                  type: object
                  description: Start line for a multi-line note
                  properties:
                    line_code:
                      type: string
                      description: Start line code for multi-line note
                      nullable: true
                    type:
                      type: string
                      description: Start line type for multi-line note. Use `new`
                        for an added line and `old` for a removed line. Omit for an
                        unchanged line
                      nullable: true
                    old_line:
                      type: integer
                      description: Start old_line line number
                      nullable: true
                    new_line:
                      type: integer
                      description: Start new_line line number
                      nullable: true
                  nullable: true
                end:
                  type: object
                  description: End line for a multi-line note
                  properties:
                    line_code:
                      type: string
                      description: End line code for multi-line note
                      nullable: true
                    type:
                      type: string
                      description: End line type for multi-line note. Use `new` for
                        an added line and `old` for a removed line. Omit for an unchanged
                        line
                      nullable: true
                    old_line:
                      type: integer
                      description: End old_line line number
                      nullable: true
                    new_line:
                      type: integer
                      description: End new_line line number
                      nullable: true
                  nullable: true
              nullable: true
          required:
          - base_sha
          - start_sha
          - head_sha
          - position_type
          nullable: true
      required:
      - body
    postApiV4ProjectsIdRepositoryCommitsNoteableIdDiscussionsDiscussionIdNotesRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note or reply.
          nullable: true
        created_at:
          type: string
          description: Date and time the note was created, in ISO 8601 format such
            as `2016-03-11T03:45:40Z`. Requires administrator or project/group owner
            rights.
          nullable: true
      required:
      - body
    putApiV4ProjectsIdRepositoryCommitsNoteableIdDiscussionsDiscussionIdNotesNoteIdRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note or reply. Exactly one of `body`, `resolved`
            must be provided.
          nullable: true
        resolved:
          type: boolean
          description: If `true`, resolves the note. If `false`, reopens the note.
            If empty, the note is returned unchanged. Exactly one of `body`, `resolved`
            must be provided.
          nullable: true
    postApiV4GroupsIdEpicsNoteableIdDiscussionsRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note or reply.
          nullable: true
        created_at:
          type: string
          description: Date and time the note was created, in ISO 8601 format such
            as `2016-03-11T03:45:40Z`. Requires administrator or project/group owner
            rights.
          nullable: true
      required:
      - body
    putApiV4GroupsIdEpicsNoteableIdDiscussionsDiscussionIdRequest:
      type: object
      properties:
        resolved:
          type: boolean
          description: If `true`, resolves the discussion. If `false`, reopens the
            discussion.
          nullable: true
      required:
      - resolved
    postApiV4GroupsIdEpicsNoteableIdDiscussionsDiscussionIdNotesRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note or reply.
          nullable: true
        created_at:
          type: string
          description: Date and time the note was created, in ISO 8601 format such
            as `2016-03-11T03:45:40Z`. Requires administrator or project/group owner
            rights.
          nullable: true
      required:
      - body
    putApiV4GroupsIdEpicsNoteableIdDiscussionsDiscussionIdNotesNoteIdRequest:
      type: object
      properties:
        body:
          type: string
          description: Content of the note or reply. Exactly one of `body`, `resolved`
            must be provided.
          nullable: true
        resolved:
          type: boolean
          description: If `true`, resolves the note. If `false`, reopens the note.
            If empty, the note is returned unchanged. Exactly one of `body`, `resolved`
            must be provided.
          nullable: true
    postApiV4ProjectsIdBoardsRequest:
      type: object
      properties:
        name:
          type: string
          description: The board name
          nullable: true
      required:
      - name
    putApiV4ProjectsIdBoardsBoardIdRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the board.
          nullable: true
        hide_backlog_list:
          type: boolean
          description: If `true`, hides the Open list.
          nullable: true
        hide_closed_list:
          type: boolean
          description: If `true`, hides the Closed list.
          nullable: true
        assignee_id:
          type: integer
          description: ID of the assignee to scope the board to. Premium and Ultimate
            only.
          nullable: true
        milestone_id:
          type: integer
          description: The ID of a milestone to associate with board
          nullable: true
        labels:
          type: string
          description: Comma-separated list of label names
          nullable: true
        weight:
          type: integer
          description: The weight of the board
          nullable: true
    postApiV4ProjectsIdBoardsBoardIdListsRequest:
      type: object
      properties:
        label_id:
          type: integer
          description: ID of the label. Exactly one of `label_id`, `milestone_id`,
            `iteration_id`, `assignee_id`, `status_id` must be provided.
          nullable: true
        milestone_id:
          type: integer
          description: The ID of an existing milestone. Exactly one of `label_id`,
            `milestone_id`, `iteration_id`, `assignee_id`, `status_id` must be provided.
          nullable: true
        iteration_id:
          type: integer
          description: ID of the iteration. Premium and Ultimate only. Exactly one
            of `label_id`, `milestone_id`, `iteration_id`, `assignee_id`, `status_id`
            must be provided.
          nullable: true
        assignee_id:
          type: integer
          description: ID of the user. Premium and Ultimate only. Exactly one of `label_id`,
            `milestone_id`, `iteration_id`, `assignee_id`, `status_id` must be provided.
          nullable: true
        status_id:
          type: integer
          description: ID of the status. Premium and Ultimate only. Exactly one of
            `label_id`, `milestone_id`, `iteration_id`, `assignee_id`, `status_id`
            must be provided.
          nullable: true
    putApiV4ProjectsIdBoardsBoardIdListsListIdRequest:
      type: object
      properties:
        position:
          type: integer
          description: Position of the list.
          nullable: true
      required:
      - position
    putApiV4AdminSidekiqConcurrencyLimitsWorkerClassRequest:
      type: object
      properties:
        limit:
          type: integer
          description: Positive concurrency limit.
          nullable: true
        ttl:
          type: integer
          minimum: 1
          maximum: 86400
          description: Override lifetime in seconds.
          nullable: true
          default: 1800
      required:
      - limit
    postApiV4GroupsIdWikisRequest:
      type: object
      properties:
        title:
          type: string
          description: Title of the wiki page.
          nullable: true
        front_matter:
          type: object
          description: YAML front matter of the wiki page.
          properties:
            title:
              type: string
              description: Title in the front matter of the wiki page.
              nullable: true
          nullable: true
        content:
          type: string
          description: Content of the wiki page.
          nullable: true
        format:
          type: string
          enum:
          - markdown
          - rdoc
          - asciidoc
          - org
          description: Format of the wiki page.
          nullable: true
          default: markdown
      required:
      - title
      - content
    putApiV4GroupsIdWikisSlugRequest:
      type: object
      properties:
        title:
          type: string
          description: Title of the wiki page. At least one of `content`, `title`,
            `format` must be provided.
          nullable: true
        front_matter:
          type: object
          description: YAML front matter of the wiki page.
          properties:
            title:
              type: string
              description: Title in the front matter of the wiki page.
              nullable: true
          nullable: true
        content:
          type: string
          description: Content of the wiki page. At least one of `content`, `title`,
            `format` must be provided.
          nullable: true
        format:
          type: string
          enum:
          - markdown
          - rdoc
          - asciidoc
          - org
          description: Format of the wiki page. At least one of `content`, `title`,
            `format` must be provided.
          nullable: true
          default: markdown
    postApiV4GroupsIdWikisAttachmentsRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The attachment file to be uploaded
          nullable: true
        branch:
          type: string
          description: The name of the branch
          nullable: true
      required:
      - file
    postApiV4ProjectsIdWikisRequest:
      type: object
      properties:
        title:
          type: string
          description: Title of the wiki page.
          nullable: true
        front_matter:
          type: object
          description: YAML front matter of the wiki page.
          properties:
            title:
              type: string
              description: Title in the front matter of the wiki page.
              nullable: true
          nullable: true
        content:
          type: string
          description: Content of the wiki page.
          nullable: true
        format:
          type: string
          enum:
          - markdown
          - rdoc
          - asciidoc
          - org
          description: Format of the wiki page.
          nullable: true
          default: markdown
      required:
      - title
      - content
    putApiV4ProjectsIdWikisSlugRequest:
      type: object
      properties:
        title:
          type: string
          description: Title of the wiki page. At least one of `content`, `title`,
            `format` must be provided.
          nullable: true
        front_matter:
          type: object
          description: YAML front matter of the wiki page.
          properties:
            title:
              type: string
              description: Title in the front matter of the wiki page.
              nullable: true
          nullable: true
        content:
          type: string
          description: Content of the wiki page. At least one of `content`, `title`,
            `format` must be provided.
          nullable: true
        format:
          type: string
          enum:
          - markdown
          - rdoc
          - asciidoc
          - org
          description: Format of the wiki page. At least one of `content`, `title`,
            `format` must be provided.
          nullable: true
          default: markdown
    postApiV4ProjectsIdWikisAttachmentsRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The attachment file to be uploaded
          nullable: true
        branch:
          type: string
          description: The name of the branch
          nullable: true
      required:
      - file
    postApiV4UserRunnersRequest:
      type: object
      properties:
        runner_type:
          type: string
          enum:
          - instance_type
          - group_type
          - project_type
          description: Scope of the runner.
          minLength: 1
        group_id:
          type: integer
          description: ID of the group to create the runner in. Required if `runner_type`
            is `group_type`.
          example: 1
          nullable: true
        project_id:
          type: integer
          description: ID of the project to create the runner in. Required if `runner_type`
            is `project_type`.
          example: 1
          nullable: true
        description:
          type: string
          description: Description of the runner.
          nullable: true
        maintenance_note:
          type: string
          description: Free-form maintenance notes for the runner. Limited to 1024
            characters.
          nullable: true
        paused:
          type: boolean
          description: If `true`, the runner ignores new jobs.
          nullable: true
        locked:
          type: boolean
          description: Specifies if the runner should be locked for the current project.
          nullable: true
          default: false
        access_level:
          type: string
          enum:
          - not_protected
          - ref_protected
          description: Access level of the runner.
          nullable: true
        run_untagged:
          type: boolean
          description: Specifies if the runner should handle untagged jobs.
          nullable: true
          default: true
        tag_list:
          type: array
          items:
            type: string
          description: Comma-separated list of runner tags.
          nullable: true
        maximum_timeout:
          type: integer
          description: Maximum time, in seconds, that runners can spend running a
            job.
          nullable: true
        token_expires_at:
          type: string
          format: date-time
          description: Expiration time for the runner authentication token in ISO
            8601 format. Must be between 5 minutes and 21 days in the future and cannot
            exceed instance, group, or project-level limits. Only applies to the initial
            token. Rotated tokens use the computed expiry from settings. Premium and
            Ultimate only.
          nullable: true
        token_rotation_deadline:
          type: string
          format: date-time
          description: Deadline after which token rotation requests are rejected.
            Requires `token_expires_at` and must be less than or equal to it. Setting
            both to the same value disables token rotation. Cleared on successful
            rotation. Premium and Ultimate only.
          nullable: true
      required:
      - runner_type
      - group_id
      - project_id
    postApiV4UsageDataIncrementCounterRequest:
      type: object
      properties:
        event:
          type: string
          description: Event name that should be tracked.
          example: i_quickactions_page
          nullable: true
      required:
      - event
    postApiV4UsageDataIncrementUniqueUsersRequest:
      type: object
      properties:
        event:
          type: string
          description: Event name that should be tracked.
          example: i_quickactions_page
          nullable: true
      required:
      - event
    postApiV4UsageDataTrackEventsRequest:
      type: object
      properties:
        events:
          type: array
          items:
            type: object
          description: Array of internal events to track. Maximum of 50 events.
          nullable: true
      required:
      - events
    postApiV4FeatureFlagsUnleashProjectIdClientRegisterRequest:
      type: object
      properties:
        instance_id:
          type: string
          description: Instance ID of Unleash Client.
          nullable: true
        app_name:
          type: string
          description: Application name of Unleash Client.
          nullable: true
    postApiV4FeatureFlagsUnleashProjectIdClientMetricsRequest:
      type: object
      properties:
        instance_id:
          type: string
          description: Instance ID of Unleash Client.
          nullable: true
        app_name:
          type: string
          description: Application name of Unleash Client.
          nullable: true
    postApiV4TopicsRequest:
      type: object
      properties:
        name:
          type: string
          description: Slug (name)
          nullable: true
        title:
          type: string
          description: Title
          nullable: true
        description:
          type: string
          description: Description
          nullable: true
        avatar:
          type: string
          format: binary
          description: Avatar image for topic
          nullable: true
        organization_id:
          type: integer
          description: The organization id for the topic. This parameter is experimental
            and might be changed or removed without notice.
          example: 1
          nullable: true
      required:
      - name
      - title
    putApiV4TopicsIdRequest:
      type: object
      properties:
        name:
          type: string
          description: Slug (name)
          nullable: true
        title:
          type: string
          description: Title
          nullable: true
        description:
          type: string
          description: Description
          nullable: true
        avatar:
          type: string
          format: binary
          description: Avatar image for topic
          nullable: true
    postApiV4TopicsMergeRequest:
      type: object
      properties:
        source_topic_id:
          type: integer
          description: ID of the project topic to merge from.
          nullable: true
        target_topic_id:
          type: integer
          description: ID of the project topic to merge into.
          nullable: true
      required:
      - source_topic_id
      - target_topic_id
    postApiV4ProjectsIdTerraformStateProtectionRulesRequest:
      type: object
      properties:
        state_name:
          type: string
          description: Terraform state name to protect. Maximum 255 characters. Must
            be unique per project.
          nullable: true
          maxLength: 255
        minimum_access_level_for_write:
          type: string
          enum:
          - developer
          - maintainer
          - owner
          - admin
          description: 'Minimum GitLab access level required to write to the Terraform
            state. Valid values: developer, maintainer, owner, admin.'
          minLength: 1
        allowed_from:
          type: string
          enum:
          - anywhere
          - ci_only
          - ci_on_protected_branch_only
          description: 'Source restriction for write requests. Valid values: anywhere,
            ci_only, ci_on_protected_branch_only.'
          nullable: true
          default: anywhere
      required:
      - state_name
      - minimum_access_level_for_write
    patchApiV4ProjectsIdTerraformStateProtectionRulesTerraformStateProtectionRuleIdRequest:
      type: object
      properties:
        state_name:
          type: string
          description: Terraform state name to protect.
          nullable: true
        minimum_access_level_for_write:
          type: string
          enum:
          - developer
          - maintainer
          - owner
          - admin
          description: Minimum GitLab access level required to write to the Terraform
            state.
          nullable: true
        allowed_from:
          type: string
          enum:
          - anywhere
          - ci_only
          - ci_on_protected_branch_only
          description: Restricts write requests to a specific source.
          nullable: true
    postApiV4ProjectsIdTerraformStateNameRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The package file to be published (generated by Multipart middleware)
          nullable: true
      required:
      - file
    postApiV4ProjectsIdTerraformStateNameLockRequest:
      type: object
      properties:
        ID:
          type: string
          description: Terraform state lock ID.
          nullable: true
          maxLength: 255
        Operation:
          type: string
          description: Terraform operation.
          nullable: true
        Info:
          type: string
          description: Terraform info
          nullable: true
        Who:
          type: string
          description: Terraform state lock owner
          nullable: true
        Version:
          type: string
          description: Terraform version
          nullable: true
        Created:
          type: string
          description: Terraform state lock timestamp
          nullable: true
        Path:
          type: string
          description: Terraform path
          nullable: true
      required:
      - ID
      - Operation
      - Info
      - Who
      - Version
      - Created
      - Path
    putApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemModuleVersionFileRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The package file to be published (generated by Multipart middleware)
          nullable: true
      required:
      - file
    postApiV4ProjectsIdRepositoryTagsRequest:
      type: object
      properties:
        tag_name:
          type: string
          description: Name of the tag.
          example: v.1.0.0
          nullable: true
        ref:
          type: string
          description: Commit SHA or name of the branch or tag to create the tag from.
          example: 2695effb5807a22ff3d138d593fd856244e155e7
          nullable: true
        message:
          type: string
          description: Message for the annotated tag. If specified, creates an annotated
            tag.
          example: Release 1.0.0
          nullable: true
      required:
      - tag_name
      - ref
    putApiV4HooksHookIdUrlVariablesKeyRequest:
      type: object
      properties:
        value:
          type: string
          description: Value of the URL variable.
          nullable: true
      required:
      - value
    putApiV4HooksHookIdCustomHeadersKeyRequest:
      type: object
      properties:
        value:
          type: string
          description: Value of the custom header.
          nullable: true
      required:
      - value
    postApiV4HooksRequest:
      type: object
      properties:
        url:
          type: string
          description: Webhook URL.
          example: http://example.com/hook
          nullable: true
        name:
          type: string
          description: Name of the hook. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/460887)
            in GitLab 17.1.
          nullable: true
        description:
          type: string
          description: Description of the hook. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/460887)
            in GitLab 17.1.
          nullable: true
        token:
          type: string
          description: Secret token used to validate received payloads. Not returned
            in the response, and changing the hook URL resets it.
          nullable: true
        signing_token:
          type: string
          description: HMAC signing token used to compute the `webhook-signature`
            header. Must be in `whsec_<base64>` format encoding a 32-byte key, and
            is not returned in the response. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/231325)
            in GitLab 19.0.
          nullable: true
        push_events:
          type: boolean
          description: If `true`, triggers the system hook on push events.
          nullable: true
        tag_push_events:
          type: boolean
          description: If `true`, triggers the system hook on tag push events.
          nullable: true
        merge_requests_events:
          type: boolean
          description: If `true`, triggers the system hook on merge request events.
          nullable: true
        repository_update_events:
          type: boolean
          description: If `true`, triggers the system hook on repository update events.
          nullable: true
        enable_ssl_verification:
          type: boolean
          description: If `true`, verifies the SSL certificate when the hook is triggered.
          nullable: true
        push_events_branch_filter:
          type: string
          description: Filter push events by branch name.
          nullable: true
        branch_filter_strategy:
          type: string
          enum:
          - wildcard
          - regex
          - all_branches
          description: Filter push events by branch. Defaults to `wildcard`.
          nullable: true
        custom_webhook_template:
          type: string
          description: Custom template for the system hook request payload.
          nullable: true
        url_variables:
          type: array
          description: URL variables for interpolation.
          items:
            type: object
            properties:
              key:
                type: string
                description: Name of the variable.
                example: token
                nullable: true
              value:
                type: string
                description: Value of the variable.
                example: '123'
                nullable: true
            required:
            - key
            - value
          nullable: true
        custom_headers:
          type: array
          description: Custom headers for the hook.
          items:
            type: object
            properties:
              key:
                type: string
                description: Name of the header.
                example: X-Custom-Header
                nullable: true
              value:
                type: string
                description: Value of the header.
                example: value
                nullable: true
            required:
            - key
            - value
          nullable: true
      required:
      - url
    putApiV4HooksHookIdRequest:
      type: object
      properties:
        url:
          type: string
          description: Webhook URL.
          nullable: true
        name:
          type: string
          description: Name of the hook. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/460887)
            in GitLab 17.1.
          nullable: true
        description:
          type: string
          description: Description of the hook. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/460887)
            in GitLab 17.1.
          nullable: true
        token:
          type: string
          description: Secret token used to validate received payloads. Not returned
            in the response, and changing the hook URL resets it.
          nullable: true
        signing_token:
          type: string
          description: HMAC signing token used to compute the `webhook-signature`
            header. Must be in `whsec_<base64>` format encoding a 32-byte key, and
            is not returned in the response. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/231325)
            in GitLab 19.0.
          nullable: true
        push_events:
          type: boolean
          description: If `true`, triggers the system hook on push events.
          nullable: true
        tag_push_events:
          type: boolean
          description: If `true`, triggers the system hook on tag push events.
          nullable: true
        merge_requests_events:
          type: boolean
          description: If `true`, triggers the system hook on merge request events.
          nullable: true
        repository_update_events:
          type: boolean
          description: If `true`, triggers the system hook on repository update events.
          nullable: true
        enable_ssl_verification:
          type: boolean
          description: If `true`, verifies the SSL certificate when the hook is triggered.
          nullable: true
        push_events_branch_filter:
          type: string
          description: Filter push events by branch name.
          nullable: true
        branch_filter_strategy:
          type: string
          enum:
          - wildcard
          - regex
          - all_branches
          description: Filter push events by branch. Defaults to `wildcard`.
          nullable: true
        custom_webhook_template:
          type: string
          description: Custom template for the system hook request payload.
          nullable: true
        url_variables:
          type: array
          description: URL variables for interpolation.
          items:
            type: object
            properties:
              key:
                type: string
                description: Name of the variable.
                example: token
                nullable: true
              value:
                type: string
                description: Value of the variable.
                example: '123'
                nullable: true
            required:
            - key
            - value
          nullable: true
        custom_headers:
          type: array
          description: Custom headers for the hook.
          items:
            type: object
            properties:
              key:
                type: string
                description: Name of the header.
                example: X-Custom-Header
                nullable: true
              value:
                type: string
                description: Value of the header.
                example: value
                nullable: true
            required:
            - key
            - value
          nullable: true
    putApiV4SuggestionsIdApplyRequest:
      type: object
      properties:
        commit_message:
          type: string
          description: Custom commit message to use instead of the generated message
            or the project's commit message for applied suggestions.
          nullable: true
    putApiV4SuggestionsBatchApplyRequest:
      type: object
      properties:
        ids:
          type: array
          items:
            type: integer
          description: IDs of suggestions to apply.
          nullable: true
        commit_message:
          type: string
          description: Custom commit message to use instead of the default generated
            message or the project's default message.
          nullable: true
      required:
      - ids
    putApiV4ProjectsIdRepositorySubmodulesSubmoduleRequest:
      type: object
      properties:
        commit_sha:
          type: string
          description: Full commit SHA to update the submodule to.
          example: ed899a2f4b50b4370feeea94676502b42383c746
          nullable: true
        branch:
          type: string
          description: Name of the branch to commit into.
          example: main
          nullable: true
        commit_message:
          type: string
          description: Commit message. If omitted, a default message is used.
          example: Commit message
          nullable: true
      required:
      - commit_sha
      - branch
    postApiV4SnippetsRequest:
      type: object
      properties:
        title:
          type: string
          description: Title of the snippet.
          minLength: 1
        description:
          type: string
          description: Description of the snippet.
          nullable: true
        visibility:
          type: string
          enum:
          - private
          - internal
          - public
          description: Visibility level for the snippet. On GitLab.com, the `internal`
            value is not available.
          nullable: true
          default: internal
        files:
          type: array
          description: Array of files for the snippet. Mutually exclusive with `content`.
            Exactly one of `files`, `content` must be provided.
          items:
            type: object
            properties:
              file_path:
                type: string
                description: Path of the snippet file.
                minLength: 1
              content:
                type: string
                description: Content of the snippet file.
                minLength: 1
            required:
            - file_path
            - content
          nullable: true
        content:
          type: string
          description: The content of a snippet. Deprecated. Use `files` instead.
            Mutually exclusive with `files`. Exactly one of `files`, `content` must
            be provided.
          minLength: 1
        file_name:
          type: string
          description: The name of a snippet file. Deprecated. Use `files` instead.
          nullable: true
      required:
      - title
      - file_name
    putApiV4SnippetsIdRequest:
      type: object
      properties:
        content:
          type: string
          description: The content of a snippet. Deprecated. Use `files` instead.
            Mutually exclusive with `files`. At least one of `content`, `description`,
            `files`, `file_name`, `title`, `visibility` must be provided.
          minLength: 1
        description:
          type: string
          description: Description of the snippet. At least one of `content`, `description`,
            `files`, `file_name`, `title`, `visibility` must be provided.
          nullable: true
        file_name:
          type: string
          description: The name of a snippet file. Deprecated. Use `files` instead.
            Mutually exclusive with `files`. At least one of `content`, `description`,
            `files`, `file_name`, `title`, `visibility` must be provided.
          nullable: true
        title:
          type: string
          description: Title of the snippet. At least one of `content`, `description`,
            `files`, `file_name`, `title`, `visibility` must be provided.
          minLength: 1
        visibility:
          type: string
          enum:
          - private
          - internal
          - public
          description: Visibility level for the snippet. On GitLab.com, the `internal`
            value is not available. At least one of `content`, `description`, `files`,
            `file_name`, `title`, `visibility` must be provided.
          nullable: true
        files:
          type: array
          description: Array of files to update for the snippet. Required when the
            snippet has multiple files. Mutually exclusive with `content`, `file_name`.
            At least one of `content`, `description`, `files`, `file_name`, `title`,
            `visibility` must be provided.
          items:
            type: object
            properties:
              action:
                type: string
                enum:
                - create
                - update
                - delete
                - move
                description: 'The type of action to perform on the file, must be one
                  of: create, update, delete, move'
                minLength: 1
              content:
                type: string
                description: Content of the snippet file.
                minLength: 1
              file_path:
                type: string
                description: Path of the snippet file.
                nullable: true
              previous_path:
                type: string
                description: Previous path of the snippet file.
                nullable: true
            required:
            - action
          nullable: true
    postApiV4ProjectsIdPackagesRubygemsApiV1GemsRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The package file to be published (generated by Multipart middleware)
          nullable: true
      required:
      - file
    postApiV4ProjectsIdAccessTokensSelfRotateRequest:
      type: object
      properties:
        expires_at:
          type: string
          format: date
          description: Date when the access token expires. If omitted, the new token
            expires one week after rotation when [token expiry is enforced](https://docs.gitlab.com/user/profile/personal_access_tokens/#access-token-expiration),
            and does not expire otherwise.
          example: '2021-01-31'
          nullable: true
    postApiV4GroupsIdAccessTokensSelfRotateRequest:
      type: object
      properties:
        expires_at:
          type: string
          format: date
          description: Date when the access token expires. If omitted, the new token
            expires one week after rotation when [token expiry is enforced](https://docs.gitlab.com/user/profile/personal_access_tokens/#access-token-expiration),
            and does not expire otherwise.
          example: '2021-01-31'
          nullable: true
    postApiV4ProjectsIdAccessTokensRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the access token.
          example: My token
          nullable: true
        description:
          type: string
          description: Description of the access token. Limited to 255 characters.
          example: A token used for k8s
          nullable: true
        expires_at:
          type: string
          format: date
          description: Date when the access token expires. If omitted, the token does
            not expire, which is accepted only when [token expiry is not enforced](https://docs.gitlab.com/user/profile/personal_access_tokens/#access-token-expiration).
          example: '2026-02-14'
          nullable: true
        scopes:
          type: array
          items:
            type: string
            enum:
            - api
            - read_api
            - create_runner
            - manage_runner
            - k8s_proxy
            - self_rotate
            - mcp
            - mcp_orbit
            - granular
            - read_repository
            - write_repository
            - read_registry
            - write_registry
            - read_virtual_registry
            - write_virtual_registry
            - read_observability
            - write_observability
            - ai_features
          description: List of [scopes](https://docs.gitlab.com/security/tokens/access_token_scopes/)
            available to the token.
        access_level:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          description: The access level of the token in the project
          nullable: true
          default: 40
      required:
      - name
      - scopes
    postApiV4ProjectsIdAccessTokensTokenIdRotateRequest:
      type: object
      properties:
        expires_at:
          type: string
          format: date
          description: Date when the access token expires. If omitted, the new token
            expires one week after rotation when [token expiry is enforced](https://docs.gitlab.com/user/profile/personal_access_tokens/#access-token-expiration),
            and does not expire otherwise.
          example: '2021-01-31'
          nullable: true
    postApiV4GroupsIdAccessTokensRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the access token.
          example: My token
          nullable: true
        description:
          type: string
          description: Description of the access token. Limited to 255 characters.
          example: A token used for k8s
          nullable: true
        expires_at:
          type: string
          format: date
          description: Date when the access token expires. If omitted, the token does
            not expire, which is accepted only when [token expiry is not enforced](https://docs.gitlab.com/user/profile/personal_access_tokens/#access-token-expiration).
          example: '2026-02-14'
          nullable: true
        scopes:
          type: array
          items:
            type: string
            enum:
            - api
            - read_api
            - create_runner
            - manage_runner
            - k8s_proxy
            - self_rotate
            - mcp
            - mcp_orbit
            - granular
            - read_repository
            - write_repository
            - read_registry
            - write_registry
            - read_virtual_registry
            - write_virtual_registry
            - read_observability
            - write_observability
            - ai_features
          description: List of [scopes](https://docs.gitlab.com/security/tokens/access_token_scopes/)
            available to the token.
        access_level:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          description: The access level of the token in the group
          nullable: true
          default: 40
      required:
      - name
      - scopes
    postApiV4GroupsIdAccessTokensTokenIdRotateRequest:
      type: object
      properties:
        expires_at:
          type: string
          format: date
          description: Date when the access token expires. If omitted, the new token
            expires one week after rotation when [token expiry is enforced](https://docs.gitlab.com/user/profile/personal_access_tokens/#access-token-expiration),
            and does not expire otherwise.
          example: '2021-01-31'
          nullable: true
    postApiV4ProjectsIdRepositoryBlobsBatchRequest:
      type: object
      properties:
        files:
          type: array
          description: Array of file objects to retrieve, up to a maximum of 20.
          items:
            type: object
            properties:
              path:
                type: string
                description: Path of the file in the repository.
                example: app/models/user.rb
                nullable: true
              ref:
                type: string
                description: Branch, tag, or commit to read the file from. Defaults
                  to the default branch.
                example: main
                nullable: true
            required:
            - path
      required:
      - files
    postApiV4ProjectsIdRepositoryChangelogRequest:
      type: object
      properties:
        from:
          type: string
          description: First commit in the range of commits, as a SHA, to use for
            the changelog. This commit is not included in the changelog. If omitted,
            the most recent stable version tag before `version` is used. Tags in `X.Y.Z`
            or `vX.Y.Z` format are recognized, and pre-release tags such as `v1.0.0-pre1`
            are ignored. If no such tag exists, an error is returned and you must
            set `from`.
          example: ed899a2f4b50b4370feeea94676502b42383c746
          nullable: true
        to:
          type: string
          description: Last commit in the range of commits, as a SHA or a branch or
            tag name, to use for the changelog. This commit is included in the changelog.
            If omitted, uses the latest commit on the default branch. For the Add
            changelog data to file operation, uses the latest commit on `branch` instead.
            The range can contain at most 15,000 commits.
          example: 6104942438c14ec7bd21c6cd5bd995272b3faff6
          nullable: true
        date:
          type: string
          format: date-time
          description: Date and time of the release. Defaults to the current time.
          example: '2021-09-20T11:50:22.001+00:00'
          nullable: true
        trailer:
          type: string
          description: 'Git trailer to use for including commits. Case-sensitive:
            `Example` does not match `example` or `eXaMpLE`.'
          example: Changelog
          nullable: true
          default: Changelog
        config_file:
          type: string
          description: Path to the changelog configuration file in the project's Git
            repository. If omitted, uses `.gitlab/changelog_config.yml`.
          example: ".gitlab/changelog_config.yml"
          nullable: true
        config_file_ref:
          type: string
          description: Git reference, for example a branch, where the changelog configuration
            file is defined. Defaults to the default branch of the repository. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/426108)
            in GitLab 18.2.
          example: main
          nullable: true
        branch:
          type: string
          description: Name of the branch to commit the changelog changes to. If omitted,
            defaults to the project's default branch.
          example: main
          nullable: true
        file:
          type: string
          description: File to commit the changes to.
          example: CHANGELOG.md
          nullable: true
          default: CHANGELOG.md
        message:
          type: string
          description: Commit message to use when committing the changelog changes.
            If omitted, defaults to `Add changelog for version X`, where `X` is the
            value of the `version` parameter.
          example: Initial commit
          nullable: true
    postApiV4ProjectsIdRemoteMirrorsRequest:
      type: object
      properties:
        url:
          type: string
          description: Target URL to which the repository is mirrored.
          example: https://*****:*****@example.com/gitlab/example.git
          nullable: true
        enabled:
          type: boolean
          description: If `true`, the mirror is enabled. Default is `false`.
          nullable: true
        auth_method:
          type: string
          enum:
          - ssh_public_key
          - password
          description: Mirror authentication method.
          nullable: true
        keep_divergent_refs:
          type: boolean
          description: If `true`, divergent refs are kept when mirroring.
          nullable: true
        only_protected_branches:
          type: boolean
          description: If `true`, only protected branches are mirrored. Mutually exclusive
            with `mirror_branch_regex`.
          nullable: true
        mirror_branch_regex:
          type: string
          description: Regular expression for branch names to mirror. Only branches
            with names matching the regex are mirrored. Premium and Ultimate only.
            Mutually exclusive with `only_protected_branches`.
          nullable: true
        host_keys:
          type: array
          items:
            type: string
          description: SSH host keys in bare format, such as `ssh-ed25519 AAAA...`,
            or full `known_hosts` format, such as `hostname ssh-ed25519 AAAA...`.
            Bare keys use the hostname from the mirror URL. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/203435)
            in GitLab 18.4.
          nullable: true
      required:
      - url
    putApiV4ProjectsIdRemoteMirrorsMirrorIdRequest:
      type: object
      properties:
        enabled:
          type: boolean
          description: If `true`, the mirror is enabled.
          example: true
          nullable: true
        auth_method:
          type: string
          description: Mirror authentication method. Accepted values are `ssh_public_key`
            and `password`.
          nullable: true
        keep_divergent_refs:
          type: boolean
          description: If `true`, divergent refs are kept when mirroring.
          nullable: true
        only_protected_branches:
          type: boolean
          description: If `true`, only protected branches are mirrored. Mutually exclusive
            with `mirror_branch_regex`.
          nullable: true
        mirror_branch_regex:
          type: string
          description: Regular expression for branch names to mirror. Only branches
            with names matching the regex are mirrored. Premium and Ultimate only.
            Mutually exclusive with `only_protected_branches`.
          nullable: true
        host_keys:
          type: array
          items:
            type: string
          description: SSH host keys in bare format, such as `ssh-ed25519 AAAA...`,
            or full `known_hosts` format, such as `hostname ssh-ed25519 AAAA...`.
            Bare keys use the hostname from the mirror URL. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/203435)
            in GitLab 18.4.
          nullable: true
    postApiV4ProjectsIdReleasesTagNameAssetsLinksRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the link. Link names must be unique in the release.
          nullable: true
        url:
          type: string
          description: URL of the link. Link URLs must be unique in the release.
          nullable: true
        direct_asset_path:
          type: string
          description: Path for a [direct asset link](https://docs.gitlab.com/user/project/releases/release_fields/#permanent-links-to-release-assets).
          nullable: true
        filepath:
          type: string
          description: Path for a direct asset link. Deprecated. Use `direct_asset_path`
            instead.
          nullable: true
        link_type:
          type: string
          enum:
          - other
          - runbook
          - image
          - package
          description: Type of the link.
          nullable: true
          default: other
      required:
      - name
      - url
    putApiV4ProjectsIdReleasesTagNameAssetsLinksLinkIdRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the link. At least one of `name`, `url` must be provided.
          nullable: true
        url:
          type: string
          description: URL of the link. At least one of `name`, `url` must be provided.
          nullable: true
        direct_asset_path:
          type: string
          description: Path for a [direct asset link](https://docs.gitlab.com/user/project/releases/release_fields/#permanent-links-to-release-assets).
          nullable: true
        filepath:
          type: string
          description: Path for a direct asset link. Deprecated. Use `direct_asset_path`
            instead.
          nullable: true
        link_type:
          type: string
          enum:
          - other
          - runbook
          - image
          - package
          description: Type of the link.
          nullable: true
          default: other
    postApiV4ProjectsIdReleasesRequest:
      type: object
      properties:
        tag_name:
          type: string
          description: Tag the release is created from.
          nullable: true
        tag_message:
          type: string
          description: Message to use if creating a new annotated tag.
          nullable: true
        name:
          type: string
          description: Name of the release.
          nullable: true
        description:
          type: string
          description: Description of the release. You can use [Markdown](https://docs.gitlab.com/user/markdown/).
          nullable: true
        ref:
          type: string
          description: If the tag named in `tag_name` doesn't exist, the release is
            created from this ref and tagged with `tag_name`. Can be a commit SHA,
            another tag name, or a branch name.
          nullable: true
        assets:
          type: object
          description: Object that contains assets for the release.
          properties:
            links:
              type: array
              description: Array of links to include as release assets.
              items:
                type: object
                properties:
                  name:
                    type: string
                    description: Name of the link. Link names must be unique within
                      the release.
                    nullable: true
                  url:
                    type: string
                    description: URL of the link. Link URLs must be unique within
                      the release.
                    nullable: true
                  direct_asset_path:
                    type: string
                    description: Path for a direct asset link.
                    nullable: true
                  filepath:
                    type: string
                    description: 'Deprecated: optional path for a direct asset link'
                    nullable: true
                  link_type:
                    type: string
                    enum:
                    - other
                    - runbook
                    - package
                    - image
                    description: The type of the link.
                    nullable: true
                    default: other
                required:
                - name
                - url
              nullable: true
          nullable: true
        milestones:
          type: array
          items:
            type: string
          description: Title of each milestone the release is associated with. [GitLab
            Premium](https://about.gitlab.com/pricing/) customers can specify group
            milestones. Cannot be combined with the `milestone_ids` parameter. Mutually
            exclusive with `milestone_ids`.
          nullable: true
        milestone_ids:
          oneOf:
          - type: string
            nullable: true
          - type: integer
            nullable: true
          description: ID of each milestone the release is associated with. GitLab
            Premium customers can specify group milestones. Cannot be combined with
            the `milestones` parameter. Mutually exclusive with `milestones`.
        released_at:
          type: string
          format: date-time
          description: Date and time for the release. Defaults to the current time.
            Only provide this field when creating an [upcoming](https://docs.gitlab.com/user/project/releases/#upcoming-releases)
            or [historical](https://docs.gitlab.com/user/project/releases/#historical-releases)
            release.
          nullable: true
        legacy_catalog_publish:
          type: boolean
          description: If `true`, publishes the release to the CI catalog. This parameter
            is for internal use only and is planned for removal in a future release.
            If the `ci_release_cli_catalog_publish_option` feature flag is disabled,
            this parameter is ignored and the release publishes to the CI catalog
            as before.
          nullable: true
      required:
      - tag_name
    putApiV4ProjectsIdReleasesTagNameRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the release.
          nullable: true
        description:
          type: string
          description: Description of the release. You can use [Markdown](https://docs.gitlab.com/user/markdown/).
          nullable: true
        released_at:
          type: string
          format: date-time
          description: Date when the release is or was ready.
          nullable: true
        milestones:
          type: array
          items:
            type: string
          description: Title of each milestone to associate with the release. [GitLab
            Premium](https://about.gitlab.com/pricing/) customers can specify group
            milestones. Cannot be combined with the `milestone_ids` parameter. To
            remove all milestones from the release, specify `[]`. Mutually exclusive
            with `milestone_ids`.
          nullable: true
        milestone_ids:
          oneOf:
          - type: string
            nullable: true
          - type: integer
            nullable: true
          description: ID of each milestone the release is associated with. GitLab
            Premium customers can specify group milestones. Cannot be combined with
            the `milestones` parameter. To remove all milestones from the release,
            specify `[]`. Mutually exclusive with `milestones`.
    postApiV4ProjectsIdPackagesPypiRequest:
      type: object
      properties:
        content:
          type: string
          format: binary
          description: The package file to be published (generated by Multipart middleware)
          nullable: true
        name:
          type: string
          description: Name of the package
          example: my.pypi.package
          nullable: true
        requires_python:
          type: string
          description: PyPI version required for the package
          example: ">=3.7"
          nullable: true
        md5_digest:
          type: string
          description: MD5 checksum of the package
          example: 900150983cd24fb0d6963f7d28e17f72
          nullable: true
        sha256_digest:
          type: string
          description: SHA256 checksum of the package. Not required for uploads, but
            without it, `pip install` fails because package index URLs lack required
            checksums.
          example: ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
          pattern: "(?:^[0-9A-Fa-f]{64}$)"
          nullable: true
        metadata_version:
          type: string
          description: Metadata version of the package
          example: '2.3'
          nullable: true
        author_email:
          type: string
          description: Email address for the package author
          example: cschultz@example.com, snoopy@peanuts.com
          nullable: true
        description:
          type: string
          description: Description of the package
          nullable: true
        description_content_type:
          type: string
          description: Type of content for the package description
          example: text/markdown; charset=UTF-8; variant=GFM
          nullable: true
        summary:
          type: string
          description: Short summary of the package
          example: A module for collecting votes from beagles.
          nullable: true
        keywords:
          type: string
          description: Keywords listed for the package
          example: dog,puppy,voting,election
          nullable: true
      required:
      - content
      - name
    postApiV4ProjectsIdProtectedTagsRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the tag or wildcard.
          example: release-1-0
          nullable: true
        create_access_level:
          type: integer
          enum:
          - 30
          - 40
          - 60
          - 0
          description: Access level allowed to create the protected tag. Defaults
            to `40` (Maintainer role).
          nullable: true
        allowed_to_create:
          type: array
          items:
            type: object
          description: Array of users, groups, deploy keys, or access levels allowed
            to create protected tags. Each element is a hash with one of `user_id`,
            `group_id`, `deploy_key_id`, or `access_level`. `user_id`, `group_id`,
            and `access_level` are Premium and Ultimate only. `deploy_key_id` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/166866)
            in GitLab 17.5.
          nullable: true
      required:
      - name
    postApiV4ProjectsIdProtectedBranchesRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the branch or wildcard.
          example: main
          nullable: true
        push_access_level:
          type: integer
          enum:
          - 30
          - 40
          - 60
          - 0
          description: Access level allowed to push. Defaults to `40` (Maintainer
            role).
          nullable: true
        merge_access_level:
          type: integer
          enum:
          - 30
          - 40
          - 60
          - 0
          description: Access level allowed to merge. Defaults to `40` (Maintainer
            role).
          nullable: true
        allow_force_push:
          type: boolean
          description: If `true`, members who can push to this branch can also force
            push.
          nullable: true
          default: false
        allowed_to_push:
          type: array
          items:
            type: object
          description: 'Array of users, groups, deploy keys, custom roles, or access
            levels allowed to push to protected branches. Each element is a hash of
            the form `{user_id: integer}`, `{group_id: integer}`, `{deploy_key_id:
            integer}`, `{member_role_id: integer}`, or `{access_level: integer}`.
            `user_id`, `group_id`, and `access_level` are Premium and Ultimate only.
            `member_role_id` is Ultimate only. Group protected branches accept only
            `access_level` and `member_role_id`. To change an existing element, include
            its `id`. To delete it, include its `id` and set `_destroy` to `true`.
            `deploy_key_id` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/166598)
            in GitLab 17.5. `member_role_id` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/241819)
            in GitLab 19.2.'
          nullable: true
        unprotect_access_level:
          type: integer
          enum:
          - 30
          - 40
          - 60
          description: Access level allowed to unprotect. Defaults to `40` (Maintainer
            role). Does not support custom roles. Use `allowed_to_unprotect` with
            `member_role_id` instead.
          nullable: true
        allowed_to_merge:
          type: array
          items:
            type: object
          description: 'Array of users, groups, custom roles, or access levels allowed
            to merge protected branches. Each element is a hash of the form `{user_id:
            integer}`, `{group_id: integer}`, `{member_role_id: integer}`, or `{access_level:
            integer}`. `user_id`, `group_id`, and `access_level` are Premium and Ultimate
            only. `member_role_id` is Ultimate only. Group protected branches accept
            only `access_level` and `member_role_id`. To change an existing element,
            include its `id`. To delete it, include its `id` and set `_destroy` to
            `true`. `member_role_id` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/241819)
            in GitLab 19.2.'
          nullable: true
        allowed_to_unprotect:
          type: array
          items:
            type: object
          description: 'Array of users, groups, custom roles, or access levels allowed
            to unprotect protected branches. Each element is a hash of the form `{user_id:
            integer}`, `{group_id: integer}`, `{member_role_id: integer}`, or `{access_level:
            integer}`. `user_id`, `group_id`, and `access_level` are Premium and Ultimate
            only. `member_role_id` is Ultimate only. Group protected branches accept
            only `access_level` and `member_role_id`. Access level `0` (No access)
            is not available for this field. To change an existing element, include
            its `id`. To delete it, include its `id` and set `_destroy` to `true`.
            `member_role_id` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/241819)
            in GitLab 19.2.'
          nullable: true
        code_owner_approval_required:
          type: boolean
          description: If `true`, prevents pushes to this branch if it matches an
            item in the `CODEOWNERS` file. Default is `false`. Premium and Ultimate
            only.
          nullable: true
      required:
      - name
    patchApiV4ProjectsIdProtectedBranchesNameRequest:
      type: object
      properties:
        allow_force_push:
          type: boolean
          description: If `true`, members who can push to this branch can also force
            push.
        allowed_to_push:
          type: array
          items:
            type: object
          description: 'Array of users, groups, deploy keys, custom roles, or access
            levels allowed to push to protected branches. Each element is a hash of
            the form `{user_id: integer}`, `{group_id: integer}`, `{deploy_key_id:
            integer}`, `{member_role_id: integer}`, or `{access_level: integer}`.
            `user_id`, `group_id`, and `access_level` are Premium and Ultimate only.
            `member_role_id` is Ultimate only. Group protected branches accept only
            `access_level` and `member_role_id`. To change an existing element, include
            its `id`. To delete it, include its `id` and set `_destroy` to `true`.
            `deploy_key_id` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/166598)
            in GitLab 17.5. `member_role_id` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/241819)
            in GitLab 19.2.'
          nullable: true
        unprotect_access_level:
          type: integer
          enum:
          - 30
          - 40
          - 60
          description: Access level allowed to unprotect. Defaults to `40` (Maintainer
            role). Does not support custom roles. Use `allowed_to_unprotect` with
            `member_role_id` instead.
          nullable: true
        allowed_to_merge:
          type: array
          items:
            type: object
          description: 'Array of users, groups, custom roles, or access levels allowed
            to merge protected branches. Each element is a hash of the form `{user_id:
            integer}`, `{group_id: integer}`, `{member_role_id: integer}`, or `{access_level:
            integer}`. `user_id`, `group_id`, and `access_level` are Premium and Ultimate
            only. `member_role_id` is Ultimate only. Group protected branches accept
            only `access_level` and `member_role_id`. To change an existing element,
            include its `id`. To delete it, include its `id` and set `_destroy` to
            `true`. `member_role_id` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/241819)
            in GitLab 19.2.'
          nullable: true
        allowed_to_unprotect:
          type: array
          items:
            type: object
          description: 'Array of users, groups, custom roles, or access levels allowed
            to unprotect protected branches. Each element is a hash of the form `{user_id:
            integer}`, `{group_id: integer}`, `{member_role_id: integer}`, or `{access_level:
            integer}`. `user_id`, `group_id`, and `access_level` are Premium and Ultimate
            only. `member_role_id` is Ultimate only. Group protected branches accept
            only `access_level` and `member_role_id`. Access level `0` (No access)
            is not available for this field. To change an existing element, include
            its `id`. To delete it, include its `id` and set `_destroy` to `true`.
            `member_role_id` [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/241819)
            in GitLab 19.2.'
          nullable: true
        code_owner_approval_required:
          type: boolean
          description: If `true`, prevents pushes to this branch if it matches an
            item in the `CODEOWNERS` file. Default is `false`. Premium and Ultimate
            only.
          nullable: true
    putApiV4ProjectsIdCustomAttributesKeyRequest:
      type: object
      properties:
        value:
          type: string
          description: Value of the custom attribute.
          nullable: true
      required:
      - value
    postApiV4ProjectsRequest:
      type: object
      properties:
        name:
          type: string
          description: The name of the project. If not provided, defaults to `path`.
            At least one of `name`, `path` must be provided.
          example: New Project
          nullable: true
        path:
          type: string
          description: The path of the repository. If not provided, generated from
            `name` as lowercase with dashes. Must not start or end with a special
            character, and must not contain consecutive special characters. At least
            one of `name`, `path` must be provided.
          example: new_project
          nullable: true
        default_branch:
          type: string
          description: The default branch of the project. Accepts a branch name or
            a fully qualified reference such as `refs/heads/main`, from which the
            `refs/heads/` prefix is removed.
          example: main
          nullable: true
        description:
          type: string
          description: The description of the project
          nullable: true
        build_git_strategy:
          type: string
          enum:
          - fetch
          - clone
          description: The Git strategy. Defaults to `fetch`
          nullable: true
        build_timeout:
          type: integer
          description: The maximum amount of time, in seconds, that a job can run.
          nullable: true
        auto_cancel_pending_pipelines:
          type: string
          enum:
          - disabled
          - enabled
          description: Auto-cancel pending pipelines
          nullable: true
        ci_config_path:
          type: string
          description: The path to CI config file. Defaults to `.gitlab-ci.yml`
          nullable: true
        service_desk_enabled:
          type: boolean
          description: Disable or enable the service desk
          nullable: true
        issues_enabled:
          type: boolean
          description: 'Flag indication if the issue tracker is enabled. Deprecated:
            Use `issues_access_level` instead.'
          nullable: true
        merge_requests_enabled:
          type: boolean
          description: 'Flag indication if merge requests are enabled. Deprecated:
            Use `merge_requests_access_level` instead.'
          nullable: true
        wiki_enabled:
          type: boolean
          description: 'Flag indication if the wiki is enabled. Deprecated: Use `wiki_access_level`
            instead.'
          nullable: true
        jobs_enabled:
          type: boolean
          description: 'Flag indication if jobs are enabled. Deprecated: Use `builds_access_level`
            instead.'
          nullable: true
        snippets_enabled:
          type: boolean
          description: 'Flag indication if snippets are enabled. Deprecated: Use `snippets_access_level`
            instead.'
          nullable: true
        issues_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Issues access level. One of `disabled`, `private` or `enabled`
          nullable: true
        repository_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Repository access level. One of `disabled`, `private` or `enabled`
          nullable: true
        merge_requests_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Merge requests access level. One of `disabled`, `private` or
            `enabled`
          nullable: true
        forking_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Forks access level. One of `disabled`, `private` or `enabled`
          nullable: true
        wiki_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Wiki access level. One of `disabled`, `private` or `enabled`
          nullable: true
        builds_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Builds access level. One of `disabled`, `private` or `enabled`
          nullable: true
        snippets_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Snippets access level. One of `disabled`, `private` or `enabled`
          nullable: true
        package_registry_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          - public
          description: Controls visibility of the package registry. One of `disabled`,
            `private`, `enabled` or `public`. `private` will make the package registry
            accessible only to project members (reporter role and above). `enabled`
            will make the package registry accessible to everyone who has access to
            the project. `public` will make the package registry accessible to everyone.
            `disabled` will disable the package registry. When you create a project
            with `disabled`, the package registry might remain enabled unless you
            also set `packages_enabled` to `false`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/454759)
            in GitLab 18.5.
          nullable: true
        pages_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          - public
          description: Pages access level. One of `disabled`, `private`, `enabled`
            or `public`
          nullable: true
        analytics_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Analytics access level. One of `disabled`, `private` or `enabled`
          nullable: true
        container_registry_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Controls visibility of the container registry. One of `disabled`,
            `private` or `enabled`. `private` will make the container registry accessible
            only to project members (reporter role and above). `enabled` will make
            the container registry accessible to everyone who has access to the project.
            `disabled` will disable the container registry. With `enabled`, the container
            registry has the same visibility as the project. When you create a project,
            the default is `enabled`, unless the container registry is turned off
            by default for new projects on the instance.
          nullable: true
        security_and_compliance_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Security and compliance access level. One of `disabled`, `private`
            or `enabled`
          nullable: true
        releases_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Releases access level. One of `disabled`, `private` or `enabled`
          nullable: true
        environments_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Environments access level. One of `disabled`, `private` or
            `enabled`
          nullable: true
        feature_flags_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Feature flags access level. One of `disabled`, `private` or
            `enabled`
          nullable: true
        infrastructure_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Infrastructure access level. One of `disabled`, `private` or
            `enabled`
          nullable: true
        monitor_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Monitor access level. One of `disabled`, `private` or `enabled`
          nullable: true
        model_experiments_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Model experiments access level. One of `disabled`, `private`
            or `enabled`
          nullable: true
        model_registry_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Model registry access level. One of `disabled`, `private` or
            `enabled`
          nullable: true
        emails_disabled:
          type: boolean
          description: 'Disable email notifications. Deprecated: Use emails_enabled
            instead.'
          nullable: true
        emails_enabled:
          type: boolean
          description: Enable email notifications
          nullable: true
        show_default_award_emojis:
          type: boolean
          description: Show default award emojis
          nullable: true
        show_diff_preview_in_email:
          type: boolean
          description: Include the code diff preview in merge request notification
            emails
          nullable: true
        warn_about_potentially_unwanted_characters:
          type: boolean
          description: Warn about potentially unwanted characters
          nullable: true
        enforce_auth_checks_on_uploads:
          type: boolean
          description: Enforce auth check on uploads
          nullable: true
        shared_runners_enabled:
          type: boolean
          description: Flag indication if shared runners are enabled for that project
          nullable: true
        group_runners_enabled:
          type: boolean
          description: Flag indication if group runners are enabled for that project
          nullable: true
        resource_group_default_process_mode:
          type: string
          enum:
          - unordered
          - oldest_first
          - newest_first
          - newest_ready_first
          description: The process mode of the resource group
          nullable: true
        resolve_outdated_diff_discussions:
          type: boolean
          description: Automatically resolve merge request diff threads on lines changed
            with a push
          nullable: true
        remove_source_branch_after_merge:
          type: boolean
          description: Remove the source branch by default after merge
          nullable: true
        packages_enabled:
          type: boolean
          description: 'Deprecated in GitLab 17.10: Use :package_registry_access_level
            instead. Enable project packages feature'
          nullable: true
        container_registry_enabled:
          type: boolean
          description: 'Deprecated: Use :container_registry_access_level instead.
            Flag indication if the container registry is enabled for that project'
          nullable: true
        container_expiration_policy_attributes:
          type: object
          description: Object that contains information on the container expiration
            policy
          properties:
            cadence:
              type: string
              description: Container expiration policy cadence for recurring job
              nullable: true
            keep_n:
              type: integer
              description: Container expiration policy number of images to keep
              nullable: true
            older_than:
              type: string
              description: Container expiration policy remove images older than value
              nullable: true
            name_regex:
              type: string
              description: Container expiration policy regex for image removal
              nullable: true
            name_regex_keep:
              type: string
              description: Container expiration policy regex for image retention
              nullable: true
            enabled:
              type: boolean
              description: Flag indication if container expiration policy is enabled
              nullable: true
          nullable: true
        lfs_enabled:
          type: boolean
          description: Flag indication if Git LFS is enabled for that project
          nullable: true
        visibility:
          type: string
          enum:
          - private
          - internal
          - public
          description: The visibility of the project.
          nullable: true
        public_builds:
          type: boolean
          description: 'If `true`, jobs can be viewed by non-project members. Deprecated:
            Use public_jobs instead.'
          nullable: true
        public_jobs:
          type: boolean
          description: If `true`, jobs can be viewed by non-project members.
          nullable: true
        request_access_enabled:
          type: boolean
          description: Allow users to request member access
          nullable: true
        only_allow_merge_if_pipeline_succeeds:
          type: boolean
          description: Only allow to merge if builds succeed
          nullable: true
        allow_merge_on_skipped_pipeline:
          type: boolean
          description: Allow to merge if pipeline is skipped
          nullable: true
        only_allow_merge_if_all_discussions_are_resolved:
          type: boolean
          description: Only allow to merge if all threads are resolved
          nullable: true
        tag_list:
          type: array
          items:
            type: string
          description: 'The list of tags for the project. Deprecated in GitLab 14.0:
            Use :topics instead'
          nullable: true
        topics:
          type: array
          items:
            type: string
          description: The list of topics for a project. When updating a project,
            replaces any existing topics.
          nullable: true
        avatar:
          type: string
          format: binary
          description: 'Avatar image for project. The file must be 200 KB or smaller,
            and one of these types: `.bmp`, `.gif`, `.ico`, `.jpeg`, `.jpg`, `.png`,
            `.tiff`, or `.webp`.'
          nullable: true
        printing_merge_request_link_enabled:
          type: boolean
          description: Show link to create/view merge request when pushing from the
            command line
          nullable: true
        merge_method:
          type: string
          enum:
          - ff
          - rebase_merge
          - merge
          description: The merge method used when merging merge requests
          nullable: true
        suggestion_commit_message:
          type: string
          description: The commit message used to apply merge request suggestions
          nullable: true
        merge_commit_template:
          type: string
          description: Template used to create merge commit message
          nullable: true
        squash_commit_template:
          type: string
          description: Template used to create squash commit message
          nullable: true
        issue_branch_template:
          type: string
          description: Template used to create a branch from an issue
          nullable: true
        auto_devops_enabled:
          type: boolean
          description: Flag indication if Auto DevOps is enabled
          nullable: true
        auto_devops_deploy_strategy:
          type: string
          enum:
          - continuous
          - manual
          - timed_incremental
          description: Auto Deploy strategy
          nullable: true
        autoclose_referenced_issues:
          type: boolean
          description: Flag indication if referenced issues auto-closing on the default
            branch is enabled
          nullable: true
        repository_storage:
          type: string
          description: Which storage shard the repository is on. Available only to
            admins
          nullable: true
        squash_option:
          type: string
          enum:
          - never
          - always
          - default_on
          - default_off
          description: Squash default for project. One of `never`, `always`, `default_on`,
            or `default_off`.
          nullable: true
        mr_default_target_self:
          type: boolean
          description: Merge requests of this forked project targets itself by default.
            If `false`, the target is the upstream project.
          nullable: true
        mr_default_title_template:
          type: string
          description: Template used to generate the default merge request title.
            Maximum 100 characters. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/228442)
            in GitLab 18.11.
          nullable: true
          maxLength: 100
        cicd_catalog_enabled:
          type: boolean
          description: Set whether the project is a CI/CD catalog project. Requires
            the Owner role. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/463043)
            in GitLab 19.3.
          nullable: true
        only_allow_merge_if_all_status_checks_passed:
          type: boolean
          description: Blocks merge requests from merging unless all status checks
            have passed. Default is `false`. Ultimate only.
          nullable: true
        approvals_before_merge:
          type: integer
          description: 'How many approvers should approve merge request by default.
            Deprecated in GitLab 16.0: Use the merge request approvals API instead.
            Premium and Ultimate only.'
        mirror:
          type: boolean
          description: "[Deprecated] Enables pull mirroring in a project. Premium
            and Ultimate only."
          nullable: true
        mirror_trigger_builds:
          type: boolean
          description: "[Deprecated] Pull mirroring triggers builds. Premium and Ultimate
            only."
          nullable: true
        external_authorization_classification_label:
          type: string
          description: The classification label for the project. Premium and Ultimate
            only.
          nullable: true
        requirements_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Requirements feature access level. One of `disabled`, `private`
            or `enabled`
          nullable: true
        prevent_merge_without_jira_issue:
          type: boolean
          description: Require an associated issue from Jira. Ultimate only.
          nullable: true
        auto_duo_code_review_enabled:
          type: boolean
          description: Enable automatic reviews by GitLab Duo on merge requests
          nullable: true
        duo_code_review_decisions_enabled:
          type: boolean
          description: Enable approval and change requests by GitLab Duo on merge
            requests. Behind a feature flag named `duo_code_review_decisions`, enabled
            by default.
          nullable: true
        duo_code_review_level_allowed:
          type: boolean
          description: "[Beta] Allow Standard reviews by GitLab Duo Code Review Flow"
          nullable: true
        duo_code_review_default_level:
          type: string
          enum:
          - lite
          - standard
          description: "[Beta] Default review level for GitLab Duo Code Review Flow.
            One of `lite` or `standard`"
          nullable: true
        duo_remote_flows_enabled:
          type: boolean
          description: Enable GitLab Duo remote flows for this project
          nullable: true
        duo_sast_fp_detection_enabled:
          type: boolean
          description: Enable GitLab Duo SAST false positive detection for this project
          nullable: true
        duo_secret_detection_fp_enabled:
          type: boolean
          description: Enable GitLab Duo Secret Detection false positive detection
            for this project
          nullable: true
        duo_dependency_bump_breaking_changes_enabled:
          type: boolean
          description: Turn on Agentic Breaking Change Resolution for this project
          nullable: true
        duo_sast_vr_workflow_enabled:
          type: boolean
          description: Enable GitLab Duo SAST vulnerability resolution workflow for
            this project. Requires the Security Manager, Maintainer, or Owner role.
          nullable: true
        spp_repository_pipeline_access:
          type: boolean
          description: Grant users and tokens read-only access to security policy
            configurations for enforcement in linked CI/CD projects. Ultimate only.
          nullable: true
        merge_request_title_regex:
          type: string
          description: The regex the Merge Request must adhere to
          nullable: true
        merge_request_title_regex_description:
          type: string
          description: The description for the regex the Merge Request must adhere
            to
          nullable: true
        repository_object_format:
          type: string
          enum:
          - sha1
          - sha256
          description: The object format of the project repository. Default is `sha1`.
          nullable: true
        initialize_with_readme:
          type: boolean
          description: Initialize a project with a README.md. Default is `false`.
            Do not set to `true` with `import_url` or other params that set the repository
            contents, or the import can fail with `not a git repository`.
          nullable: true
        use_custom_template:
          type: boolean
          description: Use a custom instance-level project template, or a group-level
            one with `group_with_project_templates_id`. Premium and Ultimate only.
          nullable: true
        group_with_project_templates_id:
          type: integer
          description: For group-level custom templates, ID of the group that serves
            as the template source. Leave empty for instance-level templates. Requires
            `use_custom_template` to be `true`. Premium and Ultimate only.
          nullable: true
        namespace_id:
          type: integer
          description: Namespace ID for the new project. Accepts a group or subgroup
            ID. Default to the user namespace.
          nullable: true
        import_url:
          type: string
          description: URL from which the project is imported. When set, do not set
            `initialize_with_readme` to `true`, or the import can fail with `not a
            git repository`. Mutually exclusive with `template_name`, `template_project_id`.
          nullable: true
        template_name:
          type: string
          description: Name of template from which to create project. Without `use_custom_template`,
            the name of a built-in project template. With `use_custom_template`, the
            name of a custom project template. Mutually exclusive with `import_url`,
            `template_project_id`.
          nullable: true
        template_project_id:
          type: integer
          description: Project ID of template from which to create project. Use with
            `use_custom_template` for a custom project template. Preferred over `template_name`,
            which can be ambiguous. Premium and Ultimate only. Mutually exclusive
            with `import_url`, `template_name`.
          nullable: true
    postApiV4ProjectsUserUserIdRequest:
      type: object
      properties:
        name:
          type: string
          description: The name of the project
          example: New Project
          nullable: true
        path:
          type: string
          description: The path of the repository. If not provided, generated from
            `name`.
          example: new_project
          nullable: true
        default_branch:
          type: string
          description: The default branch of the project
          example: main
          nullable: true
        description:
          type: string
          description: The description of the project
          nullable: true
        build_git_strategy:
          type: string
          enum:
          - fetch
          - clone
          description: The Git strategy. Defaults to `fetch`
          nullable: true
        build_timeout:
          type: integer
          description: The maximum amount of time, in seconds, that a job can run.
          nullable: true
        auto_cancel_pending_pipelines:
          type: string
          enum:
          - disabled
          - enabled
          description: Auto-cancel pending pipelines
          nullable: true
        ci_config_path:
          type: string
          description: The path to CI config file. Defaults to `.gitlab-ci.yml`
          nullable: true
        service_desk_enabled:
          type: boolean
          description: Disable or enable the service desk
          nullable: true
        issues_enabled:
          type: boolean
          description: 'Flag indication if the issue tracker is enabled. Deprecated:
            Use `issues_access_level` instead.'
          nullable: true
        merge_requests_enabled:
          type: boolean
          description: 'Flag indication if merge requests are enabled. Deprecated:
            Use `merge_requests_access_level` instead.'
          nullable: true
        wiki_enabled:
          type: boolean
          description: 'Flag indication if the wiki is enabled. Deprecated: Use `wiki_access_level`
            instead.'
          nullable: true
        jobs_enabled:
          type: boolean
          description: 'Flag indication if jobs are enabled. Deprecated: Use `builds_access_level`
            instead.'
          nullable: true
        snippets_enabled:
          type: boolean
          description: 'Flag indication if snippets are enabled. Deprecated: Use `snippets_access_level`
            instead.'
          nullable: true
        issues_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Issues access level. One of `disabled`, `private` or `enabled`
          nullable: true
        repository_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Repository access level. One of `disabled`, `private` or `enabled`
          nullable: true
        merge_requests_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Merge requests access level. One of `disabled`, `private` or
            `enabled`
          nullable: true
        forking_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Forks access level. One of `disabled`, `private` or `enabled`
          nullable: true
        wiki_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Wiki access level. One of `disabled`, `private` or `enabled`
          nullable: true
        builds_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Builds access level. One of `disabled`, `private` or `enabled`
          nullable: true
        snippets_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Snippets access level. One of `disabled`, `private` or `enabled`
          nullable: true
        package_registry_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          - public
          description: Controls visibility of the package registry. One of `disabled`,
            `private`, `enabled` or `public`. `private` will make the package registry
            accessible only to project members (reporter role and above). `enabled`
            will make the package registry accessible to everyone who has access to
            the project. `public` will make the package registry accessible to everyone.
            `disabled` will disable the package registry. When you create a project
            with `disabled`, the package registry might remain enabled unless you
            also set `packages_enabled` to `false`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/454759)
            in GitLab 18.5.
          nullable: true
        pages_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          - public
          description: Pages access level. One of `disabled`, `private`, `enabled`
            or `public`
          nullable: true
        analytics_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Analytics access level. One of `disabled`, `private` or `enabled`
          nullable: true
        container_registry_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Controls visibility of the container registry. One of `disabled`,
            `private` or `enabled`. `private` will make the container registry accessible
            only to project members (reporter role and above). `enabled` will make
            the container registry accessible to everyone who has access to the project.
            `disabled` will disable the container registry. With `enabled`, the container
            registry has the same visibility as the project. When you create a project,
            the default is `enabled`, unless the container registry is turned off
            by default for new projects on the instance.
          nullable: true
        security_and_compliance_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Security and compliance access level. One of `disabled`, `private`
            or `enabled`
          nullable: true
        releases_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Releases access level. One of `disabled`, `private` or `enabled`
          nullable: true
        environments_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Environments access level. One of `disabled`, `private` or
            `enabled`
          nullable: true
        feature_flags_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Feature flags access level. One of `disabled`, `private` or
            `enabled`
          nullable: true
        infrastructure_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Infrastructure access level. One of `disabled`, `private` or
            `enabled`
          nullable: true
        monitor_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Monitor access level. One of `disabled`, `private` or `enabled`
          nullable: true
        model_experiments_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Model experiments access level. One of `disabled`, `private`
            or `enabled`
          nullable: true
        model_registry_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Model registry access level. One of `disabled`, `private` or
            `enabled`
          nullable: true
        emails_disabled:
          type: boolean
          description: 'Disable email notifications. Deprecated: Use emails_enabled
            instead.'
          nullable: true
        emails_enabled:
          type: boolean
          description: Enable email notifications
          nullable: true
        show_default_award_emojis:
          type: boolean
          description: Show default award emojis
          nullable: true
        show_diff_preview_in_email:
          type: boolean
          description: Include the code diff preview in merge request notification
            emails
          nullable: true
        warn_about_potentially_unwanted_characters:
          type: boolean
          description: Warn about potentially unwanted characters
          nullable: true
        enforce_auth_checks_on_uploads:
          type: boolean
          description: Enforce auth check on uploads
          nullable: true
        shared_runners_enabled:
          type: boolean
          description: Flag indication if shared runners are enabled for that project
          nullable: true
        group_runners_enabled:
          type: boolean
          description: Flag indication if group runners are enabled for that project
          nullable: true
        resource_group_default_process_mode:
          type: string
          enum:
          - unordered
          - oldest_first
          - newest_first
          - newest_ready_first
          description: The process mode of the resource group
          nullable: true
        resolve_outdated_diff_discussions:
          type: boolean
          description: Automatically resolve merge request diff threads on lines changed
            with a push
          nullable: true
        remove_source_branch_after_merge:
          type: boolean
          description: Remove the source branch by default after merge
          nullable: true
        packages_enabled:
          type: boolean
          description: 'Deprecated in GitLab 17.10: Use :package_registry_access_level
            instead. Enable project packages feature'
          nullable: true
        container_registry_enabled:
          type: boolean
          description: 'Deprecated: Use :container_registry_access_level instead.
            Flag indication if the container registry is enabled for that project'
          nullable: true
        container_expiration_policy_attributes:
          type: object
          description: Object that contains information on the container expiration
            policy
          properties:
            cadence:
              type: string
              description: Container expiration policy cadence for recurring job
              nullable: true
            keep_n:
              type: integer
              description: Container expiration policy number of images to keep
              nullable: true
            older_than:
              type: string
              description: Container expiration policy remove images older than value
              nullable: true
            name_regex:
              type: string
              description: Container expiration policy regex for image removal
              nullable: true
            name_regex_keep:
              type: string
              description: Container expiration policy regex for image retention
              nullable: true
            enabled:
              type: boolean
              description: Flag indication if container expiration policy is enabled
              nullable: true
          nullable: true
        lfs_enabled:
          type: boolean
          description: Flag indication if Git LFS is enabled for that project
          nullable: true
        visibility:
          type: string
          enum:
          - private
          - internal
          - public
          description: The visibility of the project.
          nullable: true
        public_builds:
          type: boolean
          description: 'If `true`, jobs can be viewed by non-project members. Deprecated:
            Use public_jobs instead.'
          nullable: true
        public_jobs:
          type: boolean
          description: If `true`, jobs can be viewed by non-project members.
          nullable: true
        request_access_enabled:
          type: boolean
          description: Allow users to request member access
          nullable: true
        only_allow_merge_if_pipeline_succeeds:
          type: boolean
          description: Only allow to merge if builds succeed
          nullable: true
        allow_merge_on_skipped_pipeline:
          type: boolean
          description: Allow to merge if pipeline is skipped
          nullable: true
        only_allow_merge_if_all_discussions_are_resolved:
          type: boolean
          description: Only allow to merge if all threads are resolved
          nullable: true
        tag_list:
          type: array
          items:
            type: string
          description: 'The list of tags for the project. Deprecated in GitLab 14.0:
            Use :topics instead'
          nullable: true
        topics:
          type: array
          items:
            type: string
          description: The list of topics for a project. When updating a project,
            replaces any existing topics.
          nullable: true
        avatar:
          type: string
          format: binary
          description: 'Avatar image for project. The file must be 200 KB or smaller,
            and one of these types: `.bmp`, `.gif`, `.ico`, `.jpeg`, `.jpg`, `.png`,
            `.tiff`, or `.webp`.'
          nullable: true
        printing_merge_request_link_enabled:
          type: boolean
          description: Show link to create/view merge request when pushing from the
            command line
          nullable: true
        merge_method:
          type: string
          enum:
          - ff
          - rebase_merge
          - merge
          description: The merge method used when merging merge requests
          nullable: true
        suggestion_commit_message:
          type: string
          description: The commit message used to apply merge request suggestions
          nullable: true
        merge_commit_template:
          type: string
          description: Template used to create merge commit message
          nullable: true
        squash_commit_template:
          type: string
          description: Template used to create squash commit message
          nullable: true
        issue_branch_template:
          type: string
          description: Template used to create a branch from an issue
          nullable: true
        auto_devops_enabled:
          type: boolean
          description: Flag indication if Auto DevOps is enabled
          nullable: true
        auto_devops_deploy_strategy:
          type: string
          enum:
          - continuous
          - manual
          - timed_incremental
          description: Auto Deploy strategy
          nullable: true
        autoclose_referenced_issues:
          type: boolean
          description: Flag indication if referenced issues auto-closing on the default
            branch is enabled
          nullable: true
        repository_storage:
          type: string
          description: Which storage shard the repository is on. Available only to
            admins
          nullable: true
        squash_option:
          type: string
          enum:
          - never
          - always
          - default_on
          - default_off
          description: Squash default for project. One of `never`, `always`, `default_on`,
            or `default_off`.
          nullable: true
        mr_default_target_self:
          type: boolean
          description: Merge requests of this forked project targets itself by default.
            If `false`, the target is the upstream project.
          nullable: true
        mr_default_title_template:
          type: string
          description: Template used to generate the default merge request title.
            Maximum 100 characters. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/228442)
            in GitLab 18.11.
          nullable: true
          maxLength: 100
        cicd_catalog_enabled:
          type: boolean
          description: Set whether the project is a CI/CD catalog project. Requires
            the Owner role. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/463043)
            in GitLab 19.3.
          nullable: true
        only_allow_merge_if_all_status_checks_passed:
          type: boolean
          description: Blocks merge requests from merging unless all status checks
            have passed. Default is `false`. Ultimate only.
          nullable: true
        approvals_before_merge:
          type: integer
          description: 'How many approvers should approve merge request by default.
            Deprecated in GitLab 16.0: Use the merge request approvals API instead.
            Premium and Ultimate only.'
        mirror:
          type: boolean
          description: "[Deprecated] Enables pull mirroring in a project. Premium
            and Ultimate only."
          nullable: true
        mirror_trigger_builds:
          type: boolean
          description: "[Deprecated] Pull mirroring triggers builds. Premium and Ultimate
            only."
          nullable: true
        external_authorization_classification_label:
          type: string
          description: The classification label for the project. Premium and Ultimate
            only.
          nullable: true
        requirements_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Requirements feature access level. One of `disabled`, `private`
            or `enabled`
          nullable: true
        prevent_merge_without_jira_issue:
          type: boolean
          description: Require an associated issue from Jira. Ultimate only.
          nullable: true
        auto_duo_code_review_enabled:
          type: boolean
          description: Enable automatic reviews by GitLab Duo on merge requests
          nullable: true
        duo_code_review_decisions_enabled:
          type: boolean
          description: Enable approval and change requests by GitLab Duo on merge
            requests. Behind a feature flag named `duo_code_review_decisions`, enabled
            by default.
          nullable: true
        duo_code_review_level_allowed:
          type: boolean
          description: "[Beta] Allow Standard reviews by GitLab Duo Code Review Flow"
          nullable: true
        duo_code_review_default_level:
          type: string
          enum:
          - lite
          - standard
          description: "[Beta] Default review level for GitLab Duo Code Review Flow.
            One of `lite` or `standard`"
          nullable: true
        duo_remote_flows_enabled:
          type: boolean
          description: Enable GitLab Duo remote flows for this project
          nullable: true
        duo_sast_fp_detection_enabled:
          type: boolean
          description: Enable GitLab Duo SAST false positive detection for this project
          nullable: true
        duo_secret_detection_fp_enabled:
          type: boolean
          description: Enable GitLab Duo Secret Detection false positive detection
            for this project
          nullable: true
        duo_dependency_bump_breaking_changes_enabled:
          type: boolean
          description: Turn on Agentic Breaking Change Resolution for this project
          nullable: true
        duo_sast_vr_workflow_enabled:
          type: boolean
          description: Enable GitLab Duo SAST vulnerability resolution workflow for
            this project. Requires the Security Manager, Maintainer, or Owner role.
          nullable: true
        spp_repository_pipeline_access:
          type: boolean
          description: Grant users and tokens read-only access to security policy
            configurations for enforcement in linked CI/CD projects. Ultimate only.
          nullable: true
        merge_request_title_regex:
          type: string
          description: The regex the Merge Request must adhere to
          nullable: true
        merge_request_title_regex_description:
          type: string
          description: The description for the regex the Merge Request must adhere
            to
          nullable: true
        repository_object_format:
          type: string
          enum:
          - sha1
          - sha256
          description: The object format of the project repository. Default is `sha1`.
          nullable: true
        initialize_with_readme:
          type: boolean
          description: Initialize a project with a README.md. Default is `false`.
            Do not set to `true` with `import_url` or other params that set the repository
            contents, or the import can fail with `not a git repository`.
          nullable: true
        use_custom_template:
          type: boolean
          description: Use a custom instance-level project template, or a group-level
            one with `group_with_project_templates_id`. Premium and Ultimate only.
          nullable: true
        group_with_project_templates_id:
          type: integer
          description: For group-level custom templates, ID of the group that serves
            as the template source. Leave empty for instance-level templates. Requires
            `use_custom_template` to be `true`. Premium and Ultimate only.
          nullable: true
        namespace_id:
          type: integer
          description: Namespace ID for the new project. Accepts a group or subgroup
            ID. Default to the user namespace.
          nullable: true
        import_url:
          type: string
          description: URL from which the project is imported. When set, do not set
            `initialize_with_readme` to `true`, or the import can fail with `not a
            git repository`. Mutually exclusive with `template_name`, `template_project_id`.
          nullable: true
        template_name:
          type: string
          description: Name of template from which to create project. Without `use_custom_template`,
            the name of a built-in project template. With `use_custom_template`, the
            name of a custom project template. Mutually exclusive with `import_url`,
            `template_project_id`.
          nullable: true
        template_project_id:
          type: integer
          description: Project ID of template from which to create project. Use with
            `use_custom_template` for a custom project template. Preferred over `template_name`,
            which can be ambiguous. Premium and Ultimate only. Mutually exclusive
            with `import_url`, `template_name`.
          nullable: true
      required:
      - name
    putApiV4ProjectsIdRequest:
      type: object
      properties:
        name:
          type: string
          description: The name of the project
          example: project
          nullable: true
        default_branch:
          type: string
          description: The default branch of the project
          example: main
          nullable: true
        path:
          type: string
          description: The path of the repository
          example: group/project
          nullable: true
        description:
          type: string
          description: The description of the project
          nullable: true
        build_git_strategy:
          type: string
          enum:
          - fetch
          - clone
          description: The Git strategy. Defaults to `fetch`
          nullable: true
        build_timeout:
          type: integer
          description: The maximum amount of time, in seconds, that a job can run.
          nullable: true
        auto_cancel_pending_pipelines:
          type: string
          enum:
          - disabled
          - enabled
          description: Auto-cancel pending pipelines
          nullable: true
        ci_config_path:
          type: string
          description: The path to CI config file. Defaults to `.gitlab-ci.yml`
          nullable: true
        service_desk_enabled:
          type: boolean
          description: Disable or enable the service desk
          nullable: true
        issues_enabled:
          type: boolean
          description: 'Flag indication if the issue tracker is enabled. Deprecated:
            Use `issues_access_level` instead.'
          nullable: true
        merge_requests_enabled:
          type: boolean
          description: 'Flag indication if merge requests are enabled. Deprecated:
            Use `merge_requests_access_level` instead.'
          nullable: true
        wiki_enabled:
          type: boolean
          description: 'Flag indication if the wiki is enabled. Deprecated: Use `wiki_access_level`
            instead.'
          nullable: true
        jobs_enabled:
          type: boolean
          description: 'Flag indication if jobs are enabled. Deprecated: Use `builds_access_level`
            instead.'
          nullable: true
        snippets_enabled:
          type: boolean
          description: 'Flag indication if snippets are enabled. Deprecated: Use `snippets_access_level`
            instead.'
          nullable: true
        issues_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Issues access level. One of `disabled`, `private` or `enabled`
          nullable: true
        repository_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Repository access level. One of `disabled`, `private` or `enabled`
          nullable: true
        merge_requests_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Merge requests access level. One of `disabled`, `private` or
            `enabled`
          nullable: true
        forking_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Forks access level. One of `disabled`, `private` or `enabled`
          nullable: true
        wiki_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Wiki access level. One of `disabled`, `private` or `enabled`
          nullable: true
        builds_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Builds access level. One of `disabled`, `private` or `enabled`
          nullable: true
        snippets_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Snippets access level. One of `disabled`, `private` or `enabled`
          nullable: true
        package_registry_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          - public
          description: Controls visibility of the package registry. One of `disabled`,
            `private`, `enabled` or `public`. `private` will make the package registry
            accessible only to project members (reporter role and above). `enabled`
            will make the package registry accessible to everyone who has access to
            the project. `public` will make the package registry accessible to everyone.
            `disabled` will disable the package registry. When you create a project
            with `disabled`, the package registry might remain enabled unless you
            also set `packages_enabled` to `false`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/454759)
            in GitLab 18.5.
          nullable: true
        pages_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          - public
          description: Pages access level. One of `disabled`, `private`, `enabled`
            or `public`
          nullable: true
        analytics_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Analytics access level. One of `disabled`, `private` or `enabled`
          nullable: true
        container_registry_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Controls visibility of the container registry. One of `disabled`,
            `private` or `enabled`. `private` will make the container registry accessible
            only to project members (reporter role and above). `enabled` will make
            the container registry accessible to everyone who has access to the project.
            `disabled` will disable the container registry. With `enabled`, the container
            registry has the same visibility as the project. When you create a project,
            the default is `enabled`, unless the container registry is turned off
            by default for new projects on the instance.
          nullable: true
        security_and_compliance_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Security and compliance access level. One of `disabled`, `private`
            or `enabled`
          nullable: true
        releases_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Releases access level. One of `disabled`, `private` or `enabled`
          nullable: true
        environments_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Environments access level. One of `disabled`, `private` or
            `enabled`
          nullable: true
        feature_flags_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Feature flags access level. One of `disabled`, `private` or
            `enabled`
          nullable: true
        infrastructure_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Infrastructure access level. One of `disabled`, `private` or
            `enabled`
          nullable: true
        monitor_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Monitor access level. One of `disabled`, `private` or `enabled`
          nullable: true
        model_experiments_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Model experiments access level. One of `disabled`, `private`
            or `enabled`
          nullable: true
        model_registry_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Model registry access level. One of `disabled`, `private` or
            `enabled`
          nullable: true
        emails_disabled:
          type: boolean
          description: 'Disable email notifications. Deprecated: Use emails_enabled
            instead.'
          nullable: true
        emails_enabled:
          type: boolean
          description: Enable email notifications
          nullable: true
        show_default_award_emojis:
          type: boolean
          description: Show default award emojis
          nullable: true
        show_diff_preview_in_email:
          type: boolean
          description: Include the code diff preview in merge request notification
            emails
          nullable: true
        warn_about_potentially_unwanted_characters:
          type: boolean
          description: Warn about potentially unwanted characters
          nullable: true
        enforce_auth_checks_on_uploads:
          type: boolean
          description: Enforce auth check on uploads
          nullable: true
        shared_runners_enabled:
          type: boolean
          description: Flag indication if shared runners are enabled for that project
          nullable: true
        group_runners_enabled:
          type: boolean
          description: Flag indication if group runners are enabled for that project
          nullable: true
        resource_group_default_process_mode:
          type: string
          enum:
          - unordered
          - oldest_first
          - newest_first
          - newest_ready_first
          description: The process mode of the resource group
          nullable: true
        resolve_outdated_diff_discussions:
          type: boolean
          description: Automatically resolve merge request diff threads on lines changed
            with a push
          nullable: true
        remove_source_branch_after_merge:
          type: boolean
          description: Remove the source branch by default after merge
          nullable: true
        packages_enabled:
          type: boolean
          description: 'Deprecated in GitLab 17.10: Use :package_registry_access_level
            instead. Enable project packages feature'
          nullable: true
        container_registry_enabled:
          type: boolean
          description: 'Deprecated: Use :container_registry_access_level instead.
            Flag indication if the container registry is enabled for that project'
          nullable: true
        container_expiration_policy_attributes:
          type: object
          description: Object that contains information on the container expiration
            policy
          properties:
            cadence:
              type: string
              description: Container expiration policy cadence for recurring job
              nullable: true
            keep_n:
              type: integer
              description: Container expiration policy number of images to keep
              nullable: true
            older_than:
              type: string
              description: Container expiration policy remove images older than value
              nullable: true
            name_regex:
              type: string
              description: Container expiration policy regex for image removal
              nullable: true
            name_regex_keep:
              type: string
              description: Container expiration policy regex for image retention
              nullable: true
            enabled:
              type: boolean
              description: Flag indication if container expiration policy is enabled
              nullable: true
          nullable: true
        lfs_enabled:
          type: boolean
          description: Flag indication if Git LFS is enabled for that project
          nullable: true
        visibility:
          type: string
          enum:
          - private
          - internal
          - public
          description: The visibility of the project.
          nullable: true
        public_builds:
          type: boolean
          description: 'If `true`, jobs can be viewed by non-project members. Deprecated:
            Use public_jobs instead.'
          nullable: true
        public_jobs:
          type: boolean
          description: If `true`, jobs can be viewed by non-project members.
          nullable: true
        request_access_enabled:
          type: boolean
          description: Allow users to request member access
          nullable: true
        only_allow_merge_if_pipeline_succeeds:
          type: boolean
          description: Only allow to merge if builds succeed
          nullable: true
        allow_merge_on_skipped_pipeline:
          type: boolean
          description: Allow to merge if pipeline is skipped
          nullable: true
        only_allow_merge_if_all_discussions_are_resolved:
          type: boolean
          description: Only allow to merge if all threads are resolved
          nullable: true
        tag_list:
          type: array
          items:
            type: string
          description: 'The list of tags for the project. Deprecated in GitLab 14.0:
            Use :topics instead'
          nullable: true
        topics:
          type: array
          items:
            type: string
          description: The list of topics for a project. When updating a project,
            replaces any existing topics.
          nullable: true
        avatar:
          type: string
          format: binary
          description: 'Avatar image for project. The file must be 200 KB or smaller,
            and one of these types: `.bmp`, `.gif`, `.ico`, `.jpeg`, `.jpg`, `.png`,
            `.tiff`, or `.webp`.'
          nullable: true
        printing_merge_request_link_enabled:
          type: boolean
          description: Show link to create/view merge request when pushing from the
            command line
          nullable: true
        merge_method:
          type: string
          enum:
          - ff
          - rebase_merge
          - merge
          description: The merge method used when merging merge requests
          nullable: true
        suggestion_commit_message:
          type: string
          description: The commit message used to apply merge request suggestions
          nullable: true
        merge_commit_template:
          type: string
          description: Template used to create merge commit message
          nullable: true
        squash_commit_template:
          type: string
          description: Template used to create squash commit message
          nullable: true
        issue_branch_template:
          type: string
          description: Template used to create a branch from an issue
          nullable: true
        auto_devops_enabled:
          type: boolean
          description: Flag indication if Auto DevOps is enabled
          nullable: true
        auto_devops_deploy_strategy:
          type: string
          enum:
          - continuous
          - manual
          - timed_incremental
          description: Auto Deploy strategy
          nullable: true
        autoclose_referenced_issues:
          type: boolean
          description: Flag indication if referenced issues auto-closing on the default
            branch is enabled
          nullable: true
        repository_storage:
          type: string
          description: Which storage shard the repository is on. Available only to
            admins
          nullable: true
        squash_option:
          type: string
          enum:
          - never
          - always
          - default_on
          - default_off
          description: Squash default for project. One of `never`, `always`, `default_on`,
            or `default_off`.
          nullable: true
        mr_default_target_self:
          type: boolean
          description: Merge requests of this forked project targets itself by default.
            If `false`, the target is the upstream project.
          nullable: true
        mr_default_title_template:
          type: string
          description: Template used to generate the default merge request title.
            Maximum 100 characters. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/228442)
            in GitLab 18.11.
          nullable: true
          maxLength: 100
        cicd_catalog_enabled:
          type: boolean
          description: Set whether the project is a CI/CD catalog project. Requires
            the Owner role. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/463043)
            in GitLab 19.3.
          nullable: true
        only_allow_merge_if_all_status_checks_passed:
          type: boolean
          description: Blocks merge requests from merging unless all status checks
            have passed. Default is `false`. Ultimate only.
          nullable: true
        approvals_before_merge:
          type: integer
          description: 'How many approvers should approve merge request by default.
            Deprecated in GitLab 16.0: Use the merge request approvals API instead.
            Premium and Ultimate only.'
        mirror:
          type: boolean
          description: "[Deprecated] Enables pull mirroring in a project. Premium
            and Ultimate only."
          nullable: true
        mirror_trigger_builds:
          type: boolean
          description: "[Deprecated] Pull mirroring triggers builds. Premium and Ultimate
            only."
          nullable: true
        external_authorization_classification_label:
          type: string
          description: The classification label for the project. Premium and Ultimate
            only.
          nullable: true
        requirements_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Requirements feature access level. One of `disabled`, `private`
            or `enabled`
          nullable: true
        prevent_merge_without_jira_issue:
          type: boolean
          description: Require an associated issue from Jira. Ultimate only.
          nullable: true
        auto_duo_code_review_enabled:
          type: boolean
          description: Enable automatic reviews by GitLab Duo on merge requests
          nullable: true
        duo_code_review_decisions_enabled:
          type: boolean
          description: Enable approval and change requests by GitLab Duo on merge
            requests. Behind a feature flag named `duo_code_review_decisions`, enabled
            by default.
          nullable: true
        duo_code_review_level_allowed:
          type: boolean
          description: "[Beta] Allow Standard reviews by GitLab Duo Code Review Flow"
          nullable: true
        duo_code_review_default_level:
          type: string
          enum:
          - lite
          - standard
          description: "[Beta] Default review level for GitLab Duo Code Review Flow.
            One of `lite` or `standard`"
          nullable: true
        duo_remote_flows_enabled:
          type: boolean
          description: Enable GitLab Duo remote flows for this project
          nullable: true
        duo_sast_fp_detection_enabled:
          type: boolean
          description: Enable GitLab Duo SAST false positive detection for this project.
            Requires the Maintainer or Owner role, or the Security Manager role behind
            a feature flag named `update_false_positive_detection_setting_permission`,
            disabled by default.
          nullable: true
        duo_secret_detection_fp_enabled:
          type: boolean
          description: Enable GitLab Duo Secret Detection false positive detection
            for this project. Requires the Maintainer or Owner role, or the Security
            Manager role behind a feature flag named `update_false_positive_detection_setting_permission`,
            disabled by default.
          nullable: true
        duo_dependency_bump_breaking_changes_enabled:
          type: boolean
          description: Enable Agentic Breaking Change Resolution for this project
          nullable: true
        duo_sast_vr_workflow_enabled:
          type: boolean
          description: Enable GitLab Duo SAST vulnerability resolution workflow for
            this project. Requires the Security Manager, Maintainer, or Owner role.
          nullable: true
        spp_repository_pipeline_access:
          type: boolean
          description: Grant users and tokens read-only access to security policy
            configurations for enforcement in linked CI/CD projects. Ultimate only.
          nullable: true
        merge_request_title_regex:
          type: string
          description: The regex the Merge Request must adhere to
          nullable: true
        merge_request_title_regex_description:
          type: string
          description: The description for the regex the Merge Request must adhere
            to
          nullable: true
        ci_default_git_depth:
          type: integer
          description: Default Git depth for shallow cloning
          nullable: true
        keep_latest_artifact:
          type: boolean
          description: Indicates if the latest artifact should be kept for this project.
          nullable: true
        ci_forward_deployment_enabled:
          type: boolean
          description: Prevent older deployment jobs that are still pending
          nullable: true
        ci_forward_deployment_rollback_allowed:
          type: boolean
          description: Allow job retries for rollback deployments
          nullable: true
        ci_allow_fork_pipelines_to_run_in_parent_project:
          type: boolean
          description: Allow fork merge request pipelines to run in parent project
          nullable: true
        ci_separated_caches:
          type: boolean
          description: Enable or disable separated caches based on branch protection.
          nullable: true
        restrict_user_defined_variables:
          type: boolean
          description: 'Allow only users with the Maintainer role to pass user-defined
            variables when triggering a pipeline. Deprecated in GitLab 17.7: Use `ci_pipeline_variables_minimum_override_role`
            instead.'
          nullable: true
        ci_pipeline_variables_minimum_override_role:
          type: string
          enum:
          - no_one_allowed
          - developer
          - maintainer
          - owner
          description: Limit ability to override CI/CD variables when triggering a
            pipeline to only users with at least the set minimum role. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/440338)
            in GitLab 17.1.
          nullable: true
        ci_push_repository_for_job_token_allowed:
          type: boolean
          description: Allow pushing to this project's repository by authenticating
            with a CI/CD job token generated in this project. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/389060)
            in GitLab 17.2.
          nullable: true
        ci_id_token_sub_claim_components:
          type: array
          items:
            type: string
          description: Claims used to build the `sub` claim in ID tokens. The first
            element must be `project_path`, `project_id`, `job_project_path`, `job_project_id`,
            `source_project_path`, or `source_project_id`. The array can also include
            `ref_type`, `ref`, `ref_protected`, `environment_protected`, and `deployment_tier`.
            Default is `["project_path", "ref_type", "ref"]`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/477260)
            in GitLab 17.10.
          nullable: true
        ci_delete_pipelines_in_seconds:
          type: integer
          description: Pipelines older than the configured time are deleted
          nullable: true
        max_artifacts_size:
          type: integer
          description: Set the maximum file size, in megabytes, for each job's artifacts
          nullable: true
        protect_merge_request_pipelines:
          type: boolean
          description: Make protected CI/CD variables and runners available in merge
            request pipelines. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/584488)
            in GitLab 18.10.
          nullable: true
        ci_display_pipeline_variables:
          type: boolean
          description: Display all manually-defined variables in the pipeline details
            page after running a pipeline manually. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/584488)
            in GitLab 18.10.
          nullable: true
        ci_skip_branch_pipelines_for_mrs:
          type: boolean
          description: Skip the branch pipeline when a branch has an open merge request,
            and run only the merge request pipeline. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/607869)
            in GitLab 19.4.
          nullable: true
        automatic_rebase_enabled:
          type: boolean
          description: Enable automatic rebase of the source branch before merge.
            Applies when the merge method is fast-forward merge or merge commit with
            semi-linear history. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/250632)
            in GitLab 19.4.
          nullable: true
        feature_flags_minimum_role:
          type: string
          enum:
          - no_one_allowed
          - developer
          - maintainer
          - owner
          description: Limit the ability to create, update, toggle, and delete feature
            flags to only users with at least the set minimum role. Default is `developer`.
            Changing the setting away from `owner` or `no_one_allowed` requires the
            Owner role. The minimum role is enforced behind a feature flag named `feature_flag_management_permissions`,
            disabled by default.
          nullable: true
        allow_pipeline_trigger_approve_deployment:
          type: boolean
          description: Allow pipeline triggerer to approve deployments. Premium and
            Ultimate only.
          nullable: true
        mirror_user_id:
          type: integer
          description: "[Deprecated] User responsible for all the activity surrounding
            a pull mirror event. Can only be set by admins. Premium and Ultimate only."
          nullable: true
        only_mirror_protected_branches:
          type: boolean
          description: "[Deprecated] Only mirror protected branches. Premium and Ultimate
            only. Mutually exclusive with `mirror_branch_regex`."
          nullable: true
        mirror_branch_regex:
          type: string
          description: "[Deprecated] Only mirror branches match regex. Mutually exclusive
            with `only_mirror_protected_branches`."
          nullable: true
        mirror_overwrites_diverged_branches:
          type: boolean
          description: "[Deprecated] Pull mirror overwrites diverged branches. Premium
            and Ultimate only."
          nullable: true
        import_url:
          type: string
          description: URL from which the project is imported
          nullable: true
        fallback_approvals_required:
          type: integer
          description: Overall approvals required when no rule is present
          nullable: true
        issues_template:
          type: string
          description: Default description for Issues. Description is parsed with
            GitLab Flavored Markdown. Premium and Ultimate only.
          nullable: true
        merge_requests_template:
          type: string
          description: Default description for merge requests. Description is parsed
            with GitLab Flavored Markdown. Premium and Ultimate only.
          nullable: true
        merge_pipelines_enabled:
          type: boolean
          description: Enable merged results pipelines.
          nullable: true
        merge_trains_enabled:
          type: boolean
          description: Enable merge trains.
          nullable: true
        merge_trains_skip_train_allowed:
          type: boolean
          description: Allow merge train merge requests to be merged without waiting
            for pipelines to finish.
          nullable: true
        merge_train_enforcement:
          type: string
          enum:
          - allow_bypass
          - enforce_for_all_users
          - enforce_with_owner_override
          description: Merge train enforcement level. One of `allow_bypass`, `enforce_for_all_users`,
            or `enforce_with_owner_override`. Has no effect unless merge trains are
            enabled for the project. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/597962)
            in GitLab 19.2.
          nullable: true
        max_pipelines_per_merge_train:
          type: integer
          description: Maximum number of parallel pipelines per merge train for this
            project.
          nullable: true
        ci_restrict_pipeline_cancellation_role:
          type: string
          description: Roles allowed to cancel pipelines and jobs. One of `developer`,
            `maintainer`, or `no_one`. Premium and Ultimate only.
          nullable: true
        web_based_commit_signing_enabled:
          type: boolean
          description: Enable web based commit signing for commits created from the
            GitLab UI. GitLab.com only.
          nullable: true
        security_policy_pipeline_must_succeed:
          type: boolean
          description: Require all security policy pipelines to succeed before merge
            requests can be merged
          nullable: true
        reviewer_assignment_strategy:
          type: string
          enum:
          - disabled
          - code_owners
          description: Strategy used to automatically assign reviewers to merge requests.
            One of `disabled` or `code_owners`. Responses can also return `dap_powered`
            for projects configured before GitLab 19.4. Premium and Ultimate only.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/601621) in
            GitLab 19.2.
          nullable: true
    postApiV4ProjectsIdForkRequest:
      type: object
      properties:
        namespace:
          type: string
          description: ID or path of the namespace to fork the new project into. Deprecated.
            Use `namespace_id` or `namespace_path` instead.
          example: gitlab
          nullable: true
        namespace_id:
          type: integer
          description: ID of the namespace to fork the new project into.
          example: 1
          nullable: true
        namespace_path:
          type: string
          description: Path of the namespace to fork the new project into.
          example: new_path/gitlab
          nullable: true
        path:
          type: string
          description: Path assigned to the new project after forking.
          example: fork
          nullable: true
        name:
          type: string
          description: Name assigned to the new project after forking.
          example: Fork
          nullable: true
        description:
          type: string
          description: Description assigned to the new project after forking.
          example: Description
          nullable: true
        visibility:
          type: string
          enum:
          - private
          - internal
          - public
          description: "[Visibility level](https://docs.gitlab.com/api/projects/#project-visibility-level)
            assigned to the new project after forking. The resulting visibility is
            never less restrictive than the upstream project or the target namespace.
            A less restrictive value is replaced with a more restrictive one."
          nullable: true
        mr_default_target_self:
          type: boolean
          description: If `true`, merge requests from the forked project target this
            project. If `false`, they target the upstream project.
          nullable: true
        branches:
          type: string
          description: Branches to fork. Leave empty to fork all branches.
          nullable: true
    postApiV4ProjectsIdShareRequest:
      type: object
      properties:
        group_id:
          type: integer
          description: ID of the group to share the project with.
          example: 1
          nullable: true
        group_access:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          description: Access level to grant to the invited group. For a list of values,
            see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
        expires_at:
          type: string
          format: date
          description: Date when the share expires.
          nullable: true
        member_role_id:
          type: integer
          description: ID of the member role to assign to the group.
          nullable: true
      required:
      - group_id
      - group_access
    postApiV4ProjectsIdHousekeepingRequest:
      type: object
      properties:
        task:
          type: string
          enum:
          - eager
          - prune
          description: "`prune` to trigger manual prune of unreachable objects or
            `eager` to trigger eager housekeeping."
          nullable: true
          default: eager
    putApiV4ProjectsIdTransferRequest:
      type: object
      properties:
        namespace:
          type: string
          description: ID or path of the namespace to transfer the project to.
          example: gitlab
          nullable: true
      required:
      - namespace
    postApiV4ProjectsIdSnippetsRequest:
      type: object
      properties:
        title:
          type: string
          description: Title of the snippet.
          minLength: 1
        description:
          type: string
          description: Description of the snippet.
          nullable: true
        visibility:
          type: string
          enum:
          - private
          - internal
          - public
          description: Visibility level for the snippet. On GitLab.com, the `internal`
            value is not available.
          minLength: 1
        files:
          type: array
          description: Array of files for the snippet. Mutually exclusive with `content`.
            Exactly one of `files`, `content` must be provided.
          items:
            type: object
            properties:
              file_path:
                type: string
                description: Path of the snippet file.
                minLength: 1
              content:
                type: string
                description: Content of the snippet file.
                minLength: 1
            required:
            - file_path
            - content
          nullable: true
        content:
          type: string
          description: The content of a snippet. Deprecated. Use `files` instead.
            Mutually exclusive with `files`. Exactly one of `files`, `content` must
            be provided.
          minLength: 1
        file_name:
          type: string
          description: The name of a snippet file. Deprecated. Use `files` instead.
          nullable: true
      required:
      - title
      - visibility
      - file_name
    putApiV4ProjectsIdSnippetsSnippetIdRequest:
      type: object
      properties:
        content:
          type: string
          description: Content of the snippet. Deprecated. Use `files` instead. Mutually
            exclusive with `files`. At least one of `content`, `description`, `files`,
            `file_name`, `title`, `visibility` must be provided.
          minLength: 1
        description:
          type: string
          description: Description of the snippet. At least one of `content`, `description`,
            `files`, `file_name`, `title`, `visibility` must be provided.
          nullable: true
        file_name:
          type: string
          description: Name of the snippet file. Deprecated. Use `files` instead.
            Mutually exclusive with `files`. At least one of `content`, `description`,
            `files`, `file_name`, `title`, `visibility` must be provided.
          nullable: true
        title:
          type: string
          description: Title of the snippet. At least one of `content`, `description`,
            `files`, `file_name`, `title`, `visibility` must be provided.
          minLength: 1
        visibility:
          type: string
          enum:
          - private
          - internal
          - public
          description: Visibility level for the snippet. On GitLab.com, the `internal`
            value is not available. At least one of `content`, `description`, `files`,
            `file_name`, `title`, `visibility` must be provided.
          nullable: true
        files:
          type: array
          description: Array of files to update for the snippet. Required when the
            snippet has multiple files. Mutually exclusive with `content`, `file_name`.
            At least one of `content`, `description`, `files`, `file_name`, `title`,
            `visibility` must be provided.
          items:
            type: object
            properties:
              action:
                type: string
                enum:
                - create
                - update
                - delete
                - move
                description: 'The type of action to perform on the file, must be one
                  of: create, update, delete, move'
                minLength: 1
              content:
                type: string
                description: Content of the snippet file.
                minLength: 1
              file_path:
                type: string
                description: Path of the snippet file.
                nullable: true
              previous_path:
                type: string
                description: Previous path of the snippet file.
                nullable: true
            required:
            - action
          nullable: true
    postApiV4ProjectsIdPackagesProtectionRulesRequest:
      type: object
      properties:
        package_name_pattern:
          type: string
          description: Package name protected by the protection rule, for example
            `@my-scope/my-package-*`. Wildcard character `*` is allowed.
          nullable: true
        package_type:
          type: string
          enum:
          - cargo
          - conan
          - generic
          - helm
          - maven
          - npm
          - nuget
          - pypi
          - rubygems
          - terraform_module
          description: Package type protected by the protection rule, for example
            `npm`.
          minLength: 1
        minimum_access_level_for_delete:
          type: string
          enum:
          - owner
          - admin
          description: Minimum GitLab access level required to delete a package. If
            the value is `null`, the default minimum access level is `maintainer`.
            Must be provided when `minimum_access_level_for_push` is not set. Behind
            a feature flag named `packages_protected_packages_delete`. Disabled by
            default. At least one of `minimum_access_level_for_push`, `minimum_access_level_for_delete`
            must be provided.
          nullable: true
        minimum_access_level_for_push:
          type: string
          enum:
          - maintainer
          - owner
          - admin
          description: Minimum GitLab access level required to push a package. If
            the value is `null`, the default minimum access level is `developer`.
            Must be provided when `minimum_access_level_for_delete` is not set. At
            least one of `minimum_access_level_for_push`, `minimum_access_level_for_delete`
            must be provided.
          nullable: true
      required:
      - package_name_pattern
      - package_type
    patchApiV4ProjectsIdPackagesProtectionRulesPackageProtectionRuleIdRequest:
      type: object
      properties:
        package_name_pattern:
          type: string
          description: Package name protected by the protection rule, for example
            `@my-scope/my-package-*`. Wildcard character `*` is allowed.
          nullable: true
        package_type:
          type: string
          enum:
          - cargo
          - conan
          - generic
          - helm
          - maven
          - npm
          - nuget
          - pypi
          - rubygems
          - terraform_module
          description: Package type protected by the protection rule, for example
            `npm`.
          nullable: true
        minimum_access_level_for_delete:
          type: string
          enum:
          - owner
          - admin
          description: Minimum GitLab access level required to delete a package. If
            the value is `null`, the default minimum access level is `maintainer`.
            Must be provided when `minimum_access_level_for_push` is not set. Behind
            a feature flag named `packages_protected_packages_delete`. Disabled by
            default.
          nullable: true
        minimum_access_level_for_push:
          type: string
          enum:
          - maintainer
          - owner
          - admin
          description: Minimum GitLab access level required to push a package. If
            the value is `null`, the default minimum access level is `developer`.
            Must be provided when `minimum_access_level_for_delete` is not set.
          nullable: true
    patchApiV4ProjectsIdJobTokenScopeRequest:
      type: object
      properties:
        enabled:
          type: boolean
          description: Indicates CI/CD job tokens generated in other projects have
            restricted access to this project. Set to `false` to allow access from
            all projects. The **Enforce job token allowlist** instance setting can
            override this parameter.
      required:
      - enabled
    postApiV4ProjectsIdJobTokenScopeAllowlistRequest:
      type: object
      properties:
        target_project_id:
          type: integer
          description: ID of the project to add to the CI/CD job token inbound allowlist.
          example: 2
      required:
      - target_project_id
    postApiV4ProjectsIdJobTokenScopeGroupsAllowlistRequest:
      type: object
      properties:
        target_group_id:
          type: integer
          description: ID of the group to add to the CI/CD job token groups allowlist.
          example: 2
      required:
      - target_group_id
    postApiV4ProjectsImportRequest:
      type: object
      properties:
        path:
          type: string
          description: The new project path and name
          nullable: true
        file:
          type: string
          format: binary
          description: The project export file to be imported
          nullable: true
        name:
          type: string
          description: The name of the project to be imported. Defaults to the path
            of the project if not provided.
          nullable: true
        namespace:
          type: string
          description: "(deprecated) The ID or path of the namespace to import the
            project to. Defaults to the current user's namespace. Requires the Maintainer
            or Owner role on the destination group. Use `namespace_id` or `namespace_path`
            instead. Mutually exclusive with `namespace_id`, `namespace_path`."
          nullable: true
        namespace_id:
          type: integer
          description: The ID of the namespace that the project will be imported into.
            Defaults to the current user's namespace. Requires the Maintainer or Owner
            role on the destination group. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/511053)
            in GitLab 18.7. Mutually exclusive with `namespace`, `namespace_path`.
          example: 1
          nullable: true
        namespace_path:
          type: string
          description: The path of the namespace that the project will be imported
            into. Defaults to the current user's namespace. Requires the Maintainer
            or Owner role on the destination group. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/511053)
            in GitLab 18.7. Mutually exclusive with `namespace`, `namespace_id`.
          example: new_path/gitlab
          nullable: true
        overwrite:
          type: boolean
          description: If there is a project in the same namespace and with the same
            name overwrite it
          nullable: true
          default: false
        override_params:
          type: object
          description: New project params to override values in the export. Supports
            all fields defined in the projects API.
          properties:
            description:
              type: string
              description: The description of the project
              nullable: true
            build_git_strategy:
              type: string
              enum:
              - fetch
              - clone
              description: The Git strategy. Defaults to `fetch`
              nullable: true
            build_timeout:
              type: integer
              description: The maximum amount of time, in seconds, that a job can
                run.
              nullable: true
            auto_cancel_pending_pipelines:
              type: string
              enum:
              - disabled
              - enabled
              description: Auto-cancel pending pipelines
              nullable: true
            ci_config_path:
              type: string
              description: The path to CI config file. Defaults to `.gitlab-ci.yml`
              nullable: true
            service_desk_enabled:
              type: boolean
              description: Disable or enable the service desk
              nullable: true
            issues_enabled:
              type: boolean
              description: 'Flag indication if the issue tracker is enabled. Deprecated:
                Use `issues_access_level` instead.'
              nullable: true
            merge_requests_enabled:
              type: boolean
              description: 'Flag indication if merge requests are enabled. Deprecated:
                Use `merge_requests_access_level` instead.'
              nullable: true
            wiki_enabled:
              type: boolean
              description: 'Flag indication if the wiki is enabled. Deprecated: Use
                `wiki_access_level` instead.'
              nullable: true
            jobs_enabled:
              type: boolean
              description: 'Flag indication if jobs are enabled. Deprecated: Use `builds_access_level`
                instead.'
              nullable: true
            snippets_enabled:
              type: boolean
              description: 'Flag indication if snippets are enabled. Deprecated: Use
                `snippets_access_level` instead.'
              nullable: true
            issues_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Issues access level. One of `disabled`, `private` or `enabled`
              nullable: true
            repository_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Repository access level. One of `disabled`, `private` or
                `enabled`
              nullable: true
            merge_requests_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Merge requests access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            forking_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Forks access level. One of `disabled`, `private` or `enabled`
              nullable: true
            wiki_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Wiki access level. One of `disabled`, `private` or `enabled`
              nullable: true
            builds_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Builds access level. One of `disabled`, `private` or `enabled`
              nullable: true
            snippets_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Snippets access level. One of `disabled`, `private` or
                `enabled`
              nullable: true
            package_registry_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              - public
              description: Controls visibility of the package registry. One of `disabled`,
                `private`, `enabled` or `public`. `private` will make the package
                registry accessible only to project members (reporter role and above).
                `enabled` will make the package registry accessible to everyone who
                has access to the project. `public` will make the package registry
                accessible to everyone. `disabled` will disable the package registry.
                When you create a project with `disabled`, the package registry might
                remain enabled unless you also set `packages_enabled` to `false`.
                [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/454759)
                in GitLab 18.5.
              nullable: true
            pages_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              - public
              description: Pages access level. One of `disabled`, `private`, `enabled`
                or `public`
              nullable: true
            analytics_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Analytics access level. One of `disabled`, `private` or
                `enabled`
              nullable: true
            container_registry_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Controls visibility of the container registry. One of `disabled`,
                `private` or `enabled`. `private` will make the container registry
                accessible only to project members (reporter role and above). `enabled`
                will make the container registry accessible to everyone who has access
                to the project. `disabled` will disable the container registry. With
                `enabled`, the container registry has the same visibility as the project.
                When you create a project, the default is `enabled`, unless the container
                registry is turned off by default for new projects on the instance.
              nullable: true
            security_and_compliance_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Security and compliance access level. One of `disabled`,
                `private` or `enabled`
              nullable: true
            releases_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Releases access level. One of `disabled`, `private` or
                `enabled`
              nullable: true
            environments_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Environments access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            feature_flags_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Feature flags access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            infrastructure_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Infrastructure access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            monitor_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Monitor access level. One of `disabled`, `private` or `enabled`
              nullable: true
            model_experiments_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Model experiments access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            model_registry_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Model registry access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            emails_disabled:
              type: boolean
              description: 'Disable email notifications. Deprecated: Use emails_enabled
                instead.'
              nullable: true
            emails_enabled:
              type: boolean
              description: Enable email notifications
              nullable: true
            show_default_award_emojis:
              type: boolean
              description: Show default award emojis
              nullable: true
            show_diff_preview_in_email:
              type: boolean
              description: Include the code diff preview in merge request notification
                emails
              nullable: true
            warn_about_potentially_unwanted_characters:
              type: boolean
              description: Warn about potentially unwanted characters
              nullable: true
            enforce_auth_checks_on_uploads:
              type: boolean
              description: Enforce auth check on uploads
              nullable: true
            shared_runners_enabled:
              type: boolean
              description: Flag indication if shared runners are enabled for that
                project
              nullable: true
            group_runners_enabled:
              type: boolean
              description: Flag indication if group runners are enabled for that project
              nullable: true
            resource_group_default_process_mode:
              type: string
              enum:
              - unordered
              - oldest_first
              - newest_first
              - newest_ready_first
              description: The process mode of the resource group
              nullable: true
            resolve_outdated_diff_discussions:
              type: boolean
              description: Automatically resolve merge request diff threads on lines
                changed with a push
              nullable: true
            remove_source_branch_after_merge:
              type: boolean
              description: Remove the source branch by default after merge
              nullable: true
            packages_enabled:
              type: boolean
              description: 'Deprecated in GitLab 17.10: Use :package_registry_access_level
                instead. Enable project packages feature'
              nullable: true
            container_registry_enabled:
              type: boolean
              description: 'Deprecated: Use :container_registry_access_level instead.
                Flag indication if the container registry is enabled for that project'
              nullable: true
            container_expiration_policy_attributes:
              type: object
              description: Object that contains information on the container expiration
                policy
              properties:
                cadence:
                  type: string
                  description: Container expiration policy cadence for recurring job
                  nullable: true
                keep_n:
                  type: integer
                  description: Container expiration policy number of images to keep
                  nullable: true
                older_than:
                  type: string
                  description: Container expiration policy remove images older than
                    value
                  nullable: true
                name_regex:
                  type: string
                  description: Container expiration policy regex for image removal
                  nullable: true
                name_regex_keep:
                  type: string
                  description: Container expiration policy regex for image retention
                  nullable: true
                enabled:
                  type: boolean
                  description: Flag indication if container expiration policy is enabled
                  nullable: true
              nullable: true
            lfs_enabled:
              type: boolean
              description: Flag indication if Git LFS is enabled for that project
              nullable: true
            visibility:
              type: string
              enum:
              - private
              - internal
              - public
              description: The visibility of the project.
              nullable: true
            public_builds:
              type: boolean
              description: 'If `true`, jobs can be viewed by non-project members.
                Deprecated: Use public_jobs instead.'
              nullable: true
            public_jobs:
              type: boolean
              description: If `true`, jobs can be viewed by non-project members.
              nullable: true
            request_access_enabled:
              type: boolean
              description: Allow users to request member access
              nullable: true
            only_allow_merge_if_pipeline_succeeds:
              type: boolean
              description: Only allow to merge if builds succeed
              nullable: true
            allow_merge_on_skipped_pipeline:
              type: boolean
              description: Allow to merge if pipeline is skipped
              nullable: true
            only_allow_merge_if_all_discussions_are_resolved:
              type: boolean
              description: Only allow to merge if all threads are resolved
              nullable: true
            tag_list:
              type: array
              items:
                type: string
              description: 'The list of tags for the project. Deprecated in GitLab
                14.0: Use :topics instead'
              nullable: true
            topics:
              type: array
              items:
                type: string
              description: The list of topics for a project. When updating a project,
                replaces any existing topics.
              nullable: true
            avatar:
              type: string
              format: binary
              description: 'Avatar image for project. The file must be 200 KB or smaller,
                and one of these types: `.bmp`, `.gif`, `.ico`, `.jpeg`, `.jpg`, `.png`,
                `.tiff`, or `.webp`.'
              nullable: true
            printing_merge_request_link_enabled:
              type: boolean
              description: Show link to create/view merge request when pushing from
                the command line
              nullable: true
            merge_method:
              type: string
              enum:
              - ff
              - rebase_merge
              - merge
              description: The merge method used when merging merge requests
              nullable: true
            suggestion_commit_message:
              type: string
              description: The commit message used to apply merge request suggestions
              nullable: true
            merge_commit_template:
              type: string
              description: Template used to create merge commit message
              nullable: true
            squash_commit_template:
              type: string
              description: Template used to create squash commit message
              nullable: true
            issue_branch_template:
              type: string
              description: Template used to create a branch from an issue
              nullable: true
            auto_devops_enabled:
              type: boolean
              description: Flag indication if Auto DevOps is enabled
              nullable: true
            auto_devops_deploy_strategy:
              type: string
              enum:
              - continuous
              - manual
              - timed_incremental
              description: Auto Deploy strategy
              nullable: true
            autoclose_referenced_issues:
              type: boolean
              description: Flag indication if referenced issues auto-closing on the
                default branch is enabled
              nullable: true
            repository_storage:
              type: string
              description: Which storage shard the repository is on. Available only
                to admins
              nullable: true
            squash_option:
              type: string
              enum:
              - never
              - always
              - default_on
              - default_off
              description: Squash default for project. One of `never`, `always`, `default_on`,
                or `default_off`.
              nullable: true
            mr_default_target_self:
              type: boolean
              description: Merge requests of this forked project targets itself by
                default. If `false`, the target is the upstream project.
              nullable: true
            mr_default_title_template:
              type: string
              description: Template used to generate the default merge request title.
                Maximum 100 characters. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/228442)
                in GitLab 18.11.
              nullable: true
              maxLength: 100
            cicd_catalog_enabled:
              type: boolean
              description: Set whether the project is a CI/CD catalog project. Requires
                the Owner role. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/463043)
                in GitLab 19.3.
              nullable: true
            only_allow_merge_if_all_status_checks_passed:
              type: boolean
              description: Blocks merge requests from merging unless all status checks
                have passed. Default is `false`. Ultimate only.
              nullable: true
            approvals_before_merge:
              type: integer
              description: 'How many approvers should approve merge request by default.
                Deprecated in GitLab 16.0: Use the merge request approvals API instead.
                Premium and Ultimate only.'
            mirror:
              type: boolean
              description: "[Deprecated] Enables pull mirroring in a project. Premium
                and Ultimate only."
              nullable: true
            mirror_trigger_builds:
              type: boolean
              description: "[Deprecated] Pull mirroring triggers builds. Premium and
                Ultimate only."
              nullable: true
            external_authorization_classification_label:
              type: string
              description: The classification label for the project. Premium and Ultimate
                only.
              nullable: true
            requirements_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Requirements feature access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            prevent_merge_without_jira_issue:
              type: boolean
              description: Require an associated issue from Jira. Ultimate only.
              nullable: true
            auto_duo_code_review_enabled:
              type: boolean
              description: Enable automatic reviews by GitLab Duo on merge requests
              nullable: true
            duo_code_review_decisions_enabled:
              type: boolean
              description: Enable approval and change requests by GitLab Duo on merge
                requests. Behind a feature flag named `duo_code_review_decisions`,
                enabled by default.
              nullable: true
            duo_code_review_level_allowed:
              type: boolean
              description: "[Beta] Allow Standard reviews by GitLab Duo Code Review
                Flow"
              nullable: true
            duo_code_review_default_level:
              type: string
              enum:
              - lite
              - standard
              description: "[Beta] Default review level for GitLab Duo Code Review
                Flow. One of `lite` or `standard`"
              nullable: true
            duo_remote_flows_enabled:
              type: boolean
              description: Enable GitLab Duo remote flows for this project
              nullable: true
            duo_sast_fp_detection_enabled:
              type: boolean
              description: Enable GitLab Duo SAST false positive detection for this
                project
              nullable: true
            duo_secret_detection_fp_enabled:
              type: boolean
              description: Enable GitLab Duo Secret Detection false positive detection
                for this project
              nullable: true
            duo_dependency_bump_breaking_changes_enabled:
              type: boolean
              description: Turn on Agentic Breaking Change Resolution for this project
              nullable: true
            duo_sast_vr_workflow_enabled:
              type: boolean
              description: Enable GitLab Duo SAST vulnerability resolution workflow
                for this project. Requires the Security Manager, Maintainer, or Owner
                role.
              nullable: true
            spp_repository_pipeline_access:
              type: boolean
              description: Grant users and tokens read-only access to security policy
                configurations for enforcement in linked CI/CD projects. Ultimate
                only.
              nullable: true
            merge_request_title_regex:
              type: string
              description: The regex the Merge Request must adhere to
              nullable: true
            merge_request_title_regex_description:
              type: string
              description: The description for the regex the Merge Request must adhere
                to
              nullable: true
          nullable: true
        file.path:
          type: string
          description: Path to locally stored body (generated by Workhorse)
          nullable: true
        file.name:
          type: string
          description: Real filename as send in Content-Disposition (generated by
            Workhorse)
          nullable: true
        file.type:
          type: string
          description: Real content type as send in Content-Type (generated by Workhorse)
          nullable: true
        file.size:
          type: integer
          description: Real size of file (generated by Workhorse)
          nullable: true
        file.md5:
          type: string
          description: MD5 checksum of the file (generated by Workhorse)
          nullable: true
        file.sha1:
          type: string
          description: SHA1 checksum of the file (generated by Workhorse)
          nullable: true
        file.sha256:
          type: string
          description: SHA256 checksum of the file (generated by Workhorse)
          nullable: true
        file.etag:
          type: string
          description: Etag of the file (generated by Workhorse)
          nullable: true
        file.remote_id:
          type: string
          description: Remote_id of the file (generated by Workhorse)
          nullable: true
        file.remote_url:
          type: string
          description: Remote_url of the file (generated by Workhorse)
          nullable: true
      required:
      - path
      - file
    postApiV4ProjectsIdImportGitRequest:
      type: object
      properties:
        import_url:
          type: string
          description: URL from which the project is imported.
          nullable: true
        import_url_user:
          type: string
          description: Username for the import URL.
          nullable: true
        import_url_password:
          type: string
          description: Password for the import URL.
          nullable: true
      required:
      - import_url
    postApiV4ProjectsRemoteImportRequest:
      type: object
      properties:
        url:
          type: string
          description: The URL for the file.
          nullable: true
        path:
          type: string
          description: The new project path and name
          nullable: true
        name:
          type: string
          description: The name of the project to be imported. Defaults to the path
            of the project if not provided.
          nullable: true
        namespace:
          type: string
          description: "(deprecated) The ID or path of the namespace to import the
            project to. Defaults to the current user's namespace. Requires the Maintainer
            or Owner role on the destination group. Use `namespace_id` or `namespace_path`
            instead. Mutually exclusive with `namespace_id`, `namespace_path`."
          nullable: true
        namespace_id:
          type: integer
          description: The ID of the namespace that the project will be imported into.
            Defaults to the current user's namespace. Requires the Maintainer or Owner
            role on the destination group. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/511053)
            in GitLab 18.7. Mutually exclusive with `namespace`, `namespace_path`.
          example: 1
          nullable: true
        namespace_path:
          type: string
          description: The path of the namespace that the project will be imported
            into. Defaults to the current user's namespace. Requires the Maintainer
            or Owner role on the destination group. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/511053)
            in GitLab 18.7. Mutually exclusive with `namespace`, `namespace_id`.
          example: new_path/gitlab
          nullable: true
        overwrite:
          type: boolean
          description: If there is a project in the same namespace and with the same
            name overwrite it
          nullable: true
          default: false
        override_params:
          type: object
          description: New project params to override values in the export. Supports
            all fields defined in the projects API.
          properties:
            description:
              type: string
              description: The description of the project
              nullable: true
            build_git_strategy:
              type: string
              enum:
              - fetch
              - clone
              description: The Git strategy. Defaults to `fetch`
              nullable: true
            build_timeout:
              type: integer
              description: The maximum amount of time, in seconds, that a job can
                run.
              nullable: true
            auto_cancel_pending_pipelines:
              type: string
              enum:
              - disabled
              - enabled
              description: Auto-cancel pending pipelines
              nullable: true
            ci_config_path:
              type: string
              description: The path to CI config file. Defaults to `.gitlab-ci.yml`
              nullable: true
            service_desk_enabled:
              type: boolean
              description: Disable or enable the service desk
              nullable: true
            issues_enabled:
              type: boolean
              description: 'Flag indication if the issue tracker is enabled. Deprecated:
                Use `issues_access_level` instead.'
              nullable: true
            merge_requests_enabled:
              type: boolean
              description: 'Flag indication if merge requests are enabled. Deprecated:
                Use `merge_requests_access_level` instead.'
              nullable: true
            wiki_enabled:
              type: boolean
              description: 'Flag indication if the wiki is enabled. Deprecated: Use
                `wiki_access_level` instead.'
              nullable: true
            jobs_enabled:
              type: boolean
              description: 'Flag indication if jobs are enabled. Deprecated: Use `builds_access_level`
                instead.'
              nullable: true
            snippets_enabled:
              type: boolean
              description: 'Flag indication if snippets are enabled. Deprecated: Use
                `snippets_access_level` instead.'
              nullable: true
            issues_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Issues access level. One of `disabled`, `private` or `enabled`
              nullable: true
            repository_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Repository access level. One of `disabled`, `private` or
                `enabled`
              nullable: true
            merge_requests_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Merge requests access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            forking_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Forks access level. One of `disabled`, `private` or `enabled`
              nullable: true
            wiki_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Wiki access level. One of `disabled`, `private` or `enabled`
              nullable: true
            builds_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Builds access level. One of `disabled`, `private` or `enabled`
              nullable: true
            snippets_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Snippets access level. One of `disabled`, `private` or
                `enabled`
              nullable: true
            package_registry_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              - public
              description: Controls visibility of the package registry. One of `disabled`,
                `private`, `enabled` or `public`. `private` will make the package
                registry accessible only to project members (reporter role and above).
                `enabled` will make the package registry accessible to everyone who
                has access to the project. `public` will make the package registry
                accessible to everyone. `disabled` will disable the package registry.
                When you create a project with `disabled`, the package registry might
                remain enabled unless you also set `packages_enabled` to `false`.
                [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/454759)
                in GitLab 18.5.
              nullable: true
            pages_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              - public
              description: Pages access level. One of `disabled`, `private`, `enabled`
                or `public`
              nullable: true
            analytics_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Analytics access level. One of `disabled`, `private` or
                `enabled`
              nullable: true
            container_registry_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Controls visibility of the container registry. One of `disabled`,
                `private` or `enabled`. `private` will make the container registry
                accessible only to project members (reporter role and above). `enabled`
                will make the container registry accessible to everyone who has access
                to the project. `disabled` will disable the container registry. With
                `enabled`, the container registry has the same visibility as the project.
                When you create a project, the default is `enabled`, unless the container
                registry is turned off by default for new projects on the instance.
              nullable: true
            security_and_compliance_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Security and compliance access level. One of `disabled`,
                `private` or `enabled`
              nullable: true
            releases_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Releases access level. One of `disabled`, `private` or
                `enabled`
              nullable: true
            environments_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Environments access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            feature_flags_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Feature flags access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            infrastructure_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Infrastructure access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            monitor_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Monitor access level. One of `disabled`, `private` or `enabled`
              nullable: true
            model_experiments_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Model experiments access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            model_registry_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Model registry access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            emails_disabled:
              type: boolean
              description: 'Disable email notifications. Deprecated: Use emails_enabled
                instead.'
              nullable: true
            emails_enabled:
              type: boolean
              description: Enable email notifications
              nullable: true
            show_default_award_emojis:
              type: boolean
              description: Show default award emojis
              nullable: true
            show_diff_preview_in_email:
              type: boolean
              description: Include the code diff preview in merge request notification
                emails
              nullable: true
            warn_about_potentially_unwanted_characters:
              type: boolean
              description: Warn about potentially unwanted characters
              nullable: true
            enforce_auth_checks_on_uploads:
              type: boolean
              description: Enforce auth check on uploads
              nullable: true
            shared_runners_enabled:
              type: boolean
              description: Flag indication if shared runners are enabled for that
                project
              nullable: true
            group_runners_enabled:
              type: boolean
              description: Flag indication if group runners are enabled for that project
              nullable: true
            resource_group_default_process_mode:
              type: string
              enum:
              - unordered
              - oldest_first
              - newest_first
              - newest_ready_first
              description: The process mode of the resource group
              nullable: true
            resolve_outdated_diff_discussions:
              type: boolean
              description: Automatically resolve merge request diff threads on lines
                changed with a push
              nullable: true
            remove_source_branch_after_merge:
              type: boolean
              description: Remove the source branch by default after merge
              nullable: true
            packages_enabled:
              type: boolean
              description: 'Deprecated in GitLab 17.10: Use :package_registry_access_level
                instead. Enable project packages feature'
              nullable: true
            container_registry_enabled:
              type: boolean
              description: 'Deprecated: Use :container_registry_access_level instead.
                Flag indication if the container registry is enabled for that project'
              nullable: true
            container_expiration_policy_attributes:
              type: object
              description: Object that contains information on the container expiration
                policy
              properties:
                cadence:
                  type: string
                  description: Container expiration policy cadence for recurring job
                  nullable: true
                keep_n:
                  type: integer
                  description: Container expiration policy number of images to keep
                  nullable: true
                older_than:
                  type: string
                  description: Container expiration policy remove images older than
                    value
                  nullable: true
                name_regex:
                  type: string
                  description: Container expiration policy regex for image removal
                  nullable: true
                name_regex_keep:
                  type: string
                  description: Container expiration policy regex for image retention
                  nullable: true
                enabled:
                  type: boolean
                  description: Flag indication if container expiration policy is enabled
                  nullable: true
              nullable: true
            lfs_enabled:
              type: boolean
              description: Flag indication if Git LFS is enabled for that project
              nullable: true
            visibility:
              type: string
              enum:
              - private
              - internal
              - public
              description: The visibility of the project.
              nullable: true
            public_builds:
              type: boolean
              description: 'If `true`, jobs can be viewed by non-project members.
                Deprecated: Use public_jobs instead.'
              nullable: true
            public_jobs:
              type: boolean
              description: If `true`, jobs can be viewed by non-project members.
              nullable: true
            request_access_enabled:
              type: boolean
              description: Allow users to request member access
              nullable: true
            only_allow_merge_if_pipeline_succeeds:
              type: boolean
              description: Only allow to merge if builds succeed
              nullable: true
            allow_merge_on_skipped_pipeline:
              type: boolean
              description: Allow to merge if pipeline is skipped
              nullable: true
            only_allow_merge_if_all_discussions_are_resolved:
              type: boolean
              description: Only allow to merge if all threads are resolved
              nullable: true
            tag_list:
              type: array
              items:
                type: string
              description: 'The list of tags for the project. Deprecated in GitLab
                14.0: Use :topics instead'
              nullable: true
            topics:
              type: array
              items:
                type: string
              description: The list of topics for a project. When updating a project,
                replaces any existing topics.
              nullable: true
            avatar:
              type: string
              format: binary
              description: 'Avatar image for project. The file must be 200 KB or smaller,
                and one of these types: `.bmp`, `.gif`, `.ico`, `.jpeg`, `.jpg`, `.png`,
                `.tiff`, or `.webp`.'
              nullable: true
            printing_merge_request_link_enabled:
              type: boolean
              description: Show link to create/view merge request when pushing from
                the command line
              nullable: true
            merge_method:
              type: string
              enum:
              - ff
              - rebase_merge
              - merge
              description: The merge method used when merging merge requests
              nullable: true
            suggestion_commit_message:
              type: string
              description: The commit message used to apply merge request suggestions
              nullable: true
            merge_commit_template:
              type: string
              description: Template used to create merge commit message
              nullable: true
            squash_commit_template:
              type: string
              description: Template used to create squash commit message
              nullable: true
            issue_branch_template:
              type: string
              description: Template used to create a branch from an issue
              nullable: true
            auto_devops_enabled:
              type: boolean
              description: Flag indication if Auto DevOps is enabled
              nullable: true
            auto_devops_deploy_strategy:
              type: string
              enum:
              - continuous
              - manual
              - timed_incremental
              description: Auto Deploy strategy
              nullable: true
            autoclose_referenced_issues:
              type: boolean
              description: Flag indication if referenced issues auto-closing on the
                default branch is enabled
              nullable: true
            repository_storage:
              type: string
              description: Which storage shard the repository is on. Available only
                to admins
              nullable: true
            squash_option:
              type: string
              enum:
              - never
              - always
              - default_on
              - default_off
              description: Squash default for project. One of `never`, `always`, `default_on`,
                or `default_off`.
              nullable: true
            mr_default_target_self:
              type: boolean
              description: Merge requests of this forked project targets itself by
                default. If `false`, the target is the upstream project.
              nullable: true
            mr_default_title_template:
              type: string
              description: Template used to generate the default merge request title.
                Maximum 100 characters. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/228442)
                in GitLab 18.11.
              nullable: true
              maxLength: 100
            cicd_catalog_enabled:
              type: boolean
              description: Set whether the project is a CI/CD catalog project. Requires
                the Owner role. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/463043)
                in GitLab 19.3.
              nullable: true
            only_allow_merge_if_all_status_checks_passed:
              type: boolean
              description: Blocks merge requests from merging unless all status checks
                have passed. Default is `false`. Ultimate only.
              nullable: true
            approvals_before_merge:
              type: integer
              description: 'How many approvers should approve merge request by default.
                Deprecated in GitLab 16.0: Use the merge request approvals API instead.
                Premium and Ultimate only.'
            mirror:
              type: boolean
              description: "[Deprecated] Enables pull mirroring in a project. Premium
                and Ultimate only."
              nullable: true
            mirror_trigger_builds:
              type: boolean
              description: "[Deprecated] Pull mirroring triggers builds. Premium and
                Ultimate only."
              nullable: true
            external_authorization_classification_label:
              type: string
              description: The classification label for the project. Premium and Ultimate
                only.
              nullable: true
            requirements_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Requirements feature access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            prevent_merge_without_jira_issue:
              type: boolean
              description: Require an associated issue from Jira. Ultimate only.
              nullable: true
            auto_duo_code_review_enabled:
              type: boolean
              description: Enable automatic reviews by GitLab Duo on merge requests
              nullable: true
            duo_code_review_decisions_enabled:
              type: boolean
              description: Enable approval and change requests by GitLab Duo on merge
                requests. Behind a feature flag named `duo_code_review_decisions`,
                enabled by default.
              nullable: true
            duo_code_review_level_allowed:
              type: boolean
              description: "[Beta] Allow Standard reviews by GitLab Duo Code Review
                Flow"
              nullable: true
            duo_code_review_default_level:
              type: string
              enum:
              - lite
              - standard
              description: "[Beta] Default review level for GitLab Duo Code Review
                Flow. One of `lite` or `standard`"
              nullable: true
            duo_remote_flows_enabled:
              type: boolean
              description: Enable GitLab Duo remote flows for this project
              nullable: true
            duo_sast_fp_detection_enabled:
              type: boolean
              description: Enable GitLab Duo SAST false positive detection for this
                project
              nullable: true
            duo_secret_detection_fp_enabled:
              type: boolean
              description: Enable GitLab Duo Secret Detection false positive detection
                for this project
              nullable: true
            duo_dependency_bump_breaking_changes_enabled:
              type: boolean
              description: Turn on Agentic Breaking Change Resolution for this project
              nullable: true
            duo_sast_vr_workflow_enabled:
              type: boolean
              description: Enable GitLab Duo SAST vulnerability resolution workflow
                for this project. Requires the Security Manager, Maintainer, or Owner
                role.
              nullable: true
            spp_repository_pipeline_access:
              type: boolean
              description: Grant users and tokens read-only access to security policy
                configurations for enforcement in linked CI/CD projects. Ultimate
                only.
              nullable: true
            merge_request_title_regex:
              type: string
              description: The regex the Merge Request must adhere to
              nullable: true
            merge_request_title_regex_description:
              type: string
              description: The description for the regex the Merge Request must adhere
                to
              nullable: true
          nullable: true
      required:
      - url
      - path
    postApiV4ProjectsImportRelationRequest:
      type: object
      properties:
        path:
          type: string
          description: The project path and name
          nullable: true
        file:
          type: string
          format: binary
          description: The project export file from which to extract the relation.
          nullable: true
        relation:
          type: string
          enum:
          - issues
          - merge_requests
          - milestones
          - ci_pipelines
          description: The relation to import.
          minLength: 1
        file.path:
          type: string
          description: Path to locally stored body (generated by Workhorse)
          nullable: true
        file.name:
          type: string
          description: Real filename as sent in Content-Disposition (generated by
            Workhorse)
          nullable: true
        file.type:
          type: string
          description: Real content type as send in Content-Type (generated by Workhorse)
          nullable: true
        file.size:
          type: integer
          description: Real size of file (generated by Workhorse)
          nullable: true
        file.md5:
          type: string
          description: MD5 checksum of the file (generated by Workhorse)
          nullable: true
        file.sha1:
          type: string
          description: SHA1 checksum of the file (generated by Workhorse)
          nullable: true
        file.sha256:
          type: string
          description: SHA256 checksum of the file (generated by Workhorse)
          nullable: true
        file.etag:
          type: string
          description: Etag of the file (generated by Workhorse)
          nullable: true
        file.remote_id:
          type: string
          description: Remote_id of the file (generated by Workhorse)
          nullable: true
        file.remote_url:
          type: string
          description: Remote_url of the file (generated by Workhorse)
          nullable: true
      required:
      - path
      - file
      - relation
    postApiV4ProjectsRemoteImportS3Request:
      type: object
      properties:
        region:
          type: string
          description: AWS region
          nullable: true
        bucket_name:
          type: string
          description: Bucket name
          nullable: true
        file_key:
          type: string
          description: File key
          nullable: true
        access_key_id:
          type: string
          description: Access key id
          nullable: true
        secret_access_key:
          type: string
          description: Secret access key
          nullable: true
        path:
          type: string
          description: The new project path and name
          nullable: true
        name:
          type: string
          description: The name of the project to be imported. Defaults to the path
            of the project if not provided.
          nullable: true
        namespace:
          type: string
          description: "(deprecated) The ID or path of the namespace to import the
            project to. Defaults to the current user's namespace. Requires the Maintainer
            or Owner role on the destination group. Use `namespace_id` or `namespace_path`
            instead. Mutually exclusive with `namespace_id`, `namespace_path`."
          nullable: true
        namespace_id:
          type: integer
          description: The ID of the namespace that the project will be imported into.
            Defaults to the current user's namespace. Requires the Maintainer or Owner
            role on the destination group. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/511053)
            in GitLab 18.7. Mutually exclusive with `namespace`, `namespace_path`.
          example: 1
          nullable: true
        namespace_path:
          type: string
          description: The path of the namespace that the project will be imported
            into. Defaults to the current user's namespace. Requires the Maintainer
            or Owner role on the destination group. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/511053)
            in GitLab 18.7. Mutually exclusive with `namespace`, `namespace_id`.
          example: new_path/gitlab
          nullable: true
        overwrite:
          type: boolean
          description: If there is a project in the same namespace and with the same
            name overwrite it
          nullable: true
          default: false
        override_params:
          type: object
          description: New project params to override values in the export
          properties:
            description:
              type: string
              description: The description of the project
              nullable: true
            build_git_strategy:
              type: string
              enum:
              - fetch
              - clone
              description: The Git strategy. Defaults to `fetch`
              nullable: true
            build_timeout:
              type: integer
              description: The maximum amount of time, in seconds, that a job can
                run.
              nullable: true
            auto_cancel_pending_pipelines:
              type: string
              enum:
              - disabled
              - enabled
              description: Auto-cancel pending pipelines
              nullable: true
            ci_config_path:
              type: string
              description: The path to CI config file. Defaults to `.gitlab-ci.yml`
              nullable: true
            service_desk_enabled:
              type: boolean
              description: Disable or enable the service desk
              nullable: true
            issues_enabled:
              type: boolean
              description: 'Flag indication if the issue tracker is enabled. Deprecated:
                Use `issues_access_level` instead.'
              nullable: true
            merge_requests_enabled:
              type: boolean
              description: 'Flag indication if merge requests are enabled. Deprecated:
                Use `merge_requests_access_level` instead.'
              nullable: true
            wiki_enabled:
              type: boolean
              description: 'Flag indication if the wiki is enabled. Deprecated: Use
                `wiki_access_level` instead.'
              nullable: true
            jobs_enabled:
              type: boolean
              description: 'Flag indication if jobs are enabled. Deprecated: Use `builds_access_level`
                instead.'
              nullable: true
            snippets_enabled:
              type: boolean
              description: 'Flag indication if snippets are enabled. Deprecated: Use
                `snippets_access_level` instead.'
              nullable: true
            issues_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Issues access level. One of `disabled`, `private` or `enabled`
              nullable: true
            repository_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Repository access level. One of `disabled`, `private` or
                `enabled`
              nullable: true
            merge_requests_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Merge requests access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            forking_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Forks access level. One of `disabled`, `private` or `enabled`
              nullable: true
            wiki_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Wiki access level. One of `disabled`, `private` or `enabled`
              nullable: true
            builds_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Builds access level. One of `disabled`, `private` or `enabled`
              nullable: true
            snippets_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Snippets access level. One of `disabled`, `private` or
                `enabled`
              nullable: true
            package_registry_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              - public
              description: Controls visibility of the package registry. One of `disabled`,
                `private`, `enabled` or `public`. `private` will make the package
                registry accessible only to project members (reporter role and above).
                `enabled` will make the package registry accessible to everyone who
                has access to the project. `public` will make the package registry
                accessible to everyone. `disabled` will disable the package registry.
                When you create a project with `disabled`, the package registry might
                remain enabled unless you also set `packages_enabled` to `false`.
                [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/454759)
                in GitLab 18.5.
              nullable: true
            pages_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              - public
              description: Pages access level. One of `disabled`, `private`, `enabled`
                or `public`
              nullable: true
            analytics_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Analytics access level. One of `disabled`, `private` or
                `enabled`
              nullable: true
            container_registry_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Controls visibility of the container registry. One of `disabled`,
                `private` or `enabled`. `private` will make the container registry
                accessible only to project members (reporter role and above). `enabled`
                will make the container registry accessible to everyone who has access
                to the project. `disabled` will disable the container registry. With
                `enabled`, the container registry has the same visibility as the project.
                When you create a project, the default is `enabled`, unless the container
                registry is turned off by default for new projects on the instance.
              nullable: true
            security_and_compliance_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Security and compliance access level. One of `disabled`,
                `private` or `enabled`
              nullable: true
            releases_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Releases access level. One of `disabled`, `private` or
                `enabled`
              nullable: true
            environments_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Environments access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            feature_flags_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Feature flags access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            infrastructure_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Infrastructure access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            monitor_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Monitor access level. One of `disabled`, `private` or `enabled`
              nullable: true
            model_experiments_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Model experiments access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            model_registry_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Model registry access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            emails_disabled:
              type: boolean
              description: 'Disable email notifications. Deprecated: Use emails_enabled
                instead.'
              nullable: true
            emails_enabled:
              type: boolean
              description: Enable email notifications
              nullable: true
            show_default_award_emojis:
              type: boolean
              description: Show default award emojis
              nullable: true
            show_diff_preview_in_email:
              type: boolean
              description: Include the code diff preview in merge request notification
                emails
              nullable: true
            warn_about_potentially_unwanted_characters:
              type: boolean
              description: Warn about potentially unwanted characters
              nullable: true
            enforce_auth_checks_on_uploads:
              type: boolean
              description: Enforce auth check on uploads
              nullable: true
            shared_runners_enabled:
              type: boolean
              description: Flag indication if shared runners are enabled for that
                project
              nullable: true
            group_runners_enabled:
              type: boolean
              description: Flag indication if group runners are enabled for that project
              nullable: true
            resource_group_default_process_mode:
              type: string
              enum:
              - unordered
              - oldest_first
              - newest_first
              - newest_ready_first
              description: The process mode of the resource group
              nullable: true
            resolve_outdated_diff_discussions:
              type: boolean
              description: Automatically resolve merge request diff threads on lines
                changed with a push
              nullable: true
            remove_source_branch_after_merge:
              type: boolean
              description: Remove the source branch by default after merge
              nullable: true
            packages_enabled:
              type: boolean
              description: 'Deprecated in GitLab 17.10: Use :package_registry_access_level
                instead. Enable project packages feature'
              nullable: true
            container_registry_enabled:
              type: boolean
              description: 'Deprecated: Use :container_registry_access_level instead.
                Flag indication if the container registry is enabled for that project'
              nullable: true
            container_expiration_policy_attributes:
              type: object
              description: Object that contains information on the container expiration
                policy
              properties:
                cadence:
                  type: string
                  description: Container expiration policy cadence for recurring job
                  nullable: true
                keep_n:
                  type: integer
                  description: Container expiration policy number of images to keep
                  nullable: true
                older_than:
                  type: string
                  description: Container expiration policy remove images older than
                    value
                  nullable: true
                name_regex:
                  type: string
                  description: Container expiration policy regex for image removal
                  nullable: true
                name_regex_keep:
                  type: string
                  description: Container expiration policy regex for image retention
                  nullable: true
                enabled:
                  type: boolean
                  description: Flag indication if container expiration policy is enabled
                  nullable: true
              nullable: true
            lfs_enabled:
              type: boolean
              description: Flag indication if Git LFS is enabled for that project
              nullable: true
            visibility:
              type: string
              enum:
              - private
              - internal
              - public
              description: The visibility of the project.
              nullable: true
            public_builds:
              type: boolean
              description: 'If `true`, jobs can be viewed by non-project members.
                Deprecated: Use public_jobs instead.'
              nullable: true
            public_jobs:
              type: boolean
              description: If `true`, jobs can be viewed by non-project members.
              nullable: true
            request_access_enabled:
              type: boolean
              description: Allow users to request member access
              nullable: true
            only_allow_merge_if_pipeline_succeeds:
              type: boolean
              description: Only allow to merge if builds succeed
              nullable: true
            allow_merge_on_skipped_pipeline:
              type: boolean
              description: Allow to merge if pipeline is skipped
              nullable: true
            only_allow_merge_if_all_discussions_are_resolved:
              type: boolean
              description: Only allow to merge if all threads are resolved
              nullable: true
            tag_list:
              type: array
              items:
                type: string
              description: 'The list of tags for the project. Deprecated in GitLab
                14.0: Use :topics instead'
              nullable: true
            topics:
              type: array
              items:
                type: string
              description: The list of topics for a project. When updating a project,
                replaces any existing topics.
              nullable: true
            avatar:
              type: string
              format: binary
              description: 'Avatar image for project. The file must be 200 KB or smaller,
                and one of these types: `.bmp`, `.gif`, `.ico`, `.jpeg`, `.jpg`, `.png`,
                `.tiff`, or `.webp`.'
              nullable: true
            printing_merge_request_link_enabled:
              type: boolean
              description: Show link to create/view merge request when pushing from
                the command line
              nullable: true
            merge_method:
              type: string
              enum:
              - ff
              - rebase_merge
              - merge
              description: The merge method used when merging merge requests
              nullable: true
            suggestion_commit_message:
              type: string
              description: The commit message used to apply merge request suggestions
              nullable: true
            merge_commit_template:
              type: string
              description: Template used to create merge commit message
              nullable: true
            squash_commit_template:
              type: string
              description: Template used to create squash commit message
              nullable: true
            issue_branch_template:
              type: string
              description: Template used to create a branch from an issue
              nullable: true
            auto_devops_enabled:
              type: boolean
              description: Flag indication if Auto DevOps is enabled
              nullable: true
            auto_devops_deploy_strategy:
              type: string
              enum:
              - continuous
              - manual
              - timed_incremental
              description: Auto Deploy strategy
              nullable: true
            autoclose_referenced_issues:
              type: boolean
              description: Flag indication if referenced issues auto-closing on the
                default branch is enabled
              nullable: true
            repository_storage:
              type: string
              description: Which storage shard the repository is on. Available only
                to admins
              nullable: true
            squash_option:
              type: string
              enum:
              - never
              - always
              - default_on
              - default_off
              description: Squash default for project. One of `never`, `always`, `default_on`,
                or `default_off`.
              nullable: true
            mr_default_target_self:
              type: boolean
              description: Merge requests of this forked project targets itself by
                default. If `false`, the target is the upstream project.
              nullable: true
            mr_default_title_template:
              type: string
              description: Template used to generate the default merge request title.
                Maximum 100 characters. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/228442)
                in GitLab 18.11.
              nullable: true
              maxLength: 100
            cicd_catalog_enabled:
              type: boolean
              description: Set whether the project is a CI/CD catalog project. Requires
                the Owner role. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/463043)
                in GitLab 19.3.
              nullable: true
            only_allow_merge_if_all_status_checks_passed:
              type: boolean
              description: Blocks merge requests from merging unless all status checks
                have passed. Default is `false`. Ultimate only.
              nullable: true
            approvals_before_merge:
              type: integer
              description: 'How many approvers should approve merge request by default.
                Deprecated in GitLab 16.0: Use the merge request approvals API instead.
                Premium and Ultimate only.'
            mirror:
              type: boolean
              description: "[Deprecated] Enables pull mirroring in a project. Premium
                and Ultimate only."
              nullable: true
            mirror_trigger_builds:
              type: boolean
              description: "[Deprecated] Pull mirroring triggers builds. Premium and
                Ultimate only."
              nullable: true
            external_authorization_classification_label:
              type: string
              description: The classification label for the project. Premium and Ultimate
                only.
              nullable: true
            requirements_access_level:
              type: string
              enum:
              - disabled
              - private
              - enabled
              description: Requirements feature access level. One of `disabled`, `private`
                or `enabled`
              nullable: true
            prevent_merge_without_jira_issue:
              type: boolean
              description: Require an associated issue from Jira. Ultimate only.
              nullable: true
            auto_duo_code_review_enabled:
              type: boolean
              description: Enable automatic reviews by GitLab Duo on merge requests
              nullable: true
            duo_code_review_decisions_enabled:
              type: boolean
              description: Enable approval and change requests by GitLab Duo on merge
                requests. Behind a feature flag named `duo_code_review_decisions`,
                enabled by default.
              nullable: true
            duo_code_review_level_allowed:
              type: boolean
              description: "[Beta] Allow Standard reviews by GitLab Duo Code Review
                Flow"
              nullable: true
            duo_code_review_default_level:
              type: string
              enum:
              - lite
              - standard
              description: "[Beta] Default review level for GitLab Duo Code Review
                Flow. One of `lite` or `standard`"
              nullable: true
            duo_remote_flows_enabled:
              type: boolean
              description: Enable GitLab Duo remote flows for this project
              nullable: true
            duo_sast_fp_detection_enabled:
              type: boolean
              description: Enable GitLab Duo SAST false positive detection for this
                project
              nullable: true
            duo_secret_detection_fp_enabled:
              type: boolean
              description: Enable GitLab Duo Secret Detection false positive detection
                for this project
              nullable: true
            duo_dependency_bump_breaking_changes_enabled:
              type: boolean
              description: Turn on Agentic Breaking Change Resolution for this project
              nullable: true
            duo_sast_vr_workflow_enabled:
              type: boolean
              description: Enable GitLab Duo SAST vulnerability resolution workflow
                for this project. Requires the Security Manager, Maintainer, or Owner
                role.
              nullable: true
            spp_repository_pipeline_access:
              type: boolean
              description: Grant users and tokens read-only access to security policy
                configurations for enforcement in linked CI/CD projects. Ultimate
                only.
              nullable: true
            merge_request_title_regex:
              type: string
              description: The regex the Merge Request must adhere to
              nullable: true
            merge_request_title_regex_description:
              type: string
              description: The description for the regex the Merge Request must adhere
                to
              nullable: true
          nullable: true
      required:
      - region
      - bucket_name
      - file_key
      - access_key_id
      - secret_access_key
      - path
    putApiV4ProjectsIdHooksHookIdUrlVariablesKeyRequest:
      type: object
      properties:
        value:
          type: string
          description: Value of the URL variable.
          nullable: true
      required:
      - value
    putApiV4ProjectsIdHooksHookIdCustomHeadersKeyRequest:
      type: object
      properties:
        value:
          type: string
          description: Value of the custom header.
          nullable: true
      required:
      - value
    postApiV4ProjectsIdHooksRequest:
      type: object
      properties:
        url:
          type: string
          description: Webhook URL.
          example: http://example.com/hook
          nullable: true
        name:
          type: string
          description: Name of the project webhook. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/460887)
            in GitLab 17.1.
          nullable: true
        description:
          type: string
          description: Description of the project webhook. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/460887)
            in GitLab 17.1.
          nullable: true
        push_events:
          type: boolean
          description: If `true`, triggers the project webhook on push events.
          nullable: true
        issues_events:
          type: boolean
          description: If `true`, triggers the project webhook on issue events.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: If `true`, triggers the project webhook on confidential issue
            events.
          nullable: true
        merge_requests_events:
          type: boolean
          description: If `true`, triggers the project webhook on merge request events.
          nullable: true
        tag_push_events:
          type: boolean
          description: If `true`, triggers the project webhook on tag push events.
          nullable: true
        note_events:
          type: boolean
          description: If `true`, triggers the project webhook on note events.
          nullable: true
        confidential_note_events:
          type: boolean
          description: If `true`, triggers the project webhook on confidential note
            events.
          nullable: true
        job_events:
          type: boolean
          description: If `true`, triggers the project webhook on job events.
          nullable: true
        pipeline_events:
          type: boolean
          description: If `true`, triggers the project webhook on pipeline events.
          nullable: true
        wiki_page_events:
          type: boolean
          description: If `true`, triggers the project webhook on wiki page events.
          nullable: true
        deployment_events:
          type: boolean
          description: If `true`, triggers the project webhook on deployment events.
          nullable: true
        feature_flag_events:
          type: boolean
          description: If `true`, triggers the project webhook on feature flag events.
          nullable: true
        releases_events:
          type: boolean
          description: If `true`, triggers the project webhook on release events.
          nullable: true
        milestone_events:
          type: boolean
          description: If `true`, triggers the project webhook on milestone events.
          nullable: true
        emoji_events:
          type: boolean
          description: If `true`, triggers the project webhook on emoji events.
          nullable: true
        resource_access_token_events:
          type: boolean
          description: If `true`, triggers the project webhook on project access token
            expiry events.
          nullable: true
        resource_deploy_token_events:
          type: boolean
          description: If `true`, triggers the project webhook on project deploy token
            expiry events.
          nullable: true
        enable_ssl_verification:
          type: boolean
          description: If `true`, verifies the SSL certificate when the webhook is
            triggered.
          nullable: true
        token:
          type: string
          description: Secret token used to validate received payloads. Not returned
            in the response, and changing the webhook URL resets it.
          nullable: true
        signing_token:
          type: string
          description: HMAC signing token used to compute the `webhook-signature`
            header. Must be in `whsec_<base64>` format encoding a 32-byte key, and
            is not returned in the response. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/231325)
            in GitLab 19.0.
          nullable: true
        push_events_branch_filter:
          type: string
          description: Filter push events by branch name.
          nullable: true
        custom_webhook_template:
          type: string
          description: Custom template for the webhook request payload.
          nullable: true
        branch_filter_strategy:
          type: string
          enum:
          - wildcard
          - regex
          - all_branches
          description: Filter push events by branch. Defaults to `wildcard`.
          nullable: true
        vulnerability_events:
          type: boolean
          description: If `true`, triggers the project webhook on vulnerability events.
          nullable: true
        duo_flow_callback_enabled:
          type: boolean
          description: If `true`, allows Duo Agent Platform flows to send lifecycle
            and progress events to this project webhook. A flow must reference the
            webhook's ID as `callback_hook_id` when it starts. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/249149)
            in GitLab 19.4 [with a feature flag](https://docs.gitlab.com/administration/feature_flags/)
            named `duo_flow_callback_hooks`. Disabled by default.
          nullable: true
        url_variables:
          type: array
          description: URL variables for interpolation.
          items:
            type: object
            properties:
              key:
                type: string
                description: Name of the variable.
                example: token
                nullable: true
              value:
                type: string
                description: Value of the variable.
                example: '123'
                nullable: true
            required:
            - key
            - value
          nullable: true
        custom_headers:
          type: array
          description: Custom headers for the hook.
          items:
            type: object
            properties:
              key:
                type: string
                description: Name of the header.
                example: X-Custom-Header
                nullable: true
              value:
                type: string
                description: Value of the header.
                example: value
                nullable: true
            required:
            - key
            - value
          nullable: true
      required:
      - url
    putApiV4ProjectsIdHooksHookIdRequest:
      type: object
      properties:
        url:
          type: string
          description: Webhook URL.
          nullable: true
        name:
          type: string
          description: Name of the project webhook. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/460887)
            in GitLab 17.1.
          nullable: true
        description:
          type: string
          description: Description of the project webhook. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/460887)
            in GitLab 17.1.
          nullable: true
        push_events:
          type: boolean
          description: If `true`, triggers the project webhook on push events.
          nullable: true
        issues_events:
          type: boolean
          description: If `true`, triggers the project webhook on issue events.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: If `true`, triggers the project webhook on confidential issue
            events.
          nullable: true
        merge_requests_events:
          type: boolean
          description: If `true`, triggers the project webhook on merge request events.
          nullable: true
        tag_push_events:
          type: boolean
          description: If `true`, triggers the project webhook on tag push events.
          nullable: true
        note_events:
          type: boolean
          description: If `true`, triggers the project webhook on note events.
          nullable: true
        confidential_note_events:
          type: boolean
          description: If `true`, triggers the project webhook on confidential note
            events.
          nullable: true
        job_events:
          type: boolean
          description: If `true`, triggers the project webhook on job events.
          nullable: true
        pipeline_events:
          type: boolean
          description: If `true`, triggers the project webhook on pipeline events.
          nullable: true
        wiki_page_events:
          type: boolean
          description: If `true`, triggers the project webhook on wiki page events.
          nullable: true
        deployment_events:
          type: boolean
          description: If `true`, triggers the project webhook on deployment events.
          nullable: true
        feature_flag_events:
          type: boolean
          description: If `true`, triggers the project webhook on feature flag events.
          nullable: true
        releases_events:
          type: boolean
          description: If `true`, triggers the project webhook on release events.
          nullable: true
        milestone_events:
          type: boolean
          description: If `true`, triggers the project webhook on milestone events.
          nullable: true
        emoji_events:
          type: boolean
          description: If `true`, triggers the project webhook on emoji events.
          nullable: true
        resource_access_token_events:
          type: boolean
          description: If `true`, triggers the project webhook on project access token
            expiry events.
          nullable: true
        resource_deploy_token_events:
          type: boolean
          description: If `true`, triggers the project webhook on project deploy token
            expiry events.
          nullable: true
        enable_ssl_verification:
          type: boolean
          description: If `true`, verifies the SSL certificate when the webhook is
            triggered.
          nullable: true
        token:
          type: string
          description: Secret token used to validate received payloads. Not returned
            in the response, and changing the webhook URL resets it.
          nullable: true
        signing_token:
          type: string
          description: HMAC signing token used to compute the `webhook-signature`
            header. Must be in `whsec_<base64>` format encoding a 32-byte key, and
            is not returned in the response. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/231325)
            in GitLab 19.0.
          nullable: true
        push_events_branch_filter:
          type: string
          description: Filter push events by branch name.
          nullable: true
        custom_webhook_template:
          type: string
          description: Custom template for the webhook request payload.
          nullable: true
        branch_filter_strategy:
          type: string
          enum:
          - wildcard
          - regex
          - all_branches
          description: Filter push events by branch. Defaults to `wildcard`.
          nullable: true
        vulnerability_events:
          type: boolean
          description: If `true`, triggers the project webhook on vulnerability events.
          nullable: true
        duo_flow_callback_enabled:
          type: boolean
          description: If `true`, allows Duo Agent Platform flows to send lifecycle
            and progress events to this project webhook. A flow must reference the
            webhook's ID as `callback_hook_id` when it starts. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/249149)
            in GitLab 19.4 [with a feature flag](https://docs.gitlab.com/administration/feature_flags/)
            named `duo_flow_callback_hooks`. Disabled by default.
          nullable: true
        url_variables:
          type: array
          description: URL variables for interpolation.
          items:
            type: object
            properties:
              key:
                type: string
                description: Name of the variable.
                example: token
                nullable: true
              value:
                type: string
                description: Value of the variable.
                example: '123'
                nullable: true
            required:
            - key
            - value
          nullable: true
        custom_headers:
          type: array
          description: Custom headers for the hook.
          items:
            type: object
            properties:
              key:
                type: string
                description: Name of the header.
                example: X-Custom-Header
                nullable: true
              value:
                type: string
                description: Value of the header.
                example: value
                nullable: true
            required:
            - key
            - value
          nullable: true
    postApiV4ProjectsIdExportRequest:
      type: object
      properties:
        description:
          type: string
          description: Overrides the project description.
          nullable: true
        upload:
          type: object
          description: Details for uploading the exported project to a web server.
          properties:
            url:
              type: string
              description: URL to upload the exported project to.
              nullable: true
            http_method:
              type: string
              enum:
              - PUT
              - POST
              description: HTTP method to upload the exported project.
              nullable: true
              default: PUT
          nullable: true
        excluded_relations:
          type: array
          items:
            type: string
          description: 'Project relation names to exclude from the export, for example
            `merge_requests`, `issues`, `ci_pipelines`, `uploads`, `lfs_objects`,
            `avatar`, and `wiki_repository`. Other valid names are the relation names
            under `tree.project` or `ee.tree.project` in `lib/gitlab/import_export/project/import_export.yml`.
            Use it to reduce the size of an export or to avoid timeouts. Excluded
            relations are not added to the archive and cannot be imported. You cannot
            exclude `project`, because the import of the archive fails, or `repository`,
            `snippets_repository`, and `design_repository`, because the archive restores
            a broken project. Invalid names return an error that lists them, for example
            `Invalid excluded_relations: repository`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/226480)
            in GitLab 18.11.'
          nullable: true
    postApiV4ProjectsIdExportRelationsRequest:
      type: object
      properties:
        batched:
          type: boolean
          description: If `true`, exports in batches.
          nullable: true
    postApiV4ProjectsIdDebianDistributionsRequest:
      type: object
      properties:
        codename:
          type: string
          description: Codename of the Debian distribution.
          example: sid
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        suite:
          type: string
          description: Suite of the Debian distribution.
          example: unstable
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        origin:
          type: string
          description: Origin of the Debian distribution.
          example: Grep
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        label:
          type: string
          description: Label of the Debian distribution.
          example: grep.be
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        description:
          type: string
          description: Description of the Debian distribution.
          example: My description
          nullable: true
        valid_time_duration_seconds:
          type: integer
          description: Duration, in seconds, before the Release file is considered
            expired by the client.
          example: 604800
          nullable: true
        components:
          type: array
          items:
            type: string
          description: List of components of the Debian distribution.
          nullable: true
        architectures:
          type: array
          items:
            type: string
          description: List of architectures of the Debian distribution.
          nullable: true
      required:
      - codename
    putApiV4ProjectsIdDebianDistributionsCodenameRequest:
      type: object
      properties:
        suite:
          type: string
          description: Suite of the Debian distribution.
          example: unstable
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        origin:
          type: string
          description: Origin of the Debian distribution.
          example: Grep
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        label:
          type: string
          description: Label of the Debian distribution.
          example: grep.be
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        description:
          type: string
          description: Description of the Debian distribution.
          example: My description
          nullable: true
        valid_time_duration_seconds:
          type: integer
          description: Duration, in seconds, before the Release file is considered
            expired by the client.
          example: 604800
          nullable: true
        components:
          type: array
          items:
            type: string
          description: List of components of the Debian distribution.
          nullable: true
        architectures:
          type: array
          items:
            type: string
          description: List of architectures of the Debian distribution.
          nullable: true
    postApiV4ProjectsIdRegistryProtectionTagRulesRequest:
      type: object
      properties:
        tag_name_pattern:
          type: string
          description: Container tag name pattern protected by the protection rule,
            for example `v*-release`. Wildcard character `*` is allowed.
          nullable: true
        minimum_access_level_for_push:
          type: string
          enum:
          - maintainer
          - owner
          - admin
          description: Minimum GitLab access level required to push container tags.
          minLength: 1
        minimum_access_level_for_delete:
          type: string
          enum:
          - maintainer
          - owner
          - admin
          description: Minimum GitLab access level required to delete container tags.
          minLength: 1
      required:
      - tag_name_pattern
      - minimum_access_level_for_push
      - minimum_access_level_for_delete
    patchApiV4ProjectsIdRegistryProtectionTagRulesProtectionRuleIdRequest:
      type: object
      properties:
        tag_name_pattern:
          type: string
          description: Container tag name pattern protected by the protection rule,
            for example `v*-release`. Wildcard character `*` is allowed.
          nullable: true
        minimum_access_level_for_push:
          type: string
          enum:
          - maintainer
          - owner
          - admin
          - ''
          description: Minimum GitLab access level required to push container tags.
            To unset the value, use an empty string (`""`).
          nullable: true
        minimum_access_level_for_delete:
          type: string
          enum:
          - maintainer
          - owner
          - admin
          - ''
          description: Minimum GitLab access level required to delete container tags.
            To unset the value, use an empty string (`""`).
          nullable: true
    postApiV4ProjectsIdRegistryProtectionRepositoryRulesRequest:
      type: object
      properties:
        repository_path_pattern:
          type: string
          description: Container repository path pattern protected by the protection
            rule, for example `flight/flight-*`. Wildcard character `*` is allowed.
          nullable: true
        minimum_access_level_for_push:
          type: string
          enum:
          - maintainer
          - owner
          - admin
          description: Minimum GitLab access level required to push container images
            to the container registry. Must be provided when `minimum_access_level_for_delete`
            is not set. At least one of `minimum_access_level_for_push`, `minimum_access_level_for_delete`
            must be provided.
          nullable: true
        minimum_access_level_for_delete:
          type: string
          enum:
          - maintainer
          - owner
          - admin
          description: Minimum GitLab access level required to delete container images
            in the container registry. Must be provided when `minimum_access_level_for_push`
            is not set. At least one of `minimum_access_level_for_push`, `minimum_access_level_for_delete`
            must be provided.
          nullable: true
      required:
      - repository_path_pattern
    patchApiV4ProjectsIdRegistryProtectionRepositoryRulesProtectionRuleIdRequest:
      type: object
      properties:
        repository_path_pattern:
          type: string
          description: Container repository path pattern protected by the protection
            rule, for example `flight/flight-*`. Wildcard character `*` is allowed.
          nullable: true
        minimum_access_level_for_push:
          type: string
          enum:
          - maintainer
          - owner
          - admin
          - ''
          description: Minimum GitLab access level required to push container images
            to the container registry. At least one of `minimum_access_level_for_push`
            or `minimum_access_level_for_delete` must stay set. To unset the value,
            use an empty string (`""`).
          nullable: true
        minimum_access_level_for_delete:
          type: string
          enum:
          - maintainer
          - owner
          - admin
          - ''
          description: Minimum GitLab access level required to delete container images
            in the container registry. At least one of `minimum_access_level_for_push`
            or `minimum_access_level_for_delete` must stay set. To unset the value,
            use an empty string (`""`).
          nullable: true
    putApiV4ProjectsIdClustersClusterIdRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the cluster.
          nullable: true
        domain:
          type: string
          description: "[Base domain](https://docs.gitlab.com/user/project/clusters/gitlab_managed_clusters/#base-domain)
            of the cluster."
          nullable: true
        environment_scope:
          type: string
          description: Associated environment to the cluster. Premium and Ultimate
            only.
          nullable: true
        namespace_per_environment:
          type: boolean
          description: If `true`, deploys each environment to a separate Kubernetes
            namespace.
          nullable: true
          default: true
        management_project_id:
          type: integer
          description: ID of the [management project](https://docs.gitlab.com/user/clusters/management_project/)
            for the cluster.
          nullable: true
        enabled:
          type: boolean
          description: If `true`, the cluster is active and GitLab's connection to
            the Kubernetes cluster is enabled.
          nullable: true
        managed:
          type: boolean
          description: If `true`, GitLab manages namespaces and service accounts for
            this cluster.
          nullable: true
        platform_kubernetes_attributes:
          type: object
          description: Platform Kubernetes data.
          properties:
            api_url:
              type: string
              description: URL to access the Kubernetes API.
              nullable: true
            token:
              type: string
              description: Token to authenticate against Kubernetes.
              nullable: true
            ca_cert:
              type: string
              description: TLS certificate (needed if API is using a self-signed TLS
                certificate).
              nullable: true
            namespace:
              type: string
              description: Kubernetes namespace that environments deploy to. If `managed`
                and `namespace_per_environment` are `true`, the environment slug is
                appended.
              nullable: true
          nullable: true
    postApiV4ProjectsIdClustersUserRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the cluster.
          nullable: true
        enabled:
          type: boolean
          description: If `true`, the cluster is active and GitLab's connection to
            the Kubernetes cluster is enabled.
          nullable: true
          default: true
        domain:
          type: string
          description: "[Base domain](https://docs.gitlab.com/user/project/clusters/gitlab_managed_clusters/#base-domain)
            of the cluster."
          nullable: true
        environment_scope:
          type: string
          description: Associated environment to the cluster. Premium and Ultimate
            only.
          nullable: true
          default: "*"
        namespace_per_environment:
          type: boolean
          description: If `true`, deploys each environment to a separate Kubernetes
            namespace.
          nullable: true
          default: true
        management_project_id:
          type: integer
          description: ID of the [management project](https://docs.gitlab.com/user/clusters/management_project/)
            for the cluster.
          nullable: true
        managed:
          type: boolean
          description: If `true`, GitLab manages namespaces and service accounts for
            this cluster.
          nullable: true
          default: true
        platform_kubernetes_attributes:
          type: object
          description: Platform Kubernetes data.
          properties:
            api_url:
              type: string
              description: URL to access the Kubernetes API.
              minLength: 1
            token:
              type: string
              description: Token to authenticate against Kubernetes.
              nullable: true
            ca_cert:
              type: string
              description: TLS certificate (needed if API is using a self-signed TLS
                certificate).
              nullable: true
            namespace:
              type: string
              description: Kubernetes namespace that environments deploy to. If `managed`
                and `namespace_per_environment` are `true`, the environment slug is
                appended.
              nullable: true
            authorization_type:
              type: string
              enum:
              - unknown_authorization
              - rbac
              - abac
              description: Cluster authorization type.
              nullable: true
              default: rbac
          required:
          - api_url
          - token
          nullable: true
      required:
      - name
      - platform_kubernetes_attributes
    postApiV4PersonalAccessTokensSelfRotateRequest:
      type: object
      properties:
        expires_at:
          type: string
          format: date
          description: Date when the access token expires. If omitted, the new token
            expires one week after rotation when [token expiry is enforced](https://docs.gitlab.com/user/profile/personal_access_tokens/#access-token-expiration),
            and does not expire otherwise.
          example: '2021-01-31'
          nullable: true
    postApiV4PersonalAccessTokensIdRotateRequest:
      type: object
      properties:
        expires_at:
          type: string
          format: date
          description: Date when the access token expires. If omitted, the new token
            expires one week after rotation when [token expiry is enforced](https://docs.gitlab.com/user/profile/personal_access_tokens/#access-token-expiration),
            and does not expire otherwise.
          example: '2021-01-31'
          nullable: true
    postApiV4ProjectsIdPagesDomainsRequest:
      type: object
      properties:
        domain:
          type: string
          description: Custom domain.
          nullable: true
        certificate:
          anyOf:
          - type: string
            format: binary
            nullable: true
          - type: string
            nullable: true
          description: Certificate in PEM format with intermediates following in most
            specific to least specific order.
        key:
          anyOf:
          - type: string
            format: binary
            nullable: true
          - type: string
            nullable: true
          description: Certificate key in PEM format.
        auto_ssl_enabled:
          type: boolean
          description: If `true`, enables [automatic generation](https://docs.gitlab.com/user/project/pages/custom_domains_ssl_tls_certification/lets_encrypt_integration/)
            of SSL certificates issued by Let's Encrypt for custom domains.
          default: false
        user_provided_certificate:
          type: string
          nullable: true
          description: All or none of `user_provided_certificate`, `user_provided_key`
            must be provided.
        user_provided_key:
          type: string
          nullable: true
          description: All or none of `user_provided_certificate`, `user_provided_key`
            must be provided.
      required:
      - domain
    putApiV4ProjectsIdPagesDomainsDomainRequest:
      type: object
      properties:
        certificate:
          anyOf:
          - type: string
            format: binary
            nullable: true
          - type: string
            nullable: true
          description: Certificate in PEM format with intermediates following in most
            specific to least specific order.
        key:
          anyOf:
          - type: string
            format: binary
            nullable: true
          - type: string
            nullable: true
          description: Certificate key in PEM format.
        auto_ssl_enabled:
          type: boolean
          description: If `true`, enables [automatic generation](https://docs.gitlab.com/user/project/pages/custom_domains_ssl_tls_certification/lets_encrypt_integration/)
            of SSL certificates issued by Let's Encrypt for custom domains.
          nullable: true
    patchApiV4ProjectsIdPagesRequest:
      type: object
      properties:
        pages_unique_domain_enabled:
          type: boolean
          description: If `true`, uses a unique domain.
          nullable: true
        pages_https_only:
          type: boolean
          description: If `true`, forces HTTPS.
          nullable: true
        pages_primary_domain:
          type: string
          description: Primary domain, from the existing assigned domains, to redirect
            all Pages requests to. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/481334)
            in GitLab 17.8.
          nullable: true
    postApiV4OrganizationsRequest:
      type: object
      properties:
        name:
          type: string
          description: The name of the organization
          nullable: true
        path:
          type: string
          description: The path of the organization
          nullable: true
        description:
          type: string
          description: The description of the organization
          nullable: true
        visibility:
          type: string
          enum:
          - private
          - public
          description: The visibility level of the organization
          nullable: true
        avatar:
          type: string
          format: binary
          description: The avatar image for the organization
          nullable: true
      required:
      - name
      - path
    postApiV4OrganizationsIdTransferUsersRequest:
      type: object
      properties:
        user_ids:
          type: array
          items:
            type: integer
          description: The IDs of the users to transfer. Maximum 50.
      required:
      - user_ids
    postApiV4OrganizationsIdUsersRequest:
      type: object
      properties:
        username:
          type: string
          description: The username of the user to add.
          nullable: true
        access_level:
          type: string
          enum:
          - default
          - owner
          description: The access level of the user in the organization.
          nullable: true
          default: default
      required:
      - username
    putApiV4OrganizationsIdUsersUserIdRequest:
      type: object
      properties:
        access_level:
          type: string
          enum:
          - default
          - owner
          description: The access level of the user in the organization.
          minLength: 1
      required:
      - access_level
    postApiV4OfflineExportsRequest:
      type: object
      properties:
        bucket:
          type: string
          description: Name of the object storage bucket where export data is stored.
          nullable: true
        aws_s3_configuration:
          type: object
          description: AWS S3 object storage configuration. Exactly one of `aws_s3_configuration`,
            `s3_compatible_configuration`, `gcs_configuration`, `gcs_hmac_configuration`,
            `gcs_adc_configuration` must be provided.
          properties:
            aws_access_key_id:
              type: string
              description: AWS S3 access key ID.
              nullable: true
            aws_secret_access_key:
              type: string
              description: AWS S3 secret access key.
              nullable: true
            region:
              type: string
              description: AWS S3 object storage region.
              nullable: true
            path_style:
              type: boolean
              description: If `true`, uses path-style URLs instead of virtual-hosted-style
                URLs.
              nullable: true
              default: false
          required:
          - aws_access_key_id
          - aws_secret_access_key
          - region
          nullable: true
        s3_compatible_configuration:
          type: object
          description: MinIO or other S3-compatible object storage configuration.
            Exactly one of `aws_s3_configuration`, `s3_compatible_configuration`,
            `gcs_configuration`, `gcs_hmac_configuration`, `gcs_adc_configuration`
            must be provided.
          properties:
            aws_access_key_id:
              type: string
              description: S3-compatible access key ID.
              nullable: true
            aws_secret_access_key:
              type: string
              description: S3-compatible secret access key.
              nullable: true
            region:
              type: string
              description: S3-compatible object storage region.
              nullable: true
            endpoint:
              type: string
              description: Object storage location endpoint.
              nullable: true
            path_style:
              type: boolean
              description: If `true`, uses path-style URLs instead of virtual-hosted-style
                URLs.
              nullable: true
              default: true
          required:
          - aws_access_key_id
          - aws_secret_access_key
          - region
          - endpoint
          nullable: true
        gcs_configuration:
          type: object
          description: Google Cloud Storage configuration using a service account
            JSON key. Exactly one of `aws_s3_configuration`, `s3_compatible_configuration`,
            `gcs_configuration`, `gcs_hmac_configuration`, `gcs_adc_configuration`
            must be provided.
          properties:
            google_project:
              type: string
              description: Google Cloud project ID.
              nullable: true
            google_json_key_string:
              type: string
              description: Google Cloud service account JSON key contents.
              nullable: true
          required:
          - google_project
          - google_json_key_string
          nullable: true
        gcs_hmac_configuration:
          type: object
          description: Google Cloud Storage configuration using S3-interoperability
            HMAC keys. Exactly one of `aws_s3_configuration`, `s3_compatible_configuration`,
            `gcs_configuration`, `gcs_hmac_configuration`, `gcs_adc_configuration`
            must be provided.
          properties:
            google_storage_access_key_id:
              type: string
              description: GCS HMAC access key ID.
              nullable: true
            google_storage_secret_access_key:
              type: string
              description: GCS HMAC secret.
              nullable: true
            region:
              type: string
              description: GCS bucket region.
              nullable: true
            path_style:
              type: boolean
              description: If `true`, uses path-style URLs instead of virtual-hosted-style
                URLs.
              nullable: true
              default: true
          required:
          - google_storage_access_key_id
          - google_storage_secret_access_key
          - region
          nullable: true
        gcs_adc_configuration:
          type: object
          description: Google Cloud Storage configuration using Application Default
            Credentials. Available on GitLab Self-Managed or GitLab Dedicated, and
            must be enabled by an administrator. Only administrators can use these
            credentials, and the bucket name must start with "gitlab-offline-transfer-".
            For more information, see https://docs.gitlab.com/administration/settings/import_and_export_settings/#allow-application-default-credentials-for-offline-transfer.
            Exactly one of `aws_s3_configuration`, `s3_compatible_configuration`,
            `gcs_configuration`, `gcs_hmac_configuration`, `gcs_adc_configuration`
            must be provided.
          properties:
            google_project:
              type: string
              description: Google Cloud project ID.
              nullable: true
          required:
          - google_project
          nullable: true
        entities:
          type: array
          description: List of entities to export.
          items:
            type: object
            properties:
              full_path:
                type: string
                description: Relative path of the entity to export.
                example: "'source/full/path' not 'https://example.com/source/full/path'"
                nullable: true
            required:
            - full_path
          nullable: true
      required:
      - bucket
      - entities
    postApiV4OfflineImportsRequest:
      type: object
      properties:
        bucket:
          type: string
          description: Name of the object storage bucket where export data is stored.
          nullable: true
        aws_s3_configuration:
          type: object
          description: AWS S3 object storage configuration. Exactly one of `aws_s3_configuration`,
            `s3_compatible_configuration`, `gcs_configuration`, `gcs_hmac_configuration`,
            `gcs_adc_configuration` must be provided.
          properties:
            aws_access_key_id:
              type: string
              description: AWS S3 access key ID.
              nullable: true
            aws_secret_access_key:
              type: string
              description: AWS S3 secret access key.
              nullable: true
            region:
              type: string
              description: AWS S3 object storage region.
              nullable: true
            path_style:
              type: boolean
              description: If `true`, uses path-style URLs instead of virtual-hosted-style
                URLs.
              nullable: true
              default: false
          required:
          - aws_access_key_id
          - aws_secret_access_key
          - region
          nullable: true
        s3_compatible_configuration:
          type: object
          description: MinIO or other S3-compatible object storage configuration.
            Exactly one of `aws_s3_configuration`, `s3_compatible_configuration`,
            `gcs_configuration`, `gcs_hmac_configuration`, `gcs_adc_configuration`
            must be provided.
          properties:
            aws_access_key_id:
              type: string
              description: S3-compatible access key ID.
              nullable: true
            aws_secret_access_key:
              type: string
              description: S3-compatible secret access key.
              nullable: true
            region:
              type: string
              description: S3-compatible object storage region.
              nullable: true
            endpoint:
              type: string
              description: Object storage location endpoint.
              nullable: true
            path_style:
              type: boolean
              description: If `true`, uses path-style URLs instead of virtual-hosted-style
                URLs.
              nullable: true
              default: true
          required:
          - aws_access_key_id
          - aws_secret_access_key
          - region
          - endpoint
          nullable: true
        gcs_configuration:
          type: object
          description: Google Cloud Storage configuration using a service account
            JSON key. Exactly one of `aws_s3_configuration`, `s3_compatible_configuration`,
            `gcs_configuration`, `gcs_hmac_configuration`, `gcs_adc_configuration`
            must be provided.
          properties:
            google_project:
              type: string
              description: Google Cloud project ID.
              nullable: true
            google_json_key_string:
              type: string
              description: Google Cloud service account JSON key contents.
              nullable: true
          required:
          - google_project
          - google_json_key_string
          nullable: true
        gcs_hmac_configuration:
          type: object
          description: Google Cloud Storage configuration using S3-interoperability
            HMAC keys. Exactly one of `aws_s3_configuration`, `s3_compatible_configuration`,
            `gcs_configuration`, `gcs_hmac_configuration`, `gcs_adc_configuration`
            must be provided.
          properties:
            google_storage_access_key_id:
              type: string
              description: GCS HMAC access key ID.
              nullable: true
            google_storage_secret_access_key:
              type: string
              description: GCS HMAC secret.
              nullable: true
            region:
              type: string
              description: GCS bucket region.
              nullable: true
            path_style:
              type: boolean
              description: If `true`, uses path-style URLs instead of virtual-hosted-style
                URLs.
              nullable: true
              default: true
          required:
          - google_storage_access_key_id
          - google_storage_secret_access_key
          - region
          nullable: true
        gcs_adc_configuration:
          type: object
          description: Google Cloud Storage configuration using Application Default
            Credentials. Available on GitLab Self-Managed or GitLab Dedicated, and
            must be enabled by an administrator. Only administrators can use these
            credentials, and the bucket name must start with "gitlab-offline-transfer-".
            For more information, see https://docs.gitlab.com/administration/settings/import_and_export_settings/#allow-application-default-credentials-for-offline-transfer.
            Exactly one of `aws_s3_configuration`, `s3_compatible_configuration`,
            `gcs_configuration`, `gcs_hmac_configuration`, `gcs_adc_configuration`
            must be provided.
          properties:
            google_project:
              type: string
              description: Google Cloud project ID.
              nullable: true
          required:
          - google_project
          nullable: true
        export_prefix:
          type: string
          description: Prefix of the export within the bucket.
          nullable: true
        entities:
          type: array
          description: List of entities to import. Exactly one of `entities`, `import_all`
            must be provided.
          items:
            type: object
            properties:
              source_type:
                type: string
                enum:
                - group_entity
                - project_entity
                description: Type of the entity to import.
                minLength: 1
              source_full_path:
                type: string
                description: Full path of the entity on the source instance.
                nullable: true
              destination_namespace:
                type: string
                description: Full path of the destination namespace.
                nullable: true
              destination_slug:
                type: string
                description: Destination slug for the imported entity.
                nullable: true
            required:
            - source_type
            - source_full_path
            - destination_namespace
        import_all:
          type: object
          description: Import every top-level group in the export, recreating the
            source instance structure. Exactly one of `entities`, `import_all` must
            be provided.
          properties:
            destination_namespace:
              type: string
              description: Full path of the destination namespace the source structure
                is recreated under. Use an empty string to recreate it at the instance
                root.
              example: destination-group/subgroup
              nullable: true
          required:
          - destination_namespace
          nullable: true
      required:
      - bucket
      - export_prefix
    putApiV4ProjectsIdPackagesNugetV2Request:
      type: object
      properties:
        package:
          type: string
          format: binary
          description: The package file to be published (generated by Multipart middleware)
          nullable: true
      required:
      - package
    putApiV4ProjectsIdPackagesNugetRequest:
      type: object
      properties:
        package:
          type: string
          format: binary
          description: The package file to be published (generated by Multipart middleware)
          nullable: true
      required:
      - package
    putApiV4ProjectsIdPackagesNugetSymbolpackageRequest:
      type: object
      properties:
        package:
          type: string
          format: binary
          description: The package file to be published (generated by Multipart middleware)
          nullable: true
      required:
      - package
    putApiV4ProjectsIdPackagesNpmPackageNameRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The package file to be published (generated by Multipart middleware)
          nullable: true
      required:
      - file
    putApiV4NamespacesIdRequest:
      type: object
      properties:
        shared_runners_minutes_limit:
          type: integer
          description: Compute minutes quota for the namespace.
          nullable: true
        extra_shared_runners_minutes_limit:
          type: integer
          description: Extra compute minutes quota for the namespace.
          nullable: true
        additional_purchased_storage_size:
          type: integer
          description: Additional storage size purchased for the namespace.
          nullable: true
        additional_purchased_storage_ends_on:
          type: string
          format: date
          description: End of subscription of the additional purchased storage.
          nullable: true
        gitlab_subscription_attributes:
          type: object
          description: Object that contains information on the GitLab subscription.
          properties:
            start_date:
              type: string
              format: date
              description: Start date of the subscription.
              nullable: true
            seats:
              type: integer
              description: Number of seats in the subscription.
              nullable: true
            max_seats_used:
              type: integer
              description: Highest number of active users in the last month.
              nullable: true
            plan_code:
              type: string
              description: Subscription tier code.
              nullable: true
            end_date:
              type: string
              format: date
              description: End date of the subscription.
              nullable: true
            auto_renew:
              type: boolean
              description: If `true`, the subscription renews automatically on the
                end date.
              nullable: true
            trial:
              type: boolean
              description: If `true`, the subscription is a trial.
              nullable: true
            trial_ends_on:
              type: string
              format: date
              description: End date of the trial.
              nullable: true
            trial_starts_on:
              type: string
              format: date
              description: Start date of the trial.
              nullable: true
            trial_extension_type:
              type: integer
              description: Type of trial extension applied to the subscription. `1`
                means extended, `2` means reactivated.
              nullable: true
          nullable: true
    postApiV4NamespacesIdStorageLimitExclusionRequest:
      type: object
      properties:
        reason:
          type: string
          description: Reason the namespace is being excluded.
          nullable: true
      required:
      - reason
    postApiV4UserPushSubscriptionsRequest:
      type: object
      properties:
        device_token:
          type: string
          description: The hexadecimal APNs device token
          nullable: true
        platform:
          type: string
          enum:
          - ios
          - macos
          description: The device platform
          nullable: true
        apns_environment:
          type: string
          enum:
          - production
          - sandbox
          description: The APNs environment the token was issued for
          nullable: true
          default: production
        bundle_id:
          type: string
          description: The application bundle identifier
          nullable: true
        device_name:
          type: string
          description: A human-readable device name
          nullable: true
        app_version:
          type: string
          description: The installed application version
          nullable: true
        locale:
          type: string
          description: The device locale
          nullable: true
        payload_mode:
          type: string
          enum:
          - full
          - id_only
          description: Whether notifications carry the full content or only identifiers
          nullable: true
        content_key:
          type: string
          description: A base64-encoded 32-byte key the device minted; with it, notification
            content is sent AES-256-GCM encrypted for the app's notification extension
            and the alert is generic
          nullable: true
      required:
      - device_token
    putApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesFileNameAuthorizeRequest:
      type: object
      properties:
        status:
          type: string
          enum:
          - default
          - hidden
          description: Package status
          nullable: true
    putApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileNameAuthorizeRequest:
      type: object
      properties:
        status:
          type: string
          enum:
          - default
          - hidden
          description: Package status
          nullable: true
    putApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesFileNameRequest:
      type: object
      properties:
        status:
          type: string
          enum:
          - default
          - hidden
          description: Package status
          nullable: true
        file:
          type: string
          format: binary
          description: The package file to be published (generated by Multipart middleware)
          nullable: true
      required:
      - file
    putApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileNameRequest:
      type: object
      properties:
        status:
          type: string
          enum:
          - default
          - hidden
          description: Package status
          nullable: true
        file:
          type: string
          format: binary
          description: The package file to be published (generated by Multipart middleware)
          nullable: true
      required:
      - file
    postApiV4ProjectsIdMergeRequestsMergeRequestIidApprovalsRequest:
      type: object
      properties:
        approvals_required:
          type: integer
          description: Number of approvals required for the merge request.
          example: 2
          nullable: true
      required:
      - approvals_required
    postApiV4ProjectsIdMergeRequestsMergeRequestIidApproveRequest:
      type: object
      properties:
        sha:
          type: string
          description: SHA at `HEAD` of the source branch of the merge request.
          nullable: true
        publish_review:
          type: boolean
          description: If `true`, submits pending review comments.
          nullable: true
        approval_password:
          type: string
          description: Current user's password, needed if [user re-authentication
            to approve](https://docs.gitlab.com/user/project/merge_requests/approvals/settings/#require-user-re-authentication-to-approve)
            is enabled in the project settings. Always fails if the group or GitLab
            Self-Managed instance is configured to force SAML authentication.
          example: secret
          nullable: true
    postApiV4ProjectsIdMergeRequestsMergeRequestIidTimeEstimateRequest:
      type: object
      properties:
        duration:
          type: string
          description: Duration in human-readable format, for example `3h30m`.
          example: 3h30m
          nullable: true
      required:
      - duration
    postApiV4ProjectsIdMergeRequestsMergeRequestIidAddSpentTimeRequest:
      type: object
      properties:
        duration:
          type: string
          description: Duration in human-readable format, for example `3h30m`.
          nullable: true
      required:
      - duration
    postApiV4ProjectsIdMergeRequestsRequest:
      type: object
      properties:
        title:
          type: string
          description: Title of the merge request.
          nullable: true
        source_branch:
          type: string
          description: Source branch.
          nullable: true
        target_branch:
          type: string
          description: Target branch.
          nullable: true
        target_project_id:
          type: integer
          description: ID of the target project for the merge request. If omitted,
            defaults to the source project.
          nullable: true
        assignee_id:
          type: integer
          description: ID of the user to assign to the merge request. Set to `0` or
            leave empty to unassign all assignees.
          nullable: true
        assignee_ids:
          type: array
          items:
            type: integer
          description: IDs of the users to assign to the merge request, as a comma-separated
            list. Set to `0` or leave empty to unassign all assignees.
          nullable: true
        reviewer_ids:
          type: array
          items:
            type: integer
          description: IDs of the users to set as reviewers of the merge request,
            as a comma-separated list. If set to `0` or left empty, no reviewers are
            set.
          nullable: true
        description:
          type: string
          description: Description of the merge request. Limited to 1,048,576 characters.
          nullable: true
        labels:
          type: array
          items:
            type: string
          description: Comma-separated label names for the merge request. If a label
            does not already exist, this creates a new project label and assigns it
            to the merge request. Set to an empty string to unassign all labels.
          nullable: true
        add_labels:
          type: array
          items:
            type: string
          description: Comma-separated label names to add to the merge request. If
            a label does not already exist, this creates a new project label and assigns
            it to the merge request.
          nullable: true
        remove_labels:
          type: array
          items:
            type: string
          description: Comma-separated label names to remove from the merge request.
          nullable: true
        milestone_id:
          type: integer
          description: Global ID of a milestone to assign to the merge request. Set
            to `0` or leave empty to unassign the milestone. Mutually exclusive with
            `milestone`.
          nullable: true
        milestone:
          type: string
          description: The title of a project or ancestor-group milestone to assign
            the merge request to. The title must match exactly, and matching is case-sensitive.
            Mutually exclusive with `milestone_id`.
          nullable: true
          maxLength: 255
        remove_source_branch:
          type: boolean
          description: If `true`, the source branch is removed when the merge request
            merges.
          nullable: true
        allow_collaboration:
          type: boolean
          description: If `true`, allows commits from members who can merge to the
            target branch.
          nullable: true
        allow_maintainer_to_push:
          type: boolean
          description: If `true`, allows commits from members who can merge to the
            target branch. Deprecated. Use `allow_collaboration` instead.
          nullable: true
        squash:
          type: boolean
          description: If `true`, squashes all commits into a single commit on merge.
            When omitted, defaults to the [project's squash option setting](https://docs.gitlab.com/user/project/merge_requests/squash_and_merge/#configure-squash-options-for-a-project),
            which can override this value at merge time.
          nullable: true
        merge_after:
          type: string
          format: date-time
          description: Date after which the merge request can be merged. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/510992)
            in GitLab 17.8.
          nullable: true
        approvals_before_merge:
          type: integer
          description: Number of approvals required before the merge request can be
            merged. [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/353097)
            in GitLab 16.0. Premium and Ultimate only.
          nullable: true
      required:
      - title
      - source_branch
      - target_branch
    putApiV4ProjectsIdMergeRequestsMergeRequestIidRequest:
      type: object
      properties:
        title:
          type: string
          description: Title of the merge request. At least one of `assignee_id`,
            `assignee_ids`, `reviewer_ids`, `description`, `labels`, `add_labels`,
            `remove_labels`, `milestone_id`, `milestone`, `remove_source_branch`,
            `allow_collaboration`, `allow_maintainer_to_push`, `squash`, `target_branch`,
            `title`, `state_event`, `discussion_locked`, `merge_after` must be provided.
          minLength: 1
        target_branch:
          type: string
          description: Target branch. Ignored if the merge request is merged. At least
            one of `assignee_id`, `assignee_ids`, `reviewer_ids`, `description`, `labels`,
            `add_labels`, `remove_labels`, `milestone_id`, `milestone`, `remove_source_branch`,
            `allow_collaboration`, `allow_maintainer_to_push`, `squash`, `target_branch`,
            `title`, `state_event`, `discussion_locked`, `merge_after` must be provided.
          minLength: 1
        state_event:
          type: string
          enum:
          - close
          - reopen
          description: Event to change the state of the merge request. At least one
            of `assignee_id`, `assignee_ids`, `reviewer_ids`, `description`, `labels`,
            `add_labels`, `remove_labels`, `milestone_id`, `milestone`, `remove_source_branch`,
            `allow_collaboration`, `allow_maintainer_to_push`, `squash`, `target_branch`,
            `title`, `state_event`, `discussion_locked`, `merge_after` must be provided.
          nullable: true
        discussion_locked:
          type: boolean
          description: If `true`, locks the merge request's discussion so only project
            members can add, edit, or resolve comments. At least one of `assignee_id`,
            `assignee_ids`, `reviewer_ids`, `description`, `labels`, `add_labels`,
            `remove_labels`, `milestone_id`, `milestone`, `remove_source_branch`,
            `allow_collaboration`, `allow_maintainer_to_push`, `squash`, `target_branch`,
            `title`, `state_event`, `discussion_locked`, `merge_after` must be provided.
          nullable: true
        assignee_id:
          type: integer
          description: ID of the user to assign to the merge request. Set to `0` or
            leave empty to unassign all assignees. At least one of `assignee_id`,
            `assignee_ids`, `reviewer_ids`, `description`, `labels`, `add_labels`,
            `remove_labels`, `milestone_id`, `milestone`, `remove_source_branch`,
            `allow_collaboration`, `allow_maintainer_to_push`, `squash`, `target_branch`,
            `title`, `state_event`, `discussion_locked`, `merge_after` must be provided.
          nullable: true
        assignee_ids:
          type: array
          items:
            type: integer
          description: IDs of the users to assign to the merge request, as a comma-separated
            list. Set to `0` or leave empty to unassign all assignees. At least one
            of `assignee_id`, `assignee_ids`, `reviewer_ids`, `description`, `labels`,
            `add_labels`, `remove_labels`, `milestone_id`, `milestone`, `remove_source_branch`,
            `allow_collaboration`, `allow_maintainer_to_push`, `squash`, `target_branch`,
            `title`, `state_event`, `discussion_locked`, `merge_after` must be provided.
          nullable: true
        reviewer_ids:
          type: array
          items:
            type: integer
          description: IDs of the users to set as reviewers of the merge request,
            as a comma-separated list. If set to `0` or left empty, no reviewers are
            set. At least one of `assignee_id`, `assignee_ids`, `reviewer_ids`, `description`,
            `labels`, `add_labels`, `remove_labels`, `milestone_id`, `milestone`,
            `remove_source_branch`, `allow_collaboration`, `allow_maintainer_to_push`,
            `squash`, `target_branch`, `title`, `state_event`, `discussion_locked`,
            `merge_after` must be provided.
          nullable: true
        description:
          type: string
          description: Description of the merge request. Limited to 1,048,576 characters.
            At least one of `assignee_id`, `assignee_ids`, `reviewer_ids`, `description`,
            `labels`, `add_labels`, `remove_labels`, `milestone_id`, `milestone`,
            `remove_source_branch`, `allow_collaboration`, `allow_maintainer_to_push`,
            `squash`, `target_branch`, `title`, `state_event`, `discussion_locked`,
            `merge_after` must be provided.
          nullable: true
        labels:
          type: array
          items:
            type: string
          description: Comma-separated label names for the merge request. If a label
            does not already exist, this creates a new project label and assigns it
            to the merge request. Set to an empty string to unassign all labels. At
            least one of `assignee_id`, `assignee_ids`, `reviewer_ids`, `description`,
            `labels`, `add_labels`, `remove_labels`, `milestone_id`, `milestone`,
            `remove_source_branch`, `allow_collaboration`, `allow_maintainer_to_push`,
            `squash`, `target_branch`, `title`, `state_event`, `discussion_locked`,
            `merge_after` must be provided.
          nullable: true
        add_labels:
          type: array
          items:
            type: string
          description: Comma-separated label names to add to the merge request. If
            a label does not already exist, this creates a new project label and assigns
            it to the merge request. At least one of `assignee_id`, `assignee_ids`,
            `reviewer_ids`, `description`, `labels`, `add_labels`, `remove_labels`,
            `milestone_id`, `milestone`, `remove_source_branch`, `allow_collaboration`,
            `allow_maintainer_to_push`, `squash`, `target_branch`, `title`, `state_event`,
            `discussion_locked`, `merge_after` must be provided.
          nullable: true
        remove_labels:
          type: array
          items:
            type: string
          description: Comma-separated label names to remove from the merge request.
            At least one of `assignee_id`, `assignee_ids`, `reviewer_ids`, `description`,
            `labels`, `add_labels`, `remove_labels`, `milestone_id`, `milestone`,
            `remove_source_branch`, `allow_collaboration`, `allow_maintainer_to_push`,
            `squash`, `target_branch`, `title`, `state_event`, `discussion_locked`,
            `merge_after` must be provided.
          nullable: true
        milestone_id:
          type: integer
          description: Global ID of a milestone to assign to the merge request. Set
            to `0` or leave empty to unassign the milestone. Mutually exclusive with
            `milestone`. At least one of `assignee_id`, `assignee_ids`, `reviewer_ids`,
            `description`, `labels`, `add_labels`, `remove_labels`, `milestone_id`,
            `milestone`, `remove_source_branch`, `allow_collaboration`, `allow_maintainer_to_push`,
            `squash`, `target_branch`, `title`, `state_event`, `discussion_locked`,
            `merge_after` must be provided.
          nullable: true
        milestone:
          type: string
          description: The title of a project or ancestor-group milestone to assign
            the merge request to. The title must match exactly, and matching is case-sensitive.
            Mutually exclusive with `milestone_id`. At least one of `assignee_id`,
            `assignee_ids`, `reviewer_ids`, `description`, `labels`, `add_labels`,
            `remove_labels`, `milestone_id`, `milestone`, `remove_source_branch`,
            `allow_collaboration`, `allow_maintainer_to_push`, `squash`, `target_branch`,
            `title`, `state_event`, `discussion_locked`, `merge_after` must be provided.
          nullable: true
          maxLength: 255
        remove_source_branch:
          type: boolean
          description: If `true`, the source branch is removed when the merge request
            merges. At least one of `assignee_id`, `assignee_ids`, `reviewer_ids`,
            `description`, `labels`, `add_labels`, `remove_labels`, `milestone_id`,
            `milestone`, `remove_source_branch`, `allow_collaboration`, `allow_maintainer_to_push`,
            `squash`, `target_branch`, `title`, `state_event`, `discussion_locked`,
            `merge_after` must be provided.
          nullable: true
        allow_collaboration:
          type: boolean
          description: If `true`, allows commits from members who can merge to the
            target branch. At least one of `assignee_id`, `assignee_ids`, `reviewer_ids`,
            `description`, `labels`, `add_labels`, `remove_labels`, `milestone_id`,
            `milestone`, `remove_source_branch`, `allow_collaboration`, `allow_maintainer_to_push`,
            `squash`, `target_branch`, `title`, `state_event`, `discussion_locked`,
            `merge_after` must be provided.
          nullable: true
        allow_maintainer_to_push:
          type: boolean
          description: If `true`, allows commits from members who can merge to the
            target branch. Deprecated. Use `allow_collaboration` instead. At least
            one of `assignee_id`, `assignee_ids`, `reviewer_ids`, `description`, `labels`,
            `add_labels`, `remove_labels`, `milestone_id`, `milestone`, `remove_source_branch`,
            `allow_collaboration`, `allow_maintainer_to_push`, `squash`, `target_branch`,
            `title`, `state_event`, `discussion_locked`, `merge_after` must be provided.
          nullable: true
        squash:
          type: boolean
          description: If `true`, squashes all commits into a single commit on merge.
            When omitted, defaults to the [project's squash option setting](https://docs.gitlab.com/user/project/merge_requests/squash_and_merge/#configure-squash-options-for-a-project),
            which can override this value at merge time. At least one of `assignee_id`,
            `assignee_ids`, `reviewer_ids`, `description`, `labels`, `add_labels`,
            `remove_labels`, `milestone_id`, `milestone`, `remove_source_branch`,
            `allow_collaboration`, `allow_maintainer_to_push`, `squash`, `target_branch`,
            `title`, `state_event`, `discussion_locked`, `merge_after` must be provided.
          nullable: true
        merge_after:
          type: string
          format: date-time
          description: Date after which the merge request can be merged. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/510992)
            in GitLab 17.8. At least one of `assignee_id`, `assignee_ids`, `reviewer_ids`,
            `description`, `labels`, `add_labels`, `remove_labels`, `milestone_id`,
            `milestone`, `remove_source_branch`, `allow_collaboration`, `allow_maintainer_to_push`,
            `squash`, `target_branch`, `title`, `state_event`, `discussion_locked`,
            `merge_after` must be provided.
          nullable: true
        approvals_before_merge:
          type: integer
          description: Number of approvals required before the merge request can be
            merged. [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/353097)
            in GitLab 16.0. Premium and Ultimate only.
          nullable: true
    postApiV4ProjectsIdMergeRequestsMergeRequestIidContextCommitsRequest:
      type: object
      properties:
        commits:
          type: array
          items:
            type: string
          description: Context commits' SHAs.
      required:
      - commits
    postApiV4ProjectsIdMergeRequestsMergeRequestIidPipelinesRequest:
      type: object
      properties:
        async:
          type: boolean
          description: If `true`, creates the merge request pipeline asynchronously
            outside the API request, returning an empty response with a `202` status
            code. Pipeline creation can still fail after a `202` response.
          nullable: true
          default: false
    putApiV4ProjectsIdMergeRequestsMergeRequestIidMergeRequest:
      type: object
      properties:
        merge_commit_message:
          type: string
          description: Custom merge commit message.
          nullable: true
        squash_commit_message:
          type: string
          description: Custom squash commit message.
          nullable: true
        should_remove_source_branch:
          type: boolean
          description: If `true`, removes the source branch.
          nullable: true
        merge_when_pipeline_succeeds:
          type: boolean
          description: If `true`, merges the merge request automatically once the
            pipeline succeeds. [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/521291)
            in GitLab 17.11. Use `auto_merge` instead.
          nullable: true
        auto_merge:
          type: boolean
          description: If `true`, the merge request merges when checks pass.
          nullable: true
        sha:
          type: string
          description: SHA that must match the HEAD of the source branch, otherwise
            the merge fails. Use to ensure that only reviewed commits are merged.
            Required if the [require a commit SHA on the merge requests API](https://docs.gitlab.com/user/group/manage/#require-a-commit-sha-on-the-merge-requests-api)
            setting is enabled for the group or instance.
          nullable: true
        squash:
          type: boolean
          description: If `true`, squashes all commits into a single commit on merge.
          nullable: true
        skip_merge_train:
          type: boolean
          description: If `true`, skips the merge train restart when merging immediately
            in a project configured for merge trains.
          nullable: true
    putApiV4ProjectsIdMergeRequestsMergeRequestIidRebaseRequest:
      type: object
      properties:
        skip_ci:
          type: boolean
          description: If `true`, skips creating a CI pipeline.
          nullable: true
    postApiV4GroupsIdMembersRequest:
      type: object
      properties:
        access_level:
          type: integer
          description: 'A valid access level. Possible values: `10` (Guest), `15`
            (Planner), `20` (Reporter), `25` (Security Manager), `30` (Developer),
            `40` (Maintainer), or `50` (Owner). On Premium and Ultimate, `5` (Minimal
            access) is also valid when `id` is a top-level group.'
          nullable: true
        user_id:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
          description: User ID of the new member, or multiple IDs separated by commas.
            Required if `username` is not provided. Mutually exclusive with `username`.
            At least one of `user_id`, `username` must be provided.
        username:
          type: string
          description: Username of the new member, or multiple usernames separated
            by commas. Required if `user_id` is not provided. Mutually exclusive with
            `user_id`. At least one of `user_id`, `username` must be provided.
          nullable: true
        expires_at:
          type: string
          format: date-time
          description: Date string in the format YEAR-MONTH-DAY
          nullable: true
        invite_source:
          type: string
          description: 'Source of the invitation that starts the member creation process.
            GitLab team members can view more information in this confidential issue:
            `https://gitlab.com/gitlab-org/gitlab/-/issues/327120`.'
          nullable: true
          default: members-api
      required:
      - access_level
    putApiV4GroupsIdMembersUserIdRequest:
      type: object
      properties:
        access_level:
          type: integer
          description: 'A valid access level. Possible values: `10` (Guest), `15`
            (Planner), `20` (Reporter), `25` (Security Manager), `30` (Developer),
            `40` (Maintainer), or `50` (Owner). On Premium and Ultimate, `5` (Minimal
            access) is also valid when `id` is a top-level group.'
          nullable: true
        expires_at:
          type: string
          format: date-time
          description: Date string in the format YEAR-MONTH-DAY
          nullable: true
        member_role_id:
          type: integer
          description: ID of a custom member role to assign to the member. Set to
            `null` to remove all custom roles. Ultimate only.
          nullable: true
      required:
      - access_level
    postApiV4ProjectsIdMembersRequest:
      type: object
      properties:
        access_level:
          type: integer
          description: 'A valid access level. Possible values: `10` (Guest), `15`
            (Planner), `20` (Reporter), `25` (Security Manager), `30` (Developer),
            `40` (Maintainer), or `50` (Owner).'
          nullable: true
        user_id:
          oneOf:
          - type: integer
            nullable: true
          - type: string
            nullable: true
          description: User ID of the new member, or multiple IDs separated by commas.
            Required if `username` is not provided. Mutually exclusive with `username`.
            At least one of `user_id`, `username` must be provided.
        username:
          type: string
          description: Username of the new member, or multiple usernames separated
            by commas. Required if `user_id` is not provided. Mutually exclusive with
            `user_id`. At least one of `user_id`, `username` must be provided.
          nullable: true
        expires_at:
          type: string
          format: date-time
          description: Date string in the format YEAR-MONTH-DAY
          nullable: true
        invite_source:
          type: string
          description: 'Source of the invitation that starts the member creation process.
            GitLab team members can view more information in this confidential issue:
            `https://gitlab.com/gitlab-org/gitlab/-/issues/327120`.'
          nullable: true
          default: members-api
      required:
      - access_level
    putApiV4ProjectsIdMembersUserIdRequest:
      type: object
      properties:
        access_level:
          type: integer
          description: 'A valid access level. Possible values: `10` (Guest), `15`
            (Planner), `20` (Reporter), `25` (Security Manager), `30` (Developer),
            `40` (Maintainer), or `50` (Owner).'
          nullable: true
        expires_at:
          type: string
          format: date-time
          description: Date string in the format YEAR-MONTH-DAY
          nullable: true
        member_role_id:
          type: integer
          description: ID of a custom member role to assign to the member. Set to
            `null` to remove all custom roles. Ultimate only.
          nullable: true
      required:
      - access_level
    putApiV4GroupsIdMembersUserIdStateRequest:
      type: object
      properties:
        state:
          type: string
          enum:
          - awaiting
          - active
          description: New state for the member.
          minLength: 1
      required:
      - state
    putApiV4ProjectsIdPackagesMavenPathFileNameRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The package file to be published (generated by Multipart middleware)
          nullable: true
      required:
      - file
    postApiV4ProjectsIdUploadsRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The attachment file to be uploaded
          minLength: 1
      required:
      - file
    postApiV4GroupsIdUploadsRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The file to upload
          minLength: 1
      required:
      - file
    postApiV4MarkdownRequest:
      type: object
      properties:
        text:
          type: string
          description: Markdown text to render.
          nullable: true
        gfm:
          type: boolean
          description: Render text using GitLab Flavored Markdown.
          nullable: true
          default: false
        project:
          type: string
          description: Project used as context when creating references with GitLab
            Flavored Markdown.
          nullable: true
      required:
      - text
    postApiV4ProjectsIdCiLintRequest:
      type: object
      properties:
        content:
          type: string
          description: CI/CD configuration content.
          nullable: true
        dry_run:
          type: boolean
          description: If `true`, runs a [pipeline creation simulation](https://docs.gitlab.com/ci/yaml/lint/#simulate-a-pipeline).
            If `false`, runs only a static check.
          nullable: true
          default: false
        include_jobs:
          type: boolean
          description: If `true`, includes the list of jobs that would exist in a
            static check or pipeline simulation.
          nullable: true
        ref:
          type: string
          description: If `dry_run` is `true`, sets the branch or tag to use to validate
            the CI/CD YAML configuration. Defaults to the project's default branch.
          nullable: true
      required:
      - content
    postApiV4ProjectsIdIssuesIssueIidTimeEstimateRequest:
      type: object
      properties:
        duration:
          type: string
          description: Duration in human-readable format, for example `3h30m`.
          example: 3h30m
          nullable: true
      required:
      - duration
    postApiV4ProjectsIdIssuesIssueIidAddSpentTimeRequest:
      type: object
      properties:
        duration:
          type: string
          description: Duration in human-readable format, for example `3h30m`.
          nullable: true
      required:
      - duration
    postApiV4ProjectsIdIssuesRequest:
      type: object
      properties:
        title:
          type: string
          description: Title of the issue.
          nullable: true
        created_at:
          type: string
          format: date-time
          description: Date and time the issue was created. Requires administrator
            or project/group owner rights.
          nullable: true
        merge_request_to_resolve_discussions_of:
          type: integer
          description: Internal ID of a merge request for which to resolve discussions.
            This fills the issue with a default description and marks all discussions
            as resolved, unless a title or description is provided.
          nullable: true
        discussion_to_resolve:
          type: string
          description: ID of a discussion to resolve. Use in combination with `merge_request_to_resolve_discussions_of`.
          nullable: true
        iid:
          type: integer
          description: Internal ID to assign to the new issue. Administrators or project
            owners only.
          nullable: true
        description:
          type: string
          description: Description of the issue. Limited to 1,048,576 characters.
          nullable: true
        assignee_ids:
          type: array
          items:
            type: integer
          description: IDs of the users to assign to the issue. Set to `0` or leave
            empty to unassign all assignees. Assigning more than one user is Premium
            and Ultimate only.
          nullable: true
        assignee_id:
          type: integer
          description: ID of the user to assign the issue to. Available only on GitLab
            Free. Deprecated. Use `assignee_ids` instead.
          nullable: true
        milestone_id:
          type: integer
          description: Global ID of a milestone to assign to the issue. Set to `0`
            or leave empty to unassign the milestone. Mutually exclusive with `milestone`.
          nullable: true
        milestone:
          type: string
          description: The title of a project or ancestor-group milestone to assign
            the issue to. Mutually exclusive with `milestone_id`.
          nullable: true
          maxLength: 255
        labels:
          type: array
          items:
            type: string
          description: Comma-separated list of label names. `None` means no labels
            are assigned. `Any` means at least one label is assigned. `No+Label` (deprecated)
            means no labels are assigned. Set to an empty string to unassign all labels.
            If a label does not already exist, this creates a new project label and
            assigns it to the issue. Predefined names are case-insensitive.
          nullable: true
        add_labels:
          type: array
          items:
            type: string
          description: Comma-separated label names to add to the issue. If a label
            does not already exist, this creates a new project label and assigns it
            to the issue.
          nullable: true
        remove_labels:
          type: array
          items:
            type: string
          description: Comma-separated label names to remove from the issue.
          nullable: true
        due_date:
          type: string
          description: Due date, in the format `YYYY-MM-DD`, for example `2016-03-11`.
          nullable: true
        start_date:
          type: string
          description: Start date, in the format `YYYY-MM-DD`, for example `2016-03-11`.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/238041)
            in GitLab 19.1.
          nullable: true
        confidential:
          type: boolean
          description: If `true`, the issue is confidential.
        discussion_locked:
          type: boolean
          description: If `true`, locks the issue's discussion so only project members
            can add or edit comments.
          nullable: true
        issue_type:
          type: string
          enum:
          - issue
          - incident
          - test_case
          - requirement
          - task
          - ticket
          description: 'The type of the issue. Accepts: issue, incident, test_case,
            requirement, task, ticket'
          nullable: true
        severity:
          type: string
          enum:
          - unknown
          - low
          - medium
          - high
          - critical
          description: 'The severity of the issue. Only applies to incidents. Accepts:
            unknown, low, medium, high, critical'
          nullable: true
        weight:
          type: integer
          description: The weight of the issue
          nullable: true
        epic_id:
          type: integer
          description: ID of an epic to associate the issue with. Must be `0` or greater.
            Premium and Ultimate only. Mutually exclusive with `epic_iid`.
          nullable: true
        epic_iid:
          type: integer
          description: Internal ID of an epic to associate the issue with. Must be
            `0` or greater. Deprecated and [scheduled for removal](https://gitlab.com/gitlab-org/gitlab/-/issues/35157)
            in API version 5. Premium and Ultimate only. Mutually exclusive with `epic_id`.
          nullable: true
      required:
      - title
    putApiV4ProjectsIdIssuesIssueIidRequest:
      type: object
      properties:
        title:
          type: string
          description: Title of the issue. At least one of `assignee_id`, `assignee_ids`,
            `confidential`, `created_at`, `description`, `discussion_locked`, `due_date`,
            `start_date`, `labels`, `add_labels`, `remove_labels`, `milestone_id`,
            `milestone`, `severity`, `state_event`, `title`, `issue_type`, `weight`,
            `epic_id`, `epic_iid` must be provided.
          nullable: true
        updated_at:
          type: string
          format: date-time
          description: Date and time the issue was updated. Administrators or project
            owners only. Empty or null values are not accepted.
          minLength: 1
        state_event:
          type: string
          enum:
          - reopen
          - close
          description: Event to change the state of the issue. At least one of `assignee_id`,
            `assignee_ids`, `confidential`, `created_at`, `description`, `discussion_locked`,
            `due_date`, `start_date`, `labels`, `add_labels`, `remove_labels`, `milestone_id`,
            `milestone`, `severity`, `state_event`, `title`, `issue_type`, `weight`,
            `epic_id`, `epic_iid` must be provided.
          nullable: true
        description:
          type: string
          description: Description of the issue. Limited to 1,048,576 characters.
            At least one of `assignee_id`, `assignee_ids`, `confidential`, `created_at`,
            `description`, `discussion_locked`, `due_date`, `start_date`, `labels`,
            `add_labels`, `remove_labels`, `milestone_id`, `milestone`, `severity`,
            `state_event`, `title`, `issue_type`, `weight`, `epic_id`, `epic_iid`
            must be provided.
          nullable: true
        assignee_ids:
          type: array
          items:
            type: integer
          description: IDs of the users to assign to the issue. Set to `0` or leave
            empty to unassign all assignees. Assigning more than one user is Premium
            and Ultimate only. At least one of `assignee_id`, `assignee_ids`, `confidential`,
            `created_at`, `description`, `discussion_locked`, `due_date`, `start_date`,
            `labels`, `add_labels`, `remove_labels`, `milestone_id`, `milestone`,
            `severity`, `state_event`, `title`, `issue_type`, `weight`, `epic_id`,
            `epic_iid` must be provided.
          nullable: true
        assignee_id:
          type: integer
          description: ID of the user to assign the issue to. Available only on GitLab
            Free. Deprecated. Use `assignee_ids` instead. At least one of `assignee_id`,
            `assignee_ids`, `confidential`, `created_at`, `description`, `discussion_locked`,
            `due_date`, `start_date`, `labels`, `add_labels`, `remove_labels`, `milestone_id`,
            `milestone`, `severity`, `state_event`, `title`, `issue_type`, `weight`,
            `epic_id`, `epic_iid` must be provided.
          nullable: true
        milestone_id:
          type: integer
          description: Global ID of a milestone to assign to the issue. Set to `0`
            or leave empty to unassign the milestone. Mutually exclusive with `milestone`.
            At least one of `assignee_id`, `assignee_ids`, `confidential`, `created_at`,
            `description`, `discussion_locked`, `due_date`, `start_date`, `labels`,
            `add_labels`, `remove_labels`, `milestone_id`, `milestone`, `severity`,
            `state_event`, `title`, `issue_type`, `weight`, `epic_id`, `epic_iid`
            must be provided.
          nullable: true
        milestone:
          type: string
          description: The title of a project or ancestor-group milestone to assign
            the issue to. Mutually exclusive with `milestone_id`. At least one of
            `assignee_id`, `assignee_ids`, `confidential`, `created_at`, `description`,
            `discussion_locked`, `due_date`, `start_date`, `labels`, `add_labels`,
            `remove_labels`, `milestone_id`, `milestone`, `severity`, `state_event`,
            `title`, `issue_type`, `weight`, `epic_id`, `epic_iid` must be provided.
          nullable: true
          maxLength: 255
        labels:
          type: array
          items:
            type: string
          description: Comma-separated list of label names. `None` means no labels
            are assigned. `Any` means at least one label is assigned. `No+Label` (deprecated)
            means no labels are assigned. Set to an empty string to unassign all labels.
            If a label does not already exist, this creates a new project label and
            assigns it to the issue. Predefined names are case-insensitive. At least
            one of `assignee_id`, `assignee_ids`, `confidential`, `created_at`, `description`,
            `discussion_locked`, `due_date`, `start_date`, `labels`, `add_labels`,
            `remove_labels`, `milestone_id`, `milestone`, `severity`, `state_event`,
            `title`, `issue_type`, `weight`, `epic_id`, `epic_iid` must be provided.
          nullable: true
        add_labels:
          type: array
          items:
            type: string
          description: Comma-separated label names to add to the issue. If a label
            does not already exist, this creates a new project label and assigns it
            to the issue. At least one of `assignee_id`, `assignee_ids`, `confidential`,
            `created_at`, `description`, `discussion_locked`, `due_date`, `start_date`,
            `labels`, `add_labels`, `remove_labels`, `milestone_id`, `milestone`,
            `severity`, `state_event`, `title`, `issue_type`, `weight`, `epic_id`,
            `epic_iid` must be provided.
          nullable: true
        remove_labels:
          type: array
          items:
            type: string
          description: Comma-separated label names to remove from the issue. At least
            one of `assignee_id`, `assignee_ids`, `confidential`, `created_at`, `description`,
            `discussion_locked`, `due_date`, `start_date`, `labels`, `add_labels`,
            `remove_labels`, `milestone_id`, `milestone`, `severity`, `state_event`,
            `title`, `issue_type`, `weight`, `epic_id`, `epic_iid` must be provided.
          nullable: true
        due_date:
          type: string
          description: Due date, in the format `YYYY-MM-DD`, for example `2016-03-11`.
            At least one of `assignee_id`, `assignee_ids`, `confidential`, `created_at`,
            `description`, `discussion_locked`, `due_date`, `start_date`, `labels`,
            `add_labels`, `remove_labels`, `milestone_id`, `milestone`, `severity`,
            `state_event`, `title`, `issue_type`, `weight`, `epic_id`, `epic_iid`
            must be provided.
          nullable: true
        start_date:
          type: string
          description: Start date, in the format `YYYY-MM-DD`, for example `2016-03-11`.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/238041)
            in GitLab 19.1. At least one of `assignee_id`, `assignee_ids`, `confidential`,
            `created_at`, `description`, `discussion_locked`, `due_date`, `start_date`,
            `labels`, `add_labels`, `remove_labels`, `milestone_id`, `milestone`,
            `severity`, `state_event`, `title`, `issue_type`, `weight`, `epic_id`,
            `epic_iid` must be provided.
          nullable: true
        confidential:
          type: boolean
          description: If `true`, the issue is confidential. At least one of `assignee_id`,
            `assignee_ids`, `confidential`, `created_at`, `description`, `discussion_locked`,
            `due_date`, `start_date`, `labels`, `add_labels`, `remove_labels`, `milestone_id`,
            `milestone`, `severity`, `state_event`, `title`, `issue_type`, `weight`,
            `epic_id`, `epic_iid` must be provided.
        discussion_locked:
          type: boolean
          description: If `true`, locks the issue's discussion so only project members
            can add or edit comments. At least one of `assignee_id`, `assignee_ids`,
            `confidential`, `created_at`, `description`, `discussion_locked`, `due_date`,
            `start_date`, `labels`, `add_labels`, `remove_labels`, `milestone_id`,
            `milestone`, `severity`, `state_event`, `title`, `issue_type`, `weight`,
            `epic_id`, `epic_iid` must be provided.
          nullable: true
        issue_type:
          type: string
          enum:
          - issue
          - incident
          - test_case
          - requirement
          - task
          - ticket
          description: 'The type of the issue. Accepts: issue, incident, test_case,
            requirement, task, ticket. At least one of `assignee_id`, `assignee_ids`,
            `confidential`, `created_at`, `description`, `discussion_locked`, `due_date`,
            `start_date`, `labels`, `add_labels`, `remove_labels`, `milestone_id`,
            `milestone`, `severity`, `state_event`, `title`, `issue_type`, `weight`,
            `epic_id`, `epic_iid` must be provided.'
          nullable: true
        severity:
          type: string
          enum:
          - unknown
          - low
          - medium
          - high
          - critical
          description: 'The severity of the issue. Only applies to incidents. Accepts:
            unknown, low, medium, high, critical. At least one of `assignee_id`, `assignee_ids`,
            `confidential`, `created_at`, `description`, `discussion_locked`, `due_date`,
            `start_date`, `labels`, `add_labels`, `remove_labels`, `milestone_id`,
            `milestone`, `severity`, `state_event`, `title`, `issue_type`, `weight`,
            `epic_id`, `epic_iid` must be provided.'
          nullable: true
        weight:
          type: integer
          description: The weight of the issue. At least one of `assignee_id`, `assignee_ids`,
            `confidential`, `created_at`, `description`, `discussion_locked`, `due_date`,
            `start_date`, `labels`, `add_labels`, `remove_labels`, `milestone_id`,
            `milestone`, `severity`, `state_event`, `title`, `issue_type`, `weight`,
            `epic_id`, `epic_iid` must be provided.
          nullable: true
        epic_id:
          type: integer
          description: ID of an epic to associate the issue with. Must be `0` or greater.
            Premium and Ultimate only. Mutually exclusive with `epic_iid`. At least
            one of `assignee_id`, `assignee_ids`, `confidential`, `created_at`, `description`,
            `discussion_locked`, `due_date`, `start_date`, `labels`, `add_labels`,
            `remove_labels`, `milestone_id`, `milestone`, `severity`, `state_event`,
            `title`, `issue_type`, `weight`, `epic_id`, `epic_iid` must be provided.
          nullable: true
        epic_iid:
          type: integer
          description: Internal ID of an epic to associate the issue with. Must be
            `0` or greater. Deprecated and [scheduled for removal](https://gitlab.com/gitlab-org/gitlab/-/issues/35157)
            in API version 5. Premium and Ultimate only. Mutually exclusive with `epic_id`.
            At least one of `assignee_id`, `assignee_ids`, `confidential`, `created_at`,
            `description`, `discussion_locked`, `due_date`, `start_date`, `labels`,
            `add_labels`, `remove_labels`, `milestone_id`, `milestone`, `severity`,
            `state_event`, `title`, `issue_type`, `weight`, `epic_id`, `epic_iid`
            must be provided.
          nullable: true
        created_at:
          type: string
          nullable: true
          description: At least one of `assignee_id`, `assignee_ids`, `confidential`,
            `created_at`, `description`, `discussion_locked`, `due_date`, `start_date`,
            `labels`, `add_labels`, `remove_labels`, `milestone_id`, `milestone`,
            `severity`, `state_event`, `title`, `issue_type`, `weight`, `epic_id`,
            `epic_iid` must be provided.
    putApiV4ProjectsIdIssuesIssueIidReorderRequest:
      type: object
      properties:
        move_after_id:
          type: integer
          description: Global ID of the project issue to place this issue after. At
            least one of `move_after_id`, `move_before_id` must be provided.
          nullable: true
        move_before_id:
          type: integer
          description: Global ID of the project issue to place this issue before.
            At least one of `move_after_id`, `move_before_id` must be provided.
          nullable: true
    postApiV4ProjectsIdIssuesIssueIidMoveRequest:
      type: object
      properties:
        to_project_id:
          type: integer
          description: ID of the new project.
          nullable: true
      required:
      - to_project_id
    postApiV4ProjectsIdIssuesIssueIidCloneRequest:
      type: object
      properties:
        to_project_id:
          type: integer
          description: ID of the new project.
          nullable: true
        with_notes:
          type: boolean
          description: If `true`, clones the issue with its [notes](https://docs.gitlab.com/api/notes/).
          nullable: true
          default: false
      required:
      - to_project_id
    postApiV4ProjectsIdIssuesIssueIidMetricImagesRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The image file to be uploaded
          nullable: true
        url:
          type: string
          description: URL to view more metric information.
          nullable: true
        url_text:
          type: string
          description: Description of the image or URL.
          nullable: true
      required:
      - file
    putApiV4ProjectsIdIssuesIssueIidMetricImagesMetricImageIdRequest:
      type: object
      properties:
        url:
          type: string
          description: URL to view more metric information.
          nullable: true
        url_text:
          type: string
          description: Description of the image or URL.
          nullable: true
    postApiV4ProjectsIdIssuesIssueIidLinksRequest:
      type: object
      properties:
        target_project_id:
          oneOf:
          - type: string
            nullable: true
          - type: integer
            nullable: true
          description: ID or URL-encoded path of the target project.
        target_issue_iid:
          oneOf:
          - type: string
            nullable: true
          - type: integer
            nullable: true
          description: Internal ID of the issue in the target project.
        link_type:
          type: string
          enum:
          - relates_to
          - blocks
          - is_blocked_by
          description: The type of the relation.
          nullable: true
          default: relates_to
      required:
      - target_project_id
      - target_issue_iid
    postApiV4GroupsIdInvitationsRequest:
      type: object
      properties:
        access_level:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          - 5
          description: Access level to grant to the invited user. For a list of values,
            see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
            On Premium and Ultimate, `5` (Minimal access) is also valid when `id`
            is a top-level group.
        email:
          type: array
          items:
            type: string
          description: Email address of the member to invite, or multiple email addresses
            separated by commas. Required if `user_id` is not provided.
          nullable: true
        user_id:
          type: array
          items:
            type: string
          description: ID of the user to invite, or multiple IDs separated by commas.
            Required if `email` is not provided.
          nullable: true
        expires_at:
          type: string
          format: date-time
          description: Date when the invitation expires.
          nullable: true
        invite_source:
          type: string
          description: Source of the invitation that starts the member creation process.
          nullable: true
          default: invitations-api
        member_role_id:
          type: integer
          description: ID of a member role to assign to the invited user. Ultimate
            only.
          nullable: true
      required:
      - access_level
    putApiV4GroupsIdInvitationsEmailRequest:
      type: object
      properties:
        access_level:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          description: Access level to grant to the invited user. For a list of values,
            see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
            If omitted, the invitation keeps its current access level.
          nullable: true
        expires_at:
          type: string
          format: date-time
          description: Date when the invitation expires.
          nullable: true
        member_role_id:
          type: integer
          description: ID of a member role to assign to the invited user. Ultimate
            only.
          nullable: true
    postApiV4ProjectsIdInvitationsRequest:
      type: object
      properties:
        access_level:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          - 5
          description: Access level to grant to the invited user. For a list of values,
            see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
        email:
          type: array
          items:
            type: string
          description: Email address of the member to invite, or multiple email addresses
            separated by commas. Required if `user_id` is not provided.
          nullable: true
        user_id:
          type: array
          items:
            type: string
          description: ID of the user to invite, or multiple IDs separated by commas.
            Required if `email` is not provided.
          nullable: true
        expires_at:
          type: string
          format: date-time
          description: Date when the invitation expires.
          nullable: true
        invite_source:
          type: string
          description: Source of the invitation that starts the member creation process.
          nullable: true
          default: invitations-api
        member_role_id:
          type: integer
          description: ID of a member role to assign to the invited user. Ultimate
            only.
          nullable: true
      required:
      - access_level
    putApiV4ProjectsIdInvitationsEmailRequest:
      type: object
      properties:
        access_level:
          type: integer
          enum:
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          description: Access level to grant to the invited user. For a list of values,
            see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
            If omitted, the invitation keeps its current access level.
          nullable: true
        expires_at:
          type: string
          format: date-time
          description: Date when the invitation expires.
          nullable: true
        member_role_id:
          type: integer
          description: ID of a member role to assign to the invited user. Ultimate
            only.
          nullable: true
    postApiV4IntegrationsJiraForgeSubscriptionsRequest:
      type: object
      properties:
        namespace_path:
          type: string
          description: Path of the namespace to subscribe.
          nullable: true
          maxLength: 255
      required:
      - namespace_path
    postApiV4IntegrationsJiraForgeUserDelegationRequest:
      type: object
      properties:
        account_id:
          type: string
          description: Jira account id the delegation is scoped to
          nullable: true
          maxLength: 255
        cloud_id:
          type: string
          description: Jira site (cloud) id the delegation is scoped to
          nullable: true
          maxLength: 255
      required:
      - account_id
      - cloud_id
    putApiV4IntegrationsJiraForgeInstallationRequest:
      type: object
      properties:
        instance_url:
          type: string
          description: Base URL of the self-managed GitLab instance; null for GitLab.com
          nullable: true
          maxLength: 1024
    postApiV4IntegrationsJiraConnectSubscriptionsRequest:
      type: object
      properties:
        jwt:
          type: string
          description: JWT token for authorization with the Jira Connect installation.
          nullable: true
        namespace_path:
          type: string
          description: Path for the namespace that should be subscribed.
          nullable: true
      required:
      - jwt
      - namespace_path
    postApiV4IntegrationsSlackEventsRequest:
      type: object
      properties:
        token:
          type: string
          description: Request token. Not used by GitLab. Deprecated by Slack.
          nullable: true
        team_id:
          type: string
          description: ID of the Slack workspace where the event occurred.
          nullable: true
        api_app_id:
          type: string
          description: ID of the Slack app.
          nullable: true
        event:
          type: object
          description: Event object with variable properties.
          nullable: true
        type:
          type: string
          description: Type of the event, usually `event_callback`.
          nullable: true
        event_id:
          type: string
          description: ID of the event.
          nullable: true
        event_time:
          type: integer
          description: Unix timestamp, in seconds, of when the event was dispatched.
          nullable: true
        authed_users:
          type: array
          items:
            type: string
          description: Array of Slack user IDs. Deprecated by Slack.
          nullable: true
    putApiV4ProjectsIdServicesAppleAppStoreRequest:
      type: object
      properties:
        app_store_issuer_id:
          type: string
          description: Apple App Store Connect issuer ID.
          nullable: true
        app_store_key_id:
          type: string
          description: Apple App Store Connect key ID.
          nullable: true
        app_store_private_key_file_name:
          type: string
          description: Apple App Store Connect private key file name.
          nullable: true
        app_store_private_key:
          type: string
          description: Apple App Store Connect private key.
          nullable: true
        app_store_protected_refs:
          type: boolean
          description: Set variables on protected branches and tags only.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - app_store_issuer_id
      - app_store_key_id
      - app_store_private_key_file_name
      - app_store_private_key
    putApiV4ProjectsIdServicesAsanaRequest:
      type: object
      properties:
        api_key:
          type: string
          description: User API token. The user must have access to the task. All
            comments are attributed to this user.
          nullable: true
        restrict_to_branch:
          type: string
          description: Comma-separated list of branches to be automatically inspected.
            Leave blank to include all branches.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - api_key
    putApiV4ProjectsIdServicesAssemblaRequest:
      type: object
      properties:
        token:
          type: string
          description: The authentication token.
          nullable: true
        subdomain:
          type: string
          description: The subdomain setting.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
    putApiV4ProjectsIdServicesBambooRequest:
      type: object
      properties:
        enable_ssl_verification:
          type: boolean
          description: Enable SSL verification. Defaults to `true` (enabled).
          nullable: true
        bamboo_url:
          type: string
          description: Bamboo root URL (for example, `https://bamboo.example.com`).
          nullable: true
        build_key:
          type: string
          description: Bamboo build plan key (for example, `KEY`).
          nullable: true
        username:
          type: string
          description: User with API access to the Bamboo server.
          nullable: true
        password:
          type: string
          description: Password of the user.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - bamboo_url
      - build_key
      - username
      - password
    putApiV4ProjectsIdServicesBugzillaRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        new_issue_url:
          type: string
          description: URL of the new issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
      - new_issue_url
    putApiV4ProjectsIdServicesBuildkiteRequest:
      type: object
      properties:
        project_url:
          type: string
          description: Pipeline URL (for example, `https://buildkite.com/example/pipeline`).
          nullable: true
        token:
          type: string
          description: Token you get after you create a Buildkite pipeline with a
            GitLab repository.
          nullable: true
        enable_ssl_verification:
          type: boolean
          description: 'DEPRECATED: This parameter has no effect because SSL verification
            is always enabled.'
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - token
    putApiV4ProjectsIdServicesCampfireRequest:
      type: object
      properties:
        token:
          type: string
          description: API authentication token from Campfire. To get the token, sign
            in to Campfire and select **My info**.
          nullable: true
        subdomain:
          type: string
          description: "`.campfirenow.com` subdomain when you're signed in."
          nullable: true
        room:
          type: string
          description: ID portion of the Campfire room URL.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
    putApiV4ProjectsIdServicesConfluenceRequest:
      type: object
      properties:
        confluence_url:
          type: string
          description: URL of the Confluence Workspace hosted on `atlassian.net`.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - confluence_url
    putApiV4ProjectsIdServicesCustomIssueTrackerRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        new_issue_url:
          type: string
          description: URL of the new issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
      - new_issue_url
    putApiV4ProjectsIdServicesDatadogRequest:
      type: object
      properties:
        datadog_site:
          type: string
          description: Datadog site to send data to. Learn more about Datadog sites
            in the <a target="_blank" rel="noopener noreferrer" href="https://docs.datadoghq.com/getting_started/site/">documentation</a>.
          nullable: true
        api_url:
          type: string
          description: Full URL of your Datadog site. Only required if you do not
            use a standard Datadog site.
          nullable: true
        api_key:
          type: string
          description: <a target="_blank" rel="noopener noreferrer" href="https://docs.datadoghq.com/account_management/api-app-keys/">API
            key</a> used for authentication with Datadog.
          nullable: true
        datadog_ci_visibility:
          type: boolean
          description: Enable CI Visibility
          nullable: true
        archive_trace_events:
          type: boolean
          description: When enabled, job logs are collected by Datadog and displayed
            along with pipeline execution traces.
          nullable: true
        datadog_service:
          type: string
          description: Tag all pipeline data from this GitLab instance in Datadog.
            Can be used when managing several self-managed deployments.
          nullable: true
        datadog_env:
          type: string
          description: For self-managed deployments, `env` tag for all the data sent
            to Datadog.
          nullable: true
        datadog_tags:
          type: string
          description: Custom tags in Datadog. Specify one tag per line in the format
            `key:value\nkey2:value2`.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        build_events:
          type: boolean
          description: Trigger event when a build is created.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        subgroup_events:
          type: boolean
          nullable: true
        project_events:
          type: boolean
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - api_key
    putApiV4ProjectsIdServicesDiffblueCoverRequest:
      type: object
      properties:
        diffblue_license_key:
          type: string
          description: Diffblue Cover license key.
          nullable: true
        diffblue_access_token_name:
          type: string
          description: Access token name used by Diffblue Cover in pipelines.
          nullable: true
        diffblue_access_token_secret:
          type: string
          description: Access token secret used by Diffblue Cover in pipelines.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - diffblue_license_key
      - diffblue_access_token_name
      - diffblue_access_token_secret
    putApiV4ProjectsIdServicesDiscordRequest:
      type: object
      properties:
        webhook:
          type: string
          description: Discord webhook (for example, `https://discord.com/api/webhooks/…`).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_channel:
          type: string
          description: The name of the channel to receive push_events notifications
          nullable: true
        issue_channel:
          type: string
          description: The name of the channel to receive issues_events notifications
          nullable: true
        incident_channel:
          type: string
          description: The name of the channel to receive incident_events notifications
          nullable: true
        alert_channel:
          type: string
          description: The name of the channel to receive alert_events notifications
          nullable: true
        confidential_issue_channel:
          type: string
          description: The name of the channel to receive confidential_issues_events
            notifications
          nullable: true
        merge_request_channel:
          type: string
          description: The name of the channel to receive merge_requests_events notifications
          nullable: true
        note_channel:
          type: string
          description: The name of the channel to receive note_events notifications
          nullable: true
        confidential_note_channel:
          type: string
          description: The name of the channel to receive confidential_note_events
            notifications
          nullable: true
        tag_push_channel:
          type: string
          description: The name of the channel to receive tag_push_events notifications
          nullable: true
        deployment_channel:
          type: string
          description: The name of the channel to receive deployment_events notifications
          nullable: true
        pipeline_channel:
          type: string
          description: The name of the channel to receive pipeline_events notifications
          nullable: true
        wiki_page_channel:
          type: string
          description: The name of the channel to receive wiki_page_events notifications
          nullable: true
        vulnerability_channel:
          type: string
          description: The name of the channel to receive vulnerability_events notifications
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        deployment_events:
          type: boolean
          description: Trigger event when a deployment starts or finishes.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4ProjectsIdServicesDroneCiRequest:
      type: object
      properties:
        enable_ssl_verification:
          type: boolean
          description: Enable SSL verification. Defaults to `true` (enabled).
          nullable: true
        drone_url:
          type: string
          description: Drone CI URL (for example, `http://drone.example.com`).
          nullable: true
        token:
          type: string
          description: Drone CI token.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - drone_url
      - token
    putApiV4ProjectsIdServicesEmailsOnPushRequest:
      type: object
      properties:
        send_from_committer_email:
          type: boolean
          description: Send from committer
          nullable: true
        disable_diffs:
          type: boolean
          description: Disable code diffs
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        recipients:
          type: string
          description: Emails separated by whitespace.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - recipients
    putApiV4ProjectsIdServicesExternalWikiRequest:
      type: object
      properties:
        external_wiki_url:
          type: string
          description: URL of the external wiki.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - external_wiki_url
    putApiV4ProjectsIdServicesGitlabSlackApplicationRequest:
      type: object
      properties:
        channel:
          type: string
          description: Default channel to use if no other channel is configured.
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        labels_to_be_notified:
          type: string
          description: Labels to send notifications for. Leave blank to receive notifications
            for all events.
          nullable: true
        labels_to_be_notified_behavior:
          type: string
          description: Labels to be notified for. Valid options are `match_any` and
            `match_all`. The default value is `match_any`.
          nullable: true
        push_channel:
          type: string
          description: The name of the channel to receive push_events notifications
          nullable: true
        issue_channel:
          type: string
          description: The name of the channel to receive issues_events notifications
          nullable: true
        incident_channel:
          type: string
          description: The name of the channel to receive incident_events notifications
          nullable: true
        alert_channel:
          type: string
          description: The name of the channel to receive alert_events notifications
          nullable: true
        confidential_issue_channel:
          type: string
          description: The name of the channel to receive confidential_issues_events
            notifications
          nullable: true
        merge_request_channel:
          type: string
          description: The name of the channel to receive merge_requests_events notifications
          nullable: true
        note_channel:
          type: string
          description: The name of the channel to receive note_events notifications
          nullable: true
        confidential_note_channel:
          type: string
          description: The name of the channel to receive confidential_note_events
            notifications
          nullable: true
        tag_push_channel:
          type: string
          description: The name of the channel to receive tag_push_events notifications
          nullable: true
        deployment_channel:
          type: string
          description: The name of the channel to receive deployment_events notifications
          nullable: true
        pipeline_channel:
          type: string
          description: The name of the channel to receive pipeline_events notifications
          nullable: true
        wiki_page_channel:
          type: string
          description: The name of the channel to receive wiki_page_events notifications
          nullable: true
        vulnerability_channel:
          type: string
          description: The name of the channel to receive vulnerability_events notifications
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        deployment_events:
          type: boolean
          description: Trigger event when a deployment starts or finishes.
          nullable: true
        incident_events:
          type: boolean
          description: Trigger event when an incident is created.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        vulnerability_events:
          type: boolean
          nullable: true
        alert_events:
          type: boolean
          description: Trigger event when a new, unique alert is recorded.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
    putApiV4ProjectsIdServicesGooglePlayRequest:
      type: object
      properties:
        package_name:
          type: string
          description: Package name of the app in Google Play.
          nullable: true
        service_account_key_file_name:
          type: string
          description: File name of the Google Play service account key.
          nullable: true
        service_account_key:
          type: string
          description: Google Play service account key.
          nullable: true
        google_play_protected_refs:
          type: boolean
          description: Set variables on protected branches and tags only.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - package_name
      - service_account_key_file_name
      - service_account_key
    putApiV4ProjectsIdServicesHangoutsChatRequest:
      type: object
      properties:
        webhook:
          type: string
          description: The Hangouts Chat webhook (for example, `https://chat.googleapis.com/v1/spaces...`).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4ProjectsIdServicesHarborRequest:
      type: object
      properties:
        url:
          type: string
          description: The base URL to the Harbor instance linked to the GitLab project.
            For example, `https://demo.goharbor.io`.
          nullable: true
        project_name:
          type: string
          description: The name of the project in the Harbor instance. For example,
            `testproject`.
          nullable: true
        username:
          type: string
          description: The username created in the Harbor interface.
          nullable: true
        password:
          type: string
          description: The password of the user.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - url
      - project_name
      - username
      - password
    putApiV4ProjectsIdServicesIrkerRequest:
      type: object
      properties:
        server_host:
          type: string
          description: irker daemon hostname. The default value is `localhost`.
          nullable: true
        server_port:
          type: integer
          description: irker daemon port. The default value is `6659`.
          nullable: true
        default_irc_uri:
          type: string
          description: URI to add before each recipient. The default value is `irc://irc.network.net:6697/`.
          nullable: true
        recipients:
          type: string
          description: Comma-separated list of channels or email addresses.
          nullable: true
        colorize_messages:
          type: boolean
          description: Colorize messages
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - recipients
    putApiV4ProjectsIdServicesJenkinsRequest:
      type: object
      properties:
        enable_ssl_verification:
          type: boolean
          description: Enable SSL verification. Defaults to `true` (enabled).
          nullable: true
        jenkins_url:
          type: string
          description: URL of the Jenkins server.
          nullable: true
        project_name:
          type: string
          description: Name of the Jenkins project.
          nullable: true
        username:
          type: string
          description: Username of the Jenkins server.
          nullable: true
        password:
          type: string
          description: Password of the Jenkins server.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - jenkins_url
      - project_name
    putApiV4ProjectsIdServicesJiraRequest:
      type: object
      properties:
        url:
          type: string
          description: The URL to the Jira project which is being linked to this GitLab
            project (for example, `https://jira.example.com`).
          nullable: true
        api_url:
          type: string
          description: The base URL to the Jira instance API. Web URL value is used
            if not set (for example, `https://jira-api.example.com`).
          nullable: true
        jira_auth_type:
          type: integer
          description: The authentication method to use with Jira. Use `0` for basic
            authentication, `1` for Jira personal access token, and `2` for Jira Cloud
            service accounts. Defaults to `0`.
          nullable: true
        username:
          type: string
          description: The email or username to use with Jira. Use an email for Jira
            Cloud, and a username for Jira Data Center and Jira Server. Required when
            using basic authentication (`jira_auth_type` is `0`).
          nullable: true
        password:
          type: string
          description: The Jira API token, password, or personal access token to use
            with Jira. When using Basic Authentication (`jira_auth_type` is `0`),
            use an API token for Jira Cloud, and a password for Jira Data Center or
            Jira Server. For a Jira personal access token (`jira_auth_type` is `1`),
            use the personal access token.
          nullable: true
        jira_issue_regex:
          type: string
          description: Regular expression to match Jira issue keys.
          nullable: true
        jira_issue_prefix:
          type: string
          description: Prefix to match Jira issue keys.
          nullable: true
        jira_issue_transition_id:
          type: string
          description: The ID of one or more transitions for [custom issue transitions](../integration/jira/issues.md#custom-issue-transitions).Ignored
            when `jira_issue_transition_automatic` is enabled. Defaults to a blank
            string,which disables custom transitions.
          nullable: true
        issues_enabled:
          type: string
          description: Enable viewing Jira issues in GitLab.
          nullable: true
        project_keys:
          type: array
          items:
            type: string
          description: Keys of Jira projects to display. When `issues_enabled` is
            `true`, this setting filters which Jira projects are shown in GitLab.
            It does not restrict the API token's access.
          nullable: true
        vulnerabilities_enabled:
          type: boolean
          description: Turn on Jira issue creation for GitLab vulnerabilities.
          nullable: true
        vulnerabilities_issuetype:
          type: string
          description: Jira issue type to use when creating issues from vulnerabilities.
          nullable: true
        project_key:
          type: string
          description: Key of the project to use when creating issues from vulnerabilities.This
            parameter is required if using the integration to create Jira issues from
            vulnerabilities.
          nullable: true
        customize_jira_issue_enabled:
          type: boolean
          description: When set to `true`, opens a prefilled form on the Jira instancewhen
            creating a Jira issue from a vulnerability.
          nullable: true
        jira_check_enabled:
          type: boolean
          description: Verify Jira issues referenced in commit messages exist before
            allowing the push.
          nullable: true
        jira_exists_check_enabled:
          type: boolean
          description: Verify the Jira issues referenced in commit messages exist
            in Jira.
          nullable: true
        jira_assignee_check_enabled:
          type: boolean
          description: Verify the committer is the assignee of the Jira issues referenced
            in commit messages.
          nullable: true
        jira_status_check_enabled:
          type: boolean
          description: Verify the status of Jira issues referenced in commit messages.
          nullable: true
        jira_allowed_statuses_as_string:
          type: string
          description: Comma-separated list of allowed Jira issue statuses.
          nullable: true
        comment_on_event_enabled:
          type: boolean
          description: Enable comments inside Jira issues on each GitLab event (commit
            / merge request)
          nullable: true
        commit_events:
          type: boolean
          description: Trigger event when a commit is created or updated.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - url
      - password
    putApiV4ProjectsIdServicesJiraCloudAppRequest:
      type: object
      properties:
        jira_cloud_app_service_ids:
          type: string
          description: Copy and paste your JSM Service ID here. Use comma (,) to separate
            multiple IDs.
          nullable: true
        jira_cloud_app_enable_deployment_gating:
          type: boolean
          description: Enable to approve or reject blocked GitLab deployments from
            Jira Service Management.
          nullable: true
        jira_cloud_app_deployment_gating_environments:
          type: string
          description: Enter the environment (production,staging,testing,development)
            where you want to enable deployment gating. Use comma (,) to separate
            multiple environments.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
    putApiV4ProjectsIdServicesLinearRequest:
      type: object
      properties:
        workspace_url:
          type: string
          description: Linear workspace URL (for example, https://linear.app/example)
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - workspace_url
    putApiV4ProjectsIdServicesMatrixRequest:
      type: object
      properties:
        hostname:
          type: string
          description: URL of the Matrix server, including `http://` or `https://`.
            The default value is `https://matrix-client.matrix.org`.
          nullable: true
        token:
          type: string
          description: The Matrix access token (for example, `syt-zyx57W2v1u123ew11`).
          nullable: true
        room:
          type: string
          description: Unique identifier for the target room (in the format `!qPKKM111FFKKsfoCVy:matrix.org`).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        incident_events:
          type: boolean
          description: Trigger event when an incident is created.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        vulnerability_events:
          type: boolean
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
      - room
    putApiV4ProjectsIdServicesMattermostSlashCommandsRequest:
      type: object
      properties:
        token:
          type: string
          description: The Mattermost token.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
    putApiV4ProjectsIdServicesPackagistRequest:
      type: object
      properties:
        username:
          type: string
          description: Username of a Packagist account.
          nullable: true
        token:
          type: string
          description: API token of the Packagist server.
          nullable: true
        server:
          type: string
          description: URL of the Packagist server. The default value is `https://packagist.org`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - username
      - token
    putApiV4ProjectsIdServicesPhorgeRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
    putApiV4ProjectsIdServicesPipelinesEmailRequest:
      type: object
      properties:
        recipients:
          type: string
          description: Comma-separated list of recipient email addresses.
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        notify_only_default_branch:
          type: boolean
          description: Send notifications for the default branch.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        notify_child_pipelines:
          type: boolean
          description: Send notifications for child pipelines.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - recipients
    putApiV4ProjectsIdServicesPivotaltrackerRequest:
      type: object
      properties:
        token:
          type: string
          description: The Pivotal Tracker token.
          nullable: true
        restrict_to_branch:
          type: string
          description: Comma-separated list of branches to automatically inspect.
            Leave blank to include all branches.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
    putApiV4ProjectsIdServicesPumbleRequest:
      type: object
      properties:
        webhook:
          type: string
          description: The Pumble webhook (for example, `https://api.pumble.com/workspaces/x/...`).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4ProjectsIdServicesPushoverRequest:
      type: object
      properties:
        api_key:
          type: string
          description: The application key.
          nullable: true
        user_key:
          type: string
          description: The user key.
          nullable: true
        device:
          type: string
          description: Leave blank for all active devices.
          nullable: true
        priority:
          type: string
          description: The priority.
          nullable: true
        sound:
          type: string
          description: The sound of the notification.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - api_key
      - user_key
      - priority
    putApiV4ProjectsIdServicesRedmineRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        new_issue_url:
          type: string
          description: URL of the new issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
      - new_issue_url
    putApiV4ProjectsIdServicesEwmRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        new_issue_url:
          type: string
          description: URL of the new issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
      - new_issue_url
    putApiV4ProjectsIdServicesYoutrackRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
    putApiV4ProjectsIdServicesClickupRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
    putApiV4ProjectsIdServicesSlackRequest:
      type: object
      properties:
        webhook:
          type: string
          description: Slack notifications webhook (for example, `https://hooks.slack.com/services/...`).
          nullable: true
        username:
          type: string
          description: Slack notifications username.
          nullable: true
        channel:
          type: string
          description: Default channel to use if no other channel is configured.
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        labels_to_be_notified:
          type: string
          description: Labels to send notifications for. Leave blank to receive notifications
            for all events.
          nullable: true
        labels_to_be_notified_behavior:
          type: string
          description: Labels to be notified for. Valid options are `match_any` and
            `match_all`. The default value is `match_any`.
          nullable: true
        push_channel:
          type: string
          description: The name of the channel to receive push_events notifications
          nullable: true
        issue_channel:
          type: string
          description: The name of the channel to receive issues_events notifications
          nullable: true
        incident_channel:
          type: string
          description: The name of the channel to receive incident_events notifications
          nullable: true
        alert_channel:
          type: string
          description: The name of the channel to receive alert_events notifications
          nullable: true
        confidential_issue_channel:
          type: string
          description: The name of the channel to receive confidential_issues_events
            notifications
          nullable: true
        merge_request_channel:
          type: string
          description: The name of the channel to receive merge_requests_events notifications
          nullable: true
        note_channel:
          type: string
          description: The name of the channel to receive note_events notifications
          nullable: true
        confidential_note_channel:
          type: string
          description: The name of the channel to receive confidential_note_events
            notifications
          nullable: true
        tag_push_channel:
          type: string
          description: The name of the channel to receive tag_push_events notifications
          nullable: true
        deployment_channel:
          type: string
          description: The name of the channel to receive deployment_events notifications
          nullable: true
        pipeline_channel:
          type: string
          description: The name of the channel to receive pipeline_events notifications
          nullable: true
        wiki_page_channel:
          type: string
          description: The name of the channel to receive wiki_page_events notifications
          nullable: true
        vulnerability_channel:
          type: string
          description: The name of the channel to receive vulnerability_events notifications
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        deployment_events:
          type: boolean
          description: Trigger event when a deployment starts or finishes.
          nullable: true
        incident_events:
          type: boolean
          description: Trigger event when an incident is created.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        vulnerability_events:
          type: boolean
          nullable: true
        alert_events:
          type: boolean
          description: Trigger event when a new, unique alert is recorded.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4ProjectsIdServicesMicrosoftTeamsRequest:
      type: object
      properties:
        webhook:
          type: string
          description: The Microsoft Teams webhook (for example, `https://outlook.office.com/webhook/...`).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4ProjectsIdServicesMattermostRequest:
      type: object
      properties:
        webhook:
          type: string
          description: Mattermost notifications webhook (for example, `http://mattermost.example.com/hooks/...`).
          nullable: true
        username:
          type: string
          description: Mattermost notifications username.
          nullable: true
        channel:
          type: string
          description: Default channel to use if no other channel is configured.
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        labels_to_be_notified:
          type: string
          description: Labels to send notifications for. Leave blank to receive notifications
            for all events.
          nullable: true
        labels_to_be_notified_behavior:
          type: string
          description: Labels to be notified for. Valid options are `match_any` and
            `match_all`. The default value is `match_any`.
          nullable: true
        push_channel:
          type: string
          description: The name of the channel to receive push_events notifications
          nullable: true
        issue_channel:
          type: string
          description: The name of the channel to receive issues_events notifications
          nullable: true
        incident_channel:
          type: string
          description: The name of the channel to receive incident_events notifications
          nullable: true
        alert_channel:
          type: string
          description: The name of the channel to receive alert_events notifications
          nullable: true
        confidential_issue_channel:
          type: string
          description: The name of the channel to receive confidential_issues_events
            notifications
          nullable: true
        merge_request_channel:
          type: string
          description: The name of the channel to receive merge_requests_events notifications
          nullable: true
        note_channel:
          type: string
          description: The name of the channel to receive note_events notifications
          nullable: true
        confidential_note_channel:
          type: string
          description: The name of the channel to receive confidential_note_events
            notifications
          nullable: true
        tag_push_channel:
          type: string
          description: The name of the channel to receive tag_push_events notifications
          nullable: true
        deployment_channel:
          type: string
          description: The name of the channel to receive deployment_events notifications
          nullable: true
        pipeline_channel:
          type: string
          description: The name of the channel to receive pipeline_events notifications
          nullable: true
        wiki_page_channel:
          type: string
          description: The name of the channel to receive wiki_page_events notifications
          nullable: true
        vulnerability_channel:
          type: string
          description: The name of the channel to receive vulnerability_events notifications
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        deployment_events:
          type: boolean
          description: Trigger event when a deployment starts or finishes.
          nullable: true
        incident_events:
          type: boolean
          description: Trigger event when an incident is created.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        vulnerability_events:
          type: boolean
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4ProjectsIdServicesTeamcityRequest:
      type: object
      properties:
        enable_ssl_verification:
          type: boolean
          description: Enable SSL verification. Defaults to `true` (enabled).
          nullable: true
        teamcity_url:
          type: string
          description: TeamCity root URL (for example, `https://teamcity.example.com`).
          nullable: true
        build_type:
          type: string
          description: The build configuration ID of the TeamCity project.
          nullable: true
        username:
          type: string
          description: A user with permissions to trigger a manual build.
          nullable: true
        password:
          type: string
          description: The password of the user.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - teamcity_url
      - build_type
      - username
      - password
    putApiV4ProjectsIdServicesTelegramRequest:
      type: object
      properties:
        hostname:
          type: string
          description: URL of the Telegram API server, including `http://` or `https://`.
            The default value is `https://api.telegram.org`.
          nullable: true
        token:
          type: string
          description: The Telegram bot token (for example, `123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11`).
          nullable: true
        room:
          type: string
          description: Unique identifier for the target chat or the username of the
            target channel (in the format `@channelusername`).
          nullable: true
        thread:
          type: string
          description: Unique identifier for the target message thread (topic in a
            forum supergroup).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        incident_events:
          type: boolean
          description: Trigger event when an incident is created.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        vulnerability_events:
          type: boolean
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
      - room
    putApiV4ProjectsIdServicesUnifyCircuitRequest:
      type: object
      properties:
        webhook:
          type: string
          description: The Unify Circuit webhook (for example, `https://circuit.com/rest/v2/webhooks/incoming/...`).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4ProjectsIdServicesWebexTeamsRequest:
      type: object
      properties:
        webhook:
          type: string
          description: The Webex Teams webhook. For example, https://api.ciscospark.com/v1/webhooks/incoming/...
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4ProjectsIdServicesZentaoRequest:
      type: object
      properties:
        url:
          type: string
          description: Base URL of the ZenTao instance.
          nullable: true
        api_url:
          type: string
          description: If different from Web URL.
          nullable: true
        api_token:
          type: string
          nullable: true
        zentao_product_xid:
          type: string
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - url
      - api_token
      - zentao_product_xid
    putApiV4ProjectsIdServicesSquashTmRequest:
      type: object
      properties:
        url:
          type: string
          description: URL of the Squash TM webhook.
          nullable: true
        token:
          type: string
          description: Secret token.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - url
    putApiV4ProjectsIdServicesGithubRequest:
      type: object
      properties:
        token:
          type: string
          description: GitHub API token with `repo:status` OAuth scope.
          nullable: true
        repository_url:
          type: string
          description: GitHub repository URL.
          nullable: true
        static_context:
          type: boolean
          description: Append the hostname of your GitLab instance to the status check
            name.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
      - repository_url
    putApiV4ProjectsIdServicesGitGuardianRequest:
      type: object
      properties:
        api_url:
          type: string
          description: GitGuardian API base URL. Defaults to https://api.gitguardian.com.
            Use https://api.eu1.gitguardian.com for the EU region, or the URL of your
            self-hosted GitGuardian instance. Must use HTTPS.
          nullable: true
        token:
          type: string
          description: Personal access token to authenticate calls to the GitGuardian
            API.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
    putApiV4ProjectsIdServicesGoogleCloudPlatformArtifactRegistryRequest:
      type: object
      properties:
        artifact_registry_project_id:
          type: string
          description: ID of the Google Cloud project.
          nullable: true
        artifact_registry_repositories:
          type: string
          description: Repository of Artifact Registry.
          nullable: true
        artifact_registry_location:
          type: string
          description: Location of the Artifact Registry repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - artifact_registry_project_id
      - artifact_registry_repositories
      - artifact_registry_location
    putApiV4ProjectsIdServicesGoogleCloudPlatformWorkloadIdentityFederationRequest:
      type: object
      properties:
        workload_identity_federation_project_id:
          type: string
          description: Google Cloud project ID for the Workload Identity Federation.
          nullable: true
        workload_identity_federation_project_number:
          type: string
          description: Google Cloud project number for the Workload Identity Federation.
          nullable: true
        workload_identity_pool_id:
          type: string
          description: ID of the Workload Identity Pool.
          nullable: true
        workload_identity_pool_provider_id:
          type: string
          description: ID of the Workload Identity Pool provider.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - workload_identity_federation_project_id
      - workload_identity_federation_project_number
      - workload_identity_pool_id
      - workload_identity_pool_provider_id
    putApiV4ProjectsIdServicesMockCiRequest:
      type: object
      properties:
        enable_ssl_verification:
          type: boolean
          description: Enable SSL verification. Defaults to `true` (enabled).
          nullable: true
        mock_service_url:
          type: string
          description: URL of the Mock CI integration.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - mock_service_url
    putApiV4ProjectsIdServicesMockMonitoringRequest:
      type: object
      properties:
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
    postApiV4ProjectsIdServicesMattermostSlashCommandsTriggerRequest:
      type: object
      properties:
        token:
          type: string
          description: The Mattermost token.
          nullable: true
      required:
      - token
    putApiV4ProjectsIdIntegrationsAppleAppStoreRequest:
      type: object
      properties:
        app_store_issuer_id:
          type: string
          description: Apple App Store Connect issuer ID.
          nullable: true
        app_store_key_id:
          type: string
          description: Apple App Store Connect key ID.
          nullable: true
        app_store_private_key_file_name:
          type: string
          description: Apple App Store Connect private key file name.
          nullable: true
        app_store_private_key:
          type: string
          description: Apple App Store Connect private key.
          nullable: true
        app_store_protected_refs:
          type: boolean
          description: Set variables on protected branches and tags only.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - app_store_issuer_id
      - app_store_key_id
      - app_store_private_key_file_name
      - app_store_private_key
    putApiV4ProjectsIdIntegrationsAsanaRequest:
      type: object
      properties:
        api_key:
          type: string
          description: User API token. The user must have access to the task. All
            comments are attributed to this user.
          nullable: true
        restrict_to_branch:
          type: string
          description: Comma-separated list of branches to be automatically inspected.
            Leave blank to include all branches.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - api_key
    putApiV4ProjectsIdIntegrationsAssemblaRequest:
      type: object
      properties:
        token:
          type: string
          description: The authentication token.
          nullable: true
        subdomain:
          type: string
          description: The subdomain setting.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
    putApiV4ProjectsIdIntegrationsBambooRequest:
      type: object
      properties:
        enable_ssl_verification:
          type: boolean
          description: Enable SSL verification. Defaults to `true` (enabled).
          nullable: true
        bamboo_url:
          type: string
          description: Bamboo root URL (for example, `https://bamboo.example.com`).
          nullable: true
        build_key:
          type: string
          description: Bamboo build plan key (for example, `KEY`).
          nullable: true
        username:
          type: string
          description: User with API access to the Bamboo server.
          nullable: true
        password:
          type: string
          description: Password of the user.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - bamboo_url
      - build_key
      - username
      - password
    putApiV4ProjectsIdIntegrationsBugzillaRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        new_issue_url:
          type: string
          description: URL of the new issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
      - new_issue_url
    putApiV4ProjectsIdIntegrationsBuildkiteRequest:
      type: object
      properties:
        project_url:
          type: string
          description: Pipeline URL (for example, `https://buildkite.com/example/pipeline`).
          nullable: true
        token:
          type: string
          description: Token you get after you create a Buildkite pipeline with a
            GitLab repository.
          nullable: true
        enable_ssl_verification:
          type: boolean
          description: 'DEPRECATED: This parameter has no effect because SSL verification
            is always enabled.'
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - token
    putApiV4ProjectsIdIntegrationsCampfireRequest:
      type: object
      properties:
        token:
          type: string
          description: API authentication token from Campfire. To get the token, sign
            in to Campfire and select **My info**.
          nullable: true
        subdomain:
          type: string
          description: "`.campfirenow.com` subdomain when you're signed in."
          nullable: true
        room:
          type: string
          description: ID portion of the Campfire room URL.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
    putApiV4ProjectsIdIntegrationsConfluenceRequest:
      type: object
      properties:
        confluence_url:
          type: string
          description: URL of the Confluence Workspace hosted on `atlassian.net`.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - confluence_url
    putApiV4ProjectsIdIntegrationsCustomIssueTrackerRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        new_issue_url:
          type: string
          description: URL of the new issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
      - new_issue_url
    putApiV4ProjectsIdIntegrationsDatadogRequest:
      type: object
      properties:
        datadog_site:
          type: string
          description: Datadog site to send data to. Learn more about Datadog sites
            in the <a target="_blank" rel="noopener noreferrer" href="https://docs.datadoghq.com/getting_started/site/">documentation</a>.
          nullable: true
        api_url:
          type: string
          description: Full URL of your Datadog site. Only required if you do not
            use a standard Datadog site.
          nullable: true
        api_key:
          type: string
          description: <a target="_blank" rel="noopener noreferrer" href="https://docs.datadoghq.com/account_management/api-app-keys/">API
            key</a> used for authentication with Datadog.
          nullable: true
        datadog_ci_visibility:
          type: boolean
          description: Enable CI Visibility
          nullable: true
        archive_trace_events:
          type: boolean
          description: When enabled, job logs are collected by Datadog and displayed
            along with pipeline execution traces.
          nullable: true
        datadog_service:
          type: string
          description: Tag all pipeline data from this GitLab instance in Datadog.
            Can be used when managing several self-managed deployments.
          nullable: true
        datadog_env:
          type: string
          description: For self-managed deployments, `env` tag for all the data sent
            to Datadog.
          nullable: true
        datadog_tags:
          type: string
          description: Custom tags in Datadog. Specify one tag per line in the format
            `key:value\nkey2:value2`.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        build_events:
          type: boolean
          description: Trigger event when a build is created.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        subgroup_events:
          type: boolean
          nullable: true
        project_events:
          type: boolean
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - api_key
    putApiV4ProjectsIdIntegrationsDiffblueCoverRequest:
      type: object
      properties:
        diffblue_license_key:
          type: string
          description: Diffblue Cover license key.
          nullable: true
        diffblue_access_token_name:
          type: string
          description: Access token name used by Diffblue Cover in pipelines.
          nullable: true
        diffblue_access_token_secret:
          type: string
          description: Access token secret used by Diffblue Cover in pipelines.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - diffblue_license_key
      - diffblue_access_token_name
      - diffblue_access_token_secret
    putApiV4ProjectsIdIntegrationsDiscordRequest:
      type: object
      properties:
        webhook:
          type: string
          description: Discord webhook (for example, `https://discord.com/api/webhooks/…`).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_channel:
          type: string
          description: The name of the channel to receive push_events notifications
          nullable: true
        issue_channel:
          type: string
          description: The name of the channel to receive issues_events notifications
          nullable: true
        incident_channel:
          type: string
          description: The name of the channel to receive incident_events notifications
          nullable: true
        alert_channel:
          type: string
          description: The name of the channel to receive alert_events notifications
          nullable: true
        confidential_issue_channel:
          type: string
          description: The name of the channel to receive confidential_issues_events
            notifications
          nullable: true
        merge_request_channel:
          type: string
          description: The name of the channel to receive merge_requests_events notifications
          nullable: true
        note_channel:
          type: string
          description: The name of the channel to receive note_events notifications
          nullable: true
        confidential_note_channel:
          type: string
          description: The name of the channel to receive confidential_note_events
            notifications
          nullable: true
        tag_push_channel:
          type: string
          description: The name of the channel to receive tag_push_events notifications
          nullable: true
        deployment_channel:
          type: string
          description: The name of the channel to receive deployment_events notifications
          nullable: true
        pipeline_channel:
          type: string
          description: The name of the channel to receive pipeline_events notifications
          nullable: true
        wiki_page_channel:
          type: string
          description: The name of the channel to receive wiki_page_events notifications
          nullable: true
        vulnerability_channel:
          type: string
          description: The name of the channel to receive vulnerability_events notifications
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        deployment_events:
          type: boolean
          description: Trigger event when a deployment starts or finishes.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4ProjectsIdIntegrationsDroneCiRequest:
      type: object
      properties:
        enable_ssl_verification:
          type: boolean
          description: Enable SSL verification. Defaults to `true` (enabled).
          nullable: true
        drone_url:
          type: string
          description: Drone CI URL (for example, `http://drone.example.com`).
          nullable: true
        token:
          type: string
          description: Drone CI token.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - drone_url
      - token
    putApiV4ProjectsIdIntegrationsEmailsOnPushRequest:
      type: object
      properties:
        send_from_committer_email:
          type: boolean
          description: Send from committer
          nullable: true
        disable_diffs:
          type: boolean
          description: Disable code diffs
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        recipients:
          type: string
          description: Emails separated by whitespace.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - recipients
    putApiV4ProjectsIdIntegrationsExternalWikiRequest:
      type: object
      properties:
        external_wiki_url:
          type: string
          description: URL of the external wiki.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - external_wiki_url
    putApiV4ProjectsIdIntegrationsGitlabSlackApplicationRequest:
      type: object
      properties:
        channel:
          type: string
          description: Default channel to use if no other channel is configured.
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        labels_to_be_notified:
          type: string
          description: Labels to send notifications for. Leave blank to receive notifications
            for all events.
          nullable: true
        labels_to_be_notified_behavior:
          type: string
          description: Labels to be notified for. Valid options are `match_any` and
            `match_all`. The default value is `match_any`.
          nullable: true
        push_channel:
          type: string
          description: The name of the channel to receive push_events notifications
          nullable: true
        issue_channel:
          type: string
          description: The name of the channel to receive issues_events notifications
          nullable: true
        incident_channel:
          type: string
          description: The name of the channel to receive incident_events notifications
          nullable: true
        alert_channel:
          type: string
          description: The name of the channel to receive alert_events notifications
          nullable: true
        confidential_issue_channel:
          type: string
          description: The name of the channel to receive confidential_issues_events
            notifications
          nullable: true
        merge_request_channel:
          type: string
          description: The name of the channel to receive merge_requests_events notifications
          nullable: true
        note_channel:
          type: string
          description: The name of the channel to receive note_events notifications
          nullable: true
        confidential_note_channel:
          type: string
          description: The name of the channel to receive confidential_note_events
            notifications
          nullable: true
        tag_push_channel:
          type: string
          description: The name of the channel to receive tag_push_events notifications
          nullable: true
        deployment_channel:
          type: string
          description: The name of the channel to receive deployment_events notifications
          nullable: true
        pipeline_channel:
          type: string
          description: The name of the channel to receive pipeline_events notifications
          nullable: true
        wiki_page_channel:
          type: string
          description: The name of the channel to receive wiki_page_events notifications
          nullable: true
        vulnerability_channel:
          type: string
          description: The name of the channel to receive vulnerability_events notifications
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        deployment_events:
          type: boolean
          description: Trigger event when a deployment starts or finishes.
          nullable: true
        incident_events:
          type: boolean
          description: Trigger event when an incident is created.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        vulnerability_events:
          type: boolean
          nullable: true
        alert_events:
          type: boolean
          description: Trigger event when a new, unique alert is recorded.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
    putApiV4ProjectsIdIntegrationsGooglePlayRequest:
      type: object
      properties:
        package_name:
          type: string
          description: Package name of the app in Google Play.
          nullable: true
        service_account_key_file_name:
          type: string
          description: File name of the Google Play service account key.
          nullable: true
        service_account_key:
          type: string
          description: Google Play service account key.
          nullable: true
        google_play_protected_refs:
          type: boolean
          description: Set variables on protected branches and tags only.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - package_name
      - service_account_key_file_name
      - service_account_key
    putApiV4ProjectsIdIntegrationsHangoutsChatRequest:
      type: object
      properties:
        webhook:
          type: string
          description: The Hangouts Chat webhook (for example, `https://chat.googleapis.com/v1/spaces...`).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4ProjectsIdIntegrationsHarborRequest:
      type: object
      properties:
        url:
          type: string
          description: The base URL to the Harbor instance linked to the GitLab project.
            For example, `https://demo.goharbor.io`.
          nullable: true
        project_name:
          type: string
          description: The name of the project in the Harbor instance. For example,
            `testproject`.
          nullable: true
        username:
          type: string
          description: The username created in the Harbor interface.
          nullable: true
        password:
          type: string
          description: The password of the user.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - url
      - project_name
      - username
      - password
    putApiV4ProjectsIdIntegrationsIrkerRequest:
      type: object
      properties:
        server_host:
          type: string
          description: irker daemon hostname. The default value is `localhost`.
          nullable: true
        server_port:
          type: integer
          description: irker daemon port. The default value is `6659`.
          nullable: true
        default_irc_uri:
          type: string
          description: URI to add before each recipient. The default value is `irc://irc.network.net:6697/`.
          nullable: true
        recipients:
          type: string
          description: Comma-separated list of channels or email addresses.
          nullable: true
        colorize_messages:
          type: boolean
          description: Colorize messages
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - recipients
    putApiV4ProjectsIdIntegrationsJenkinsRequest:
      type: object
      properties:
        enable_ssl_verification:
          type: boolean
          description: Enable SSL verification. Defaults to `true` (enabled).
          nullable: true
        jenkins_url:
          type: string
          description: URL of the Jenkins server.
          nullable: true
        project_name:
          type: string
          description: Name of the Jenkins project.
          nullable: true
        username:
          type: string
          description: Username of the Jenkins server.
          nullable: true
        password:
          type: string
          description: Password of the Jenkins server.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - jenkins_url
      - project_name
    putApiV4ProjectsIdIntegrationsJiraRequest:
      type: object
      properties:
        url:
          type: string
          description: The URL to the Jira project which is being linked to this GitLab
            project (for example, `https://jira.example.com`).
          nullable: true
        api_url:
          type: string
          description: The base URL to the Jira instance API. Web URL value is used
            if not set (for example, `https://jira-api.example.com`).
          nullable: true
        jira_auth_type:
          type: integer
          description: The authentication method to use with Jira. Use `0` for basic
            authentication, `1` for Jira personal access token, and `2` for Jira Cloud
            service accounts. Defaults to `0`.
          nullable: true
        username:
          type: string
          description: The email or username to use with Jira. Use an email for Jira
            Cloud, and a username for Jira Data Center and Jira Server. Required when
            using basic authentication (`jira_auth_type` is `0`).
          nullable: true
        password:
          type: string
          description: The Jira API token, password, or personal access token to use
            with Jira. When using Basic Authentication (`jira_auth_type` is `0`),
            use an API token for Jira Cloud, and a password for Jira Data Center or
            Jira Server. For a Jira personal access token (`jira_auth_type` is `1`),
            use the personal access token.
          nullable: true
        jira_issue_regex:
          type: string
          description: Regular expression to match Jira issue keys.
          nullable: true
        jira_issue_prefix:
          type: string
          description: Prefix to match Jira issue keys.
          nullable: true
        jira_issue_transition_id:
          type: string
          description: The ID of one or more transitions for [custom issue transitions](../integration/jira/issues.md#custom-issue-transitions).Ignored
            when `jira_issue_transition_automatic` is enabled. Defaults to a blank
            string,which disables custom transitions.
          nullable: true
        issues_enabled:
          type: string
          description: Enable viewing Jira issues in GitLab.
          nullable: true
        project_keys:
          type: array
          items:
            type: string
          description: Keys of Jira projects to display. When `issues_enabled` is
            `true`, this setting filters which Jira projects are shown in GitLab.
            It does not restrict the API token's access.
          nullable: true
        vulnerabilities_enabled:
          type: boolean
          description: Turn on Jira issue creation for GitLab vulnerabilities.
          nullable: true
        vulnerabilities_issuetype:
          type: string
          description: Jira issue type to use when creating issues from vulnerabilities.
          nullable: true
        project_key:
          type: string
          description: Key of the project to use when creating issues from vulnerabilities.This
            parameter is required if using the integration to create Jira issues from
            vulnerabilities.
          nullable: true
        customize_jira_issue_enabled:
          type: boolean
          description: When set to `true`, opens a prefilled form on the Jira instancewhen
            creating a Jira issue from a vulnerability.
          nullable: true
        jira_check_enabled:
          type: boolean
          description: Verify Jira issues referenced in commit messages exist before
            allowing the push.
          nullable: true
        jira_exists_check_enabled:
          type: boolean
          description: Verify the Jira issues referenced in commit messages exist
            in Jira.
          nullable: true
        jira_assignee_check_enabled:
          type: boolean
          description: Verify the committer is the assignee of the Jira issues referenced
            in commit messages.
          nullable: true
        jira_status_check_enabled:
          type: boolean
          description: Verify the status of Jira issues referenced in commit messages.
          nullable: true
        jira_allowed_statuses_as_string:
          type: string
          description: Comma-separated list of allowed Jira issue statuses.
          nullable: true
        comment_on_event_enabled:
          type: boolean
          description: Enable comments inside Jira issues on each GitLab event (commit
            / merge request)
          nullable: true
        commit_events:
          type: boolean
          description: Trigger event when a commit is created or updated.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - url
      - password
    putApiV4ProjectsIdIntegrationsJiraCloudAppRequest:
      type: object
      properties:
        jira_cloud_app_service_ids:
          type: string
          description: Copy and paste your JSM Service ID here. Use comma (,) to separate
            multiple IDs.
          nullable: true
        jira_cloud_app_enable_deployment_gating:
          type: boolean
          description: Enable to approve or reject blocked GitLab deployments from
            Jira Service Management.
          nullable: true
        jira_cloud_app_deployment_gating_environments:
          type: string
          description: Enter the environment (production,staging,testing,development)
            where you want to enable deployment gating. Use comma (,) to separate
            multiple environments.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
    putApiV4ProjectsIdIntegrationsLinearRequest:
      type: object
      properties:
        workspace_url:
          type: string
          description: Linear workspace URL (for example, https://linear.app/example)
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - workspace_url
    putApiV4ProjectsIdIntegrationsMatrixRequest:
      type: object
      properties:
        hostname:
          type: string
          description: URL of the Matrix server, including `http://` or `https://`.
            The default value is `https://matrix-client.matrix.org`.
          nullable: true
        token:
          type: string
          description: The Matrix access token (for example, `syt-zyx57W2v1u123ew11`).
          nullable: true
        room:
          type: string
          description: Unique identifier for the target room (in the format `!qPKKM111FFKKsfoCVy:matrix.org`).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        incident_events:
          type: boolean
          description: Trigger event when an incident is created.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        vulnerability_events:
          type: boolean
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
      - room
    putApiV4ProjectsIdIntegrationsMattermostSlashCommandsRequest:
      type: object
      properties:
        token:
          type: string
          description: The Mattermost token.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
    putApiV4ProjectsIdIntegrationsPackagistRequest:
      type: object
      properties:
        username:
          type: string
          description: Username of a Packagist account.
          nullable: true
        token:
          type: string
          description: API token of the Packagist server.
          nullable: true
        server:
          type: string
          description: URL of the Packagist server. The default value is `https://packagist.org`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - username
      - token
    putApiV4ProjectsIdIntegrationsPhorgeRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
    putApiV4ProjectsIdIntegrationsPipelinesEmailRequest:
      type: object
      properties:
        recipients:
          type: string
          description: Comma-separated list of recipient email addresses.
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        notify_only_default_branch:
          type: boolean
          description: Send notifications for the default branch.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        notify_child_pipelines:
          type: boolean
          description: Send notifications for child pipelines.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - recipients
    putApiV4ProjectsIdIntegrationsPivotaltrackerRequest:
      type: object
      properties:
        token:
          type: string
          description: The Pivotal Tracker token.
          nullable: true
        restrict_to_branch:
          type: string
          description: Comma-separated list of branches to automatically inspect.
            Leave blank to include all branches.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
    putApiV4ProjectsIdIntegrationsPumbleRequest:
      type: object
      properties:
        webhook:
          type: string
          description: The Pumble webhook (for example, `https://api.pumble.com/workspaces/x/...`).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4ProjectsIdIntegrationsPushoverRequest:
      type: object
      properties:
        api_key:
          type: string
          description: The application key.
          nullable: true
        user_key:
          type: string
          description: The user key.
          nullable: true
        device:
          type: string
          description: Leave blank for all active devices.
          nullable: true
        priority:
          type: string
          description: The priority.
          nullable: true
        sound:
          type: string
          description: The sound of the notification.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - api_key
      - user_key
      - priority
    putApiV4ProjectsIdIntegrationsRedmineRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        new_issue_url:
          type: string
          description: URL of the new issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
      - new_issue_url
    putApiV4ProjectsIdIntegrationsEwmRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        new_issue_url:
          type: string
          description: URL of the new issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
      - new_issue_url
    putApiV4ProjectsIdIntegrationsYoutrackRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
    putApiV4ProjectsIdIntegrationsClickupRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
    putApiV4ProjectsIdIntegrationsSlackRequest:
      type: object
      properties:
        webhook:
          type: string
          description: Slack notifications webhook (for example, `https://hooks.slack.com/services/...`).
          nullable: true
        username:
          type: string
          description: Slack notifications username.
          nullable: true
        channel:
          type: string
          description: Default channel to use if no other channel is configured.
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        labels_to_be_notified:
          type: string
          description: Labels to send notifications for. Leave blank to receive notifications
            for all events.
          nullable: true
        labels_to_be_notified_behavior:
          type: string
          description: Labels to be notified for. Valid options are `match_any` and
            `match_all`. The default value is `match_any`.
          nullable: true
        push_channel:
          type: string
          description: The name of the channel to receive push_events notifications
          nullable: true
        issue_channel:
          type: string
          description: The name of the channel to receive issues_events notifications
          nullable: true
        incident_channel:
          type: string
          description: The name of the channel to receive incident_events notifications
          nullable: true
        alert_channel:
          type: string
          description: The name of the channel to receive alert_events notifications
          nullable: true
        confidential_issue_channel:
          type: string
          description: The name of the channel to receive confidential_issues_events
            notifications
          nullable: true
        merge_request_channel:
          type: string
          description: The name of the channel to receive merge_requests_events notifications
          nullable: true
        note_channel:
          type: string
          description: The name of the channel to receive note_events notifications
          nullable: true
        confidential_note_channel:
          type: string
          description: The name of the channel to receive confidential_note_events
            notifications
          nullable: true
        tag_push_channel:
          type: string
          description: The name of the channel to receive tag_push_events notifications
          nullable: true
        deployment_channel:
          type: string
          description: The name of the channel to receive deployment_events notifications
          nullable: true
        pipeline_channel:
          type: string
          description: The name of the channel to receive pipeline_events notifications
          nullable: true
        wiki_page_channel:
          type: string
          description: The name of the channel to receive wiki_page_events notifications
          nullable: true
        vulnerability_channel:
          type: string
          description: The name of the channel to receive vulnerability_events notifications
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        deployment_events:
          type: boolean
          description: Trigger event when a deployment starts or finishes.
          nullable: true
        incident_events:
          type: boolean
          description: Trigger event when an incident is created.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        vulnerability_events:
          type: boolean
          nullable: true
        alert_events:
          type: boolean
          description: Trigger event when a new, unique alert is recorded.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4ProjectsIdIntegrationsMicrosoftTeamsRequest:
      type: object
      properties:
        webhook:
          type: string
          description: The Microsoft Teams webhook (for example, `https://outlook.office.com/webhook/...`).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4ProjectsIdIntegrationsMattermostRequest:
      type: object
      properties:
        webhook:
          type: string
          description: Mattermost notifications webhook (for example, `http://mattermost.example.com/hooks/...`).
          nullable: true
        username:
          type: string
          description: Mattermost notifications username.
          nullable: true
        channel:
          type: string
          description: Default channel to use if no other channel is configured.
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        labels_to_be_notified:
          type: string
          description: Labels to send notifications for. Leave blank to receive notifications
            for all events.
          nullable: true
        labels_to_be_notified_behavior:
          type: string
          description: Labels to be notified for. Valid options are `match_any` and
            `match_all`. The default value is `match_any`.
          nullable: true
        push_channel:
          type: string
          description: The name of the channel to receive push_events notifications
          nullable: true
        issue_channel:
          type: string
          description: The name of the channel to receive issues_events notifications
          nullable: true
        incident_channel:
          type: string
          description: The name of the channel to receive incident_events notifications
          nullable: true
        alert_channel:
          type: string
          description: The name of the channel to receive alert_events notifications
          nullable: true
        confidential_issue_channel:
          type: string
          description: The name of the channel to receive confidential_issues_events
            notifications
          nullable: true
        merge_request_channel:
          type: string
          description: The name of the channel to receive merge_requests_events notifications
          nullable: true
        note_channel:
          type: string
          description: The name of the channel to receive note_events notifications
          nullable: true
        confidential_note_channel:
          type: string
          description: The name of the channel to receive confidential_note_events
            notifications
          nullable: true
        tag_push_channel:
          type: string
          description: The name of the channel to receive tag_push_events notifications
          nullable: true
        deployment_channel:
          type: string
          description: The name of the channel to receive deployment_events notifications
          nullable: true
        pipeline_channel:
          type: string
          description: The name of the channel to receive pipeline_events notifications
          nullable: true
        wiki_page_channel:
          type: string
          description: The name of the channel to receive wiki_page_events notifications
          nullable: true
        vulnerability_channel:
          type: string
          description: The name of the channel to receive vulnerability_events notifications
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        deployment_events:
          type: boolean
          description: Trigger event when a deployment starts or finishes.
          nullable: true
        incident_events:
          type: boolean
          description: Trigger event when an incident is created.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        vulnerability_events:
          type: boolean
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4ProjectsIdIntegrationsTeamcityRequest:
      type: object
      properties:
        enable_ssl_verification:
          type: boolean
          description: Enable SSL verification. Defaults to `true` (enabled).
          nullable: true
        teamcity_url:
          type: string
          description: TeamCity root URL (for example, `https://teamcity.example.com`).
          nullable: true
        build_type:
          type: string
          description: The build configuration ID of the TeamCity project.
          nullable: true
        username:
          type: string
          description: A user with permissions to trigger a manual build.
          nullable: true
        password:
          type: string
          description: The password of the user.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - teamcity_url
      - build_type
      - username
      - password
    putApiV4ProjectsIdIntegrationsTelegramRequest:
      type: object
      properties:
        hostname:
          type: string
          description: URL of the Telegram API server, including `http://` or `https://`.
            The default value is `https://api.telegram.org`.
          nullable: true
        token:
          type: string
          description: The Telegram bot token (for example, `123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11`).
          nullable: true
        room:
          type: string
          description: Unique identifier for the target chat or the username of the
            target channel (in the format `@channelusername`).
          nullable: true
        thread:
          type: string
          description: Unique identifier for the target message thread (topic in a
            forum supergroup).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        incident_events:
          type: boolean
          description: Trigger event when an incident is created.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        vulnerability_events:
          type: boolean
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
      - room
    putApiV4ProjectsIdIntegrationsUnifyCircuitRequest:
      type: object
      properties:
        webhook:
          type: string
          description: The Unify Circuit webhook (for example, `https://circuit.com/rest/v2/webhooks/incoming/...`).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4ProjectsIdIntegrationsWebexTeamsRequest:
      type: object
      properties:
        webhook:
          type: string
          description: The Webex Teams webhook. For example, https://api.ciscospark.com/v1/webhooks/incoming/...
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4ProjectsIdIntegrationsZentaoRequest:
      type: object
      properties:
        url:
          type: string
          description: Base URL of the ZenTao instance.
          nullable: true
        api_url:
          type: string
          description: If different from Web URL.
          nullable: true
        api_token:
          type: string
          nullable: true
        zentao_product_xid:
          type: string
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - url
      - api_token
      - zentao_product_xid
    putApiV4ProjectsIdIntegrationsSquashTmRequest:
      type: object
      properties:
        url:
          type: string
          description: URL of the Squash TM webhook.
          nullable: true
        token:
          type: string
          description: Secret token.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - url
    putApiV4ProjectsIdIntegrationsGithubRequest:
      type: object
      properties:
        token:
          type: string
          description: GitHub API token with `repo:status` OAuth scope.
          nullable: true
        repository_url:
          type: string
          description: GitHub repository URL.
          nullable: true
        static_context:
          type: boolean
          description: Append the hostname of your GitLab instance to the status check
            name.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
      - repository_url
    putApiV4ProjectsIdIntegrationsGitGuardianRequest:
      type: object
      properties:
        api_url:
          type: string
          description: GitGuardian API base URL. Defaults to https://api.gitguardian.com.
            Use https://api.eu1.gitguardian.com for the EU region, or the URL of your
            self-hosted GitGuardian instance. Must use HTTPS.
          nullable: true
        token:
          type: string
          description: Personal access token to authenticate calls to the GitGuardian
            API.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
    putApiV4ProjectsIdIntegrationsGoogleCloudPlatformArtifactRegistryRequest:
      type: object
      properties:
        artifact_registry_project_id:
          type: string
          description: ID of the Google Cloud project.
          nullable: true
        artifact_registry_repositories:
          type: string
          description: Repository of Artifact Registry.
          nullable: true
        artifact_registry_location:
          type: string
          description: Location of the Artifact Registry repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - artifact_registry_project_id
      - artifact_registry_repositories
      - artifact_registry_location
    putApiV4ProjectsIdIntegrationsGoogleCloudPlatformWorkloadIdentityFederationRequest:
      type: object
      properties:
        workload_identity_federation_project_id:
          type: string
          description: Google Cloud project ID for the Workload Identity Federation.
          nullable: true
        workload_identity_federation_project_number:
          type: string
          description: Google Cloud project number for the Workload Identity Federation.
          nullable: true
        workload_identity_pool_id:
          type: string
          description: ID of the Workload Identity Pool.
          nullable: true
        workload_identity_pool_provider_id:
          type: string
          description: ID of the Workload Identity Pool provider.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - workload_identity_federation_project_id
      - workload_identity_federation_project_number
      - workload_identity_pool_id
      - workload_identity_pool_provider_id
    putApiV4ProjectsIdIntegrationsMockCiRequest:
      type: object
      properties:
        enable_ssl_verification:
          type: boolean
          description: Enable SSL verification. Defaults to `true` (enabled).
          nullable: true
        mock_service_url:
          type: string
          description: URL of the Mock CI integration.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - mock_service_url
    putApiV4ProjectsIdIntegrationsMockMonitoringRequest:
      type: object
      properties:
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
    postApiV4ProjectsIdIntegrationsMattermostSlashCommandsTriggerRequest:
      type: object
      properties:
        token:
          type: string
          description: The Mattermost token.
          nullable: true
      required:
      - token
    putApiV4GroupsIdIntegrationsAppleAppStoreRequest:
      type: object
      properties:
        app_store_issuer_id:
          type: string
          description: Apple App Store Connect issuer ID.
          nullable: true
        app_store_key_id:
          type: string
          description: Apple App Store Connect key ID.
          nullable: true
        app_store_private_key_file_name:
          type: string
          description: Apple App Store Connect private key file name.
          nullable: true
        app_store_private_key:
          type: string
          description: Apple App Store Connect private key.
          nullable: true
        app_store_protected_refs:
          type: boolean
          description: Set variables on protected branches and tags only.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - app_store_issuer_id
      - app_store_key_id
      - app_store_private_key_file_name
      - app_store_private_key
    putApiV4GroupsIdIntegrationsAsanaRequest:
      type: object
      properties:
        api_key:
          type: string
          description: User API token. The user must have access to the task. All
            comments are attributed to this user.
          nullable: true
        restrict_to_branch:
          type: string
          description: Comma-separated list of branches to be automatically inspected.
            Leave blank to include all branches.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - api_key
    putApiV4GroupsIdIntegrationsAssemblaRequest:
      type: object
      properties:
        token:
          type: string
          description: The authentication token.
          nullable: true
        subdomain:
          type: string
          description: The subdomain setting.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
    putApiV4GroupsIdIntegrationsBambooRequest:
      type: object
      properties:
        enable_ssl_verification:
          type: boolean
          description: Enable SSL verification. Defaults to `true` (enabled).
          nullable: true
        bamboo_url:
          type: string
          description: Bamboo root URL (for example, `https://bamboo.example.com`).
          nullable: true
        build_key:
          type: string
          description: Bamboo build plan key (for example, `KEY`).
          nullable: true
        username:
          type: string
          description: User with API access to the Bamboo server.
          nullable: true
        password:
          type: string
          description: Password of the user.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - bamboo_url
      - build_key
      - username
      - password
    putApiV4GroupsIdIntegrationsBugzillaRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        new_issue_url:
          type: string
          description: URL of the new issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
      - new_issue_url
    putApiV4GroupsIdIntegrationsBuildkiteRequest:
      type: object
      properties:
        project_url:
          type: string
          description: Pipeline URL (for example, `https://buildkite.com/example/pipeline`).
          nullable: true
        token:
          type: string
          description: Token you get after you create a Buildkite pipeline with a
            GitLab repository.
          nullable: true
        enable_ssl_verification:
          type: boolean
          description: 'DEPRECATED: This parameter has no effect because SSL verification
            is always enabled.'
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - token
    putApiV4GroupsIdIntegrationsCampfireRequest:
      type: object
      properties:
        token:
          type: string
          description: API authentication token from Campfire. To get the token, sign
            in to Campfire and select **My info**.
          nullable: true
        subdomain:
          type: string
          description: "`.campfirenow.com` subdomain when you're signed in."
          nullable: true
        room:
          type: string
          description: ID portion of the Campfire room URL.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
    putApiV4GroupsIdIntegrationsConfluenceRequest:
      type: object
      properties:
        confluence_url:
          type: string
          description: URL of the Confluence Workspace hosted on `atlassian.net`.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - confluence_url
    putApiV4GroupsIdIntegrationsCustomIssueTrackerRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        new_issue_url:
          type: string
          description: URL of the new issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
      - new_issue_url
    putApiV4GroupsIdIntegrationsDatadogRequest:
      type: object
      properties:
        datadog_site:
          type: string
          description: Datadog site to send data to. Learn more about Datadog sites
            in the <a target="_blank" rel="noopener noreferrer" href="https://docs.datadoghq.com/getting_started/site/">documentation</a>.
          nullable: true
        api_url:
          type: string
          description: Full URL of your Datadog site. Only required if you do not
            use a standard Datadog site.
          nullable: true
        api_key:
          type: string
          description: <a target="_blank" rel="noopener noreferrer" href="https://docs.datadoghq.com/account_management/api-app-keys/">API
            key</a> used for authentication with Datadog.
          nullable: true
        datadog_ci_visibility:
          type: boolean
          description: Enable CI Visibility
          nullable: true
        archive_trace_events:
          type: boolean
          description: When enabled, job logs are collected by Datadog and displayed
            along with pipeline execution traces.
          nullable: true
        datadog_service:
          type: string
          description: Tag all pipeline data from this GitLab instance in Datadog.
            Can be used when managing several self-managed deployments.
          nullable: true
        datadog_env:
          type: string
          description: For self-managed deployments, `env` tag for all the data sent
            to Datadog.
          nullable: true
        datadog_tags:
          type: string
          description: Custom tags in Datadog. Specify one tag per line in the format
            `key:value\nkey2:value2`.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        build_events:
          type: boolean
          description: Trigger event when a build is created.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        subgroup_events:
          type: boolean
          nullable: true
        project_events:
          type: boolean
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - api_key
    putApiV4GroupsIdIntegrationsDiffblueCoverRequest:
      type: object
      properties:
        diffblue_license_key:
          type: string
          description: Diffblue Cover license key.
          nullable: true
        diffblue_access_token_name:
          type: string
          description: Access token name used by Diffblue Cover in pipelines.
          nullable: true
        diffblue_access_token_secret:
          type: string
          description: Access token secret used by Diffblue Cover in pipelines.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - diffblue_license_key
      - diffblue_access_token_name
      - diffblue_access_token_secret
    putApiV4GroupsIdIntegrationsDiscordRequest:
      type: object
      properties:
        webhook:
          type: string
          description: Discord webhook (for example, `https://discord.com/api/webhooks/…`).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_channel:
          type: string
          description: The name of the channel to receive push_events notifications
          nullable: true
        issue_channel:
          type: string
          description: The name of the channel to receive issues_events notifications
          nullable: true
        incident_channel:
          type: string
          description: The name of the channel to receive incident_events notifications
          nullable: true
        alert_channel:
          type: string
          description: The name of the channel to receive alert_events notifications
          nullable: true
        confidential_issue_channel:
          type: string
          description: The name of the channel to receive confidential_issues_events
            notifications
          nullable: true
        merge_request_channel:
          type: string
          description: The name of the channel to receive merge_requests_events notifications
          nullable: true
        note_channel:
          type: string
          description: The name of the channel to receive note_events notifications
          nullable: true
        confidential_note_channel:
          type: string
          description: The name of the channel to receive confidential_note_events
            notifications
          nullable: true
        tag_push_channel:
          type: string
          description: The name of the channel to receive tag_push_events notifications
          nullable: true
        deployment_channel:
          type: string
          description: The name of the channel to receive deployment_events notifications
          nullable: true
        pipeline_channel:
          type: string
          description: The name of the channel to receive pipeline_events notifications
          nullable: true
        wiki_page_channel:
          type: string
          description: The name of the channel to receive wiki_page_events notifications
          nullable: true
        vulnerability_channel:
          type: string
          description: The name of the channel to receive vulnerability_events notifications
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        deployment_events:
          type: boolean
          description: Trigger event when a deployment starts or finishes.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4GroupsIdIntegrationsDroneCiRequest:
      type: object
      properties:
        enable_ssl_verification:
          type: boolean
          description: Enable SSL verification. Defaults to `true` (enabled).
          nullable: true
        drone_url:
          type: string
          description: Drone CI URL (for example, `http://drone.example.com`).
          nullable: true
        token:
          type: string
          description: Drone CI token.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - drone_url
      - token
    putApiV4GroupsIdIntegrationsEmailsOnPushRequest:
      type: object
      properties:
        send_from_committer_email:
          type: boolean
          description: Send from committer
          nullable: true
        disable_diffs:
          type: boolean
          description: Disable code diffs
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        recipients:
          type: string
          description: Emails separated by whitespace.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - recipients
    putApiV4GroupsIdIntegrationsExternalWikiRequest:
      type: object
      properties:
        external_wiki_url:
          type: string
          description: URL of the external wiki.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - external_wiki_url
    putApiV4GroupsIdIntegrationsGitlabSlackApplicationRequest:
      type: object
      properties:
        channel:
          type: string
          description: Default channel to use if no other channel is configured.
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        labels_to_be_notified:
          type: string
          description: Labels to send notifications for. Leave blank to receive notifications
            for all events.
          nullable: true
        labels_to_be_notified_behavior:
          type: string
          description: Labels to be notified for. Valid options are `match_any` and
            `match_all`. The default value is `match_any`.
          nullable: true
        push_channel:
          type: string
          description: The name of the channel to receive push_events notifications
          nullable: true
        issue_channel:
          type: string
          description: The name of the channel to receive issues_events notifications
          nullable: true
        incident_channel:
          type: string
          description: The name of the channel to receive incident_events notifications
          nullable: true
        alert_channel:
          type: string
          description: The name of the channel to receive alert_events notifications
          nullable: true
        confidential_issue_channel:
          type: string
          description: The name of the channel to receive confidential_issues_events
            notifications
          nullable: true
        merge_request_channel:
          type: string
          description: The name of the channel to receive merge_requests_events notifications
          nullable: true
        note_channel:
          type: string
          description: The name of the channel to receive note_events notifications
          nullable: true
        confidential_note_channel:
          type: string
          description: The name of the channel to receive confidential_note_events
            notifications
          nullable: true
        tag_push_channel:
          type: string
          description: The name of the channel to receive tag_push_events notifications
          nullable: true
        deployment_channel:
          type: string
          description: The name of the channel to receive deployment_events notifications
          nullable: true
        pipeline_channel:
          type: string
          description: The name of the channel to receive pipeline_events notifications
          nullable: true
        wiki_page_channel:
          type: string
          description: The name of the channel to receive wiki_page_events notifications
          nullable: true
        vulnerability_channel:
          type: string
          description: The name of the channel to receive vulnerability_events notifications
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        deployment_events:
          type: boolean
          description: Trigger event when a deployment starts or finishes.
          nullable: true
        incident_events:
          type: boolean
          description: Trigger event when an incident is created.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        vulnerability_events:
          type: boolean
          nullable: true
        alert_events:
          type: boolean
          description: Trigger event when a new, unique alert is recorded.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
    putApiV4GroupsIdIntegrationsGooglePlayRequest:
      type: object
      properties:
        package_name:
          type: string
          description: Package name of the app in Google Play.
          nullable: true
        service_account_key_file_name:
          type: string
          description: File name of the Google Play service account key.
          nullable: true
        service_account_key:
          type: string
          description: Google Play service account key.
          nullable: true
        google_play_protected_refs:
          type: boolean
          description: Set variables on protected branches and tags only.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - package_name
      - service_account_key_file_name
      - service_account_key
    putApiV4GroupsIdIntegrationsHangoutsChatRequest:
      type: object
      properties:
        webhook:
          type: string
          description: The Hangouts Chat webhook (for example, `https://chat.googleapis.com/v1/spaces...`).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4GroupsIdIntegrationsHarborRequest:
      type: object
      properties:
        url:
          type: string
          description: The base URL to the Harbor instance linked to the GitLab project.
            For example, `https://demo.goharbor.io`.
          nullable: true
        project_name:
          type: string
          description: The name of the project in the Harbor instance. For example,
            `testproject`.
          nullable: true
        username:
          type: string
          description: The username created in the Harbor interface.
          nullable: true
        password:
          type: string
          description: The password of the user.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - url
      - project_name
      - username
      - password
    putApiV4GroupsIdIntegrationsIrkerRequest:
      type: object
      properties:
        server_host:
          type: string
          description: irker daemon hostname. The default value is `localhost`.
          nullable: true
        server_port:
          type: integer
          description: irker daemon port. The default value is `6659`.
          nullable: true
        default_irc_uri:
          type: string
          description: URI to add before each recipient. The default value is `irc://irc.network.net:6697/`.
          nullable: true
        recipients:
          type: string
          description: Comma-separated list of channels or email addresses.
          nullable: true
        colorize_messages:
          type: boolean
          description: Colorize messages
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - recipients
    putApiV4GroupsIdIntegrationsJenkinsRequest:
      type: object
      properties:
        enable_ssl_verification:
          type: boolean
          description: Enable SSL verification. Defaults to `true` (enabled).
          nullable: true
        jenkins_url:
          type: string
          description: URL of the Jenkins server.
          nullable: true
        project_name:
          type: string
          description: Name of the Jenkins project.
          nullable: true
        username:
          type: string
          description: Username of the Jenkins server.
          nullable: true
        password:
          type: string
          description: Password of the Jenkins server.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - jenkins_url
      - project_name
    putApiV4GroupsIdIntegrationsJiraRequest:
      type: object
      properties:
        url:
          type: string
          description: The URL to the Jira project which is being linked to this GitLab
            project (for example, `https://jira.example.com`).
          nullable: true
        api_url:
          type: string
          description: The base URL to the Jira instance API. Web URL value is used
            if not set (for example, `https://jira-api.example.com`).
          nullable: true
        jira_auth_type:
          type: integer
          description: The authentication method to use with Jira. Use `0` for basic
            authentication, `1` for Jira personal access token, and `2` for Jira Cloud
            service accounts. Defaults to `0`.
          nullable: true
        username:
          type: string
          description: The email or username to use with Jira. Use an email for Jira
            Cloud, and a username for Jira Data Center and Jira Server. Required when
            using basic authentication (`jira_auth_type` is `0`).
          nullable: true
        password:
          type: string
          description: The Jira API token, password, or personal access token to use
            with Jira. When using Basic Authentication (`jira_auth_type` is `0`),
            use an API token for Jira Cloud, and a password for Jira Data Center or
            Jira Server. For a Jira personal access token (`jira_auth_type` is `1`),
            use the personal access token.
          nullable: true
        jira_issue_regex:
          type: string
          description: Regular expression to match Jira issue keys.
          nullable: true
        jira_issue_prefix:
          type: string
          description: Prefix to match Jira issue keys.
          nullable: true
        jira_issue_transition_id:
          type: string
          description: The ID of one or more transitions for [custom issue transitions](../integration/jira/issues.md#custom-issue-transitions).Ignored
            when `jira_issue_transition_automatic` is enabled. Defaults to a blank
            string,which disables custom transitions.
          nullable: true
        issues_enabled:
          type: string
          description: Enable viewing Jira issues in GitLab.
          nullable: true
        project_keys:
          type: array
          items:
            type: string
          description: Keys of Jira projects to display. When `issues_enabled` is
            `true`, this setting filters which Jira projects are shown in GitLab.
            It does not restrict the API token's access.
          nullable: true
        vulnerabilities_enabled:
          type: boolean
          description: Turn on Jira issue creation for GitLab vulnerabilities.
          nullable: true
        vulnerabilities_issuetype:
          type: string
          description: Jira issue type to use when creating issues from vulnerabilities.
          nullable: true
        project_key:
          type: string
          description: Key of the project to use when creating issues from vulnerabilities.This
            parameter is required if using the integration to create Jira issues from
            vulnerabilities.
          nullable: true
        customize_jira_issue_enabled:
          type: boolean
          description: When set to `true`, opens a prefilled form on the Jira instancewhen
            creating a Jira issue from a vulnerability.
          nullable: true
        jira_check_enabled:
          type: boolean
          description: Verify Jira issues referenced in commit messages exist before
            allowing the push.
          nullable: true
        jira_exists_check_enabled:
          type: boolean
          description: Verify the Jira issues referenced in commit messages exist
            in Jira.
          nullable: true
        jira_assignee_check_enabled:
          type: boolean
          description: Verify the committer is the assignee of the Jira issues referenced
            in commit messages.
          nullable: true
        jira_status_check_enabled:
          type: boolean
          description: Verify the status of Jira issues referenced in commit messages.
          nullable: true
        jira_allowed_statuses_as_string:
          type: string
          description: Comma-separated list of allowed Jira issue statuses.
          nullable: true
        comment_on_event_enabled:
          type: boolean
          description: Enable comments inside Jira issues on each GitLab event (commit
            / merge request)
          nullable: true
        commit_events:
          type: boolean
          description: Trigger event when a commit is created or updated.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - url
      - password
    putApiV4GroupsIdIntegrationsJiraCloudAppRequest:
      type: object
      properties:
        jira_cloud_app_service_ids:
          type: string
          description: Copy and paste your JSM Service ID here. Use comma (,) to separate
            multiple IDs.
          nullable: true
        jira_cloud_app_enable_deployment_gating:
          type: boolean
          description: Enable to approve or reject blocked GitLab deployments from
            Jira Service Management.
          nullable: true
        jira_cloud_app_deployment_gating_environments:
          type: string
          description: Enter the environment (production,staging,testing,development)
            where you want to enable deployment gating. Use comma (,) to separate
            multiple environments.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
    putApiV4GroupsIdIntegrationsLinearRequest:
      type: object
      properties:
        workspace_url:
          type: string
          description: Linear workspace URL (for example, https://linear.app/example)
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - workspace_url
    putApiV4GroupsIdIntegrationsMatrixRequest:
      type: object
      properties:
        hostname:
          type: string
          description: URL of the Matrix server, including `http://` or `https://`.
            The default value is `https://matrix-client.matrix.org`.
          nullable: true
        token:
          type: string
          description: The Matrix access token (for example, `syt-zyx57W2v1u123ew11`).
          nullable: true
        room:
          type: string
          description: Unique identifier for the target room (in the format `!qPKKM111FFKKsfoCVy:matrix.org`).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        incident_events:
          type: boolean
          description: Trigger event when an incident is created.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        vulnerability_events:
          type: boolean
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
      - room
    putApiV4GroupsIdIntegrationsMattermostSlashCommandsRequest:
      type: object
      properties:
        token:
          type: string
          description: The Mattermost token.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
    putApiV4GroupsIdIntegrationsPackagistRequest:
      type: object
      properties:
        username:
          type: string
          description: Username of a Packagist account.
          nullable: true
        token:
          type: string
          description: API token of the Packagist server.
          nullable: true
        server:
          type: string
          description: URL of the Packagist server. The default value is `https://packagist.org`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - username
      - token
    putApiV4GroupsIdIntegrationsPhorgeRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
    putApiV4GroupsIdIntegrationsPipelinesEmailRequest:
      type: object
      properties:
        recipients:
          type: string
          description: Comma-separated list of recipient email addresses.
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        notify_only_default_branch:
          type: boolean
          description: Send notifications for the default branch.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        notify_child_pipelines:
          type: boolean
          description: Send notifications for child pipelines.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - recipients
    putApiV4GroupsIdIntegrationsPivotaltrackerRequest:
      type: object
      properties:
        token:
          type: string
          description: The Pivotal Tracker token.
          nullable: true
        restrict_to_branch:
          type: string
          description: Comma-separated list of branches to automatically inspect.
            Leave blank to include all branches.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
    putApiV4GroupsIdIntegrationsPumbleRequest:
      type: object
      properties:
        webhook:
          type: string
          description: The Pumble webhook (for example, `https://api.pumble.com/workspaces/x/...`).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4GroupsIdIntegrationsPushoverRequest:
      type: object
      properties:
        api_key:
          type: string
          description: The application key.
          nullable: true
        user_key:
          type: string
          description: The user key.
          nullable: true
        device:
          type: string
          description: Leave blank for all active devices.
          nullable: true
        priority:
          type: string
          description: The priority.
          nullable: true
        sound:
          type: string
          description: The sound of the notification.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - api_key
      - user_key
      - priority
    putApiV4GroupsIdIntegrationsRedmineRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        new_issue_url:
          type: string
          description: URL of the new issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
      - new_issue_url
    putApiV4GroupsIdIntegrationsEwmRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        new_issue_url:
          type: string
          description: URL of the new issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
      - new_issue_url
    putApiV4GroupsIdIntegrationsYoutrackRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
    putApiV4GroupsIdIntegrationsClickupRequest:
      type: object
      properties:
        project_url:
          type: string
          description: URL of the project.
          nullable: true
        issues_url:
          type: string
          description: URL of the issue.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - project_url
      - issues_url
    putApiV4GroupsIdIntegrationsSlackRequest:
      type: object
      properties:
        webhook:
          type: string
          description: Slack notifications webhook (for example, `https://hooks.slack.com/services/...`).
          nullable: true
        username:
          type: string
          description: Slack notifications username.
          nullable: true
        channel:
          type: string
          description: Default channel to use if no other channel is configured.
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        labels_to_be_notified:
          type: string
          description: Labels to send notifications for. Leave blank to receive notifications
            for all events.
          nullable: true
        labels_to_be_notified_behavior:
          type: string
          description: Labels to be notified for. Valid options are `match_any` and
            `match_all`. The default value is `match_any`.
          nullable: true
        push_channel:
          type: string
          description: The name of the channel to receive push_events notifications
          nullable: true
        issue_channel:
          type: string
          description: The name of the channel to receive issues_events notifications
          nullable: true
        incident_channel:
          type: string
          description: The name of the channel to receive incident_events notifications
          nullable: true
        alert_channel:
          type: string
          description: The name of the channel to receive alert_events notifications
          nullable: true
        confidential_issue_channel:
          type: string
          description: The name of the channel to receive confidential_issues_events
            notifications
          nullable: true
        merge_request_channel:
          type: string
          description: The name of the channel to receive merge_requests_events notifications
          nullable: true
        note_channel:
          type: string
          description: The name of the channel to receive note_events notifications
          nullable: true
        confidential_note_channel:
          type: string
          description: The name of the channel to receive confidential_note_events
            notifications
          nullable: true
        tag_push_channel:
          type: string
          description: The name of the channel to receive tag_push_events notifications
          nullable: true
        deployment_channel:
          type: string
          description: The name of the channel to receive deployment_events notifications
          nullable: true
        pipeline_channel:
          type: string
          description: The name of the channel to receive pipeline_events notifications
          nullable: true
        wiki_page_channel:
          type: string
          description: The name of the channel to receive wiki_page_events notifications
          nullable: true
        vulnerability_channel:
          type: string
          description: The name of the channel to receive vulnerability_events notifications
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        deployment_events:
          type: boolean
          description: Trigger event when a deployment starts or finishes.
          nullable: true
        incident_events:
          type: boolean
          description: Trigger event when an incident is created.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        vulnerability_events:
          type: boolean
          nullable: true
        alert_events:
          type: boolean
          description: Trigger event when a new, unique alert is recorded.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4GroupsIdIntegrationsMicrosoftTeamsRequest:
      type: object
      properties:
        webhook:
          type: string
          description: The Microsoft Teams webhook (for example, `https://outlook.office.com/webhook/...`).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4GroupsIdIntegrationsMattermostRequest:
      type: object
      properties:
        webhook:
          type: string
          description: Mattermost notifications webhook (for example, `http://mattermost.example.com/hooks/...`).
          nullable: true
        username:
          type: string
          description: Mattermost notifications username.
          nullable: true
        channel:
          type: string
          description: Default channel to use if no other channel is configured.
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        labels_to_be_notified:
          type: string
          description: Labels to send notifications for. Leave blank to receive notifications
            for all events.
          nullable: true
        labels_to_be_notified_behavior:
          type: string
          description: Labels to be notified for. Valid options are `match_any` and
            `match_all`. The default value is `match_any`.
          nullable: true
        push_channel:
          type: string
          description: The name of the channel to receive push_events notifications
          nullable: true
        issue_channel:
          type: string
          description: The name of the channel to receive issues_events notifications
          nullable: true
        incident_channel:
          type: string
          description: The name of the channel to receive incident_events notifications
          nullable: true
        alert_channel:
          type: string
          description: The name of the channel to receive alert_events notifications
          nullable: true
        confidential_issue_channel:
          type: string
          description: The name of the channel to receive confidential_issues_events
            notifications
          nullable: true
        merge_request_channel:
          type: string
          description: The name of the channel to receive merge_requests_events notifications
          nullable: true
        note_channel:
          type: string
          description: The name of the channel to receive note_events notifications
          nullable: true
        confidential_note_channel:
          type: string
          description: The name of the channel to receive confidential_note_events
            notifications
          nullable: true
        tag_push_channel:
          type: string
          description: The name of the channel to receive tag_push_events notifications
          nullable: true
        deployment_channel:
          type: string
          description: The name of the channel to receive deployment_events notifications
          nullable: true
        pipeline_channel:
          type: string
          description: The name of the channel to receive pipeline_events notifications
          nullable: true
        wiki_page_channel:
          type: string
          description: The name of the channel to receive wiki_page_events notifications
          nullable: true
        vulnerability_channel:
          type: string
          description: The name of the channel to receive vulnerability_events notifications
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        deployment_events:
          type: boolean
          description: Trigger event when a deployment starts or finishes.
          nullable: true
        incident_events:
          type: boolean
          description: Trigger event when an incident is created.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        vulnerability_events:
          type: boolean
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4GroupsIdIntegrationsTeamcityRequest:
      type: object
      properties:
        enable_ssl_verification:
          type: boolean
          description: Enable SSL verification. Defaults to `true` (enabled).
          nullable: true
        teamcity_url:
          type: string
          description: TeamCity root URL (for example, `https://teamcity.example.com`).
          nullable: true
        build_type:
          type: string
          description: The build configuration ID of the TeamCity project.
          nullable: true
        username:
          type: string
          description: A user with permissions to trigger a manual build.
          nullable: true
        password:
          type: string
          description: The password of the user.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - teamcity_url
      - build_type
      - username
      - password
    putApiV4GroupsIdIntegrationsTelegramRequest:
      type: object
      properties:
        hostname:
          type: string
          description: URL of the Telegram API server, including `http://` or `https://`.
            The default value is `https://api.telegram.org`.
          nullable: true
        token:
          type: string
          description: The Telegram bot token (for example, `123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11`).
          nullable: true
        room:
          type: string
          description: Unique identifier for the target chat or the username of the
            target channel (in the format `@channelusername`).
          nullable: true
        thread:
          type: string
          description: Unique identifier for the target message thread (topic in a
            forum supergroup).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        incident_events:
          type: boolean
          description: Trigger event when an incident is created.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        vulnerability_events:
          type: boolean
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
      - room
    putApiV4GroupsIdIntegrationsUnifyCircuitRequest:
      type: object
      properties:
        webhook:
          type: string
          description: The Unify Circuit webhook (for example, `https://circuit.com/rest/v2/webhooks/incoming/...`).
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4GroupsIdIntegrationsWebexTeamsRequest:
      type: object
      properties:
        webhook:
          type: string
          description: The Webex Teams webhook. For example, https://api.ciscospark.com/v1/webhooks/incoming/...
          nullable: true
        notify_only_broken_pipelines:
          type: boolean
          description: Send notifications for broken pipelines.
          nullable: true
        notify_only_when_pipeline_status_changes:
          type: boolean
          description: Send notifications only when the pipeline status changes.
          nullable: true
        branches_to_be_notified:
          type: string
          description: Branches to send notifications for. Valid options are `all`,
            `default`, `protected`, and `default_and_protected`. The default value
            is `default`.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        work_item_events:
          type: boolean
          nullable: true
        confidential_work_item_events:
          type: boolean
          nullable: true
        merge_requests_events:
          type: boolean
          description: Trigger event when a merge request is created, updated, or
            merged.
          nullable: true
        note_events:
          type: boolean
          description: Trigger event for new comments.
          nullable: true
        confidential_note_events:
          type: boolean
          description: Trigger event for new comments on confidential work items.
          nullable: true
        tag_push_events:
          type: boolean
          description: Trigger event for new tags pushed to the repository.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        wiki_page_events:
          type: boolean
          description: Trigger event when a wiki page is created or updated.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - webhook
    putApiV4GroupsIdIntegrationsZentaoRequest:
      type: object
      properties:
        url:
          type: string
          description: Base URL of the ZenTao instance.
          nullable: true
        api_url:
          type: string
          description: If different from Web URL.
          nullable: true
        api_token:
          type: string
          nullable: true
        zentao_product_xid:
          type: string
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - url
      - api_token
      - zentao_product_xid
    putApiV4GroupsIdIntegrationsSquashTmRequest:
      type: object
      properties:
        url:
          type: string
          description: URL of the Squash TM webhook.
          nullable: true
        token:
          type: string
          description: Secret token.
          nullable: true
        issues_events:
          type: boolean
          description: Trigger event when a work item is created, updated, or closed.
          nullable: true
        confidential_issues_events:
          type: boolean
          description: Trigger event when a confidential work item is created, updated,
            or closed.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - url
    putApiV4GroupsIdIntegrationsGithubRequest:
      type: object
      properties:
        token:
          type: string
          description: GitHub API token with `repo:status` OAuth scope.
          nullable: true
        repository_url:
          type: string
          description: GitHub repository URL.
          nullable: true
        static_context:
          type: boolean
          description: Append the hostname of your GitLab instance to the status check
            name.
          nullable: true
        pipeline_events:
          type: boolean
          description: Trigger event when a pipeline status changes.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
      - repository_url
    putApiV4GroupsIdIntegrationsGitGuardianRequest:
      type: object
      properties:
        api_url:
          type: string
          description: GitGuardian API base URL. Defaults to https://api.gitguardian.com.
            Use https://api.eu1.gitguardian.com for the EU region, or the URL of your
            self-hosted GitGuardian instance. Must use HTTPS.
          nullable: true
        token:
          type: string
          description: Personal access token to authenticate calls to the GitGuardian
            API.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - token
    putApiV4GroupsIdIntegrationsGoogleCloudPlatformArtifactRegistryRequest:
      type: object
      properties:
        artifact_registry_project_id:
          type: string
          description: ID of the Google Cloud project.
          nullable: true
        artifact_registry_repositories:
          type: string
          description: Repository of Artifact Registry.
          nullable: true
        artifact_registry_location:
          type: string
          description: Location of the Artifact Registry repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - artifact_registry_project_id
      - artifact_registry_repositories
      - artifact_registry_location
    putApiV4GroupsIdIntegrationsGoogleCloudPlatformWorkloadIdentityFederationRequest:
      type: object
      properties:
        workload_identity_federation_project_id:
          type: string
          description: Google Cloud project ID for the Workload Identity Federation.
          nullable: true
        workload_identity_federation_project_number:
          type: string
          description: Google Cloud project number for the Workload Identity Federation.
          nullable: true
        workload_identity_pool_id:
          type: string
          description: ID of the Workload Identity Pool.
          nullable: true
        workload_identity_pool_provider_id:
          type: string
          description: ID of the Workload Identity Pool provider.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - workload_identity_federation_project_id
      - workload_identity_federation_project_number
      - workload_identity_pool_id
      - workload_identity_pool_provider_id
    putApiV4GroupsIdIntegrationsMockCiRequest:
      type: object
      properties:
        enable_ssl_verification:
          type: boolean
          description: Enable SSL verification. Defaults to `true` (enabled).
          nullable: true
        mock_service_url:
          type: string
          description: URL of the Mock CI integration.
          nullable: true
        push_events:
          type: boolean
          description: Trigger event for pushes to the repository.
          nullable: true
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
      required:
      - mock_service_url
    putApiV4GroupsIdIntegrationsMockMonitoringRequest:
      type: object
      properties:
        use_inherited_settings:
          type: boolean
          description: Indicates whether to inherit the default settings. Defaults
            to `false`.
          nullable: true
    postApiV4SlackTriggerRequest:
      type: object
      properties:
        text:
          type: string
          description: Text of the Slack command.
          nullable: true
      required:
      - text
    postApiV4ImportGithubRequest:
      type: object
      properties:
        personal_access_token:
          type: string
          description: GitHub personal access token.
          nullable: true
        repo_id:
          type: integer
          description: GitHub repository ID.
          nullable: true
        new_name:
          type: string
          description: Name of the new project. Also used as the new path, so it must
            not start or end with a special character and must not contain consecutive
            special characters.
          nullable: true
        target_namespace:
          type: string
          description: Namespace to import the repository into. Supports subgroups,
            for example `/namespace/subgroup`. Must not be blank.
          minLength: 1
        github_hostname:
          type: string
          description: Custom GitHub Enterprise hostname. Do not set for GitHub.com.
            From GitLab 16.5 to GitLab 17.1, you must include the path `/api/v3`.
          nullable: true
        optional_stages:
          type: object
          description: Additional items to import. For a list of items, see [select
            additional items to import](https://docs.gitlab.com/user/project/import/github/#select-additional-items-to-import).
          nullable: true
        timeout_strategy:
          type: string
          enum:
          - optimistic
          - pessimistic
          description: Strategy for handling import timeouts. `optimistic` continues
            to the next stage of the import. `pessimistic` fails the import immediately.
            Defaults to `pessimistic`.
          nullable: true
        pagination_limit:
          type: integer
          minimum: 1
          maximum: 100
          description: Number of items retrieved per API request to GitHub. If omitted,
            defaults to `100`. Use a lower number for large repositories to reduce
            the risk of GitHub API errors, though this increases migration time.
          nullable: true
      required:
      - personal_access_token
      - repo_id
      - target_namespace
    postApiV4ImportGithubCancelRequest:
      type: object
      properties:
        project_id:
          type: integer
          description: ID of the project whose import to cancel.
          nullable: true
      required:
      - project_id
    postApiV4ImportGithubGistsRequest:
      type: object
      properties:
        personal_access_token:
          type: string
          description: GitHub personal access token.
          nullable: true
      required:
      - personal_access_token
    postApiV4ProjectsIdImportGithubSyncRestoreRequest:
      type: object
      properties:
        personal_access_token:
          type: string
          description: New GitHub personal access token.
          minLength: 1
      required:
      - personal_access_token
    postApiV4ImportBitbucketServerRequest:
      type: object
      properties:
        bitbucket_server_url:
          type: string
          description: URL of the Bitbucket Server instance.
          nullable: true
        bitbucket_server_username:
          type: string
          description: Bitbucket Server username.
          nullable: true
        personal_access_token:
          type: string
          description: Bitbucket Server personal access token or password.
          nullable: true
        bitbucket_server_project:
          type: string
          description: Key of the Bitbucket Server project. Must contain only letters,
            numbers, hyphens, underscores, periods, or whitespace characters. Personal
            project keys start with `~`.
          nullable: true
        bitbucket_server_repo:
          type: string
          description: Name of the Bitbucket Server repository. Must contain only
            letters, numbers, hyphens, underscores, periods, or whitespace characters.
          nullable: true
        new_name:
          type: string
          description: Name of the new project. Also used as the new path, so it must
            not start or end with a special character and must not contain consecutive
            special characters.
          nullable: true
        new_namespace:
          type: string
          description: Namespace to import the repository into.
          nullable: true
        timeout_strategy:
          type: string
          enum:
          - optimistic
          - pessimistic
          description: Strategy for handling import timeouts. `optimistic` continues
            to the next stage of the import. `pessimistic` fails the import immediately.
            Defaults to `pessimistic`.
          nullable: true
      required:
      - bitbucket_server_url
      - bitbucket_server_username
      - personal_access_token
      - bitbucket_server_project
      - bitbucket_server_repo
    postApiV4ImportBitbucketRequest:
      type: object
      properties:
        bitbucket_email:
          type: string
          description: Bitbucket Cloud email.
          nullable: true
        bitbucket_api_token:
          type: string
          description: Bitbucket Cloud API token.
          nullable: true
        repo_path:
          type: string
          description: Path to the repository.
          nullable: true
        target_namespace:
          type: string
          description: Namespace to import the repository into. Supports subgroups,
            for example `/namespace/subgroup`.
          nullable: true
        new_name:
          type: string
          description: Name of the new project. Also used as the new path, so it must
            not start or end with a special character and must not contain consecutive
            special characters.
          nullable: true
      required:
      - bitbucket_email
      - bitbucket_api_token
      - repo_path
      - target_namespace
    postApiV4ProjectsIdPackagesHelmApiChannelChartsRequest:
      type: object
      properties:
        chart:
          type: string
          format: binary
          description: The chart file to be published (generated by Multipart middleware)
          nullable: true
      required:
      - chart
    postApiV4GlqlRequest:
      type: object
      properties:
        glql_yaml:
          type: string
          description: 'GLQL query that may include YAML configuration. Maximum size
            is 10,000 bytes. See [query formats](https://docs.gitlab.com/api/glql/#query-formats)
            for details. Pass a plain GLQL query, or YAML with the query in the `query`
            key and the configuration options as other top-level keys. The YAML configuration
            accepts these options: `fields`, a comma-separated list of GLQL fields
            to return, default `title`; `group`, the group to scope the query to,
            which cannot be used with `project`; `project`, the project to scope the
            query to, in the format `group/project`; `limit`, the maximum number of
            results from 1 to 100, default `100`; and `sort`, the sort order in the
            format `field direction`, such as `created desc`. A `group` or `project`
            set in the query takes precedence over the option.'
          minLength: 1
        after:
          type: string
          description: Cursor for pagination. Use the `data.pageInfo.endCursor` value
            from a previous query to fetch the next page of results. Only forward
            pagination is supported.
          nullable: true
      required:
      - glql_yaml
    postApiV4GroupsIdVariablesRequest:
      type: object
      properties:
        key:
          type: string
          description: Key of the group variable. Must be 255 characters or fewer
            and contain only `A-Z`, `a-z`, `0-9`, and `_`.
          nullable: true
        value:
          type: string
          description: Value of the variable.
          nullable: true
        protected:
          type: boolean
          description: If `true`, the variable is protected.
          nullable: true
        masked_and_hidden:
          type: boolean
          description: If `true`, the variable is masked and hidden. Default is `false`.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/29674) in GitLab
            17.4.
          nullable: true
        masked:
          type: boolean
          description: If `true`, the variable is masked.
          nullable: true
        raw:
          type: boolean
          description: If `true`, the variable is treated as a raw string. If `false`,
            the value is [expanded](https://docs.gitlab.com/ci/variables/#allow-cicd-variable-expansion).
          nullable: true
        variable_type:
          type: string
          enum:
          - env_var
          - file
          description: The type of the variable.
          nullable: true
          default: env_var
        environment_scope:
          type: string
          description: The environment scope of the variable. Premium and Ultimate
            only.
          nullable: true
        description:
          type: string
          description: Description of the variable. Limited to 255 characters. Default
            is `null`.
          nullable: true
      required:
      - key
      - value
    putApiV4GroupsIdVariablesKeyRequest:
      type: object
      properties:
        value:
          type: string
          description: Value of the variable.
          nullable: true
        protected:
          type: boolean
          description: If `true`, the variable is protected.
          nullable: true
        masked:
          type: boolean
          description: If `true`, the variable is masked.
          nullable: true
        raw:
          type: boolean
          description: If `true`, the variable is treated as a raw string. If `false`,
            the value is [expanded](https://docs.gitlab.com/ci/variables/#allow-cicd-variable-expansion).
          nullable: true
        variable_type:
          type: string
          enum:
          - env_var
          - file
          description: 'The type of the variable. Default: env_var'
          nullable: true
        environment_scope:
          type: string
          description: The environment scope of the variable. Premium and Ultimate
            only.
          nullable: true
        description:
          type: string
          description: Description of the variable. Limited to 255 characters.
          nullable: true
    postApiV4GroupsIdPlaceholderReassignmentsRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The CSV file containing the reassignments
          nullable: true
      required:
      - file
    postApiV4GroupsImportRequest:
      type: object
      properties:
        path:
          type: string
          description: Group path
          nullable: true
        name:
          type: string
          description: Group name
          nullable: true
        file:
          type: string
          format: binary
          description: The group export file to be imported
          nullable: true
        parent_id:
          type: integer
          description: The ID of the parent group that the group will be imported
            into. Defaults to the current user's namespace.
          nullable: true
        organization_id:
          type: integer
          description: The ID of the organization that the group will be part of.
            Defaults to the organization of the parent group if `parent_id` is provided,
            otherwise the current organization.
          nullable: true
      required:
      - path
      - name
      - file
    postApiV4GroupsIdExportRelationsRequest:
      type: object
      properties:
        batched:
          type: boolean
          description: If `true`, exports in batches.
          nullable: true
    postApiV4GroupsIdDashDebianDistributionsRequest:
      type: object
      properties:
        codename:
          type: string
          description: Codename of the Debian distribution.
          example: sid
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        suite:
          type: string
          description: Suite of the Debian distribution.
          example: unstable
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        origin:
          type: string
          description: Origin of the Debian distribution.
          example: Grep
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        label:
          type: string
          description: Label of the Debian distribution.
          example: grep.be
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        description:
          type: string
          description: Description of the Debian distribution.
          example: My description
          nullable: true
        valid_time_duration_seconds:
          type: integer
          description: Duration, in seconds, before the Release file is considered
            expired by the client.
          example: 604800
          nullable: true
        components:
          type: array
          items:
            type: string
          description: List of components of the Debian distribution.
          nullable: true
        architectures:
          type: array
          items:
            type: string
          description: List of architectures of the Debian distribution.
          nullable: true
      required:
      - codename
    putApiV4GroupsIdDashDebianDistributionsCodenameRequest:
      type: object
      properties:
        suite:
          type: string
          description: Suite of the Debian distribution.
          example: unstable
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        origin:
          type: string
          description: Origin of the Debian distribution.
          example: Grep
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        label:
          type: string
          description: Label of the Debian distribution.
          example: grep.be
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        description:
          type: string
          description: Description of the Debian distribution.
          example: My description
          nullable: true
        valid_time_duration_seconds:
          type: integer
          description: Duration, in seconds, before the Release file is considered
            expired by the client.
          example: 604800
          nullable: true
        components:
          type: array
          items:
            type: string
          description: List of components of the Debian distribution.
          nullable: true
        architectures:
          type: array
          items:
            type: string
          description: List of architectures of the Debian distribution.
          nullable: true
    putApiV4GroupsIdClustersClusterIdRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the cluster.
          nullable: true
        enabled:
          type: boolean
          description: If `true`, the cluster is active and GitLab's connection to
            the Kubernetes cluster is enabled.
          nullable: true
        domain:
          type: string
          description: "[Base domain](https://docs.gitlab.com/user/group/clusters/#base-domain)
            of the cluster."
          nullable: true
        environment_scope:
          type: string
          description: Associated environment to the cluster. Premium and Ultimate
            only.
          nullable: true
        namespace_per_environment:
          type: boolean
          description: If `true`, deploys each environment to a separate Kubernetes
            namespace.
          nullable: true
          default: true
        management_project_id:
          type: integer
          description: ID of the [management project](https://docs.gitlab.com/user/clusters/management_project/)
            for the cluster.
          nullable: true
        managed:
          type: boolean
          description: If `true`, GitLab manages namespaces and service accounts for
            this cluster.
          nullable: true
        platform_kubernetes_attributes:
          type: object
          description: Platform Kubernetes data.
          properties:
            api_url:
              type: string
              description: URL to access the Kubernetes API.
              nullable: true
            token:
              type: string
              description: Token to authenticate against Kubernetes.
              nullable: true
            ca_cert:
              type: string
              description: TLS certificate (needed if API is using a self-signed TLS
                certificate).
              nullable: true
            namespace:
              type: string
              description: Kubernetes namespace that environments deploy to. Allowed
                only when `managed` is `false`.
              nullable: true
          nullable: true
    postApiV4GroupsIdClustersUserRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the cluster.
          nullable: true
        enabled:
          type: boolean
          description: If `true`, the cluster is active and GitLab's connection to
            the Kubernetes cluster is enabled.
          nullable: true
          default: true
        environment_scope:
          type: string
          description: Associated environment to the cluster. Premium and Ultimate
            only.
          nullable: true
          default: "*"
        namespace_per_environment:
          type: boolean
          description: If `true`, deploys each environment to a separate Kubernetes
            namespace.
          nullable: true
          default: true
        domain:
          type: string
          description: "[Base domain](https://docs.gitlab.com/user/group/clusters/#base-domain)
            of the cluster."
          nullable: true
        management_project_id:
          type: integer
          description: ID of the [management project](https://docs.gitlab.com/user/clusters/management_project/)
            for the cluster.
          nullable: true
        managed:
          type: boolean
          description: If `true`, GitLab manages namespaces and service accounts for
            this cluster.
          nullable: true
          default: true
        platform_kubernetes_attributes:
          type: object
          description: Platform Kubernetes data.
          properties:
            api_url:
              type: string
              description: URL to access the Kubernetes API.
              minLength: 1
            token:
              type: string
              description: Token to authenticate against Kubernetes.
              nullable: true
            ca_cert:
              type: string
              description: TLS certificate (needed if API is using a self-signed TLS
                certificate).
              nullable: true
            namespace:
              type: string
              description: Kubernetes namespace that environments deploy to. Allowed
                only when `managed` is `false`.
              nullable: true
            authorization_type:
              type: string
              enum:
              - unknown_authorization
              - rbac
              - abac
              description: Cluster authorization type.
              nullable: true
              default: rbac
          required:
          - api_url
          - token
          nullable: true
      required:
      - name
      - platform_kubernetes_attributes
    postApiV4GroupsIdApplicationsRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the application.
          example: MyApplication
          nullable: true
        redirect_uri:
          type: string
          description: Redirect URI of the application.
          example: https://redirect.uri
          nullable: true
        scopes:
          type: string
          description: Scopes available to the application. Separate multiple scopes
            with a space.
          minLength: 1
        confidential:
          type: boolean
          description: If `true`, the application can securely store client credentials,
            such as the client secret. Non-confidential applications, such as native
            mobile apps and Single Page Apps might expose client credentials. If unset,
            defaults to `true`.
          nullable: true
          default: true
      required:
      - name
      - redirect_uri
      - scopes
    putApiV4GroupsIdApplicationsApplicationIdRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the application.
          nullable: true
        scopes:
          type: string
          description: Scopes available to the application. Separate multiple scopes
            with a space.
          minLength: 1
    postApiV4GeoStatusRequest:
      type: object
      properties:
        data:
          type: object
          description: Object that contains status information and replication metrics
            for the Geo node.
          properties:
            geo_node_id:
              type: integer
              description: ID of the Geo node the status applies to.
              nullable: true
            db_replication_lag_seconds:
              type: integer
              description: Database replication lag, in seconds.
              nullable: true
            last_event_id:
              type: integer
              description: ID of the last event.
              nullable: true
            last_event_date:
              type: string
              format: date-time
              description: Last event date.
              nullable: true
            cursor_last_event_id:
              type: integer
              description: ID of the last event processed by the cursor.
              nullable: true
            cursor_last_event_date:
              type: string
              format: date-time
              description: Date of the last event processed by the cursor.
              nullable: true
            last_successful_status_check_at:
              type: string
              format: date-time
              description: Last successful status check date.
              nullable: true
            status_message:
              type: string
              description: Status message.
              nullable: true
            replication_slots_count:
              type: integer
              description: Number of replication slots.
              nullable: true
            replication_slots_used_count:
              type: integer
              description: Number of replication slots in use.
              nullable: true
            replication_slots_max_retained_wal_bytes:
              type: integer
              description: Maximum number of bytes retained in the WAL on the primary.
              nullable: true
            version:
              type: string
              description: GitLab version.
              nullable: true
            revision:
              type: string
              description: GitLab revision.
              nullable: true
            status:
              type: object
              description: Object that contains information on replication and verification
                status metrics for GitLab resources on Geo nodes.
              properties:
                projects_count:
                  type: integer
                  description: Number of projects.
                  nullable: true
                container_repositories_replication_enabled:
                  type: boolean
                  description: If `true`, container repository replication is enabled.
                  nullable: true
                lfs_objects_count:
                  type: integer
                  description: Number of LFS objects.
                  nullable: true
                lfs_objects_checksum_total_count:
                  type: integer
                  description: Number of LFS objects available to checksum on the
                    primary site.
                  nullable: true
                lfs_objects_checksummed_count:
                  type: integer
                  description: Number of LFS objects that have been checksummed.
                  nullable: true
                lfs_objects_checksum_failed_count:
                  type: integer
                  description: Number of LFS objects for which checksum calculation
                    failed.
                  nullable: true
                lfs_objects_synced_count:
                  type: integer
                  description: Number of LFS objects synced.
                  nullable: true
                lfs_objects_failed_count:
                  type: integer
                  description: Number of LFS objects that failed to sync.
                  nullable: true
                lfs_objects_registry_count:
                  type: integer
                  description: Number of LFS objects tracked in the registry.
                  nullable: true
                lfs_objects_verification_total_count:
                  type: integer
                  description: Number of LFS objects available to verify on the secondary
                    site.
                  nullable: true
                lfs_objects_verified_count:
                  type: integer
                  description: Number of LFS objects verified.
                  nullable: true
                lfs_objects_verification_failed_count:
                  type: integer
                  description: Number of LFS objects for which verification failed.
                  nullable: true
                merge_request_diffs_count:
                  type: integer
                  description: Number of merge request diffs.
                  nullable: true
                merge_request_diffs_checksum_total_count:
                  type: integer
                  description: Number of merge request diffs available to checksum
                    on the primary site.
                  nullable: true
                merge_request_diffs_checksummed_count:
                  type: integer
                  description: Number of merge request diffs that have been checksummed.
                  nullable: true
                merge_request_diffs_checksum_failed_count:
                  type: integer
                  description: Number of merge request diffs for which checksum calculation
                    failed.
                  nullable: true
                merge_request_diffs_synced_count:
                  type: integer
                  description: Number of merge request diffs synced.
                  nullable: true
                merge_request_diffs_failed_count:
                  type: integer
                  description: Number of merge request diffs that failed to sync.
                  nullable: true
                merge_request_diffs_registry_count:
                  type: integer
                  description: Number of merge request diffs tracked in the registry.
                  nullable: true
                merge_request_diffs_verification_total_count:
                  type: integer
                  description: Number of merge request diffs available to verify on
                    the secondary site.
                  nullable: true
                merge_request_diffs_verified_count:
                  type: integer
                  description: Number of merge request diffs verified.
                  nullable: true
                merge_request_diffs_verification_failed_count:
                  type: integer
                  description: Number of merge request diffs for which verification
                    failed.
                  nullable: true
                package_files_count:
                  type: integer
                  description: Number of package files.
                  nullable: true
                package_files_checksum_total_count:
                  type: integer
                  description: Number of package files available to checksum on the
                    primary site.
                  nullable: true
                package_files_checksummed_count:
                  type: integer
                  description: Number of package files that have been checksummed.
                  nullable: true
                package_files_checksum_failed_count:
                  type: integer
                  description: Number of package files for which checksum calculation
                    failed.
                  nullable: true
                package_files_synced_count:
                  type: integer
                  description: Number of package files synced.
                  nullable: true
                package_files_failed_count:
                  type: integer
                  description: Number of package files that failed to sync.
                  nullable: true
                package_files_registry_count:
                  type: integer
                  description: Number of package files tracked in the registry.
                  nullable: true
                package_files_verification_total_count:
                  type: integer
                  description: Number of package files available to verify on the
                    secondary site.
                  nullable: true
                package_files_verified_count:
                  type: integer
                  description: Number of package files verified.
                  nullable: true
                package_files_verification_failed_count:
                  type: integer
                  description: Number of package files for which verification failed.
                  nullable: true
                packages_nuget_symbols_count:
                  type: integer
                  description: Number of NuGet symbols.
                  nullable: true
                packages_nuget_symbols_checksum_total_count:
                  type: integer
                  description: Number of NuGet symbols available to checksum on the
                    primary site.
                  nullable: true
                packages_nuget_symbols_checksummed_count:
                  type: integer
                  description: Number of NuGet symbols that have been checksummed.
                  nullable: true
                packages_nuget_symbols_checksum_failed_count:
                  type: integer
                  description: Number of NuGet symbols for which checksum calculation
                    failed.
                  nullable: true
                packages_nuget_symbols_synced_count:
                  type: integer
                  description: Number of NuGet symbols synced.
                  nullable: true
                packages_nuget_symbols_failed_count:
                  type: integer
                  description: Number of NuGet symbols that failed to sync.
                  nullable: true
                packages_nuget_symbols_registry_count:
                  type: integer
                  description: Number of NuGet symbols tracked in the registry.
                  nullable: true
                packages_nuget_symbols_verification_total_count:
                  type: integer
                  description: Number of NuGet symbols available to verify on the
                    secondary site.
                  nullable: true
                packages_nuget_symbols_verified_count:
                  type: integer
                  description: Number of NuGet symbols verified.
                  nullable: true
                packages_nuget_symbols_verification_failed_count:
                  type: integer
                  description: Number of NuGet symbols for which verification failed.
                  nullable: true
                terraform_state_versions_count:
                  type: integer
                  description: Number of Terraform state versions.
                  nullable: true
                terraform_state_versions_checksum_total_count:
                  type: integer
                  description: Number of Terraform state versions available to checksum
                    on the primary site.
                  nullable: true
                terraform_state_versions_checksummed_count:
                  type: integer
                  description: Number of Terraform state versions that have been checksummed.
                  nullable: true
                terraform_state_versions_checksum_failed_count:
                  type: integer
                  description: Number of Terraform state versions for which checksum
                    calculation failed.
                  nullable: true
                terraform_state_versions_synced_count:
                  type: integer
                  description: Number of Terraform state versions synced.
                  nullable: true
                terraform_state_versions_failed_count:
                  type: integer
                  description: Number of Terraform state versions that failed to sync.
                  nullable: true
                terraform_state_versions_registry_count:
                  type: integer
                  description: Number of Terraform state versions tracked in the registry.
                  nullable: true
                terraform_state_versions_verification_total_count:
                  type: integer
                  description: Number of Terraform state versions available to verify
                    on the secondary site.
                  nullable: true
                terraform_state_versions_verified_count:
                  type: integer
                  description: Number of Terraform state versions verified.
                  nullable: true
                terraform_state_versions_verification_failed_count:
                  type: integer
                  description: Number of Terraform state versions for which verification
                    failed.
                  nullable: true
                snippet_repositories_count:
                  type: integer
                  description: Number of snippet repositories.
                  nullable: true
                snippet_repositories_checksum_total_count:
                  type: integer
                  description: Number of snippet repositories available to checksum
                    on the primary site.
                  nullable: true
                snippet_repositories_checksummed_count:
                  type: integer
                  description: Number of snippet repositories that have been checksummed.
                  nullable: true
                snippet_repositories_checksum_failed_count:
                  type: integer
                  description: Number of snippet repositories for which checksum calculation
                    failed.
                  nullable: true
                snippet_repositories_synced_count:
                  type: integer
                  description: Number of snippet repositories synced.
                  nullable: true
                snippet_repositories_failed_count:
                  type: integer
                  description: Number of snippet repositories that failed to sync.
                  nullable: true
                snippet_repositories_registry_count:
                  type: integer
                  description: Number of snippet repositories tracked in the registry.
                  nullable: true
                snippet_repositories_verification_total_count:
                  type: integer
                  description: Number of snippet repositories available to verify
                    on the secondary site.
                  nullable: true
                snippet_repositories_verified_count:
                  type: integer
                  description: Number of snippet repositories verified.
                  nullable: true
                snippet_repositories_verification_failed_count:
                  type: integer
                  description: Number of snippet repositories for which verification
                    failed.
                  nullable: true
                group_wiki_repositories_count:
                  type: integer
                  description: Number of group wiki repositories.
                  nullable: true
                group_wiki_repositories_checksum_total_count:
                  type: integer
                  description: Number of group wiki repositories available to checksum
                    on the primary site.
                  nullable: true
                group_wiki_repositories_checksummed_count:
                  type: integer
                  description: Number of group wiki repositories that have been checksummed.
                  nullable: true
                group_wiki_repositories_checksum_failed_count:
                  type: integer
                  description: Number of group wiki repositories for which checksum
                    calculation failed.
                  nullable: true
                group_wiki_repositories_synced_count:
                  type: integer
                  description: Number of group wiki repositories synced.
                  nullable: true
                group_wiki_repositories_failed_count:
                  type: integer
                  description: Number of group wiki repositories that failed to sync.
                  nullable: true
                group_wiki_repositories_registry_count:
                  type: integer
                  description: Number of group wiki repositories tracked in the registry.
                  nullable: true
                group_wiki_repositories_verification_total_count:
                  type: integer
                  description: Number of group wiki repositories available to verify
                    on the secondary site.
                  nullable: true
                group_wiki_repositories_verified_count:
                  type: integer
                  description: Number of group wiki repositories verified.
                  nullable: true
                group_wiki_repositories_verification_failed_count:
                  type: integer
                  description: Number of group wiki repositories for which verification
                    failed.
                  nullable: true
                pipeline_artifacts_count:
                  type: integer
                  description: Number of pipeline artifacts.
                  nullable: true
                pipeline_artifacts_checksum_total_count:
                  type: integer
                  description: Number of pipeline artifacts available to checksum
                    on the primary site.
                  nullable: true
                pipeline_artifacts_checksummed_count:
                  type: integer
                  description: Number of pipeline artifacts that have been checksummed.
                  nullable: true
                pipeline_artifacts_checksum_failed_count:
                  type: integer
                  description: Number of pipeline artifacts for which checksum calculation
                    failed.
                  nullable: true
                pipeline_artifacts_synced_count:
                  type: integer
                  description: Number of pipeline artifacts synced.
                  nullable: true
                pipeline_artifacts_failed_count:
                  type: integer
                  description: Number of pipeline artifacts that failed to sync.
                  nullable: true
                pipeline_artifacts_registry_count:
                  type: integer
                  description: Number of pipeline artifacts tracked in the registry.
                  nullable: true
                pipeline_artifacts_verification_total_count:
                  type: integer
                  description: Number of pipeline artifacts available to verify on
                    the secondary site.
                  nullable: true
                pipeline_artifacts_verified_count:
                  type: integer
                  description: Number of pipeline artifacts verified.
                  nullable: true
                pipeline_artifacts_verification_failed_count:
                  type: integer
                  description: Number of pipeline artifacts for which verification
                    failed.
                  nullable: true
                pages_deployments_count:
                  type: integer
                  description: Number of Pages deployments.
                  nullable: true
                pages_deployments_checksum_total_count:
                  type: integer
                  description: Number of Pages deployments available to checksum on
                    the primary site.
                  nullable: true
                pages_deployments_checksummed_count:
                  type: integer
                  description: Number of Pages deployments that have been checksummed.
                  nullable: true
                pages_deployments_checksum_failed_count:
                  type: integer
                  description: Number of Pages deployments for which checksum calculation
                    failed.
                  nullable: true
                pages_deployments_synced_count:
                  type: integer
                  description: Number of Pages deployments synced.
                  nullable: true
                pages_deployments_failed_count:
                  type: integer
                  description: Number of Pages deployments that failed to sync.
                  nullable: true
                pages_deployments_registry_count:
                  type: integer
                  description: Number of Pages deployments tracked in the registry.
                  nullable: true
                pages_deployments_verification_total_count:
                  type: integer
                  description: Number of Pages deployments available to verify on
                    the secondary site.
                  nullable: true
                pages_deployments_verified_count:
                  type: integer
                  description: Number of Pages deployments verified.
                  nullable: true
                pages_deployments_verification_failed_count:
                  type: integer
                  description: Number of Pages deployments for which verification
                    failed.
                  nullable: true
                uploads_count:
                  type: integer
                  description: Number of uploads.
                  nullable: true
                uploads_checksum_total_count:
                  type: integer
                  description: Number of uploads available to checksum on the primary
                    site.
                  nullable: true
                uploads_checksummed_count:
                  type: integer
                  description: Number of uploads that have been checksummed.
                  nullable: true
                uploads_checksum_failed_count:
                  type: integer
                  description: Number of uploads for which checksum calculation failed.
                  nullable: true
                uploads_synced_count:
                  type: integer
                  description: Number of uploads synced.
                  nullable: true
                uploads_failed_count:
                  type: integer
                  description: Number of uploads that failed to sync.
                  nullable: true
                uploads_registry_count:
                  type: integer
                  description: Number of uploads tracked in the registry.
                  nullable: true
                uploads_verification_total_count:
                  type: integer
                  description: Number of uploads available to verify on the secondary
                    site.
                  nullable: true
                uploads_verified_count:
                  type: integer
                  description: Number of uploads verified.
                  nullable: true
                uploads_verification_failed_count:
                  type: integer
                  description: Number of uploads for which verification failed.
                  nullable: true
                job_artifacts_count:
                  type: integer
                  description: Number of job artifacts.
                  nullable: true
                job_artifacts_checksum_total_count:
                  type: integer
                  description: Number of job artifacts available to checksum on the
                    primary site.
                  nullable: true
                job_artifacts_checksummed_count:
                  type: integer
                  description: Number of job artifacts that have been checksummed.
                  nullable: true
                job_artifacts_checksum_failed_count:
                  type: integer
                  description: Number of job artifacts for which checksum calculation
                    failed.
                  nullable: true
                job_artifacts_synced_count:
                  type: integer
                  description: Number of job artifacts synced.
                  nullable: true
                job_artifacts_failed_count:
                  type: integer
                  description: Number of job artifacts that failed to sync.
                  nullable: true
                job_artifacts_registry_count:
                  type: integer
                  description: Number of job artifacts tracked in the registry.
                  nullable: true
                job_artifacts_verification_total_count:
                  type: integer
                  description: Number of job artifacts available to verify on the
                    secondary site.
                  nullable: true
                job_artifacts_verified_count:
                  type: integer
                  description: Number of job artifacts verified.
                  nullable: true
                job_artifacts_verification_failed_count:
                  type: integer
                  description: Number of job artifacts for which verification failed.
                  nullable: true
                ci_secure_files_count:
                  type: integer
                  description: Number of CI/CD secure files.
                  nullable: true
                ci_secure_files_checksum_total_count:
                  type: integer
                  description: Number of CI/CD secure files available to checksum
                    on the primary site.
                  nullable: true
                ci_secure_files_checksummed_count:
                  type: integer
                  description: Number of CI/CD secure files that have been checksummed.
                  nullable: true
                ci_secure_files_checksum_failed_count:
                  type: integer
                  description: Number of CI/CD secure files for which checksum calculation
                    failed.
                  nullable: true
                ci_secure_files_synced_count:
                  type: integer
                  description: Number of CI/CD secure files synced.
                  nullable: true
                ci_secure_files_failed_count:
                  type: integer
                  description: Number of CI/CD secure files that failed to sync.
                  nullable: true
                ci_secure_files_registry_count:
                  type: integer
                  description: Number of CI/CD secure files tracked in the registry.
                  nullable: true
                ci_secure_files_verification_total_count:
                  type: integer
                  description: Number of CI/CD secure files available to verify on
                    the secondary site.
                  nullable: true
                ci_secure_files_verified_count:
                  type: integer
                  description: Number of CI/CD secure files verified.
                  nullable: true
                ci_secure_files_verification_failed_count:
                  type: integer
                  description: Number of CI/CD secure files for which verification
                    failed.
                  nullable: true
                container_repositories_count:
                  type: integer
                  description: Number of container repositories.
                  nullable: true
                container_repositories_checksum_total_count:
                  type: integer
                  description: Number of container repositories available to checksum
                    on the primary site.
                  nullable: true
                container_repositories_checksummed_count:
                  type: integer
                  description: Number of container repositories that have been checksummed.
                  nullable: true
                container_repositories_checksum_failed_count:
                  type: integer
                  description: Number of container repositories for which checksum
                    calculation failed.
                  nullable: true
                container_repositories_synced_count:
                  type: integer
                  description: Number of container repositories synced.
                  nullable: true
                container_repositories_failed_count:
                  type: integer
                  description: Number of container repositories that failed to sync.
                  nullable: true
                container_repositories_registry_count:
                  type: integer
                  description: Number of container repositories tracked in the registry.
                  nullable: true
                container_repositories_verification_total_count:
                  type: integer
                  description: Number of container repositories available to verify
                    on the secondary site.
                  nullable: true
                container_repositories_verified_count:
                  type: integer
                  description: Number of container repositories verified.
                  nullable: true
                container_repositories_verification_failed_count:
                  type: integer
                  description: Number of container repositories for which verification
                    failed.
                  nullable: true
                git_fetch_event_count_weekly:
                  type: integer
                  description: Number of Git fetch events in the past week.
                  nullable: true
                git_push_event_count_weekly:
                  type: integer
                  description: Number of Git push events in the past week.
                  nullable: true
                proxy_remote_requests_event_count_weekly:
                  type: integer
                  description: Number of remote requests proxied in the past week.
                  nullable: true
                proxy_local_requests_event_count_weekly:
                  type: integer
                  description: Number of HTTP requests received by the secondary site
                    in the past week.
                  nullable: true
              nullable: true
          required:
          - geo_node_id
          nullable: true
    postApiV4GeoFailuresRequest:
      type: object
      properties:
        geo_node_id:
          type: integer
          description: The Geo node ID of the reporting secondary
          nullable: true
        failures:
          type: array
          description: Persistent verification failures reported by the secondary
          items:
            type: object
            properties:
              error_type:
                type: string
                description: The type of verification error being reported
                example: checksum_mismatch
                nullable: true
              replicable_name:
                type: string
                description: The replicable name of a replicator instance
                example: upload
                nullable: true
              replicable_id:
                type: integer
                description: The model record ID
                nullable: true
              verification_retry_count:
                type: integer
                description: The number of consecutive verification failures
                nullable: true
              context:
                type: object
                description: Additional error-type-specific data
                nullable: true
            required:
            - error_type
            - replicable_name
            - replicable_id
            - verification_retry_count
          nullable: true
      required:
      - geo_node_id
      - failures
    postApiV4GeoProxyGitSshInfoRefsUploadPackRequest:
      type: object
      properties:
        secret_token:
          type: string
          description: Secret token used to authenticate requests from GitLab Shell.
          nullable: true
        data:
          type: object
          description: Object that contains the payload data for the Geo operation.
          properties:
            gl_id:
              type: string
              description: ID of the user performing the operation.
              nullable: true
            primary_repo:
              type: string
              description: Primary repository to clone or pull from.
              nullable: true
          required:
          - gl_id
          - primary_repo
          nullable: true
      required:
      - secret_token
      - data
    postApiV4GeoProxyGitSshUploadPackRequest:
      type: object
      properties:
        secret_token:
          type: string
          description: Secret token used to authenticate requests from GitLab Shell
            to Geo proxy endpoints.
          nullable: true
        data:
          type: object
          description: Object that contains the payload data for the Geo operation.
          properties:
            gl_id:
              type: string
              description: ID of the user performing the operation.
              nullable: true
            primary_repo:
              type: string
              description: Primary repository to clone or pull from.
              nullable: true
          required:
          - gl_id
          - primary_repo
          nullable: true
        output:
          type: string
          description: Output from `git-upload-pack`.
          nullable: true
      required:
      - secret_token
      - data
      - output
    postApiV4GeoProxyGitSshInfoRefsReceivePackRequest:
      type: object
      properties:
        secret_token:
          type: string
          description: Secret token used to authenticate requests from GitLab Shell
            to Geo proxy endpoints.
          nullable: true
        data:
          type: object
          description: Object that contains the payload data for the Geo operation.
          properties:
            gl_id:
              type: string
              description: ID of the user performing the operation.
              nullable: true
            primary_repo:
              type: string
              description: Primary repository to push to.
              nullable: true
          required:
          - gl_id
          - primary_repo
          nullable: true
      required:
      - secret_token
      - data
    postApiV4GeoProxyGitSshReceivePackRequest:
      type: object
      properties:
        secret_token:
          type: string
          description: Secret token used to authenticate requests from GitLab Shell
            to Geo proxy endpoints.
          nullable: true
        data:
          type: object
          description: Object that contains the payload data for the Geo operation.
          properties:
            gl_id:
              type: string
              description: ID of the user performing the operation.
              nullable: true
            primary_repo:
              type: string
              description: Primary repository to push to.
              nullable: true
          required:
          - gl_id
          - primary_repo
          nullable: true
        output:
          type: string
          description: Output from `git-receive-pack`.
          nullable: true
      required:
      - secret_token
      - data
      - output
    putApiV4ProjectsIdPackagesGenericPackageNamePackageVersionFileNameAuthorizeRequest:
      type: object
      properties:
        status:
          type: string
          enum:
          - default
          - hidden
          description: Package status
          nullable: true
    putApiV4ProjectsIdPackagesGenericPackageNamePackageVersionPathFileNameAuthorizeRequest:
      type: object
      properties:
        status:
          type: string
          enum:
          - default
          - hidden
          description: Package status
          nullable: true
    putApiV4ProjectsIdPackagesGenericPackageNamePackageVersionFileNameRequest:
      type: object
      properties:
        status:
          type: string
          enum:
          - default
          - hidden
          description: Package status
          nullable: true
        file:
          type: string
          format: binary
          description: The package file to publish (generated by Multipart middleware)
          nullable: true
        select:
          type: string
          enum:
          - package_file
          description: Response format selector. If set to "package_file", returns
            the created package file object in the response
          nullable: true
      required:
      - file
    putApiV4ProjectsIdPackagesGenericPackageNamePackageVersionPathFileNameRequest:
      type: object
      properties:
        status:
          type: string
          enum:
          - default
          - hidden
          description: Package status
          nullable: true
        file:
          type: string
          format: binary
          description: The package file to publish (generated by Multipart middleware)
          nullable: true
        select:
          type: string
          enum:
          - package_file
          description: Response format selector. If set to "package_file", returns
            the created package file object in the response
          nullable: true
      required:
      - file
    postApiV4ProjectsIdFreezePeriodsRequest:
      type: object
      properties:
        freeze_start:
          type: string
          description: Start of the freeze period in [cron](https://crontab.guru/)
            format.
          nullable: true
        freeze_end:
          type: string
          description: End of the freeze period in [cron](https://crontab.guru/) format.
          nullable: true
        cron_timezone:
          type: string
          description: Time zone for the cron fields.
          nullable: true
      required:
      - freeze_start
      - freeze_end
    putApiV4ProjectsIdFreezePeriodsFreezePeriodIdRequest:
      type: object
      properties:
        freeze_start:
          type: string
          description: Start of the freeze period in [cron](https://crontab.guru/)
            format.
          nullable: true
        freeze_end:
          type: string
          description: End of the freeze period in [cron](https://crontab.guru/) format.
          nullable: true
        cron_timezone:
          type: string
          description: Time zone for the cron fields.
          nullable: true
    headApiV4ProjectsIdRepositoryFilesFilePathBlameRequest:
      type: object
      properties:
        ref:
          type: string
          description: Commit SHA or name of a repository branch or tag.
          example: main
          minLength: 1
      required:
      - ref
    headApiV4ProjectsIdRepositoryFilesFilePathRequest:
      type: object
      properties:
        ref:
          type: string
          description: Commit SHA or name of a repository branch or tag.
          example: main
          minLength: 1
      required:
      - ref
    postApiV4ProjectsIdRepositoryFilesFilePathRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The file content to be created (generated by Multipart middleware)
          nullable: true
      required:
      - file
    putApiV4ProjectsIdRepositoryFilesFilePathRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The file content to be updated (generated by Multipart middleware)
          nullable: true
      required:
      - file
    postApiV4FeaturesNameRequest:
      type: object
      properties:
        value:
          oneOf:
          - type: string
            nullable: true
          - type: integer
            nullable: true
          description: Value to set for the feature flag. Use `true` or `false` to
            enable or disable it, or an integer for the percentage of time it should
            be enabled.
        key:
          type: string
          enum:
          - percentage_of_actors
          - percentage_of_time
          description: Rollout strategy for a percentage `value`. Omit it to apply
            the percentage to time. Mutually exclusive with `feature_group`, `user`,
            `group`, `namespace`, `project`, `organization`, `repository`, `runner`,
            `endpoint`.
          nullable: true
        feature_group:
          type: string
          description: Name of the feature group. Mutually exclusive with `key`.
          nullable: true
        user:
          type: string
          description: GitLab username or a comma-separated list of usernames. Mutually
            exclusive with `key`.
          nullable: true
        group:
          type: string
          description: GitLab group path, for example `gitlab-org`, or a comma-separated
            list of group paths. Mutually exclusive with `key`.
          nullable: true
        namespace:
          type: string
          description: GitLab group or user namespace path, for example `john-doe`,
            or a comma-separated list of namespace paths. Introduced in GitLab 15.0.
            Mutually exclusive with `key`.
          nullable: true
        project:
          type: string
          description: Project path, for example `gitlab-org/gitlab-foss`, or a comma-separated
            list of project paths. Mutually exclusive with `key`.
          nullable: true
        organization:
          type: string
          description: Organization ID or path, for example `1` or `default`, or a
            comma-separated list of organization IDs or paths. Mutually exclusive
            with `key`.
          nullable: true
        repository:
          type: string
          description: Repository path, for example `gitlab-org/gitlab-test.git`,
            `gitlab-org/gitlab-test.wiki.git`, or `snippets/21.git`. Use commas to
            separate multiple repository paths. Mutually exclusive with `key`.
          nullable: true
        runner:
          type: string
          description: Runner ID or a comma-separated list of runner IDs. Mutually
            exclusive with `key`.
          nullable: true
        endpoint:
          type: string
          description: Caller ID identifying a code path, for example `GET /api/v4/projects/:id`
            or `ProjectsController#show`. Use a comma to separate multiple endpoint
            paths. Mutually exclusive with `key`.
          nullable: true
        force:
          type: boolean
          description: If `true`, skips feature flag validation checks, such as a
            YAML definition.
          nullable: true
      required:
      - value
    postApiV4ProjectsIdFeatureFlagsUserListsRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the list.
          nullable: true
        user_xids:
          type: string
          description: Comma-separated list of external user IDs.
          nullable: true
      required:
      - name
      - user_xids
    putApiV4ProjectsIdFeatureFlagsUserListsIidRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the list.
          nullable: true
        user_xids:
          type: string
          description: Comma-separated list of external user IDs.
          nullable: true
    postApiV4ProjectsIdFeatureFlagsRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the feature flag.
          nullable: true
        description:
          type: string
          description: Description of the feature flag.
          nullable: true
        active:
          type: boolean
          description: If `true`, the feature flag is active.
          nullable: true
          default: true
        strategies:
          type: array
          description: Array of feature flag [strategies](https://docs.gitlab.com/operations/feature_flags/#feature-flag-strategies).
          items:
            type: object
            properties:
              name:
                type: string
                description: Name of the strategy. Can be `default`, `gradualRolloutUserId`,
                  `userWithId`, `gitlabUserList`, or `flexibleRollout`.
                nullable: true
              parameters:
                type: object
                description: Strategy parameters as a JSON-formatted string, for example
                  `{"userIds":"user1"}`.
                nullable: true
              user_list_id:
                type: integer
                description: ID of the feature flag user list. Applies only if the
                  strategy is `gitlabUserList`.
                nullable: true
              scopes:
                type: array
                description: Array of scopes for the strategy.
                items:
                  type: object
                  properties:
                    environment_scope:
                      type: string
                      description: Environment scope of the scope.
                      nullable: true
                  required:
                  - environment_scope
                nullable: true
            required:
            - name
          nullable: true
      required:
      - name
    putApiV4ProjectsIdFeatureFlagsSettingsRequest:
      type: object
      properties:
        minimum_role:
          type: string
          enum:
          - no_one_allowed
          - developer
          - maintainer
          - owner
          description: Minimum role required to create, update, toggle, and delete
            feature flags
          minLength: 1
      required:
      - minimum_role
    putApiV4ProjectsIdFeatureFlagsFeatureFlagNameRequest:
      type: object
      properties:
        name:
          type: string
          description: New name of the feature flag.
          nullable: true
        description:
          type: string
          description: Description of the feature flag.
          nullable: true
        active:
          type: boolean
          description: If `true`, the feature flag is active.
          nullable: true
        strategies:
          type: array
          description: Array of feature flag [strategies](https://docs.gitlab.com/operations/feature_flags/#feature-flag-strategies).
          items:
            type: object
            properties:
              id:
                type: integer
                description: ID of the feature flag strategy.
                nullable: true
              name:
                type: string
                description: Name of the strategy.
                nullable: true
              parameters:
                type: object
                description: Strategy parameters as a JSON-formatted string, for example
                  `{"userIds":"user1"}`.
                nullable: true
              user_list_id:
                type: integer
                description: ID of the feature flag user list. Applies only if the
                  strategy is `gitlabUserList`.
                nullable: true
              _destroy:
                type: boolean
                description: If `true`, deletes the strategy.
                nullable: true
              scopes:
                type: array
                description: Array of scopes for the strategy.
                items:
                  type: object
                  properties:
                    id:
                      type: integer
                      description: ID of the scope.
                      nullable: true
                    environment_scope:
                      type: string
                      description: Environment scope of the scope.
                      nullable: true
                    _destroy:
                      type: boolean
                      description: If `true`, deletes the scope.
                      nullable: true
                nullable: true
          nullable: true
    patchApiV4ProjectsIdErrorTrackingSettingsRequest:
      type: object
      properties:
        active:
          type: boolean
          description: If `true`, enables the already configured error tracking settings.
            If `false`, disables them.
        integrated:
          type: boolean
          description: If `true`, enables the integrated error tracking backend.
          nullable: true
      required:
      - active
    putApiV4ProjectsIdErrorTrackingSettingsRequest:
      type: object
      properties:
        active:
          type: boolean
          description: If `true`, enables the configured error tracking settings.
            If `false`, disables them.
        integrated:
          type: boolean
          description: If `true`, enables the integrated error tracking backend.
          nullable: true
      required:
      - active
      - integrated
    postApiV4ProjectsIdEnvironmentsRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the environment.
          nullable: true
        external_url:
          type: string
          description: URL to link to for the environment.
          nullable: true
        tier:
          type: string
          enum:
          - production
          - staging
          - testing
          - development
          - other
          description: Tier of the environment.
          nullable: true
        cluster_agent_id:
          type: integer
          description: ID of the cluster agent to associate with the environment.
            When updating an environment, set to `null` to remove it.
          nullable: true
        kubernetes_namespace:
          type: string
          description: Kubernetes namespace to associate with the environment. When
            updating an environment, set to `null` to remove it.
          nullable: true
        flux_resource_path:
          type: string
          description: Flux resource path to associate with the environment. Must
            be the full resource path, for example `helm.toolkit.fluxcd.io/v2/namespaces/gitlab-agent/helmreleases/gitlab-agent`.
            When updating an environment, set to `null` to remove it.
          nullable: true
        description:
          type: string
          description: Description of the environment.
          nullable: true
        auto_stop_setting:
          type: string
          enum:
          - always
          - with_action
          description: Auto stop setting for the environment. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/428625)
            in GitLab 17.8.
          nullable: true
      required:
      - name
    putApiV4ProjectsIdEnvironmentsEnvironmentIdRequest:
      type: object
      properties:
        external_url:
          type: string
          description: New URL to link to for the environment.
          nullable: true
        tier:
          type: string
          enum:
          - production
          - staging
          - testing
          - development
          - other
          description: Tier of the environment.
          nullable: true
        cluster_agent_id:
          type: integer
          description: ID of the cluster agent to associate with the environment.
            When updating an environment, set to `null` to remove it.
          nullable: true
        kubernetes_namespace:
          type: string
          description: Kubernetes namespace to associate with the environment. When
            updating an environment, set to `null` to remove it.
          nullable: true
        flux_resource_path:
          type: string
          description: Flux resource path to associate with the environment. Must
            be the full resource path, for example `helm.toolkit.fluxcd.io/v2/namespaces/gitlab-agent/helmreleases/gitlab-agent`.
            When updating an environment, set to `null` to remove it.
          nullable: true
        description:
          type: string
          description: Description of the environment.
          nullable: true
        auto_stop_setting:
          type: string
          enum:
          - always
          - with_action
          description: Auto stop setting for the environment. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/428625)
            in GitLab 17.8.
          nullable: true
    postApiV4ProjectsIdEnvironmentsEnvironmentIdStopRequest:
      type: object
      properties:
        force:
          type: boolean
          description: If `true`, stops the environment without executing `on_stop`
            actions.
          nullable: true
          default: false
    postApiV4ProjectsIdEnvironmentsStopStaleRequest:
      type: object
      properties:
        before:
          type: string
          format: date-time
          description: Stop environments that were modified or deployed to before
            the specified date. Valid inputs are between 10 years ago and 1 week ago.
          nullable: true
      required:
      - before
    postApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesRequest:
      type: object
      properties:
        note:
          type: string
          description: Content of the note.
          nullable: true
        in_reply_to_discussion_id:
          type: string
          description: ID of the discussion the draft note replies to.
          nullable: true
        commit_id:
          type: string
          description: SHA of the commit to associate the draft note with.
          nullable: true
        resolve_discussion:
          type: boolean
          description: If `true`, resolves the associated discussion.
          nullable: true
        position:
          type: object
          description: Position of a diff note. If omitted when creating, creates
            a regular discussion note. If omitted when updating, the existing position
            is kept.
          properties:
            base_sha:
              type: string
              description: Base commit SHA of the diff.
              nullable: true
            start_sha:
              type: string
              description: SHA of the latest commit in the target branch.
              nullable: true
            head_sha:
              type: string
              description: SHA of the latest commit in the source branch.
              nullable: true
            position_type:
              type: string
              enum:
              - text
              - image
              - file
              description: Type of the position reference.
              minLength: 1
            new_path:
              type: string
              description: File path after the change.
              nullable: true
            new_line:
              type: integer
              description: Line number after the change, for `text` diff notes.
              nullable: true
            old_path:
              type: string
              description: File path before the change.
              nullable: true
            old_line:
              type: integer
              description: Line number before the change, for `text` diff notes.
              nullable: true
            width:
              type: integer
              description: Width of the image, for `image` diff notes.
              nullable: true
            height:
              type: integer
              description: Height of the image, for `image` diff notes.
              nullable: true
            x:
              type: integer
              description: X coordinate in the image, for `image` diff notes.
              nullable: true
            "y":
              type: integer
              description: Y coordinate in the image, for `image` diff notes.
              nullable: true
            line_range:
              type: object
              description: Line range for a multi-line note.
              properties:
                start:
                  type: object
                  description: Start line for a multi-line note.
                  properties:
                    line_code:
                      type: string
                      description: Start line code for a multi-line note.
                      nullable: true
                    type:
                      type: string
                      description: Start line type for a multi-line note.
                      nullable: true
                    old_line:
                      type: integer
                      description: Line number before the change at the start of the
                        line range.
                      nullable: true
                    new_line:
                      type: integer
                      description: Line number after the change at the start of the
                        line range.
                      nullable: true
                  nullable: true
                end:
                  type: object
                  description: End line for a multi-line note.
                  properties:
                    line_code:
                      type: string
                      description: End line code for a multi-line note.
                      nullable: true
                    type:
                      type: string
                      description: End line type for a multi-line note.
                      nullable: true
                    old_line:
                      type: integer
                      description: Line number before the change at the end of the
                        line range.
                      nullable: true
                    new_line:
                      type: integer
                      description: Line number after the change at the end of the
                        line range.
                      nullable: true
                  nullable: true
              nullable: true
          required:
          - base_sha
          - start_sha
          - head_sha
          - position_type
          nullable: true
      required:
      - note
    putApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteIdRequest:
      type: object
      properties:
        note:
          type: string
          description: Content of the note.
          minLength: 1
        position:
          type: object
          description: Position of a diff note. If omitted when creating, creates
            a regular discussion note. If omitted when updating, the existing position
            is kept.
          properties:
            base_sha:
              type: string
              description: Base commit SHA of the diff.
              nullable: true
            start_sha:
              type: string
              description: SHA of the latest commit in the target branch.
              nullable: true
            head_sha:
              type: string
              description: SHA of the latest commit in the source branch.
              nullable: true
            position_type:
              type: string
              enum:
              - text
              - image
              - file
              description: Type of the position reference.
              minLength: 1
            new_path:
              type: string
              description: File path after the change.
              nullable: true
            new_line:
              type: integer
              description: Line number after the change, for `text` diff notes.
              nullable: true
            old_path:
              type: string
              description: File path before the change.
              nullable: true
            old_line:
              type: integer
              description: Line number before the change, for `text` diff notes.
              nullable: true
            width:
              type: integer
              description: Width of the image, for `image` diff notes.
              nullable: true
            height:
              type: integer
              description: Height of the image, for `image` diff notes.
              nullable: true
            x:
              type: integer
              description: X coordinate in the image, for `image` diff notes.
              nullable: true
            "y":
              type: integer
              description: Y coordinate in the image, for `image` diff notes.
              nullable: true
            line_range:
              type: object
              description: Line range for a multi-line note.
              properties:
                start:
                  type: object
                  description: Start line for a multi-line note.
                  properties:
                    line_code:
                      type: string
                      description: Start line code for a multi-line note.
                      nullable: true
                    type:
                      type: string
                      description: Start line type for a multi-line note.
                      nullable: true
                    old_line:
                      type: integer
                      description: Line number before the change at the start of the
                        line range.
                      nullable: true
                    new_line:
                      type: integer
                      description: Line number after the change at the start of the
                        line range.
                      nullable: true
                  nullable: true
                end:
                  type: object
                  description: End line for a multi-line note.
                  properties:
                    line_code:
                      type: string
                      description: End line code for a multi-line note.
                      nullable: true
                    type:
                      type: string
                      description: End line type for a multi-line note.
                      nullable: true
                    old_line:
                      type: integer
                      description: Line number before the change at the end of the
                        line range.
                      nullable: true
                    new_line:
                      type: integer
                      description: Line number after the change at the end of the
                        line range.
                      nullable: true
                  nullable: true
              nullable: true
          required:
          - base_sha
          - start_sha
          - head_sha
          - position_type
          nullable: true
    postApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesBulkPublishRequest:
      type: object
      properties:
        reviewer_state:
          type: string
          enum:
          - requested_changes
          - reviewed
          description: Sets the review state after publishing. Does not record a formal
            approval. If you can't request changes, sets `reviewed` instead.
          nullable: true
        note:
          type: string
          description: Text of the summary note to add to the merge request.
          nullable: true
        internal:
          type: boolean
          description: If `true`, the summary note is internal.
          nullable: true
          default: false
    postApiV4ProjectsIdDeploymentsRequest:
      type: object
      properties:
        environment:
          type: string
          description: Name of the [environment](https://docs.gitlab.com/ci/environments/)
            to create the deployment for.
          minLength: 1
        sha:
          type: string
          description: SHA of the commit that is deployed.
          minLength: 1
        ref:
          type: string
          description: Name of the branch or tag that is deployed.
          minLength: 1
        tag:
          type: boolean
          description: If `true`, the deployed ref is a tag.
          nullable: true
        status:
          type: string
          enum:
          - running
          - success
          - failed
          - canceled
          description: Status of the deployment that is created.
          minLength: 1
      required:
      - environment
      - sha
      - ref
      - tag
      - status
    putApiV4ProjectsIdDeploymentsDeploymentIdRequest:
      type: object
      properties:
        status:
          type: string
          enum:
          - running
          - success
          - failed
          - canceled
          description: New status of the deployment.
          minLength: 1
      required:
      - status
    postApiV4ProjectsIdDeploymentsDeploymentIdApprovalRequest:
      type: object
      properties:
        status:
          type: string
          enum:
          - approved
          - rejected
          description: Status of the approval.
          minLength: 1
        comment:
          type: string
          description: Comment to go with the approval.
          nullable: true
        represented_as:
          type: string
          description: Name of the user, group, or role to use for the approval when
            the user belongs to [multiple approval rules](https://docs.gitlab.com/ci/environments/deployment_approvals/#add-multiple-approval-rules).
          nullable: true
      required:
      - status
    postApiV4ProjectsIdDeployTokensRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the deploy token.
          nullable: true
        scopes:
          type: array
          items:
            type: string
            enum:
            - read_repository
            - read_registry
            - write_registry
            - read_package_registry
            - write_package_registry
            - read_virtual_registry
            - write_virtual_registry
          description: Scopes of the deploy token. Must include at least one scope.
        expires_at:
          type: string
          format: date-time
          description: Date when the deploy token expires. If omitted, the deploy
            token does not expire.
          nullable: true
        username:
          type: string
          description: Username for the deploy token. Defaults to `gitlab+deploy-token-{n}`.
          nullable: true
      required:
      - name
      - scopes
    postApiV4GroupsIdDeployTokensRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the deploy token.
          nullable: true
        scopes:
          type: array
          items:
            type: string
            enum:
            - read_repository
            - read_registry
            - write_registry
            - read_package_registry
            - write_package_registry
            - read_virtual_registry
            - write_virtual_registry
          description: Scopes of the deploy token. Must include at least one scope.
        expires_at:
          type: string
          format: date-time
          description: Date when the deploy token expires. If omitted, the deploy
            token does not expire.
          nullable: true
        username:
          type: string
          description: Username for the deploy token. Defaults to `gitlab+deploy-token-{n}`.
          nullable: true
      required:
      - name
      - scopes
    postApiV4DeployKeysRequest:
      type: object
      properties:
        key:
          type: string
          description: Public key value of the deploy key.
          nullable: true
        title:
          type: string
          description: Title of the deploy key.
          nullable: true
        expires_at:
          type: string
          format: date-time
          description: Date when the deploy key expires. If omitted, the deploy key
            does not expire.
          nullable: true
      required:
      - key
      - title
    postApiV4ProjectsIdDeployKeysRequest:
      type: object
      properties:
        key:
          type: string
          description: Public key value of the deploy key.
          nullable: true
        title:
          type: string
          description: Title of the deploy key.
          nullable: true
        can_push:
          type: boolean
          description: If `true`, the deploy key can push to the project's repository.
          nullable: true
        expires_at:
          type: string
          format: date-time
          description: Date when the deploy key expires. If omitted, the deploy key
            does not expire.
          nullable: true
      required:
      - key
      - title
    putApiV4ProjectsIdDeployKeysKeyIdRequest:
      type: object
      properties:
        title:
          type: string
          description: Title of the deploy key. At least one of `title`, `can_push`
            must be provided.
          nullable: true
        can_push:
          type: boolean
          description: If `true`, the deploy key can push to the project's repository.
            At least one of `title`, `can_push` must be provided.
          nullable: true
    putApiV4ProjectsIdPackagesDebianFileNameRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The package file to be published (generated by Multipart middleware)
          nullable: true
        distribution:
          type: string
          description: The Debian Codename or Suite. Used with `component` to upload
            with an explicit distribution and component
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        component:
          type: string
          description: The Debian Component
          pattern: "^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$"
          nullable: true
      required:
      - file
      - component
    putApiV4ProjectsIdPackagesDebianFileNameAuthorizeRequest:
      type: object
      properties:
        distribution:
          type: string
          description: The Debian Codename or Suite
          pattern: "(?:^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$)"
          nullable: true
        component:
          type: string
          description: The Debian Component
          pattern: "^(?:[0-9A-Za-z\\u017F\\u212A][\\x2D.0-9A-Za-z\\u017F\\u212A]*)$"
          nullable: true
      required:
      - component
    ? putApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionFilesFileNameRequest
    : type: object
      properties:
        file:
          type: string
          format: binary
          description: The package file to be published (generated by Multipart middleware)
          nullable: true
      required:
      - file
    ? putApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionPackagesConanPackageReferenceRevisionsPackageRevisionFilesFileNameRequest
    : type: object
      properties:
        file:
          type: string
          format: binary
          description: The package file to be published (generated by Multipart middleware)
          nullable: true
      required:
      - file
    putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileNameRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The package file to be published (generated by Multipart middleware)
          nullable: true
      required:
      - file
    ? putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileNameRequest
    : type: object
      properties:
        file:
          type: string
          format: binary
          description: The package file to be published (generated by Multipart middleware)
          nullable: true
      required:
      - file
    putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileNameRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The package file to be published (generated by Multipart middleware)
          nullable: true
      required:
      - file
    ? putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileNameRequest
    : type: object
      properties:
        file:
          type: string
          format: binary
          description: The package file to be published (generated by Multipart middleware)
          nullable: true
      required:
      - file
    postApiV4ProjectsIdPackagesComposerRequest:
      type: object
      properties:
        branch:
          type: string
          description: Name of the branch to target for the package. Exactly one of
            `tag`, `branch` must be provided.
          example: release
          nullable: true
        tag:
          type: string
          description: Name of the tag to target for the package. Exactly one of `tag`,
            `branch` must be provided.
          example: v1.0.0
          nullable: true
    postApiV4ProjectsIdStatusesShaRequest:
      type: object
      properties:
        state:
          type: string
          enum:
          - pending
          - running
          - success
          - failed
          - canceled
          - skipped
          description: State of the status.
          minLength: 1
        ref:
          type: string
          description: Branch or tag that the status refers to. Must be 255 characters
            or fewer.
          example: develop
          nullable: true
        target_url:
          type: string
          description: Target URL to associate with this status. Must be 255 characters
            or fewer.
          example: https://gitlab.example.com/janedoe/gitlab-foss/builds/91
          nullable: true
        description:
          type: string
          description: Short description of the status. Must be 255 characters or
            fewer.
          nullable: true
        name:
          type: string
          description: String label to differentiate this status from the status of
            other systems. Default is `default`.
          example: coverage
          nullable: true
        context:
          type: string
          description: String label to differentiate this status from the status of
            other systems. Default is `default`.
          example: coverage
          nullable: true
        coverage:
          type: number
          description: Total code coverage.
          example: 100.0
          nullable: true
        pipeline_id:
          type: integer
          description: ID of the pipeline to set the status for. Use when multiple
            pipelines exist for the same commit SHA.
          nullable: true
      required:
      - state
    postApiV4ProjectsIdRepositoryCommitsRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The commit content to be created (generated by Multipart middleware)
          nullable: true
      required:
      - file
    postApiV4ProjectsIdRepositoryCommitsShaCommentsRequest:
      type: object
      properties:
        note:
          type: string
          description: Text of the comment.
          example: Nice code!
          nullable: true
        path:
          type: string
          description: File path relative to the repository.
          example: doc/update/5.4-to-6.0.md
          nullable: true
        line:
          type: integer
          description: Line number where the comment should be placed. Required if
            `path` is provided.
          example: 11
          nullable: true
        line_type:
          type: string
          enum:
          - new
          - old
          description: Line type.
          minLength: 1
          default: new
      required:
      - note
      - line
      - line_type
    postApiV4ProjectsIdRepositoryCommitsShaCherryPickRequest:
      type: object
      properties:
        branch:
          type: string
          description: Name of the branch.
          example: master
          minLength: 1
        dry_run:
          type: boolean
          description: If `true`, does not commit any changes.
          nullable: true
          default: false
        message:
          type: string
          description: Custom commit message to use for the new commit.
          example: Initial commit
          nullable: true
      required:
      - branch
    postApiV4ProjectsIdRepositoryCommitsShaRevertRequest:
      type: object
      properties:
        branch:
          type: string
          description: Name of the target branch.
          example: master
          minLength: 1
        dry_run:
          type: boolean
          description: If `true`, does not commit any changes.
          nullable: true
          default: false
      required:
      - branch
    putApiV4ProjectsIdPackagesCargoApiV1CratesNewRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The cargo publish body, uploaded by workhorse
          nullable: true
      required:
      - file
    postApiV4ProjectsIdClusterAgentsRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the agent.
          nullable: true
      required:
      - name
    postApiV4ProjectsIdClusterAgentsAgentIdTokensRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the token.
          nullable: true
        description:
          type: string
          description: Description of the token.
          nullable: true
      required:
      - name
    postApiV4ProjectsIdVariablesRequest:
      type: object
      properties:
        key:
          type: string
          description: Key of the project variable. Must be 255 characters or fewer
            and contain only `A-Z`, `a-z`, `0-9`, and `_`.
          nullable: true
        value:
          type: string
          description: Value of the variable.
          nullable: true
        protected:
          type: boolean
          description: If `true`, the variable is protected. Default is `false`.
          nullable: true
        masked:
          type: boolean
          description: If `true`, the variable is masked. Default is `false`.
          nullable: true
        masked_and_hidden:
          type: boolean
          description: If `true`, the variable is masked and hidden. Default is `false`.
            [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/29674) in GitLab
            17.4.
          nullable: true
        raw:
          type: boolean
          description: If `true`, the variable is treated as a raw string. If `false`,
            the value is [expanded](https://docs.gitlab.com/ci/variables/#allow-cicd-variable-expansion).
          nullable: true
        variable_type:
          type: string
          enum:
          - env_var
          - file
          description: The type of the variable.
          nullable: true
          default: env_var
        environment_scope:
          type: string
          description: Environment scope of the variable. Defaults to `*`.
          nullable: true
        description:
          type: string
          description: Description of the variable. Limited to 255 characters. Default
            is `null`.
          nullable: true
      required:
      - key
      - value
    putApiV4ProjectsIdVariablesKeyRequest:
      type: object
      properties:
        value:
          type: string
          description: Value of the variable.
          nullable: true
        protected:
          type: boolean
          description: If `true`, the variable is protected.
          nullable: true
        masked:
          type: boolean
          description: If `true`, the variable is masked.
          nullable: true
        environment_scope:
          type: string
          description: Environment scope of the variable.
          nullable: true
        raw:
          type: boolean
          description: If `true`, the variable is treated as a raw string. If `false`,
            the value is [expanded](https://docs.gitlab.com/ci/variables/#allow-cicd-variable-expansion).
          nullable: true
        variable_type:
          type: string
          enum:
          - env_var
          - file
          description: 'The type of the variable. Default: env_var'
          nullable: true
        filter:
          type: object
          description: Filter results when multiple variables share the same key.
            Supports `filter[environment_scope]`.
          properties:
            environment_scope:
              type: string
              description: Environment scope of the variable.
              nullable: true
          nullable: true
        description:
          type: string
          description: Description of the variable. Limited to 255 characters.
          nullable: true
    postApiV4ProjectsIdTriggerPipelineRequest:
      type: object
      properties:
        token:
          type: string
          description: Trigger token or CI/CD job token.
          example: 6d056f63e50fe6f8c5f8f4aa10edb7
          nullable: true
        variables:
          type: object
          description: 'Map of pipeline variables, as key-value pairs, for example
            `{ VAR1: "value1", VAR2: "value2" }`.'
          example:
            VAR1: value1
            VAR2: value2
          nullable: true
        inputs:
          type: object
          description: Map of inputs, as key-value pairs, to use when creating the
            pipeline. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/519958)
            in GitLab 17.10. [Generally available](https://gitlab.com/gitlab-org/gitlab/-/issues/536548)
            in GitLab 18.1. Feature flag `ci_inputs_for_pipelines` removed.
          nullable: true
      required:
      - token
    postApiV4ProjectsIdRefRefTriggerPipelineRequest:
      type: object
      properties:
        token:
          type: string
          description: Trigger token or CI/CD job token.
          example: 6d056f63e50fe6f8c5f8f4aa10edb7
          nullable: true
        variables:
          type: object
          description: 'Map of pipeline variables, as key-value pairs, for example
            `{ VAR1: "value1", VAR2: "value2" }`.'
          example:
            VAR1: value1
            VAR2: value2
          nullable: true
        inputs:
          type: object
          description: Map of inputs, as key-value pairs, to use when creating the
            pipeline. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/519958)
            in GitLab 17.10. [Generally available](https://gitlab.com/gitlab-org/gitlab/-/issues/536548)
            in GitLab 18.1. Feature flag `ci_inputs_for_pipelines` removed.
          nullable: true
      required:
      - token
    postApiV4ProjectsIdTriggersRequest:
      type: object
      properties:
        description:
          type: string
          description: Description of the trigger token.
          example: my trigger token description
          nullable: true
        expires_at:
          type: string
          format: date-time
          description: Timestamp of when the pipeline trigger token expires.
          example: '2024-07-01T00:00:00.000Z'
          nullable: true
      required:
      - description
    putApiV4ProjectsIdTriggersTriggerIdRequest:
      type: object
      properties:
        description:
          type: string
          description: Description of the trigger token.
          nullable: true
    postApiV4ProjectsIdPipelineSchedulesRequest:
      type: object
      properties:
        description:
          type: string
          description: Description of the pipeline schedule.
          example: Test schedule pipeline
          nullable: true
        ref:
          type: string
          description: Branch or tag name that triggers the pipeline. Accepts either
            short refs (`main`) or full refs (`refs/heads/main` or `refs/tags/main`).
            Short refs are automatically expanded to full refs, unless the value could
            match either a branch or a tag.
          example: develop
          minLength: 1
        cron:
          type: string
          description: Cron schedule, for example `0 1 * * *`.
          example: "* * * * *"
          nullable: true
        cron_timezone:
          type: string
          description: Time zone supported by `ActiveSupport::TimeZone`, for example
            `Pacific Time (US & Canada)`, or `TZInfo::Timezone`, for example `America/Los_Angeles`.
          example: Asia/Tokyo
          nullable: true
          default: UTC
        active:
          type: boolean
          description: If `true`, activates the pipeline schedule. If `false`, the
            pipeline schedule is initially deactivated.
          example: true
          nullable: true
          default: true
        inputs:
          type: array
          description: Array of inputs to pass to the pipeline schedule. Each input
            has a `name` and a `value`, which can be a string, array, number, or boolean.
            To delete an existing input, include the `name` field and set `destroy`
            to `true`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/525504)
            in GitLab 17.11.
          items:
            type: object
            properties:
              name:
                type: string
                description: Name of the input.
                example: deploy_strategy
                nullable: true
              value:
                oneOf:
                - type: string
                  nullable: true
                - type: array
                  nullable: true
                - type: number
                  nullable: true
                - type: boolean
                  nullable: true
                description: Value of the input.
            required:
            - name
            - value
          nullable: true
      required:
      - description
      - ref
      - cron
    putApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdRequest:
      type: object
      properties:
        description:
          type: string
          description: Description of the pipeline schedule.
          example: Test schedule pipeline
          nullable: true
        ref:
          type: string
          description: Branch or tag name that triggers the pipeline. Accepts either
            short refs (`main`) or full refs (`refs/heads/main` or `refs/tags/main`).
            Short refs are automatically expanded to full refs, unless the value could
            match either a branch or a tag.
          example: develop
          nullable: true
        cron:
          type: string
          description: Cron schedule, for example `0 1 * * *`.
          example: "* * * * *"
          nullable: true
        cron_timezone:
          type: string
          description: Time zone supported by `ActiveSupport::TimeZone`, for example
            `Pacific Time (US & Canada)`, or `TZInfo::Timezone`, for example `America/Los_Angeles`.
          example: Asia/Tokyo
          nullable: true
        active:
          type: boolean
          description: If `true`, activates the pipeline schedule. If `false`, the
            pipeline schedule is initially deactivated.
          example: true
          nullable: true
        inputs:
          type: array
          description: Array of inputs to pass to the pipeline schedule. Each input
            has a `name` and a `value`, which can be a string, array, number, or boolean.
            To delete an existing input, include the `name` field and set `destroy`
            to `true`.
          items:
            type: object
            properties:
              name:
                type: string
                description: Name of the input.
                example: deploy_strategy
                nullable: true
              destroy:
                type: boolean
                description: If `true`, deletes the input.
                nullable: true
              value:
                oneOf:
                - type: string
                  nullable: true
                - type: array
                  nullable: true
                - type: number
                  nullable: true
                - type: boolean
                  nullable: true
                description: Value of the input.
            required:
            - name
            - value
          nullable: true
    postApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariablesRequest:
      type: object
      properties:
        key:
          type: string
          description: Key of the pipeline schedule variable. Must be 255 characters
            or fewer and contain only `A-Z`, `a-z`, `0-9`, and `_`.
          example: NEW_VARIABLE
          nullable: true
        value:
          type: string
          description: Value of the variable.
          example: new value
          nullable: true
        variable_type:
          type: string
          enum:
          - env_var
          - file
          description: Type of the variable. Defaults to `env_var`.
          nullable: true
      required:
      - key
      - value
    putApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariablesKeyRequest:
      type: object
      properties:
        value:
          type: string
          description: Value of the variable.
          example: new value
          nullable: true
        variable_type:
          type: string
          enum:
          - env_var
          - file
          description: Type of the variable. Defaults to `env_var`.
          nullable: true
    postApiV4ProjectsIdPipelineRequest:
      type: object
      properties:
        ref:
          type: string
          description: Branch or tag to run the pipeline on. For merge request pipelines,
            use the merge request pipelines endpoint.
          example: develop
          nullable: true
        variables:
          type: array
          description: Array of variables to make available in the pipeline. Each
            variable is a hash with `key`, `value`, and `variable_type`. If `variable_type`
            is omitted, it defaults to `env_var`.
          items:
            type: object
            properties:
              key:
                type: string
                description: Key of the variable.
                example: UPLOAD_TO_S3
                nullable: true
              value:
                type: string
                description: Value of the variable.
                example: 'true'
                nullable: true
              variable_type:
                type: string
                enum:
                - env_var
                - file
                description: Type of the variable.
                nullable: true
                default: env_var
          nullable: true
        inputs:
          type: object
          description: Map of inputs, as key-value pairs, to use when creating the
            pipeline. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/519958)
            in GitLab 17.10. [Generally available](https://gitlab.com/gitlab-org/gitlab/-/issues/536548)
            in GitLab 18.1. Feature flag `ci_inputs_for_pipelines` removed.
          nullable: true
      required:
      - ref
    putApiV4ProjectsIdPipelinesPipelineIdMetadataRequest:
      type: object
      properties:
        name:
          type: string
          description: New name of the pipeline.
          example: Deployment to production
          nullable: true
      required:
      - name
    postApiV4ProjectsIdSecureFilesRequest:
      type: object
      properties:
        name:
          type: string
          description: |-
            The name of the file being uploaded. The filename must be unique within
                        the project
          nullable: true
        file:
          type: string
          format: binary
          description: The secure file being uploaded. Maximum size is 5 MB.
          nullable: true
      required:
      - name
      - file
    postApiV4RunnersRequest:
      type: object
      properties:
        token:
          type: string
          description: Registration token.
          nullable: true
        description:
          type: string
          description: Description of the runner.
          nullable: true
        maintainer_note:
          type: string
          description: Free-form maintenance notes for the runner. Deprecated. Use
            `maintenance_note` instead. Mutually exclusive with `maintenance_note`.
          nullable: true
        maintenance_note:
          type: string
          description: Free-form maintenance notes for the runner (1024 characters).
            Mutually exclusive with `maintainer_note`.
          nullable: true
        info:
          type: object
          description: Runner's metadata. Accepts the keys `name`, `version`, `revision`,
            `platform`, and `architecture`.
          properties:
            name:
              type: string
              description: Runner's name
              nullable: true
            version:
              type: string
              description: Runner's version
              nullable: true
            revision:
              type: string
              description: Runner's revision
              nullable: true
            platform:
              type: string
              description: Runner's platform
              nullable: true
            architecture:
              type: string
              description: Runner's architecture
              nullable: true
          nullable: true
        active:
          type: boolean
          description: If `true`, the runner is allowed to receive new jobs. Deprecated.
            Use `paused` instead. Mutually exclusive with `paused`.
          nullable: true
        paused:
          type: boolean
          description: If `true`, the runner ignores new jobs. Mutually exclusive
            with `active`.
          nullable: true
        locked:
          type: boolean
          description: If `true`, the runner is locked for the current project.
          nullable: true
        access_level:
          type: string
          enum:
          - not_protected
          - ref_protected
          description: Access level of the runner.
          nullable: true
        run_untagged:
          type: boolean
          description: If `true`, the runner handles untagged jobs.
          nullable: true
        tag_list:
          type: array
          items:
            type: string
          description: List of runner tags.
          nullable: true
        maximum_timeout:
          type: integer
          description: Maximum time, in seconds, that runners can spend running a
            job.
          nullable: true
      required:
      - token
    putApiV4RunnersIdRequest:
      type: object
      properties:
        description:
          type: string
          description: Description of the runner. At least one of `description`, `active`,
            `paused`, `tag_list`, `run_untagged`, `locked`, `access_level`, `maximum_timeout`,
            `maintenance_note` must be provided.
          nullable: true
        active:
          type: boolean
          description: If `true`, the runner is allowed to receive jobs. Deprecated.
            Use `paused` instead. Mutually exclusive with `paused`. At least one of
            `description`, `active`, `paused`, `tag_list`, `run_untagged`, `locked`,
            `access_level`, `maximum_timeout`, `maintenance_note` must be provided.
          nullable: true
        paused:
          type: boolean
          description: If `true`, the runner ignores new jobs. Mutually exclusive
            with `active`. At least one of `description`, `active`, `paused`, `tag_list`,
            `run_untagged`, `locked`, `access_level`, `maximum_timeout`, `maintenance_note`
            must be provided.
          nullable: true
        tag_list:
          type: array
          items:
            type: string
          description: List of tags for the runner. At least one of `description`,
            `active`, `paused`, `tag_list`, `run_untagged`, `locked`, `access_level`,
            `maximum_timeout`, `maintenance_note` must be provided.
          nullable: true
        run_untagged:
          type: boolean
          description: If `true`, the runner can execute untagged jobs. At least one
            of `description`, `active`, `paused`, `tag_list`, `run_untagged`, `locked`,
            `access_level`, `maximum_timeout`, `maintenance_note` must be provided.
          nullable: true
        locked:
          type: boolean
          description: If `true`, the runner is locked. At least one of `description`,
            `active`, `paused`, `tag_list`, `run_untagged`, `locked`, `access_level`,
            `maximum_timeout`, `maintenance_note` must be provided.
          nullable: true
        access_level:
          type: string
          enum:
          - not_protected
          - ref_protected
          description: Access level of the runner. At least one of `description`,
            `active`, `paused`, `tag_list`, `run_untagged`, `locked`, `access_level`,
            `maximum_timeout`, `maintenance_note` must be provided.
          nullable: true
        maximum_timeout:
          type: integer
          description: Maximum time, in seconds, that runners can spend running a
            job. At least one of `description`, `active`, `paused`, `tag_list`, `run_untagged`,
            `locked`, `access_level`, `maximum_timeout`, `maintenance_note` must be
            provided.
          nullable: true
        maintenance_note:
          type: string
          description: Free-form maintenance notes for the runner. Limited to 1024
            characters. At least one of `description`, `active`, `paused`, `tag_list`,
            `run_untagged`, `locked`, `access_level`, `maximum_timeout`, `maintenance_note`
            must be provided.
          nullable: true
    postApiV4ProjectsIdRunnersRequest:
      type: object
      properties:
        runner_id:
          type: integer
          description: ID of the runner.
          nullable: true
      required:
      - runner_id
    postApiV4RunnersVerifyRequest:
      type: object
      properties:
        token:
          type: string
          description: Authentication token of the runner.
          nullable: true
        system_id:
          type: string
          description: System identifier of the runner. Must be provided if `token`
            starts with `glrt-`.
          nullable: true
      required:
      - token
    postApiV4RunnersResetAuthenticationTokenRequest:
      type: object
      properties:
        token:
          type: string
          description: Authentication token of the runner.
          nullable: true
      required:
      - token
    postApiV4JobsRequestRequest:
      type: object
      properties:
        token:
          type: string
          description: Runner's authentication token
          nullable: true
        system_id:
          type: string
          description: Runner's system identifier
          nullable: true
        last_update:
          type: string
          description: "`last_update` token of the runner queue."
          nullable: true
        info:
          type: object
          description: Runner's metadata
          properties:
            name:
              type: string
              description: Runner's name
              nullable: true
            version:
              type: string
              description: Runner's version
              nullable: true
            revision:
              type: string
              description: Runner's revision
              nullable: true
            platform:
              type: string
              description: Runner's platform
              nullable: true
            architecture:
              type: string
              description: Runner's architecture
              nullable: true
            executor:
              type: string
              description: Runner's executor
              nullable: true
            features:
              type: object
              description: Runner's features
              nullable: true
            config:
              type: object
              description: Runner's config
              properties:
                gpus:
                  type: string
                  description: GPUs enabled
                  nullable: true
              nullable: true
            labels:
              type: object
              description: Runner's labels
              nullable: true
          nullable: true
        session:
          type: object
          description: Session data of the runner.
          properties:
            url:
              type: string
              description: URL of the session.
              nullable: true
            certificate:
              type: string
              description: Certificate of the session.
              nullable: true
            authorization:
              type: string
              description: Authorization of the session.
              nullable: true
          nullable: true
      required:
      - token
    putApiV4JobsIdRequest:
      type: object
      properties:
        token:
          type: string
          description: Authentication token of the job.
          nullable: true
        state:
          type: string
          description: 'Status of the job: `running`, `success`, or `failed`.'
          nullable: true
        checksum:
          type: string
          description: CRC32 checksum of the job trace.
          nullable: true
        failure_reason:
          type: string
          description: Failure reason of the job.
          nullable: true
        output:
          type: object
          description: Build log state.
          properties:
            checksum:
              type: string
              description: CRC32 checksum of the job trace.
              nullable: true
            bytesize:
              type: integer
              description: Size of the job's trace output, in bytes.
              nullable: true
          nullable: true
        exit_code:
          type: integer
          description: Exit code of the job.
          nullable: true
        runtime_environment_key:
          type: string
          description: Runtime environment key emitted by the runner on job suspension
          nullable: true
          maxLength: 512
      required:
      - token
    patchApiV4JobsIdTraceRequest:
      type: object
      properties:
        token:
          type: string
          description: Authentication token of the job.
          nullable: true
        debug_trace:
          type: boolean
          description: If `true`, enables debug tracing for the job.
          nullable: true
    postApiV4JobsIdArtifactsAuthorizeRequest:
      type: object
      properties:
        token:
          type: string
          description: Authentication token of the job.
          nullable: true
        filesize:
          type: integer
          description: Size of the artifact file.
          nullable: true
        artifact_type:
          type: string
          enum:
          - archive
          - metadata
          - trace
          - junit
          - sast
          - dependency_scanning
          - container_scanning
          - dast
          - codequality
          - license_scanning
          - performance
          - metrics
          - metrics_referee
          - network_referee
          - lsif
          - dotenv
          - cobertura
          - terraform
          - accessibility
          - cluster_applications
          - secret_detection
          - requirements
          - coverage_fuzzing
          - browser_performance
          - load_performance
          - api_fuzzing
          - cluster_image_scanning
          - cyclonedx
          - requirements_v2
          - annotations
          - repository_xray
          - jacoco
          - sarif
          description: Type of artifact.
          nullable: true
          default: archive
    postApiV4JobsIdArtifactsRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The artifact file to store (generated by Multipart middleware)
          nullable: true
        token:
          type: string
          description: Authentication token of the job.
          nullable: true
        expire_in:
          type: string
          description: Specify when artifact should expire
          nullable: true
        artifact_type:
          type: string
          enum:
          - archive
          - metadata
          - trace
          - junit
          - sast
          - dependency_scanning
          - container_scanning
          - dast
          - codequality
          - license_scanning
          - performance
          - metrics
          - metrics_referee
          - network_referee
          - lsif
          - dotenv
          - cobertura
          - terraform
          - accessibility
          - cluster_applications
          - secret_detection
          - requirements
          - coverage_fuzzing
          - browser_performance
          - load_performance
          - api_fuzzing
          - cluster_image_scanning
          - cyclonedx
          - requirements_v2
          - annotations
          - repository_xray
          - jacoco
          - sarif
          description: Type of artifact.
          nullable: true
          default: archive
        artifact_format:
          type: string
          enum:
          - raw
          - zip
          - gzip
          description: The format of artifact
          nullable: true
          default: zip
        metadata:
          type: string
          format: binary
          description: The artifact metadata to store (generated by Multipart middleware)
          nullable: true
        accessibility:
          type: string
          description: Specify accessibility level of artifact private/public
          nullable: true
      required:
      - file
    putApiV4ProjectsIdResourceGroupsKeyRequest:
      type: object
      properties:
        process_mode:
          type: string
          enum:
          - unordered
          - oldest_first
          - newest_first
          - newest_ready_first
          description: Process mode of the resource group. Read [process modes](https://docs.gitlab.com/ci/resource_groups/#process-modes)
            for more information.
          nullable: true
    postApiV4ProjectsIdJobsJobIdCancelRequest:
      type: object
      properties:
        force:
          type: boolean
          description: If `true`, [forces cancellation](https://docs.gitlab.com/ci/jobs/#force-cancel-a-job)
            of a job in `canceling` state.
          example: true
          nullable: true
    postApiV4ProjectsIdJobsJobIdRetryRequest:
      type: object
      properties:
        inputs:
          type: object
          description: Input values for the job. [Introduced](https://gitlab.com/groups/gitlab-org/-/work_items/17833)
            in GitLab 18.10.
          example:
            environment: production
          nullable: true
    postApiV4ProjectsIdJobsJobIdPlayRequest:
      type: object
      properties:
        job_variables_attributes:
          type: array
          description: User-defined variables to include when running the job.
          items:
            type: object
            properties:
              key:
                type: string
                description: Name of the variable.
                example: foo
                nullable: true
              value:
                type: string
                description: Value of the variable.
                example: bar
                nullable: true
            required:
            - key
            - value
          nullable: true
        job_inputs:
          type: object
          description: Hash of [job input](https://docs.gitlab.com/ci/jobs/job_inputs/)
            values to use when playing the job. [Introduced](https://gitlab.com/groups/gitlab-org/-/work_items/17833)
            in GitLab 18.10.
          example:
            environment: production
          nullable: true
    putApiV4GroupsIdCustomAttributesKeyRequest:
      type: object
      properties:
        value:
          type: string
          description: Value of the custom attribute.
          nullable: true
      required:
      - value
    postApiV4GroupsRequest:
      type: object
      properties:
        name:
          type: string
          description: The name of the group
          nullable: true
        path:
          type: string
          description: The path of the group
          nullable: true
        parent_id:
          type: integer
          description: The parent group id for creating nested group
          nullable: true
        organization_id:
          type: integer
          description: The organization id for the group. Defaults to the organization
            of the parent group if `parent_id` is provided, otherwise the current
            organization.
          nullable: true
        description:
          type: string
          description: The description of the group
          nullable: true
        visibility:
          type: string
          enum:
          - private
          - internal
          - public
          description: The visibility of the group
          nullable: true
        avatar:
          type: string
          format: binary
          description: Avatar image for the group. On update, a blank value removes
            the avatar.
          nullable: true
        share_with_group_lock:
          type: boolean
          description: Prevent sharing a project with another group within this group
        require_two_factor_authentication:
          type: boolean
          description: Require all users in this group to setup Two-factor authentication
          nullable: true
        two_factor_grace_period:
          type: integer
          description: Time before Two-factor authentication is enforced, in hours.
          nullable: true
        project_creation_level:
          type: string
          enum:
          - noone
          - owner
          - maintainer
          - developer
          - administrator
          description: Determine if developers can create projects in the group
          nullable: true
        auto_devops_enabled:
          type: boolean
          description: Default to Auto DevOps pipeline for all projects within this
            group
          nullable: true
        subgroup_creation_level:
          type: string
          enum:
          - owner
          - maintainer
          description: Allowed to create subgroups
          nullable: true
        emails_disabled:
          type: boolean
          description: Disable email notifications. [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/127899)
            in GitLab 16.5. Use `emails_enabled` instead.
          nullable: true
        emails_enabled:
          type: boolean
          description: Enable email notifications
          nullable: true
        show_diff_preview_in_email:
          type: boolean
          description: Include the code diff preview in merge request notification
            emails
          nullable: true
        mentions_disabled:
          type: boolean
          description: Disable a group from getting mentioned
          nullable: true
        lfs_enabled:
          type: boolean
          description: Enable/disable LFS for the projects in this group
          nullable: true
        request_access_enabled:
          type: boolean
          description: Allow users to request member access
          nullable: true
        default_branch:
          type: string
          description: The default branch of group's projects
          example: main
          nullable: true
        default_branch_protection:
          type: integer
          enum:
          - 0
          - 3
          - 1
          - 2
          - 4
          description: 'Determine if developers can push to default branch. `0`: no
            protection. Users with the Developer or Maintainer role can push new commits,
            force push, and delete the branch. `1`: partial protection. Users with
            the Developer or Maintainer role can push new commits. `2`: full protection.
            Only users with the Maintainer role can push new commits. `3`: protected
            against pushes. Users with the Maintainer role can push new commits, force
            push, and accept merge requests. Users with the Developer role can accept
            merge requests. `4`: full protection after initial push. Users with the
            Developer role can push commits to an empty repository. Users with the
            Maintainer role can push new commits and accept merge requests. [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/408314)
            in GitLab 17.0. Use `default_branch_protection_defaults` instead.'
          nullable: true
        default_branch_protection_defaults:
          type: object
          description: Determine if developers can push to default branch. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/408314)
            in GitLab 17.0.
          properties:
            allowed_to_push:
              type: array
              description: An array of access levels allowed to push
              items:
                type: object
                properties:
                  access_level:
                    type: integer
                    enum:
                    - 30
                    - 40
                    - 60
                    - 0
                    description: A valid access level
                required:
                - access_level
              nullable: true
            allow_force_push:
              type: boolean
              description: Allow force push for all users with push access.
              nullable: true
            allowed_to_merge:
              type: array
              description: An array of access levels allowed to merge
              items:
                type: object
                properties:
                  access_level:
                    type: integer
                    enum:
                    - 30
                    - 40
                    - 60
                    - 0
                    description: A valid access level
                required:
                - access_level
              nullable: true
            code_owner_approval_required:
              type: boolean
              description: Require approval from code owners
              nullable: true
            developer_can_initial_push:
              type: boolean
              description: Allow developers to initial push
              nullable: true
          nullable: true
        enabled_git_access_protocol:
          type: string
          enum:
          - ssh
          - http
          - all
          description: Allow only the selected protocols to be used for Git access.
          nullable: true
        crm_enabled:
          type: boolean
          description: Enable Customer Relations Management for this group
          nullable: true
        resource_access_token_notify_inherited:
          type: boolean
          description: Send access token expiry notifications to all inherited members
            of the group
          nullable: true
        lock_resource_access_token_notify_inherited:
          type: boolean
          description: Prevent subgroups from overriding the access token expiry notification
            setting
          nullable: true
        membership_lock:
          type: boolean
          description: Prevent adding new members to projects within this group. Premium
            and Ultimate only.
          nullable: true
        ldap_cn:
          type: string
          description: LDAP Common Name. All or none of `ldap_cn`, `ldap_access` must
            be provided.
          nullable: true
        ldap_access:
          type: integer
          description: A valid access level. All or none of `ldap_cn`, `ldap_access`
            must be provided.
          nullable: true
        shared_runners_minutes_limit:
          type: integer
          description: "(admin-only) Maximum number of monthly compute minutes for
            this group. `nil` (default) inherits the instance default, and `0` means
            unlimited. GitLab Self-Managed, Premium and Ultimate only."
          nullable: true
        extra_shared_runners_minutes_limit:
          type: integer
          description: "(admin-only) Extra compute minutes quota for this group. GitLab
            Self-Managed, Premium and Ultimate only."
          nullable: true
        wiki_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Wiki access level. One of `disabled`, `private` or `enabled`.
            Premium and Ultimate only.
          nullable: true
        duo_availability:
          type: string
          enum:
          - always_on
          - default_on
          - default_off
          - never_on
          description: Duo availability. One of `default_on`, `default_off`, `never_on`
            or `always_on`. In the UI, `never_on` is displayed as Always Off.
          nullable: true
        duo_remote_flows_availability:
          type: boolean
          description: Enable GitLab Duo remote flows for this group
          nullable: true
        duo_foundational_flows_availability:
          type: boolean
          description: Enable GitLab foundational Duo flows for this group
          nullable: true
        duo_scheduled_automations_availability:
          type: boolean
          description: Allow GitLab Duo flows in this group to run on a schedule
          nullable: true
        duo_code_suggestions_availability:
          type: boolean
          description: Enable GitLab Duo Code Suggestions for this group
          nullable: true
        duo_custom_agents_availability:
          type: boolean
          description: Enable GitLab Duo custom agents for this group
          nullable: true
        duo_custom_flows_availability:
          type: boolean
          description: Enable GitLab Duo custom flows for this group
          nullable: true
        duo_external_agents_availability:
          type: boolean
          description: Enable GitLab Duo external agents for this group
          nullable: true
        tool_approval_for_session_availability:
          type: string
          enum:
          - default_on
          - default_off
          - never_on
          description: Tool approval for session availability. One of `default_on`,
            `default_off` or `never_on`
          nullable: true
        duo_auto_mode_availability:
          type: string
          enum:
          - default_on
          - default_off
          - never_on
          description: Duo auto mode availability. One of `default_on`, `default_off`
            or `never_on`
          nullable: true
        amazon_q_auto_review_enabled:
          type: boolean
          description: Enable Amazon Q auto review for merge request
          nullable: true
        experiment_features_enabled:
          type: boolean
          description: Enable experiment features for this group
          nullable: true
        model_prompt_cache_enabled:
          type: boolean
          description: Enable model prompt cache for this group
          nullable: true
        foundational_agents_statuses:
          type: array
          description: Whether each foundational agent has been enabled or disabled.
          items:
            type: object
            properties:
              reference:
                type: string
                description: Reference of the foundational agent.
                nullable: true
              enabled:
                type: boolean
                description: Whether foundational agent has been enabled or disabled.
                nullable: true
            required:
            - reference
            - enabled
          nullable: true
        ai_settings_attributes:
          type: object
          description: AI-related settings
          properties:
            duo_agent_platform_enabled:
              type: boolean
              description: Whether Duo Agent Platform features are enabled
              nullable: true
            duo_workflow_mcp_enabled:
              type: boolean
              description: Enable MCP support for Duo Agent Platform
              nullable: true
            ai_usage_data_collection_enabled:
              type: boolean
              description: Enable AI usage data collection for this namespace. GitLab.com
                only.
              nullable: true
            ai_catalog_restricted_to_group_hierarchy:
              type: boolean
              description: Confine the AI Catalog to items within this top-level group
                hierarchy. Can only be set on top-level groups.
              nullable: true
            web_search_enabled:
              type: boolean
              description: Allow web search in GitLab Duo Chat for this top-level
                group. Can only be set on top-level groups.
              nullable: true
            duo_workflow_file_attachments_enabled:
              type: boolean
              description: Allow file attachments in GitLab Duo Chat for this top-level
                group. Can only be set on top-level groups. GitLab.com only.
              nullable: true
            external_agent_audit_event_content_enabled:
              type: boolean
              description: Whether AI audit events from external agent sessions that
                glab uploads keep prompts, tool arguments and other content. When
                `false`, they keep metadata only. Can only be set on top-level groups.
              nullable: true
            foundational_agents_default_enabled:
              type: boolean
              description: Whether new foundational agents are enabled by default
              nullable: true
            prompt_injection_protection_level:
              type: string
              enum:
              - no_checks
              - log_only
              - interrupt
              description: Prompt injection protection level. One of `no_checks`,
                `log_only` or `interrupt`
              nullable: true
            include_recommended_allowed:
              type: boolean
              description: Whether to include recommended domains in the network access
                allowlist
              nullable: true
            allow_all_unix_sockets:
              type: boolean
              description: Whether to allow all Unix sockets for network access
              nullable: true
            allow_project_extension:
              type: boolean
              description: Whether to allow projects to extend the network access
                domain allowlist
              nullable: true
            require_sandbox:
              type: boolean
              description: Whether flows that run on GitLab Runner fail when the execution
                environment sandbox is unavailable. Applies only to top-level groups
                on GitLab.com.
              nullable: true
            auto_model_routing_enabled:
              type: boolean
              description: Whether Auto model routing is turned on for Duo Developer.
                Can only be set on top-level groups. GitLab.com only.
              nullable: true
            minimum_access_level_execute:
              type: integer
              enum:
              - 10
              - 15
              - 20
              - 30
              - 40
              - 50
              description: The minimum access level required to execute Duo Agent
                Platform. Behind a feature flag named `dap_group_customizable_permissions`,
                disabled by default.
              nullable: true
            minimum_access_level_execute_async:
              type: integer
              enum:
              - 30
              - 40
              - 50
              description: The minimum access level required to execute Duo Agent
                Platform features in CI/CD. Behind a feature flag named `dap_group_customizable_permissions`,
                disabled by default.
              nullable: true
            minimum_access_level_manage:
              type: integer
              enum:
              - 30
              - 40
              - 50
              description: The minimum access level required to manage Duo Agent Platform.
                Behind a feature flag named `dap_group_customizable_permissions`,
                disabled by default.
              nullable: true
            minimum_access_level_enable_on_projects:
              type: integer
              enum:
              - 30
              - 40
              - 50
              description: The minimum access level required to enable Duo Agent Platform.
                Behind a feature flag named `dap_group_customizable_permissions`,
                disabled by default.
              nullable: true
          nullable: true
      required:
      - name
      - path
    putApiV4GroupsIdRequest:
      type: object
      properties:
        name:
          type: string
          description: The name of the group
          nullable: true
        path:
          type: string
          description: The path of the group
          nullable: true
        shared_runners_setting:
          type: string
          enum:
          - disabled_and_unoverridable
          - disabled_and_overridable
          - enabled
          description: Enable/disable shared runners for the group and its subgroups
            and projects. `enabled` enables instance runners for all projects and
            subgroups in the group. `disabled_and_overridable` disables them, but
            subgroups can override the setting. `disabled_and_unoverridable` disables
            them, and subgroups cannot override the setting.
          nullable: true
        description:
          type: string
          description: The description of the group
          nullable: true
        visibility:
          type: string
          enum:
          - private
          - internal
          - public
          description: The visibility of the group
          nullable: true
        avatar:
          type: string
          format: binary
          description: Avatar image for the group. On update, a blank value removes
            the avatar.
          nullable: true
        share_with_group_lock:
          type: boolean
          description: Prevent sharing a project with another group within this group
        require_two_factor_authentication:
          type: boolean
          description: Require all users in this group to setup Two-factor authentication
          nullable: true
        two_factor_grace_period:
          type: integer
          description: Time before Two-factor authentication is enforced, in hours.
          nullable: true
        project_creation_level:
          type: string
          enum:
          - noone
          - owner
          - maintainer
          - developer
          - administrator
          description: Determine if developers can create projects in the group
          nullable: true
        auto_devops_enabled:
          type: boolean
          description: Default to Auto DevOps pipeline for all projects within this
            group
          nullable: true
        subgroup_creation_level:
          type: string
          enum:
          - owner
          - maintainer
          description: Allowed to create subgroups
          nullable: true
        emails_disabled:
          type: boolean
          description: Disable email notifications. [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/127899)
            in GitLab 16.5. Use `emails_enabled` instead.
          nullable: true
        emails_enabled:
          type: boolean
          description: Enable email notifications
          nullable: true
        show_diff_preview_in_email:
          type: boolean
          description: Include the code diff preview in merge request notification
            emails
          nullable: true
        mentions_disabled:
          type: boolean
          description: Disable a group from getting mentioned
          nullable: true
        lfs_enabled:
          type: boolean
          description: Enable/disable LFS for the projects in this group
          nullable: true
        request_access_enabled:
          type: boolean
          description: Allow users to request member access
          nullable: true
        default_branch:
          type: string
          description: The default branch of group's projects
          example: main
          nullable: true
        default_branch_protection:
          type: integer
          enum:
          - 0
          - 3
          - 1
          - 2
          - 4
          description: 'Determine if developers can push to default branch. `0`: no
            protection. Users with the Developer or Maintainer role can push new commits,
            force push, and delete the branch. `1`: partial protection. Users with
            the Developer or Maintainer role can push new commits. `2`: full protection.
            Only users with the Maintainer role can push new commits. `3`: protected
            against pushes. Users with the Maintainer role can push new commits, force
            push, and accept merge requests. Users with the Developer role can accept
            merge requests. `4`: full protection after initial push. Users with the
            Developer role can push commits to an empty repository. Users with the
            Maintainer role can push new commits and accept merge requests. [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/408314)
            in GitLab 17.0. Use `default_branch_protection_defaults` instead.'
          nullable: true
        default_branch_protection_defaults:
          type: object
          description: Determine if developers can push to default branch. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/408314)
            in GitLab 17.0.
          properties:
            allowed_to_push:
              type: array
              description: An array of access levels allowed to push
              items:
                type: object
                properties:
                  access_level:
                    type: integer
                    enum:
                    - 30
                    - 40
                    - 60
                    - 0
                    description: A valid access level
                required:
                - access_level
              nullable: true
            allow_force_push:
              type: boolean
              description: Allow force push for all users with push access.
              nullable: true
            allowed_to_merge:
              type: array
              description: An array of access levels allowed to merge
              items:
                type: object
                properties:
                  access_level:
                    type: integer
                    enum:
                    - 30
                    - 40
                    - 60
                    - 0
                    description: A valid access level
                required:
                - access_level
              nullable: true
            code_owner_approval_required:
              type: boolean
              description: Require approval from code owners
              nullable: true
            developer_can_initial_push:
              type: boolean
              description: Allow developers to initial push
              nullable: true
          nullable: true
        enabled_git_access_protocol:
          type: string
          enum:
          - ssh
          - http
          - all
          description: Allow only the selected protocols to be used for Git access.
          nullable: true
        crm_enabled:
          type: boolean
          description: Enable Customer Relations Management for this group
          nullable: true
        resource_access_token_notify_inherited:
          type: boolean
          description: Send access token expiry notifications to all inherited members
            of the group
          nullable: true
        lock_resource_access_token_notify_inherited:
          type: boolean
          description: Prevent subgroups from overriding the access token expiry notification
            setting
          nullable: true
        membership_lock:
          type: boolean
          description: Prevent adding new members to projects within this group. Premium
            and Ultimate only.
          nullable: true
        ldap_cn:
          type: string
          description: LDAP Common Name. All or none of `ldap_cn`, `ldap_access` must
            be provided.
          nullable: true
        ldap_access:
          type: integer
          description: A valid access level. All or none of `ldap_cn`, `ldap_access`
            must be provided.
          nullable: true
        shared_runners_minutes_limit:
          type: integer
          description: "(admin-only) Maximum number of monthly compute minutes for
            this group. `nil` (default) inherits the instance default, and `0` means
            unlimited. GitLab Self-Managed, Premium and Ultimate only."
          nullable: true
        extra_shared_runners_minutes_limit:
          type: integer
          description: "(admin-only) Extra compute minutes quota for this group. GitLab
            Self-Managed, Premium and Ultimate only."
          nullable: true
        wiki_access_level:
          type: string
          enum:
          - disabled
          - private
          - enabled
          description: Wiki access level. One of `disabled`, `private` or `enabled`.
            Premium and Ultimate only.
          nullable: true
        duo_availability:
          type: string
          enum:
          - always_on
          - default_on
          - default_off
          - never_on
          description: Duo availability. One of `default_on`, `default_off`, `never_on`
            or `always_on`. In the UI, `never_on` is displayed as Always Off.
          nullable: true
        duo_remote_flows_availability:
          type: boolean
          description: Enable GitLab Duo remote flows for this group
          nullable: true
        duo_foundational_flows_availability:
          type: boolean
          description: Enable GitLab foundational Duo flows for this group
          nullable: true
        duo_scheduled_automations_availability:
          type: boolean
          description: Allow GitLab Duo flows in this group to run on a schedule
          nullable: true
        duo_code_suggestions_availability:
          type: boolean
          description: Enable GitLab Duo Code Suggestions for this group
          nullable: true
        duo_custom_agents_availability:
          type: boolean
          description: Enable GitLab Duo custom agents for this group
          nullable: true
        duo_custom_flows_availability:
          type: boolean
          description: Enable GitLab Duo custom flows for this group
          nullable: true
        duo_external_agents_availability:
          type: boolean
          description: Enable GitLab Duo external agents for this group
          nullable: true
        tool_approval_for_session_availability:
          type: string
          enum:
          - default_on
          - default_off
          - never_on
          description: Tool approval for session availability. One of `default_on`,
            `default_off` or `never_on`
          nullable: true
        duo_auto_mode_availability:
          type: string
          enum:
          - default_on
          - default_off
          - never_on
          description: Duo auto mode availability. One of `default_on`, `default_off`
            or `never_on`
          nullable: true
        amazon_q_auto_review_enabled:
          type: boolean
          description: Enable Amazon Q auto review for merge request
          nullable: true
        experiment_features_enabled:
          type: boolean
          description: Enable experiment features for this group
          nullable: true
        model_prompt_cache_enabled:
          type: boolean
          description: Enable model prompt cache for this group
          nullable: true
        foundational_agents_statuses:
          type: array
          description: Whether each foundational agent has been enabled or disabled.
          items:
            type: object
            properties:
              reference:
                type: string
                description: Reference of the foundational agent.
                nullable: true
              enabled:
                type: boolean
                description: Whether foundational agent has been enabled or disabled.
                nullable: true
            required:
            - reference
            - enabled
          nullable: true
        ai_settings_attributes:
          type: object
          description: AI-related settings
          properties:
            duo_agent_platform_enabled:
              type: boolean
              description: Whether Duo Agent Platform features are enabled
              nullable: true
            duo_workflow_mcp_enabled:
              type: boolean
              description: Enable MCP support for Duo Agent Platform
              nullable: true
            ai_usage_data_collection_enabled:
              type: boolean
              description: Enable AI usage data collection for this namespace. GitLab.com
                only.
              nullable: true
            ai_catalog_restricted_to_group_hierarchy:
              type: boolean
              description: Confine the AI Catalog to items within this top-level group
                hierarchy. Can only be set on top-level groups.
              nullable: true
            web_search_enabled:
              type: boolean
              description: Allow web search in GitLab Duo Chat for this top-level
                group. Can only be set on top-level groups.
              nullable: true
            duo_workflow_file_attachments_enabled:
              type: boolean
              description: Allow file attachments in GitLab Duo Chat for this top-level
                group. Can only be set on top-level groups. GitLab.com only.
              nullable: true
            external_agent_audit_event_content_enabled:
              type: boolean
              description: Whether AI audit events from external agent sessions that
                glab uploads keep prompts, tool arguments and other content. When
                `false`, they keep metadata only. Can only be set on top-level groups.
              nullable: true
            foundational_agents_default_enabled:
              type: boolean
              description: Whether new foundational agents are enabled by default
              nullable: true
            prompt_injection_protection_level:
              type: string
              enum:
              - no_checks
              - log_only
              - interrupt
              description: Prompt injection protection level. One of `no_checks`,
                `log_only` or `interrupt`
              nullable: true
            include_recommended_allowed:
              type: boolean
              description: Whether to include recommended domains in the network access
                allowlist
              nullable: true
            allow_all_unix_sockets:
              type: boolean
              description: Whether to allow all Unix sockets for network access
              nullable: true
            allow_project_extension:
              type: boolean
              description: Whether to allow projects to extend the network access
                domain allowlist
              nullable: true
            require_sandbox:
              type: boolean
              description: Whether flows that run on GitLab Runner fail when the execution
                environment sandbox is unavailable. Applies only to top-level groups
                on GitLab.com.
              nullable: true
            auto_model_routing_enabled:
              type: boolean
              description: Whether Auto model routing is turned on for Duo Developer.
                Can only be set on top-level groups. GitLab.com only.
              nullable: true
            minimum_access_level_execute:
              type: integer
              enum:
              - 10
              - 15
              - 20
              - 30
              - 40
              - 50
              description: The minimum access level required to execute Duo Agent
                Platform. Behind a feature flag named `dap_group_customizable_permissions`,
                disabled by default.
              nullable: true
            minimum_access_level_execute_async:
              type: integer
              enum:
              - 30
              - 40
              - 50
              description: The minimum access level required to execute Duo Agent
                Platform features in CI/CD. Behind a feature flag named `dap_group_customizable_permissions`,
                disabled by default.
              nullable: true
            minimum_access_level_manage:
              type: integer
              enum:
              - 30
              - 40
              - 50
              description: The minimum access level required to manage Duo Agent Platform.
                Behind a feature flag named `dap_group_customizable_permissions`,
                disabled by default.
              nullable: true
            minimum_access_level_enable_on_projects:
              type: integer
              enum:
              - 30
              - 40
              - 50
              description: The minimum access level required to enable Duo Agent Platform.
                Behind a feature flag named `dap_group_customizable_permissions`,
                disabled by default.
              nullable: true
          nullable: true
        prevent_sharing_groups_outside_hierarchy:
          type: boolean
          description: Prevent sharing groups within this namespace with any groups
            outside the namespace. Only available on top-level groups.
          nullable: true
        step_up_auth_required_oauth_provider:
          type: string
          description: OAuth provider required for step-up authentication. Pass empty
            string to disable. Behind a feature flag named `omniauth_step_up_auth_for_namespace`,
            disabled by default. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/556943)
            in GitLab 18.4.
          nullable: true
        lock_math_rendering_limits_enabled:
          type: boolean
          description: Indicates if math rendering limits are locked for all descendent
            groups.
          nullable: true
        math_rendering_limits_enabled:
          type: boolean
          description: Indicates if math rendering limits are used for this group.
          nullable: true
        require_sha_for_merge:
          type: boolean
          description: Indicates whether merge requests in this group require a valid
            commit SHA for calls to the merge a merge request endpoint. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/256966)
            in GitLab 19.5.
          nullable: true
        lock_require_sha_for_merge:
          type: boolean
          description: Enforce the require_sha_for_merge setting for all descendant
            groups. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/256966)
            in GitLab 19.5.
          nullable: true
        max_artifacts_size:
          type: integer
          description: Set the maximum file size, in MB, for each job's artifacts
          nullable: true
        file_template_project_id:
          type: integer
          description: The ID of a project to use for custom templates in this group.
            Premium and Ultimate only.
          nullable: true
        prevent_forking_outside_group:
          type: boolean
          description: Prevent forking projects inside this group to external namespaces.
            Premium and Ultimate only.
          nullable: true
        unique_project_download_limit:
          type: integer
          description: Maximum number of unique projects a user can download in the
            specified time period before they are banned. Available only on top-level
            groups. Default is `0`. Maximum is `10000`. Ultimate only.
          nullable: true
        unique_project_download_limit_interval_in_seconds:
          type: integer
          description: Time period, in seconds, during which a user can download a
            maximum amount of projects before they are banned. Available only on top-level
            groups. Default is `0`. Maximum is `864000` (10 days). Ultimate only.
          nullable: true
        unique_project_download_limit_allowlist:
          type: array
          items:
            type: string
          description: List of usernames excluded from the unique project download
            limit. Available only on top-level groups. Maximum of 100 usernames. Ultimate
            only.
          nullable: true
        unique_project_download_limit_alertlist:
          type: array
          items:
            type: integer
          description: List of user ids who will be emailed when Git abuse rate limit
            is exceeded. Available only on top-level groups. Maximum of 100 user IDs.
            When empty, the active Owners of the group are emailed. Ultimate only.
          nullable: true
        auto_ban_user_on_excessive_projects_download:
          type: boolean
          description: Ban users from the group when they exceed maximum number of
            unique projects download in the specified time period, as set by `unique_project_download_limit`
            and `unique_project_download_limit_interval_in_seconds`. Available only
            on top-level groups. Ultimate only.
          nullable: true
        ip_restriction_ranges:
          type: string
          description: Comma-separated list of IP addresses or subnet masks to restrict
            group access. Premium and Ultimate only.
          nullable: true
        allowed_email_domains_list:
          type: string
          description: Comma-separated list of email address domains to allow group
            access. Premium and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/351494)
            in GitLab 17.4.
          nullable: true
        service_access_tokens_expiration_enforced:
          type: boolean
          description: To enforce token expiration for Service accounts users for
            group
          nullable: true
        duo_core_features_enabled:
          type: boolean
          description: "[Experimental] Indicates whether GitLab Duo Core features
            are enabled for the group"
          nullable: true
        duo_features_enabled:
          type: boolean
          description: Indicates whether GitLab Duo features are enabled for the group.
            GitLab Self-Managed, Premium and Ultimate only.
          nullable: true
        lock_duo_features_enabled:
          type: boolean
          description: Indicates if the GitLab Duo features enabled setting is enforced
            for all subgroups. GitLab Self-Managed, Premium and Ultimate only.
          nullable: true
        auto_duo_code_review_enabled:
          type: boolean
          description: Enable automatic reviews by GitLab Duo on merge requests
          nullable: true
        duo_code_review_decisions_enabled:
          type: boolean
          description: Enable approval and change requests by GitLab Duo on merge
            requests
          nullable: true
        duo_code_review_level_allowed:
          type: boolean
          description: "[Beta] Allow Standard reviews by GitLab Duo Code Review Flow"
        duo_code_review_default_level:
          type: string
          enum:
          - lite
          - standard
          description: "[Beta] Default review level for GitLab Duo Code Review Flow.
            One of `lite` or `standard`"
          minLength: 1
        ai_audit_events_storage_enabled:
          type: boolean
          description: Indicates whether AI audit events are stored for the group.
            Premium and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/245843)
            in GitLab 19.2.
          nullable: true
        lock_ai_audit_events_storage_enabled:
          type: boolean
          description: Indicates whether AI audit events storage is enforced for all
            subgroups and projects. Premium and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/245843)
            in GitLab 19.2.
          nullable: true
        ai_governance_enabled:
          type: boolean
          description: Indicates whether AI Governance is turned on for the group,
            its subgroups, and its projects. Default is `false`. Premium and Ultimate
            only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/261994)
            in GitLab 19.6.
          nullable: true
        lock_ai_governance_enabled:
          type: boolean
          description: Indicates whether the AI Governance setting is enforced for
            all subgroups and projects. Premium and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/261994)
            in GitLab 19.6.
          nullable: true
        web_based_commit_signing_enabled:
          type: boolean
          description: Enable web based commit signing for commits created from the
            GitLab UI. When enabled for a group, applies to all projects in the group.
            GitLab.com only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/193928)
            in GitLab 18.2.
          nullable: true
        only_allow_merge_if_pipeline_succeeds:
          type: boolean
          description: Only allow to merge if builds succeed. When enabled for a group,
            applies to all projects in the group. Premium and Ultimate only.
          nullable: true
        allow_merge_on_skipped_pipeline:
          type: boolean
          description: Allow to merge if pipeline is skipped. Can be `true` only when
            `only_allow_merge_if_pipeline_succeeds` is `true`. Premium and Ultimate
            only.
          nullable: true
        only_allow_merge_if_all_discussions_are_resolved:
          type: boolean
          description: Only allow to merge if all threads are resolved. When enabled
            for a group, applies to all projects in the group. Premium and Ultimate
            only.
          nullable: true
        enabled_foundational_flows:
          type: array
          items:
            type: string
          description: References of enabled foundational flows
          nullable: true
        duo_template_project_id:
          type: integer
          description: The ID of a project to use as the Duo Code Review custom instructions
            template for this group
          nullable: true
        allow_personal_snippets:
          type: boolean
          description: Allow creation of personal snippets for enterprise users of
            this group. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/200575)
            in GitLab 18.5.
          nullable: true
        duo_namespace_access_rules:
          type: array
          description: AI entity access rules for controlling Duo feature access
          items:
            type: object
            properties:
              through_namespace:
                type: object
                description: Object containing through namespace information
                properties:
                  id:
                    type: integer
                    description: ID of the through namespace
                    nullable: true
                  name:
                    type: string
                    description: Name of the through namespace
                    nullable: true
                  full_path:
                    type: string
                    description: Full path of the through namespace
                    nullable: true
                required:
                - id
                nullable: true
              features:
                type: array
                items:
                  type: string
                description: List of accessible features
                nullable: true
            required:
            - features
          nullable: true
        built_in_project_templates_enabled:
          type: boolean
          description: Enable built-in project templates for project creation. Premium
            and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/235504)
            in GitLab 19.0.
          nullable: true
        lock_built_in_project_templates_enabled:
          type: boolean
          description: Enforce the built-in project templates setting for all subgroups.
            Premium and Ultimate only. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/235504)
            in GitLab 19.0.
          nullable: true
        create_code_review_flow_consent:
          type: boolean
          description: When true, records explicit namespace consent for DAP-based
            Code Review routing
          nullable: true
    postApiV4GroupsIdTransferRequest:
      type: object
      properties:
        group_id:
          type: integer
          description: ID of the new parent group. If omitted, the group becomes a
            top-level group.
          nullable: true
    postApiV4GroupsIdTransferToOrganizationRequest:
      type: object
      properties:
        organization_id:
          type: integer
          description: ID of the organization to transfer the group to.
          nullable: true
      required:
      - organization_id
    postApiV4GroupsIdShareRequest:
      type: object
      properties:
        group_id:
          type: integer
          description: ID of the group to invite.
          nullable: true
        group_access:
          type: integer
          enum:
          - 5
          - 10
          - 15
          - 20
          - 25
          - 30
          - 40
          - 50
          description: 'Access level to grant to the invited group. For a list of
            values, see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
            Possible values: `10` (Guest), `15` (Planner), `20` (Reporter), `25` (Security
            Manager), `30` (Developer), `40` (Maintainer), or `50` (Owner). On Premium
            and Ultimate, `5` (Minimal access) is also valid when `id` is a top-level
            group.'
        expires_at:
          type: string
          format: date
          description: Date when the share expires.
          nullable: true
        member_role_id:
          type: integer
          description: ID of a [custom role](https://docs.gitlab.com/user/custom_roles/#assign-a-custom-role-to-an-invited-group)
            to assign to the invited group. If set, `group_access` must match the
            base role used to create the custom role.
          nullable: true
      required:
      - group_id
      - group_access
    postApiV4GroupsIdSshCertificatesRequest:
      type: object
      properties:
        title:
          type: string
          description: Title of the SSH certificate.
          nullable: true
        key:
          type: string
          description: Public key of the SSH certificate.
          nullable: true
      required:
      - title
      - key
    postApiV4ProjectsIdCatalogPublishRequest:
      type: object
      properties:
        metadata:
          type: object
          description: Metadata for the release.
          nullable: true
      required:
      - metadata
    postApiV4BulkImportsRequest:
      type: object
      properties:
        configuration:
          type: object
          description: The source GitLab instance configuration
          properties:
            url:
              type: string
              description: Source GitLab instance URL
              nullable: true
            access_token:
              type: string
              description: Access token to the source GitLab instance
              nullable: true
          required:
          - url
          - access_token
          nullable: true
        entities:
          type: array
          description: List of entities to import
          items:
            type: object
            properties:
              source_type:
                type: string
                enum:
                - group_entity
                - project_entity
                description: Source entity type
                minLength: 1
              source_full_path:
                type: string
                description: Relative path of the source entity to import
                example: "'source/full/path' not 'https://example.com/source/full/path'"
                nullable: true
              destination_namespace:
                type: string
                description: Destination namespace for the entity. Full path of an
                  existing group on the destination instance. For `group_entity`,
                  an empty string `""` creates a top-level group instead. Personal
                  namespaces are not supported.
                example: "'destination_namespace' or 'destination/namespace'"
                nullable: true
              destination_slug:
                type: string
                description: Destination slug for the entity. GitLab uses the slug
                  as the URL path to the entity. The name of the imported entity is
                  copied from the name of the source entity, not the slug. Required
                  unless the deprecated `destination_name` is set.
                example: "'destination_slug' not 'destination/slug'"
                nullable: true
              destination_name:
                type: string
                description: 'Deprecated: Use :destination_slug instead. Destination
                  slug for the entity'
                example: "'destination_slug' not 'destination/slug'"
                nullable: true
              migrate_projects:
                type: boolean
                description: Indicates group migration should include nested projects
                nullable: true
                default: true
              migrate_memberships:
                type: boolean
                description: The option to migrate memberships or not
                nullable: true
                default: true
            required:
            - source_type
            - source_full_path
            - destination_namespace
          nullable: true
      required:
      - configuration
      - entities
    postApiV4ProjectsIdRepositoryBranchesRequest:
      type: object
      properties:
        branch:
          type: string
          description: Name of the branch.
          minLength: 1
        ref:
          type: string
          description: Branch name or commit SHA to create the branch from.
          minLength: 1
      required:
      - branch
      - ref
    putApiV4ProjectsIdRepositoryBranchesBranchProtectRequest:
      type: object
      properties:
        developers_can_push:
          type: boolean
          description: If `true`, allows developers to push to the branch.
          nullable: true
        developers_can_merge:
          type: boolean
          description: If `true`, allows developers to merge to the branch.
          nullable: true
    postApiV4GroupsIdBadgesRequest:
      type: object
      properties:
        link_url:
          type: string
          description: URL of the badge link.
          nullable: true
        image_url:
          type: string
          description: URL of the badge image.
          nullable: true
        name:
          type: string
          description: Name of the badge.
          nullable: true
      required:
      - link_url
      - image_url
    putApiV4GroupsIdBadgesBadgeIdRequest:
      type: object
      properties:
        link_url:
          type: string
          description: URL of the badge link.
          nullable: true
        image_url:
          type: string
          description: URL of the badge image.
          nullable: true
        name:
          type: string
          description: Name of the badge.
          nullable: true
    postApiV4ProjectsIdBadgesRequest:
      type: object
      properties:
        link_url:
          type: string
          description: URL of the badge link.
          nullable: true
        image_url:
          type: string
          description: URL of the badge image.
          nullable: true
        name:
          type: string
          description: Name of the badge.
          nullable: true
      required:
      - link_url
      - image_url
    putApiV4ProjectsIdBadgesBadgeIdRequest:
      type: object
      properties:
        link_url:
          type: string
          description: URL of the badge link.
          nullable: true
        image_url:
          type: string
          description: URL of the badge image.
          nullable: true
        name:
          type: string
          description: Name of the badge.
          nullable: true
    postApiV4ProjectsIdIssuesIssueIidAwardEmojiRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the emoji without colons.
          nullable: true
      required:
      - name
    postApiV4ProjectsIdIssuesIssueIidNotesNoteIdAwardEmojiRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the emoji without colons.
          nullable: true
      required:
      - name
    postApiV4ProjectsIdMergeRequestsMergeRequestIidAwardEmojiRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the emoji without colons.
          nullable: true
      required:
      - name
    postApiV4ProjectsIdMergeRequestsMergeRequestIidNotesNoteIdAwardEmojiRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the emoji without colons.
          nullable: true
      required:
      - name
    postApiV4ProjectsIdSnippetsSnippetIdAwardEmojiRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the emoji without colons.
          nullable: true
      required:
      - name
    postApiV4ProjectsIdSnippetsSnippetIdNotesNoteIdAwardEmojiRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the emoji without colons.
          nullable: true
      required:
      - name
    postApiV4GroupsIdEpicsEpicIidAwardEmojiRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the emoji without colons.
          nullable: true
      required:
      - name
    postApiV4GroupsIdEpicsEpicIidNotesNoteIdAwardEmojiRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the emoji without colons.
          nullable: true
      required:
      - name
    postApiV4ApplicationsRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the application.
          example: MyApplication
          nullable: true
        redirect_uri:
          type: string
          description: Redirect URI of the application.
          example: https://redirect.uri
          nullable: true
        scopes:
          type: string
          description: Scopes available to the application. Separate multiple scopes
            with a space.
          minLength: 1
        confidential:
          type: boolean
          description: If `true`, the application can securely store client credentials,
            such as the client secret. Non-confidential applications (such as native
            mobile apps and Single Page Apps) might expose client credentials.
          nullable: true
          default: true
        granular_scopes:
          type: array
          description: List of granular scopes to assign, one object for each scope.
            Each scope pairs an access level with a list of permissions.
          items:
            type: object
            properties:
              access:
                type: string
                enum:
                - personal_projects
                - all_memberships
                - selected_memberships
                - user
                - instance
                description: Access to configure for the granular scope.
                minLength: 1
              permissions:
                type: array
                items:
                  type: string
                description: List of permissions for the granular scope.
                nullable: true
              project_ids:
                type: array
                items:
                  type: integer
                description: IDs of projects to associate with the granular scope,
                  when access is `selected_memberships`.
                nullable: true
              group_ids:
                type: array
                items:
                  type: integer
                description: IDs of groups to associate with the granular scope, when
                  access is `selected_memberships`.
                nullable: true
            required:
            - access
            - permissions
          nullable: true
      required:
      - name
      - redirect_uri
      - scopes
    putApiV4ApplicationAppearanceRequest:
      type: object
      properties:
        title:
          type: string
          description: Instance title on the sign in / sign up page
          nullable: true
        description:
          type: string
          description: Markdown text shown on the sign in / sign up page
          nullable: true
        pwa_name:
          type: string
          description: Name of the Progressive Web App
          nullable: true
        pwa_short_name:
          type: string
          description: Optional, short name for Progressive Web App
          nullable: true
        pwa_description:
          type: string
          description: An explanation of what the Progressive Web App does
          nullable: true
        logo:
          type: string
          format: binary
          description: Instance image used on the sign in / sign up page
          nullable: true
        pwa_icon:
          type: string
          format: binary
          description: Icon used for Progressive Web App
          nullable: true
        header_logo:
          type: string
          format: binary
          description: Instance image used for the main navigation bar
          nullable: true
        favicon:
          type: string
          format: binary
          description: Instance favicon in .ico/.png format
          nullable: true
        member_guidelines:
          type: string
          description: Markdown text shown on the members page of a group or project
          nullable: true
        new_project_guidelines:
          type: string
          description: Markdown text shown on the new project page
          nullable: true
        profile_image_guidelines:
          type: string
          description: Markdown text shown on the profile page below Public Avatar
          nullable: true
        header_message:
          type: string
          description: Message within the system header bar
          nullable: true
        footer_message:
          type: string
          description: Message within the system footer bar
          nullable: true
        message_background_color:
          type: string
          description: Background color for the system header / footer bar
          nullable: true
        message_font_color:
          type: string
          description: Font color for the system header / footer bar
          nullable: true
        email_header_and_footer_enabled:
          type: boolean
          description: Add header and footer to all outgoing emails if enabled
          nullable: true
        site_name:
          type: string
          description: Last part of the webpage title. Defaults to empty.
          nullable: true
    postApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesRequest:
      type: object
      properties:
        file:
          type: string
          format: binary
          description: The image file to be uploaded
          nullable: true
        url:
          type: string
          description: The url to view more metric info
          example: https://example.com/metric
          nullable: true
        url_text:
          type: string
          description: A description of the image or URL
          example: An example metric
          nullable: true
      required:
      - file
    putApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesMetricImageIdRequest:
      type: object
      properties:
        url:
          type: string
          description: The url to view more metric info
          example: https://example.com/metric
          nullable: true
        url_text:
          type: string
          description: A description of the image or URL
          example: An example metric
          nullable: true
    postApiV4AdminTokenRequest:
      type: object
      properties:
        token:
          type: string
          description: The token that information is requested about.
          nullable: true
      required:
      - token
    putApiV4ApplicationPlanLimitsRequest:
      type: object
      properties:
        plan_name:
          type: string
          enum:
          - default
          - free
          - bronze
          - silver
          - premium
          - gold
          - ultimate
          - ultimate_trial
          - ultimate_trial_paid_customer
          - premium_trial
          - opensource
          description: Name of the plan to update.
          minLength: 1
        cargo_max_file_size:
          type: integer
          description: Maximum Cargo package file size in bytes. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/33060)
            in GitLab 19.3.
          nullable: true
        ci_instance_level_variables:
          type: integer
          description: Maximum number of instance-level CI/CD variables that can be
            defined.
          nullable: true
        ci_pipeline_size:
          type: integer
          description: Maximum number of jobs in a single pipeline.
          nullable: true
        ci_pipeline_variables_count:
          type: integer
          description: Maximum number of pipeline variables in a single pipeline.
          nullable: true
        ci_variable_value_size:
          type: integer
          description: Maximum size of a CI/CD variable value in bytes.
          nullable: true
        ci_variable_file_value_size:
          type: integer
          description: Maximum size of a file type CI/CD variable value in bytes.
          nullable: true
        ci_active_jobs:
          type: integer
          description: Total number of jobs in currently active pipelines.
          nullable: true
        ci_project_subscriptions:
          type: integer
          description: Maximum number of pipeline subscriptions to and from a project.
          nullable: true
        ci_pipeline_schedules:
          type: integer
          description: Maximum number of pipeline schedules.
          nullable: true
        ci_needs_size_limit:
          type: integer
          description: Maximum number of `needs` dependencies that a job can have.
          nullable: true
        ci_job_variables_count:
          type: integer
          description: Maximum number of job variables in a single job.
          nullable: true
        ci_registered_group_runners:
          type: integer
          description: Maximum number of runners created or active in a group during
            the past seven days.
          nullable: true
        ci_registered_project_runners:
          type: integer
          description: Maximum number of runners created or active in a project during
            the past seven days.
          nullable: true
        conan_max_file_size:
          type: integer
          description: Maximum Conan package file size in bytes.
          nullable: true
        dotenv_size:
          type: integer
          description: Maximum size of a dotenv artifact in bytes. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/432529)
            in GitLab 17.1.
          nullable: true
        dotenv_variables:
          type: integer
          description: Maximum number of variables in a dotenv artifact. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/432529)
            in GitLab 17.1.
          nullable: true
        draft_notes_per_merge_request:
          type: integer
          description: Maximum number of draft notes one user can have on a merge
            request. Set to `0` for unlimited. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/636471)
            in GitLab 19.6.
          nullable: true
        enforcement_limit:
          type: integer
          description: Maximum storage size for root namespace limit enforcement,
            in MiB.
          nullable: true
        generic_packages_max_file_size:
          type: integer
          description: Maximum generic package file size in bytes.
          nullable: true
        helm_max_file_size:
          type: integer
          description: Maximum Helm chart file size in bytes.
          nullable: true
        maven_max_file_size:
          type: integer
          description: Maximum Maven package file size in bytes.
          nullable: true
        notification_limit:
          type: integer
          description: Maximum storage size for root namespace limit notifications,
            in MiB.
          nullable: true
        npm_max_file_size:
          type: integer
          description: Maximum npm package file size in bytes.
          nullable: true
        nuget_max_file_size:
          type: integer
          description: Maximum NuGet package file size in bytes.
          nullable: true
        organization_hooks:
          type: integer
          description: Maximum number of system hooks per organization, for hooks
            managed by organization administrators. Set to `0` for unlimited. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/632599)
            in GitLab 19.6.
          nullable: true
        pypi_max_file_size:
          type: integer
          description: Maximum PyPI package file size in bytes.
          nullable: true
        service_desk_outbound_emails_per_hour:
          type: integer
          description: Maximum number of outbound Service Desk emails per hour, per
            top-level namespace. Set to `0` for unlimited. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/253087)
            in GitLab 19.4.
          nullable: true
        service_desk_outbound_emails_per_day:
          type: integer
          description: Maximum number of outbound Service Desk emails per day, per
            top-level namespace. Set to `0` for unlimited. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/253087)
            in GitLab 19.4.
          nullable: true
        swift_max_file_size:
          type: integer
          description: Maximum Swift package file size in bytes. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/12233)
            in GitLab 19.6.
          nullable: true
        terraform_module_max_file_size:
          type: integer
          description: Maximum Terraform module package file size in bytes.
          nullable: true
        storage_size_limit:
          type: integer
          description: Maximum storage size for the root namespace, in MiB.
          nullable: true
        pipeline_hierarchy_size:
          type: integer
          description: Maximum number of downstream pipelines in a pipeline's hierarchy
            tree. The default is `1000`. Higher values are not recommended.
          nullable: true
        web_hook_calls:
          type: integer
          description: Maximum number of times a webhook can be called per minute,
            per top-level namespace. Set to `0` for unlimited. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/571738)
            in GitLab 18.5.
          nullable: true
        web_hook_calls_low:
          type: integer
          description: Maximum number of times a webhook can be called per minute,
            per top-level namespace. Set to `0` for unlimited. GitLab.com only.
          nullable: true
        web_hook_calls_mid:
          type: integer
          description: Maximum number of times a webhook can be called per minute,
            per top-level namespace. Set to `0` for unlimited. GitLab.com only.
          nullable: true
        integration_executions:
          type: integer
          description: Maximum number of integration executions that can be enqueued
            per minute, per top-level namespace, excluding Datadog. Set to `0` for
            unlimited.
          nullable: true
        integration_executions_datadog:
          type: integer
          description: Maximum number of Datadog integration executions that can be
            enqueued per minute, per top-level namespace. Set to `0` for unlimited.
          nullable: true
        max_pipelines_per_merge_train:
          type: integer
          description: Maximum number of parallel pipelines per merge train. The default
            is `20` and the minimum is `1`. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/374188)
            in GitLab 19.0.
          nullable: true
      required:
      - plan_name
    postApiV4AdminMigrationsTimestampMarkRequest:
      type: object
      properties:
        database:
          type: string
          enum:
          - main
          - ci
          - sec
          - mr_diff
          - embedding
          - geo
          description: Database name for which the migration is skipped.
          nullable: true
          default: main
    putApiV4AdminClustersClusterIdRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the cluster.
          nullable: true
        enabled:
          type: boolean
          description: If `true`, the cluster is active and GitLab's connection to
            the Kubernetes cluster is enabled.
          nullable: true
        environment_scope:
          type: string
          description: Associated environment to the cluster.
          nullable: true
        namespace_per_environment:
          type: boolean
          description: If `true`, deploys each environment to a separate Kubernetes
            namespace.
          nullable: true
          default: true
        domain:
          type: string
          description: "[Base domain](https://docs.gitlab.com/user/project/clusters/gitlab_managed_clusters/#base-domain)
            of the cluster."
          nullable: true
        management_project_id:
          type: integer
          description: ID of the [management project](https://docs.gitlab.com/user/clusters/management_project/)
            for the cluster.
          nullable: true
        managed:
          type: boolean
          description: If `true`, GitLab manages namespaces and service accounts for
            this cluster.
          nullable: true
        platform_kubernetes_attributes:
          type: object
          description: Platform Kubernetes data.
          properties:
            api_url:
              type: string
              description: URL to access the Kubernetes API.
              nullable: true
            token:
              type: string
              description: Token to authenticate against Kubernetes.
              nullable: true
            ca_cert:
              type: string
              description: TLS certificate (needed if API is using a self-signed TLS
                certificate).
              nullable: true
            namespace:
              type: string
              description: Kubernetes namespace that environments deploy to. Allowed
                only when `managed` is `false`.
              nullable: true
          nullable: true
    postApiV4AdminClustersAddRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the cluster.
          nullable: true
        enabled:
          type: boolean
          description: If `true`, the cluster is active and GitLab's connection to
            the Kubernetes cluster is enabled.
          nullable: true
          default: true
        environment_scope:
          type: string
          description: Associated environment to the cluster.
          nullable: true
          default: "*"
        namespace_per_environment:
          type: boolean
          description: If `true`, deploys each environment to a separate Kubernetes
            namespace.
          nullable: true
          default: true
        domain:
          type: string
          description: "[Base domain](https://docs.gitlab.com/user/project/clusters/gitlab_managed_clusters/#base-domain)
            of the cluster."
          nullable: true
        management_project_id:
          type: integer
          description: ID of the [management project](https://docs.gitlab.com/user/clusters/management_project/)
            for the cluster.
          nullable: true
        managed:
          type: boolean
          description: If `true`, GitLab manages namespaces and service accounts for
            this cluster.
          nullable: true
          default: true
        platform_kubernetes_attributes:
          type: object
          description: Platform Kubernetes data.
          properties:
            api_url:
              type: string
              description: URL to access the Kubernetes API.
              minLength: 1
            token:
              type: string
              description: Token to authenticate against Kubernetes.
              nullable: true
            ca_cert:
              type: string
              description: TLS certificate (needed if API is using a self-signed TLS
                certificate).
              nullable: true
            namespace:
              type: string
              description: Kubernetes namespace that environments deploy to. Allowed
                only when `managed` is `false`.
              nullable: true
            authorization_type:
              type: string
              enum:
              - unknown_authorization
              - rbac
              - abac
              description: Cluster authorization type.
              nullable: true
              default: rbac
          required:
          - api_url
          - token
          nullable: true
      required:
      - name
      - platform_kubernetes_attributes
    postApiV4AdminCiVariablesRequest:
      type: object
      properties:
        key:
          type: string
          description: Key of the instance variable. Must be 255 characters or fewer
            and contain only `A-Z`, `a-z`, `0-9`, and `_`.
          nullable: true
        description:
          type: string
          description: Description of the variable. Limited to 255 characters.
          nullable: true
        value:
          type: string
          description: Value of the variable. Limited to 10,000 characters, or 50,000
            characters for `file` variables.
          nullable: true
        protected:
          type: boolean
          description: If `true`, the variable is protected.
          nullable: true
        masked:
          type: boolean
          description: If `true`, the variable is masked.
          nullable: true
        raw:
          type: boolean
          description: If `true`, the variable is treated as a raw string. If `false`,
            the value is [expanded](https://docs.gitlab.com/ci/variables/#allow-cicd-variable-expansion).
          nullable: true
        variable_type:
          type: string
          enum:
          - env_var
          - file
          description: The type of a variable.
          nullable: true
          default: env_var
      required:
      - key
      - value
    putApiV4AdminCiVariablesKeyRequest:
      type: object
      properties:
        description:
          type: string
          description: Description of the variable. Limited to 255 characters.
          nullable: true
        value:
          type: string
          description: Value of the variable. Limited to 10,000 characters, or 50,000
            characters for `file` variables.
          nullable: true
        protected:
          type: boolean
          description: If `true`, the variable is protected.
          nullable: true
        masked:
          type: boolean
          description: If `true`, the variable is masked.
          nullable: true
        raw:
          type: boolean
          description: If `true`, the variable is treated as a raw string. If `false`,
            the value is [expanded](https://docs.gitlab.com/ci/variables/#allow-cicd-variable-expansion).
          nullable: true
        variable_type:
          type: string
          enum:
          - env_var
          - file
          description: 'The type of a variable. Available types are: env_var (default)
            and file'
          nullable: true
    postApiV4BroadcastMessagesRequest:
      type: object
      properties:
        message:
          type: string
          description: Message to display.
          nullable: true
        starts_at:
          type: string
          format: date-time
          description: Starting time, in UTC. When creating a message, defaults to
            the current time.
          example: '2015-12-24T15:51:21.880Z'
          nullable: true
        ends_at:
          type: string
          format: date-time
          description: Ending time, in UTC. When creating a message, defaults to one
            hour after the current time.
          example: '2015-12-24T16:51:21.880Z'
          nullable: true
        color:
          type: string
          description: Background color hex code. Deprecated. Use `theme` instead.
          nullable: true
        font:
          type: string
          description: Foreground color hex code. Deprecated. Use `theme` instead.
          nullable: true
        target_access_levels:
          type: array
          items:
            type: integer
            enum:
            - 10
            - 15
            - 20
            - 30
            - 40
            - 50
          description: Target access levels (roles) of the broadcast message.
          nullable: true
        target_path:
          type: string
          description: Target path of the broadcast message.
          nullable: true
        broadcast_type:
          type: string
          enum:
          - banner
          - notification
          description: Appearance type of the broadcast message.
          nullable: true
          default: banner
        dismissable:
          type: boolean
          description: If `true`, the user can dismiss the message.
          nullable: true
        theme:
          type: string
          enum:
          - indigo
          - light-indigo
          - blue
          - light-blue
          - green
          - light-green
          - red
          - light-red
          - dark
          - light
          description: Color theme for the broadcast message. Applies only to banners.
          nullable: true
      required:
      - message
    putApiV4BroadcastMessagesIdRequest:
      type: object
      properties:
        message:
          type: string
          description: Message to display.
          nullable: true
        starts_at:
          type: string
          format: date-time
          description: Starting time, in UTC. When creating a message, defaults to
            the current time.
          nullable: true
        ends_at:
          type: string
          format: date-time
          description: Ending time, in UTC. When creating a message, defaults to one
            hour after the current time.
          nullable: true
        color:
          type: string
          description: Background color hex code. Deprecated. Use `theme` instead.
          nullable: true
        font:
          type: string
          description: Foreground color hex code. Deprecated. Use `theme` instead.
          nullable: true
        target_access_levels:
          type: array
          items:
            type: integer
            enum:
            - 10
            - 15
            - 20
            - 30
            - 40
            - 50
          description: Target access levels (roles) of the broadcast message.
          nullable: true
        target_path:
          type: string
          description: Target path of the broadcast message.
          nullable: true
        broadcast_type:
          type: string
          enum:
          - banner
          - notification
          description: Appearance type of the broadcast message.
          nullable: true
        dismissable:
          type: boolean
          description: If `true`, the user can dismiss the message.
          nullable: true
        theme:
          type: string
          enum:
          - indigo
          - light-indigo
          - blue
          - light-blue
          - green
          - light-green
          - red
          - light-red
          - dark
          - light
          description: Color theme for the broadcast message. Applies only to banners.
          nullable: true
    putApiV4AdminBatchedBackgroundOperationsIdStopRequest:
      type: object
      properties:
        database:
          type: string
          enum:
          - main
          - ci
          - sec
          - mr_diff
          - embedding
          - geo
          description: Name of the database.
          nullable: true
          default: main
    putApiV4AdminBatchedBackgroundOperationsIdRestartRequest:
      type: object
      properties:
        database:
          type: string
          enum:
          - main
          - ci
          - sec
          - mr_diff
          - embedding
          - geo
          description: Name of the database.
          nullable: true
          default: main
    putApiV4AdminBatchedBackgroundMigrationsIdResumeRequest:
      type: object
      properties:
        database:
          type: string
          enum:
          - main
          - ci
          - sec
          - mr_diff
          - embedding
          - geo
          description: Name of the database.
          nullable: true
          default: main
    putApiV4AdminBatchedBackgroundMigrationsIdPauseRequest:
      type: object
      properties:
        database:
          type: string
          enum:
          - main
          - ci
          - sec
          - mr_diff
          - embedding
          - geo
          description: Name of the database.
          nullable: true
          default: main
    putApiV4GroupsIdAccessRequestsUserIdApproveRequest:
      type: object
      properties:
        access_level:
          type: integer
          description: 'Access level to grant to the approved user. Possible values:
            `10` (Guest), `15` (Planner), `20` (Reporter), `25` (Security Manager),
            `30` (Developer), `40` (Maintainer), or `50` (Owner). For more information,
            see [roles](https://docs.gitlab.com/user/permissions/#default-roles).
            On Premium and Ultimate, `5` (Minimal access) is also valid when `id`
            is a top-level group.'
          nullable: true
          default: 30
    putApiV4ProjectsIdAccessRequestsUserIdApproveRequest:
      type: object
      properties:
        access_level:
          type: integer
          description: 'Access level to grant to the approved user. Possible values:
            `10` (Guest), `15` (Planner), `20` (Reporter), `25` (Security Manager),
            `30` (Developer), `40` (Maintainer), or `50` (Owner). For more information,
            see [roles](https://docs.gitlab.com/user/permissions/#default-roles).'
          nullable: true
          default: 30
    postApiV4UsageDataTrackEventRequest:
      type: object
      properties:
        event:
          type: string
          description: Name of the event to track.
          example: i_quickactions_page
          nullable: true
        namespace_id:
          type: integer
          description: ID of the namespace associated with the event.
          example: 1234
          nullable: true
        project_id:
          type: integer
          description: ID of the project. Mutually exclusive with `project_path`.
          example: 1234
          nullable: true
        project_path:
          type: string
          description: Path of the project. Used to find `project_id` when it is not
            provided. Mutually exclusive with `project_id`.
          example: namespace/project
          nullable: true
        additional_properties:
          type: object
          description: Additional properties to be tracked.
          example:
            label: login_button
            value: 1
          nullable: true
        send_to_snowplow:
          type: boolean
          description: If `true`, sends the tracked event to Snowplow.
          example: true
          nullable: true
      required:
      - event
security:
- http: []
- oauth2: []
- apiKey: []
