{"openapi":"3.0.0","info":{"title":"Deckhouse Code REST API","description":"REST API of Deckhouse Code.","version":"19.5"},"tags":[{"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:\n\n- [Personal access tokens](https://docs.gitlab.com/user/profile/personal_access_tokens/).\n- [Group access tokens](https://docs.gitlab.com/user/group/settings/group_access_tokens/).\n- [Project access tokens](https://docs.gitlab.com/user/project/settings/project_access_tokens/).\n- [Impersonation tokens](https://docs.gitlab.com/api/rest/authentication/#impersonation-tokens).","x-displayName":"Access tokens","externalDocs":{"url":"https://docs.gitlab.com/api/personal_access_tokens/"}},{"name":"Admin opensearch","description":"Operations related to admin opensearch."},{"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 agents","description":"Operations related to ai agents."},{"name":"Alert management","description":"Use this API to interact with metric images for [alerts](https://docs.gitlab.com/operations/incident_management/alerts/).\n\nAdditional endpoints are available with the [GraphQL API](https://docs.gitlab.com/api/graphql/reference/#alertmanagementalert).","x-displayName":"Alert management","externalDocs":{"url":"https://docs.gitlab.com/api/alert_management_alerts/"}},{"name":"Applications","description":"Use this API to manage instance-wide OAuth applications that:\n\n- [Use GitLab as an authentication provider](https://docs.gitlab.com/integration/oauth_provider/).\n- [Allow access to GitLab resources on a user's behalf](https://docs.gitlab.com/api/oauth2/).\n\n> [!note]\n> You cannot use this API to manage group applications or individual user applications.","x-displayName":"Applications","externalDocs":{"url":"https://docs.gitlab.com/api/applications/"}},{"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.\n\n> [!note]\n> The availability of these endpoints is controlled by a feature flag. They are available for\n> 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\n[audit events](https://docs.gitlab.com/user/compliance/audit_events/) recorded for an instance or a group.","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/).\n\nGitLab objects that accept emoji reactions are called awardables.\nYou can react with emoji on the following resources:\n\n- [Epics](https://docs.gitlab.com/user/group/epics/)\n- [Issues](https://docs.gitlab.com/user/project/issues/)\n- [Merge requests](https://docs.gitlab.com/user/project/merge_requests/)\n- [Snippets](https://docs.gitlab.com/user/snippets/)\n- [Comments](https://docs.gitlab.com/user/emoji_reactions/#emoji-reactions-for-comments)","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).\n\n## Placeholders\n\nBadges support placeholders that are replaced in real time in both the link and image URL.\nThe following placeholders are available:\n\n- `%{project_path}`: replaced by the project path.\n- `%{project_title}`: replaced by the project title.\n- `%{project_name}`: replaced by the project name.\n- `%{project_id}`: replaced by the project ID.\n- `%{project_namespace}`: replaced by the project's namespace full path.\n- `%{group_name}`: replaced by the project's top-level group name.\n- `%{gitlab_server}`: replaced by the project's server name.\n- `%{gitlab_pages_domain}`: replaced by the domain name hosting GitLab Pages.\n- `%{default_branch}`: replaced by the project default branch.\n- `%{commit_sha}`: replaced by the project's last commit SHA.\n- `%{latest_tag}`: replaced by the project's last tag.\n\nGroup badge endpoints operate outside a project's context, so placeholder values are taken from the\ngroup'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\n[batched background migrations](https://docs.gitlab.com/update/background_migrations/) running on an instance.\n\nThese 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\ninstance.\n\nThese 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).\n\nEvery call to this API requires authentication. If the project or group is private and the\nauthenticated 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/).\n\nTo 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/).\n\nGET requests do not require authentication. All other broadcast message API endpoints are accessible only to administrators. Non-GET requests by:\n\n- Unauthenticated users result in `401 Unauthorized`.\n- 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\n[CI/CD catalog](https://docs.gitlab.com/ci/components/).\n\nThis endpoint is intended for CLI tooling and must be authenticated with a\n[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/).","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/).\n\nThese endpoints take JSON-encoded YAML content. To preserve the formatting of your CI/CD\nconfiguration, it can help to escape and encode the YAML with a third-party tool such as\n[`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]\n> Registering a runner with a registration token is\n> [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/380872) and disabled by default in\n> GitLab 17.0 and later.\n\nUse this API to register a [runner](https://docs.gitlab.com/ci/runners/) with an instance, verify its\nauthentication, reset its authentication token, and unregister it. GitLab Runner uses these endpoints\nitself.\n\nTo create a runner, or to manage runners that already exist, use the Runners endpoints.","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),\na [group](https://docs.gitlab.com/ci/variables/#for-a-group), or an\n[instance](https://docs.gitlab.com/ci/variables/#for-an-instance).\n\nManaging project variables requires the Maintainer role for the project.\nManaging group variables requires the Owner role for the group.\nManaging 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/).","x-displayName":"Cluster agents","externalDocs":{"url":"https://docs.gitlab.com/api/cluster_agents/"}},{"name":"Clusters","description":"> [!warning]\n> These certificate-based cluster endpoints are [deprecated](https://gitlab.com/groups/gitlab-org/configure/-/work_items/8).\n\nUse this API to manage and discover the certificate-based Kubernetes clusters of an\n[instance](https://docs.gitlab.com/user/instance/clusters/), a\n[group](https://docs.gitlab.com/user/group/clusters/), or a\n[project](https://docs.gitlab.com/user/project/clusters/). Connecting a cluster to a group or an\ninstance lets you use the same cluster across multiple projects.\n\nInstance endpoints require administrator access. Group and project endpoints require the Maintainer\nor Owner role.","x-displayName":"Clusters","externalDocs":{"url":"https://docs.gitlab.com/api/instance_clusters/"}},{"name":"Codeowners","description":"Operations related to codeowners."},{"name":"Commit statuses","description":"Use this API to list the statuses recorded against a\n[commit](https://docs.gitlab.com/user/project/repository/commits/), and to add or update the status\nthat 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/).","x-displayName":"Commits","externalDocs":{"url":"https://docs.gitlab.com/api/commits/"}},{"name":"Container registry","description":"Use this API to manage the [GitLab container registry](https://docs.gitlab.com/user/packages/container_registry/):\nlist the registry repositories in a project or a group, retrieve or delete individual repositories and\ntheir tags, and receive registry events.\n\nTo authenticate with these endpoints from a CI/CD job, pass the [`$CI_JOB_TOKEN`](https://docs.gitlab.com/ci/jobs/ci_job_token/)\nvariable as the `JOB-TOKEN` header. The job token only has access to the container registry\nof the project that created the pipeline.","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.\n\nThese 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\ngroups and projects. Additional metrics are available through the\n[GraphQL API](https://docs.gitlab.com/api/graphql/reference/).\n\nThese endpoints require the Reporter, Developer, Maintainer, or Owner role.","x-displayName":"DORA metrics","externalDocs":{"url":"https://docs.gitlab.com/api/dora/metrics/"}},{"name":"Database dictionary","description":"Use this API to list the tables in a GitLab database and retrieve the\n[database dictionary](https://docs.gitlab.com/development/database/database_dictionary/) entry for a\nsingle table.\n\nRetrieving the entry for a single table requires administrator access to the instance.","x-displayName":"Database dictionary"},{"name":"Dependency proxy","description":"Use this API to purge the cache of a group's\n[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/),\n[deploy tokens](https://docs.gitlab.com/user/project/deploy_tokens/), and\n[code deployments](https://docs.gitlab.com/ci/environments/deployments/) to GitLab environments.","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\n[comments, threads](https://docs.gitlab.com/user/discussions/), and system notes about changes to an object\n(for example, when a milestone changes).\n\nTo manage label notes, use the [resource label events API](https://docs.gitlab.com/api/resource_label_events/).","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.\nDraft notes can start a discussion, or continue an existing discussion as a reply.\n\nBefore publishing, draft notes are visible only to the author.","x-displayName":"Draft notes","externalDocs":{"url":"https://docs.gitlab.com/api/draft_notes/"}},{"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":"Error tracking","description":"Use this API to manage [error tracking](https://docs.gitlab.com/operations/error_tracking/) settings\nand client keys for a project.\n\nThese 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\nrange of actions, such as joining a project, commenting on an issue, pushing changes to a merge\nrequest, or closing an epic.\n\nActivity is subject to retention limits. For more information, see the\n[user activity time period limit](https://docs.gitlab.com/user/profile/contributions_calendar/#event-time-period-limit)\nand the [project activity time period limit](https://docs.gitlab.com/user/project/working_with_projects/#view-project-activity).\n\nThese endpoints have some limitations:\n\n- Some epic features, such as child items, linked items, start dates, due dates, and health statuses, are not returned.\n- 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).\n- 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":"External status checks","description":"Use this API to manage [external status checks](https://docs.gitlab.com/user/project/merge_requests/status_checks/).","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/)\nand the [user lists](https://docs.gitlab.com/operations/feature_flags/#user-list) that scope them to\nparticular users.\n\nThese 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.\n\nThese endpoints support only boolean and percentage-of-time gate values, and require administrator\nauthorization.","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/).\nYou can also [configure rate limits](https://docs.gitlab.com/administration/settings/files_api_rate_limits/)\nfor this API.","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\nprogrammatically. GLQL provides a simplified query language to search and filter\n[GitLab resources](https://docs.gitlab.com/user/glql/#supported-areas) such as issues, merge requests,\nand epics across projects and groups.\n\nThe group or project must allow access to its data. For private groups and projects, you must\nauthenticate with a [personal access token](https://docs.gitlab.com/user/profile/personal_access_tokens/)\nthat has the appropriate permissions.","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\nendpoints require administrator access.\n\n> [!warning]\n> The Geo Nodes endpoints are [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/369140) and\n> are planned for removal in v5 of the API. Use the\n> [Geo Sites API](https://docs.gitlab.com/api/geo_sites/) instead. This change is a breaking change.","x-displayName":"Geo","externalDocs":{"url":"https://docs.gitlab.com/api/geo_nodes/"}},{"name":"GitLab Pages","description":"Use this API to [administer](https://docs.gitlab.com/administration/pages/) and\n[use](https://docs.gitlab.com/user/project/pages/) GitLab Pages, including managing\n[custom domains](https://docs.gitlab.com/user/project/pages/custom_domains_ssl_tls_certification/).\n\nGitLab Pages must be enabled to use these endpoints.","x-displayName":"GitLab Pages","externalDocs":{"url":"https://docs.gitlab.com/api/pages_domains/"}},{"name":"Group import and export","description":"Use this API to [migrate a group structure](https://docs.gitlab.com/user/group/import/) by exporting\nand importing a file. When you use it with the\n[project import and export API](https://docs.gitlab.com/api/project_import_export/), you can\npreserve relationships that span the group, such as connections between project issues and group\nepics. Run the group export and import first, then import the project exports into the group\nstructure.\n\nA group export includes group milestones, boards, labels, badges, members, events, wikis (Premium\nand Ultimate only), and subgroups. Each subgroup includes all of the same data.\n\nTo preserve the member list and permissions of an imported group, make sure those users exist on the\ndestination instance before you import.\n\nBecause of [issue 405168](https://gitlab.com/gitlab-org/gitlab/-/issues/405168), imported groups have\na `private` visibility level unless you import them into a parent group. By default, groups imported\ninto a parent group inherit the visibility of the parent.\n\nThe destination instance uses the group relations export endpoints during\n[group migration by direct transfer](https://docs.gitlab.com/user/group/import/). You don't\nusually need to call them yourself. In this context, a relation is an exportable item such as an\nepic, including any related items such as a label. These endpoints require your instance to meet certain\n[prerequisites](https://docs.gitlab.com/user/group/import/direct_transfer_migrations/#prerequisites),\nand 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:\n\n- Group settings, members, and security settings.\n- [Group issues](https://docs.gitlab.com/user/project/issues/) and issue statistics.\n- [Markdown uploads](https://docs.gitlab.com/security/user_file_uploads/) referenced in epics or wiki pages.\n- Bulk [reassignment of placeholder users](https://docs.gitlab.com/user/import/mapping/reassignment/#request-reassignment-by-using-a-csv-file) after an import.\n\nEndpoint responses might vary based on the [permissions](https://docs.gitlab.com/user/permissions/)\nof the authenticated user in the group. If a user isn't a member of a private group, requests to\nthat group return a `404 Not Found` status code.\n\nFor project members, use the [project members API](https://docs.gitlab.com/api/project_members/).","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:\n\n- [Project webhooks](https://docs.gitlab.com/user/project/integrations/webhooks/) are limited to a single project.\n- [Group webhooks](https://docs.gitlab.com/user/project/integrations/webhooks/#group-webhooks) apply to all projects and subgroups in a group.\n- [System hooks](https://docs.gitlab.com/administration/system_hooks/) apply to the entire instance.\n\nYou can also test a hook, inspect its event log, resend an event, and manage its custom headers and\nURL variables.\n\nManaging project webhooks requires administrator access or the Maintainer or Owner role for the\nproject. Managing group webhooks requires administrator access or the Owner role for the group.\nManaging system hooks requires administrator access.","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\n[direct transfer](https://docs.gitlab.com/user/group/import/direct_transfer_migrations/), and to\n[import repositories from external sources](https://docs.gitlab.com/user/import/).\n\nBefore migrating by direct transfer, see the\n[prerequisites](https://docs.gitlab.com/user/group/import/direct_transfer_migrations/#prerequisites).\n\n> [!note]\n> User contribution mapping is not supported when you import projects to a\n> [personal namespace](https://docs.gitlab.com/user/namespace/#types-of-namespaces). All\n> 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\n[appearance](https://docs.gitlab.com/administration/appearance/) and\n[application settings](https://docs.gitlab.com/api/settings/#available-settings), and to retrieve\nstatistics about the instance.\n\nChanges to application settings are subject to caching and might not take effect immediately. By\ndefault, GitLab caches application settings for 60 seconds. For more information, see\n[application cache interval](https://docs.gitlab.com/administration/application_settings_cache/).\n\nAll 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\nproject, or for a group and its subgroups.\n\nManaging 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\n[links to related issues](https://docs.gitlab.com/user/project/issues/related_issues/), and issue\nstatistics. You can:\n\n- Create, update, and delete issues.\n- Manage issue metadata, like assignees, labels, milestones, and time tracking.\n- Cross-reference issues and merge requests.\n- Track issue movement and promotion between projects and epics.\n- Retrieve statistics about issues.\n\nIf a user is not a member of a private project, a `GET` request on that project results in a `404`\nstatus code.\n\n> [!note]\n> The `references.relative` attribute is relative to the group or project of the issue being requested.\n> When an issue is fetched from its project, the `relative` format is the same as the `short` format.\n> 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":"Jira Connect subscriptions","description":"Use this API to subscribe a namespace to an installation of the\n[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\nit points to and registering the system token it uses to synchronize development information. For more\ninformation, 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)\ninstallation. 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/).","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\njob, update its state, append to its log, and transfer its artifacts.\n\nGitLab 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\nuser's SSH and [GPG keys](https://docs.gitlab.com/user/project/repository/signed_commits/gpg/),\nand manage SSH certificates for [top-level groups](https://docs.gitlab.com/user/group/ssh_certificates/)\nand [the instance](https://docs.gitlab.com/api/instance_ssh_certificates/).\n\nQueries about deploy key fingerprints also retrieve information about the projects using that key.\nIf you use a SHA256 fingerprint in an API call, URL-encode the fingerprint.\n\nManaging group SSH certificates requires the Owner role for a top-level group.\n\nManaging instance SSH certificates requires administrator access.","x-displayName":"Keys","externalDocs":{"url":"https://docs.gitlab.com/api/user_keys/"}},{"name":"Labels","description":"Use this API to manage [labels](https://docs.gitlab.com/user/project/labels/) for both projects and\ngroups. For the difference between the two, see\n[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":"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\nthe [model registry](https://docs.gitlab.com/user/project/ml/model_registry/). To create models and model\nversions, 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\n[model registry](https://docs.gitlab.com/user/project/ml/model_registry/). These endpoints implement\nthe MLflow REST API, so you can point an\n[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.\n\nAll requests to this API must be [authenticated](https://docs.gitlab.com/api/rest/authentication/).\n\n> [!note]\n> The availability of this feature is controlled by a feature flag.\n> This feature is available for testing, but not ready for production use.","x-displayName":"Markdown","externalDocs":{"url":"https://docs.gitlab.com/api/markdown/"}},{"name":"Members","description":"Use this API to manage the [members](https://docs.gitlab.com/user/project/members/) of a group or a\nproject, including inherited memberships, membership approvals, and the billable members of a group.","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/)\nand the group and project [approval settings](https://docs.gitlab.com/user/project/merge_requests/approvals/settings/)\nthat govern them. All endpoints require authentication.\n\nEndpoints to approve, unapprove, reset approvals, and retrieve approval state are available on all\ntiers, including Free. All other endpoints require Premium or Ultimate, and each one shows its tier.\n\n> [!note]\n> The `merge_request_iid` and `id` path parameters must each be a single value.\n> Passing multiple space-separated values (for example, `451 454 458`) is not\n> supported and returns `400 Bad Request`. To act on multiple merge requests,\n> 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\nproject, and to list the merge requests across a group or an entire instance. You can:\n\n- Automate any part of the code review process.\n- Connect code changes to external tools.\n- Send merge request information to non-GitLab systems in your preferred format.\n- Update, approve, merge, or block merge requests based on data from external systems.\n- 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.\n\nAll API calls to non-public information require authentication.","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\nproject. These endpoints require the Developer, Maintainer, or Owner role, and support\n[offset-based pagination](https://docs.gitlab.com/api/rest/#offset-based-pagination).\n\nEach object in a response represents one merge request in a train, not an entire train. Requesting\nmerge trains without a target branch can return entries from more than one train in the project.\n\nResponses do not include an explicit queue position, and return merge requests as a flat list rather\nthan grouped by train:\n\n- For an exact queue position, sort by `id` in ascending order, or use the GraphQL API\n  [`MergeTrainCar.index`](https://docs.gitlab.com/api/graphql/reference/#mergetraincar-index) field.\n- To group merge requests by train, use the `target_branch` attribute, or query the GraphQL API\n  [`Project.mergeTrains`](https://docs.gitlab.com/api/graphql/reference/#projectmergetrains) and\n  [`MergeTrain.cars`](https://docs.gitlab.com/api/graphql/reference/#mergetraincars) fields.","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,\nwhether it is Enterprise Edition, and the configuration of the\n[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":"Metrics","description":"Use this API to retrieve the definitions of the metrics that GitLab collects for\n[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\nwithout re-running them.\n\nThese 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\nprojects 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/).\n\nThis 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:\n\n- Create and modify comments on issues, merge requests, epics, snippets, commits, and wiki pages.\n- Retrieve [system-generated notes](https://docs.gitlab.com/user/project/system_notes/) about object changes.\n- Control visibility with confidential and internal flags.\n\nSome system-generated notes are tracked as separate resource events instead, including\n[label](https://docs.gitlab.com/api/resource_label_events/),\n[state](https://docs.gitlab.com/api/resource_state_events/),\n[milestone](https://docs.gitlab.com/api/resource_milestone_events/),\n[weight](https://docs.gitlab.com/api/resource_weight_events/), and\n[iteration](https://docs.gitlab.com/api/resource_iteration_events/) events.\n\nBy default, `GET` requests return 20 results at a time, because the results are\n[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/)\nglobally for your account, or for an individual group or project, which overrides the global setting.","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\nGitLab instances that cannot reach each other over a network.","x-displayName":"Offline transfers"},{"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\nin 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\nconfiguration, and crate downloads. Generally these endpoints are used by Cargo itself and are not\nmeant for manual consumption. For more information, see the\n[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/).\n\n> [!warning]\n> This API is used by the [Composer package manager client](https://getcomposer.org/)\n> and is generally not meant for manual consumption.\n\nThese endpoints do not adhere to the standard API authentication methods.\nSee the [Composer package registry documentation](https://docs.gitlab.com/user/packages/composer_repository/)\nfor details on which headers and token types are supported. Undocumented authentication methods might be removed in the future.","x-displayName":"Packages: Composer","externalDocs":{"url":"https://docs.gitlab.com/api/packages/composer/"}},{"name":"Packages: Conan","description":"> [!warning]\n> The Conan registry is not FIPS compliant and is disabled when FIPS mode is enabled. These\n> endpoints all return `404 Not Found`.\n\nUse this API to interact with the Conan package manager for\n[v1](https://docs.gitlab.com/user/packages/conan_1_repository/) and\n[v2](https://docs.gitlab.com/user/packages/conan_2_repository/) repositories. The v1 endpoints work\nfor both projects and instances, and the availability of the v2 endpoints is controlled by a feature\nflag. Generally these endpoints are used by the Conan package manager client and are not meant for\nmanual consumption.\n\n> [!note]\n> These endpoints do not adhere to the standard API authentication methods. See each route for\n> details on how credentials are expected to be passed. Undocumented authentication methods might be\n> removed in the future.","x-displayName":"Packages: Conan","externalDocs":{"url":"https://docs.gitlab.com/api/packages/conan_v1/"}},{"name":"Packages: Debian","description":"> [!warning]\n> These endpoints are under development and are not ready for production use due to limited\n> functionality. The package endpoints are used by Debian package clients such as\n> [dput](https://manpages.debian.org/stable/dput-ng/dput.1.en.html) and\n> [apt-get](https://manpages.debian.org/stable/apt/apt-get.8.en.html), and are generally not meant\n> for manual consumption.\n\nUse this API to manage [Debian distributions](https://docs.gitlab.com/user/packages/debian_repository/)\nfor groups and projects, and to publish and retrieve Debian packages. The distribution endpoints are\nbehind a feature flag that is disabled by default. To use them, enable the\n[group](https://docs.gitlab.com/api/packages/debian_group_distributions/#enable-the-debian-group-api) or\n[project](https://docs.gitlab.com/api/packages/debian_project_distributions/#enable-the-debian-api)\nDebian API.\n\n> [!note]\n> These endpoints do not adhere to the standard API authentication methods. For the supported headers\n> and token types, see the [Debian registry documentation](https://docs.gitlab.com/user/packages/debian_repository/).\n> 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/).\n\n> [!warning]\n> This API is used by the Helm-related package clients such as [Helm](https://helm.sh/)\n> and [`helm-push`](https://github.com/chartmuseum/helm-push/#readme),\n> and is generally not meant for manual consumption.\n\nThese endpoints do not adhere to the standard API authentication methods.\nSee the [Helm registry documentation](https://docs.gitlab.com/user/packages/helm_repository/)\nfor 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/).\n\n> [!warning]\n> This API is used by the [npm package manager client](https://docs.npmjs.com/)\n> and is not meant for manual consumption.\n\nThese endpoints do not adhere to the standard API authentication methods.\nSee the [npm package registry documentation](https://docs.gitlab.com/user/packages/npm_registry/)\nfor 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/).\n\n> [!warning]\n> This API is used by the [NuGet package manager client](https://www.nuget.org/)\n> and is generally not meant for manual consumption.\n\nThese endpoints do not adhere to the standard API authentication methods.\nSee the [NuGet package registry documentation](https://docs.gitlab.com/user/packages/nuget_repository/)\nfor details on which headers and token types are supported. Undocumented authentication methods might be removed in the future.","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/).\n\n> [!warning]\n> This API is used by the [PyPI package manager client](https://pypi.org/)\n> and is generally not meant for manual consumption.\n\nThese endpoints do not adhere to the standard API authentication methods.\nSee the [PyPI package registry documentation](https://docs.gitlab.com/user/packages/pypi_repository/)\nfor details on which headers and token types are supported. Undocumented authentication methods might be removed in the future.\n\n> [!note]\n> [Twine 3.4.2](https://twine.readthedocs.io/en/stable/changelog.html?highlight=FIPS#id28) or greater\n> 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\n[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/).\n\n> [!warning]\n> This API is used by the Ruby gems and Bundler package manager clients and is generally not meant\n> for manual consumption. This API is under development and is not ready for production use due to\n> limited functionality.\n\nThese endpoints do not adhere to the standard API authentication methods.\nSee the [Ruby gems registry documentation](https://docs.gitlab.com/user/packages/rubygems_registry/)\nfor details on which headers and token types are supported. Undocumented authentication methods might be removed in the future.","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/).","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\n[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.\n\nThe available plans depend on the GitLab edition. In the Community Edition, only the `default` plan\nexists. The Enterprise Edition has additional plans.\n\nThese endpoints require administrator access to the instance.","x-displayName":"Plan limits","externalDocs":{"url":"https://docs.gitlab.com/api/plan_limits/"}},{"name":"Project import","description":"Use this API to [import repositories from external sources](https://docs.gitlab.com/user/import/)\nand to [migrate a project](https://docs.gitlab.com/user/project/settings/import_export/) between\nGitLab instances.\n\nIf you first migrate the parent group structure with the\n[group import and export API](https://docs.gitlab.com/api/group_import_export/), you can preserve\nrelationships that span the group, such as connections between project issues and group epics.\nAfter an import, use the [project-level CI/CD variables API](https://docs.gitlab.com/api/project_level_variables/)\nto restore CI/CD variables. You must still migrate your\n[container registry](https://docs.gitlab.com/user/packages/container_registry/) over a series of\nDocker pulls and pushes, and re-run any CI/CD pipelines to retrieve build artifacts.\n\nThe project relations export endpoints are used by the destination instance during\n[group migration by direct transfer](https://docs.gitlab.com/user/group/import/) to migrate a\nproject structure, and you don't usually need to call them yourself. In this context, a relation is\nan exportable item such as a merge request, including any related items such as a label.\n\n> [!note]\n> User contribution mapping is not supported when you import projects to a\n> [personal namespace](https://docs.gitlab.com/user/namespace/#types-of-namespaces). All\n> 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 snapshots","description":"Use this API to download a snapshot of a project's repository, for use in salvaging a corrupt\nrepository.\n\nThese 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\nentire instance:\n\n- [Dockerfile templates](https://docs.gitlab.com/api/templates/dockerfiles/)\n- [Gitignore templates](https://docs.gitlab.com/api/templates/gitignores/)\n- [GitLab CI/CD configuration templates](https://docs.gitlab.com/api/templates/gitlab_ci_ymls/)\n- [Open source license templates](https://docs.gitlab.com/api/templates/licenses/)\n- [Issue and merge request templates](https://docs.gitlab.com/user/project/description_templates/)\n\nThese endpoints supersede the instance template endpoints, which are scheduled for removal\nin API version 5. [File templates for groups](https://docs.gitlab.com/user/group/manage/#group-file-templates)\nare 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/).","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:\n\n- Project settings, visibility, access permissions, and security settings.\n- Archiving, transferring, [forking](https://docs.gitlab.com/user/project/repository/forking_workflow/), and [starring](https://docs.gitlab.com/user/project/working_with_projects/) projects.\n- Project [issues](https://docs.gitlab.com/user/project/issues/), issue statistics, and project statistics.\n- [Markdown uploads](https://docs.gitlab.com/security/user_file_uploads/) referenced in issues, merge requests, snippets, or wiki pages.\n- 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/).\n\nIf a user is not a member of a private project, a `GET` request on that project results in a\n`404` status code.","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.\n\n> [!note]\n> All requests to the CI/CD job token scope API endpoint must be [authenticated](https://docs.gitlab.com/api/rest/authentication/).\n> 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/)\nfor a project, and the [protected branch settings](https://docs.gitlab.com/user/project/repository/branches/protected/#in-a-group)\nthat all projects in a group inherit.\n\nGitLab Premium and GitLab Ultimate support more granular protections for pushing to branches.\nAdministrators can grant permission to modify and push to protected branches only to deploy keys,\ninstead of specific users.\n\n> [!warning]\n> Group protected branch settings are restricted to top-level groups. They support only\n> [valid access levels](https://docs.gitlab.com/api/group_protected_branches/#valid-access-levels),\n> and cannot name individual users or groups.","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/)\nfor a project, and [protected environments for a group](https://docs.gitlab.com/ci/environments/protected_environments/#protected-environments-for-groups)\nfor a group.\n\n> [!note]\n> The project endpoints require CI/CD to be turned on for the project. If\n> [CI/CD is turned off](https://docs.gitlab.com/user/project/settings/#turn-off-cicd-for-a-project),\n> requests return `403 Forbidden`, even for users who otherwise have permission to manage protected\n> 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/).","x-displayName":"Protected tags","externalDocs":{"url":"https://docs.gitlab.com/api/protected_tags/"}},{"name":"Releases","description":"Use this API to manage [releases](https://docs.gitlab.com/user/project/releases/) for a project,\nlist the releases across a group, and manage the asset links attached to a release.\n\nAsset links support the `http`, `https`, and `ftp` protocols.","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/).\nYou can query and modify the state of these mirrors.\n\nFor security reasons, the `url` attribute in the API response is always scrubbed of username\nand password information.\n\n> [!note]\n> [Pull mirrors](https://docs.gitlab.com/user/project/repository/mirror/pull/) use\n> [a different API endpoint](https://docs.gitlab.com/api/project_pull_mirroring/#update-project-pull-mirroring-settings) to\n> 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/).","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:\n\n- [Label](https://docs.gitlab.com/user/project/labels/) events record who added or removed a label, and when.\n- [Iteration](https://docs.gitlab.com/user/group/iterations/) events record iteration changes for issues.\n- Milestone events record milestone changes for issues and merge requests.\n- State events record state changes for issues, merge requests, and epics.\n- Weight events record weight changes for issues.\n\nState events do not track the initial state (`created` or `opened`) of a resource. For a resource\nthat was never closed or reopened, an empty list is returned.","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/),\n[merge requests](https://docs.gitlab.com/user/project/merge_requests/), and\n[labels](https://docs.gitlab.com/user/project/labels/) in projects and groups.\n\nAll API calls to non-public information require authentication.","x-displayName":"Resource subscriptions"},{"name":"Runners","description":"Use this API to manage the [runners](https://docs.gitlab.com/ci/runners/) already registered to an\ninstance, group, or project.\n\nTo create a runner, use the\n[`POST /user/runners`](https://docs.gitlab.com/api/users/#create-a-runner-linked-to-a-user) endpoint\ninstead.","x-displayName":"Runners","externalDocs":{"url":"https://docs.gitlab.com/api/runners/"}},{"name":"Search","description":"Use this API to [search across GitLab](https://docs.gitlab.com/user/search/) in an instance, a group,\nor a project, and to retrieve information about\n[advanced search migrations](https://docs.gitlab.com/integration/advanced_search/elasticsearch/#advanced-search-migrations).\n\nEvery call to this API requires authentication. Retrieving advanced search migrations requires\nadministrator access.\n\nSome scopes are available for [basic search](https://docs.gitlab.com/user/search/#available-scopes).\nWhen [advanced search](https://docs.gitlab.com/user/search/advanced_search/#available-scopes) or\n[exact code search](https://docs.gitlab.com/user/search/exact_code_search/#available-scopes) is\nenabled, additional scopes become available. To use basic search instead, see\n[specify a search type](https://docs.gitlab.com/user/search/#specify-a-search-type).\n\nThese endpoints support [offset-based pagination](https://docs.gitlab.com/api/rest/#offset-based-pagination).","x-displayName":"Search","externalDocs":{"url":"https://docs.gitlab.com/api/search/"}},{"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":"Service accounts","description":"Use this API to interact with [service accounts](https://docs.gitlab.com/user/profile/service_accounts/).\n\nThe number of service accounts you can create depends on your subscription and offering:\n\n- On GitLab Premium and Ultimate, you can create an unlimited number of service accounts for all offerings.\n- On GitLab Free, limits vary by offering:\n  - For GitLab.com, you can create up to 100 service accounts for each top-level group.\n    This includes service accounts created in subgroups or projects.\n  - For GitLab Self-Managed, you can create up to 100 service accounts for the entire instance.\n    This includes service accounts created for the instance, a group, or a project.\n\nYou can also interact with service accounts through the [users API](https://docs.gitlab.com/api/users/).\nTo manage SSH keys for service accounts, use the [user SSH and GPG keys API](https://docs.gitlab.com/api/user_keys/).","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,\nand 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/).\n\nTo move snippets between storages, use the\n[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":"Storage moves","description":"Use this API to schedule and track [repository storage moves](https://docs.gitlab.com/administration/operations/moving_repositories/)\nfor groups, projects, and snippets. Project moves cover wiki and design repositories, and group\nmoves cover [group wikis](https://docs.gitlab.com/user/project/wiki/group/). Moving repositories\ncan help you [migrate to Gitaly Cluster (Praefect)](https://docs.gitlab.com/administration/gitaly/praefect/#migrate-to-gitaly-cluster-praefect).\n\nTo ensure data integrity, GitLab places the group, project, or snippet in a temporary read-only\nstate for the duration of the move. During this time, users receive this message if they try to\npush new commits:\n\n```plaintext\nThe repository is temporarily read-only. Please try again later.\n```\n\nThis API requires you to [authenticate yourself](https://docs.gitlab.com/api/rest/authentication/) as an administrator.\n\n## States\n\nAs GitLab processes a storage move, it transitions through different states. Values of `state` are:\n\n- `initial`: The record has been created, but the background job has not yet been scheduled.\n- `scheduled`: The background job has been scheduled.\n- `started`: The repositories are being copied to the destination storage.\n- `replicated`: The repositories have been moved.\n- `failed`: The repositories failed to copy, or the checksums did not match.\n- `finished`: The repositories have been moved, and the repositories on the source storage have been deleted.\n- `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/).\n\nSuggestions provide a way to propose specific changes that can be directly applied to the code.\nYou can programmatically create and apply code suggestions in merge request discussions with\nthis API. Every API call to suggestions must be authenticated.","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\nsignature 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:\n\n- [Dockerfile templates](https://gitlab.com/gitlab-org/gitlab-foss/-/tree/master/vendor/Dockerfile)\n- [`.gitignore` templates](https://git-scm.com/docs/gitignore)\n- [CI/CD configuration templates](https://gitlab.com/gitlab-org/gitlab/-/tree/master/lib/gitlab/ci/templates)\n- [Open source license templates](https://choosealicense.com/)\n\nCustom CI/CD templates are not available from these endpoints. For templates specific to a project,\nuse the [project templates API](https://docs.gitlab.com/api/project_templates/).\n\nUsers with the Guest role can't access these templates. For more information, see\n[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/).\n\n> [!warning]\n> This API is used by the [Terraform CLI](https://developer.hashicorp.com/terraform)\n> 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":"To-dos","description":"Use this API to list [to-do items](https://docs.gitlab.com/user/todos/), mark them as done, and\ncreate a to-do item for an issue or a merge request.","x-displayName":"To-dos","externalDocs":{"url":"https://docs.gitlab.com/api/todos/"}},{"name":"Unleash","description":"Use this API to serve [feature flags](https://docs.gitlab.com/operations/feature_flags/) to an\nUnleash-compatible client, and to register that client and receive its metrics. Generally these\nendpoints 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\n[Service Ping](https://docs.gitlab.com/development/internal_analytics/service_ping/) payload that\nGitLab collects, including its non-SQL metrics and the queries behind it.","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\n[your account](https://docs.gitlab.com/user/profile/), manage\n[accounts for other users](https://docs.gitlab.com/administration/administer_users/),\n[moderate user accounts](https://docs.gitlab.com/administration/moderate_users/),\n[perform follower actions](https://docs.gitlab.com/user/profile/#follow-users), and\n[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\nthem between VS Code and the [Web IDE](https://docs.gitlab.com/user/project/web_ide/).","x-displayName":"VS Code"},{"name":"Web commits","description":"Use this API to retrieve the public key that GitLab uses to sign the commits created with the\n[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 [group wikis](https://docs.gitlab.com/user/project/wiki/group/).\nAn API for [project wikis](https://docs.gitlab.com/api/wikis/) is also available.\n\nComments on a wiki page are called `notes`. To interact with them, use the [notes API](https://docs.gitlab.com/api/notes/#group-wikis).","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,\nor a namespace. Work items are the core elements for planning and tracking work, and cover\n[types](https://docs.gitlab.com/user/work_items/#work-item-types) such as issues, tasks, and epics.\n\nAlongside the work items themselves, you can retrieve their children, linked items, linked resources,\nnotes, discussions, emoji reactions, email participants, and the current user's to-do items.","x-displayName":"Work items","externalDocs":{"url":"https://docs.gitlab.com/user/work_items/"}}],"servers":[{"url":"https://code.example.com"}],"paths":{"/api/v4/projects/{id}/protected_environments":{"get":{"operationId":"getApiV4ProjectsIdProtectedEnvironments","summary":"List protected environments for a project","description":"Lists the protected environments configured for a 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]},"post":{"operationId":"postApiV4ProjectsIdProtectedEnvironments","summary":"Create a protected environment for a project","description":"Creates a protected environment and its nested configuration for a project.","tags":["Protected environments"],"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesProtectedEnvironment"}}}},"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","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4ProjectsIdProtectedEnvironmentsRequest"}}}}}},"/api/v4/projects/{id}/protected_environments/inherited":{"get":{"operationId":"getApiV4ProjectsIdProtectedEnvironmentsInherited","summary":"List inherited protected environments for a project","description":"Lists protected environments inherited from the project group hierarchy.","tags":["Protected environments"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesInheritedProtectedEnvironment"}}}}},"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","example":11},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]}},"/api/v4/projects/{id}/protected_environments/{name}":{"get":{"operationId":"getApiV4ProjectsIdProtectedEnvironmentsName","summary":"Retrieve a protected environment for a project","description":"Retrieves a protected environment configured 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"name":"name","required":true,"schema":{"type":"string"},"in":"path","example":"production"}]},"put":{"operationId":"putApiV4ProjectsIdProtectedEnvironmentsName","summary":"Update nested protected environment configuration for a project","description":"Updates nested configuration without changing the protected environment name.","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"name":"name","required":true,"schema":{"type":"string"},"in":"path","example":"production"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4ProjectsIdProtectedEnvironmentsNameRequest"}}}}},"delete":{"operationId":"deleteApiV4ProjectsIdProtectedEnvironmentsName","summary":"Delete a protected environment from a project","description":"Deletes a protected environment and its nested configuration from a project.","tags":["Protected environments"],"responses":{"204":{"description":"No Content"},"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","example":11},{"name":"name","required":true,"schema":{"type":"string"},"in":"path","example":"production"}]}},"/api/v4/groups/{id}/protected_environments":{"get":{"operationId":"getApiV4GroupsIdProtectedEnvironments","summary":"List protected environments for a group","description":"Lists the protected environments configured for a 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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]},"post":{"operationId":"postApiV4GroupsIdProtectedEnvironments","summary":"Create a protected environment for a group","description":"Creates a protected environment and its nested configuration for a group.","tags":["Protected environments"],"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesProtectedEnvironment"}}}},"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","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4GroupsIdProtectedEnvironmentsRequest"}}}}}},"/api/v4/groups/{id}/protected_environments/{name}":{"get":{"operationId":"getApiV4GroupsIdProtectedEnvironmentsName","summary":"Retrieve a protected environment for a group","description":"Retrieves a protected environment configured for a group.","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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"name":"name","required":true,"schema":{"type":"string","enum":["production","staging","testing","development","other"],"minLength":1},"in":"path","example":"production"}]},"put":{"operationId":"putApiV4GroupsIdProtectedEnvironmentsName","summary":"Update nested protected environment configuration for a group","description":"Updates nested configuration without changing the protected environment name.","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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"name":"name","required":true,"schema":{"type":"string","enum":["production","staging","testing","development","other"],"minLength":1},"in":"path","example":"production"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4GroupsIdProtectedEnvironmentsNameRequest"}}}}},"delete":{"operationId":"deleteApiV4GroupsIdProtectedEnvironmentsName","summary":"Delete a protected environment from a group","description":"Deletes a protected environment and its nested configuration from a group.","tags":["Protected environments"],"responses":{"204":{"description":"No Content"},"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","example":11},{"name":"name","required":true,"schema":{"type":"string","enum":["production","staging","testing","development","other"],"minLength":1},"in":"path","example":"production"}]}},"/api/v4/projects/{id}/merge_trains":{"get":{"operationId":"getApiV4ProjectsIdMergeTrains","summary":"Read every merge train of a project","description":"Returns the cars of all the trains of the project at once. Cars of different target branches are mixed together, so read one train instead when the queue of a single branch is what matters.","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"name":"scope","required":false,"description":"Limit the response to cars still queued (`active`) or to cars that have left the queue (`complete`)","schema":{"type":"string","enum":["active","complete"],"nullable":true},"in":"query","example":"active"},{"name":"sort","required":false,"description":"Order the cars by their position, oldest or newest first","schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]}},"/api/v4/projects/{id}/merge_trains/{target_branch}":{"get":{"operationId":"getApiV4ProjectsIdMergeTrainsTargetBranch","summary":"Read the merge train of a target branch","description":"Returns the cars queued for one target branch, in queue order.","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":"The 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 whose train to read","schema":{"type":"string"},"in":"path","example":"main"},{"name":"scope","required":false,"description":"Limit the response to cars still queued (`active`) or to cars that have left the queue (`complete`)","schema":{"type":"string","enum":["active","complete"],"nullable":true},"in":"query","example":"active"},{"name":"sort","required":false,"description":"Order the cars by their position, oldest or newest first","schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]}},"/api/v4/projects/{id}/merge_trains/merge_requests/{merge_request_iid}":{"get":{"operationId":"getApiV4ProjectsIdMergeTrainsMergeRequestsMergeRequestIid","summary":"Read the place of a merge request in its merge train","description":"Returns the car that represents the merge request in the train of its target branch.","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":"The 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":"IID of the merge request","schema":{"type":"integer"},"in":"path","example":1}]},"post":{"operationId":"postApiV4ProjectsIdMergeTrainsMergeRequestsMergeRequestIid","summary":"Queue a merge request on a merge train","description":"Puts the merge request at the back of the train of its target branch, or has it join the queue once its merge checks pass.","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":"Cannot be queued"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"409":{"description":"Conflict"}},"parameters":[{"name":"id","required":true,"description":"The 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":"IID of the merge request","schema":{"type":"integer"},"in":"path","example":1}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4ProjectsIdMergeTrainsMergeRequestsMergeRequestIidRequest"}}}}}},"/api/v4/projects/{id}/dora/metrics":{"get":{"operationId":"getApiV4ProjectsIdDoraMetrics","summary":"Get project DORA metrics","description":"Retrieves one DORA metric for a project over a selected period.","tags":["DORA metrics"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesDoraMetric"}}}}},"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","example":11},{"name":"metric","required":true,"description":"DORA metric to retrieve","schema":{"type":"string","enum":["deployment_frequency","lead_time_for_changes","time_to_restore_service","change_failure_rate"],"minLength":1},"in":"query","example":"deployment_frequency"},{"name":"start_date","required":false,"description":"First day of the period","schema":{"type":"string","format":"date","nullable":true},"in":"query","example":"2026-03-01"},{"name":"end_date","required":false,"description":"Last day of the period","schema":{"type":"string","format":"date","nullable":true},"in":"query","example":"2026-03-31"},{"name":"interval","required":false,"description":"Size of the aggregation bucket","schema":{"type":"string","enum":["all","monthly","daily"],"default":"daily"},"in":"query","example":"daily"},{"name":"environment_tiers","required":false,"description":"Environment tiers to include","schema":{"type":"array","items":{"type":"string","enum":["production","staging","testing","development","other"]},"nullable":true},"in":"query","example":["production"]}]}},"/api/v4/groups/{id}/dora/metrics":{"get":{"operationId":"getApiV4GroupsIdDoraMetrics","summary":"Get group DORA metrics","description":"Retrieves one DORA metric for a group hierarchy over a selected period.","tags":["DORA metrics"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesDoraMetric"}}}}},"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":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":12},{"name":"metric","required":true,"description":"DORA metric to retrieve","schema":{"type":"string","enum":["deployment_frequency","lead_time_for_changes","time_to_restore_service","change_failure_rate"],"minLength":1},"in":"query","example":"deployment_frequency"},{"name":"start_date","required":false,"description":"First day of the period","schema":{"type":"string","format":"date","nullable":true},"in":"query","example":"2026-03-01"},{"name":"end_date","required":false,"description":"Last day of the period","schema":{"type":"string","format":"date","nullable":true},"in":"query","example":"2026-03-31"},{"name":"interval","required":false,"description":"Size of the aggregation bucket","schema":{"type":"string","enum":["all","monthly","daily"],"default":"daily"},"in":"query","example":"daily"},{"name":"environment_tiers","required":false,"description":"Environment tiers to include","schema":{"type":"array","items":{"type":"string","enum":["production","staging","testing","development","other"]},"nullable":true},"in":"query","example":["production"]}]}},"/api/v4/projects/{id}/ai_agents/tasks/{task_id}/report":{"post":{"operationId":"postApiV4ProjectsIdAiAgentsTasksTaskIdReport","summary":"Report the state of an AI agent task","description":"Called by the agent pod: the task is active, done or failed. Available only to the agent account.","tags":["Ai agents"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesAiAgentTask"}}}},"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","example":12},{"name":"task_id","required":true,"description":"The task id the pod was handed","schema":{"type":"integer"},"in":"path","example":7}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4ProjectsIdAiAgentsTasksTaskIdReportRequest"}}}}}},"/api/v4/internal/org_mover/maintenance_state":{"get":{"operationId":"getApiV4InternalOrgMoverMaintenanceState","summary":"Report an organization's current lifecycle state","description":"Returns the organization's current maintenance lifecycle state.","tags":["Organizations"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"organization_id","required":true,"description":"The ID of the organization","schema":{"type":"integer","nullable":true},"in":"query"}]}},"/api/v4/internal/org_mover/maintenance_readiness":{"get":{"operationId":"getApiV4InternalOrgMoverMaintenanceReadiness","summary":"Report cutover readiness for an organization","description":"Reports whether an organization is drained and safe to enter maintenance, and what is blocking it when not.","tags":["Organizations"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"organization_id","required":true,"description":"The ID of the organization","schema":{"type":"integer","nullable":true},"in":"query"}]}},"/api/v4/internal/org_mover/start_maintenance":{"post":{"operationId":"postApiV4InternalOrgMoverStartMaintenance","summary":"Start maintenance on an organization (active -> maintenance_initialization)","description":"Begins the maintenance transition for an organization.","tags":["Organizations"],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4InternalOrgMoverStartMaintenanceRequest"}}}}}},"/api/v4/internal/org_mover/confirm_maintenance":{"post":{"operationId":"postApiV4InternalOrgMoverConfirmMaintenance","summary":"Confirm maintenance on an organization (maintenance_initialization -> maintenance)","description":"Completes the maintenance transition once the organization is drained.","tags":["Organizations"],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"409":{"description":"Conflict"},"422":{"description":"Unprocessable entity"},"400":{"description":"Bad Request"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4InternalOrgMoverConfirmMaintenanceRequest"}}}}}},"/api/v4/internal/org_mover/cancel_maintenance":{"post":{"operationId":"postApiV4InternalOrgMoverCancelMaintenance","summary":"Cancel maintenance on an organization (maintenance_initialization -> active)","description":"Aborts maintenance initialization before the organization reaches the maintenance state, returning it to active.","tags":["Organizations"],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"400":{"description":"Bad Request"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4InternalOrgMoverCancelMaintenanceRequest"}}}}}},"/api/v4/internal/org_mover/exit_maintenance":{"post":{"operationId":"postApiV4InternalOrgMoverExitMaintenance","summary":"Exit maintenance on an organization (maintenance -> active)","description":"Returns an organization from maintenance to active.","tags":["Organizations"],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"422":{"description":"Unprocessable entity"},"400":{"description":"Bad Request"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4InternalOrgMoverExitMaintenanceRequest"}}}}}},"/api/v4/internal/gitaly/object_pool_members":{"get":{"operationId":"getApiV4InternalGitalyObjectPoolMembers","summary":"List Gitaly object pool members","responses":{"200":{"description":"OK"},"400":{"description":"Bad Request"}},"parameters":[{"name":"disk_paths","required":true,"description":"On-disk paths of the pool repositories. Limited to 500.","schema":{"type":"array","items":{"type":"string"},"nullable":true},"in":"query"},{"name":"storage","required":true,"description":"Name of the storage shard.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"upstream_only","required":false,"description":"If `true`, returns only the upstream repository.","schema":{"type":"boolean","default":false},"in":"query"}]}},"/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":"Path to the artifact, model version id, optionally followed by path. E.g. 15/MLmodel","schema":{"type":"string","nullable":true},"in":"query"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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","default":""},"in":"query"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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/APIEntitiesMlMlflowRegisteredModel"}}}},"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","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` and `last_updated_timestamp`. Sorting by model metadata is not supported.","schema":{"type":"string","default":"name ASC"},"in":"query"},{"name":"page_token","required":false,"description":"Token for pagination.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"This parameter is ignored","schema":{"type":"string","nullable":true},"in":"query"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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","default":""},"in":"query"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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","default":""},"in":"query"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/api/v4/projects/{id}/ml/mlflow/api/2.0/mlflow/experiments/list":{"get":{"operationId":"getApiV4ProjectsIdMlMlflowApi20MlflowExperimentsList","summary":"List experiments","description":"https://www.mlflow.org/docs/2.19.0/rest-api.html#search-experiments","tags":["MLOps"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesMlMlflowListExperiment"}}}},"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","example":11}]}},"/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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4ProjectsIdMlMlflowApi20MlflowExperimentsDeleteRequest"}}}}}},"/api/v4/vscode/settings_sync/v1/manifest":{"get":{"operationId":"getApiV4VscodeSettingsSyncV1Manifest","summary":"Get the settings manifest for 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":"Get the settings manifest for 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":"Get a specific setting resource","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":"Get a specific setting resource","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":"Get a list of references to one or more vscode setting resources","tags":["VSCode"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$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":"Creates or updates a specific setting","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":"Get a list of references to one or more vscode setting resources","tags":["VSCode"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$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":"Creates or updates a specific setting","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":"Deletes all user vscode setting resources","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":"Deletes all user vscode setting resources","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":{"$ref":"#/components/schemas/APIEntitiesCustomAttribute"}}}},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"id","required":true,"description":"The 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":"The key of the custom attribute","schema":{"type":"string"},"in":"path"},{"name":"id","required":true,"description":"The 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":"The key of the custom attribute","schema":{"type":"string"},"in":"path"},{"name":"id","required":true,"description":"The 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":"The key of the custom attribute","schema":{"type":"string"},"in":"path"},{"name":"id","required":true,"description":"The 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.","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. This immediately expires and removes the PIN. Administrators only.","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. In GitLab 17.0 and later, keyset pagination is used by default.","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.","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. 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.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"active","required":false,"description":"If `true`, returns only active users.","schema":{"type":"boolean","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","default":false},"in":"query"},{"name":"external","required":false,"description":"If `true`, returns only external users.","schema":{"type":"boolean","default":false},"in":"query"},{"name":"blocked","required":false,"description":"If `true`, returns only blocked users.","schema":{"type":"boolean","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","default":false},"in":"query"},{"name":"without_project_bots","required":false,"description":"If `true`, excludes project bot users from the results.","schema":{"type":"boolean","default":false},"in":"query"},{"name":"admins","required":false,"description":"If `true`, returns only administrators.","schema":{"type":"boolean","default":false},"in":"query"},{"name":"two_factor","required":false,"description":"Filter users by Two-factor authentication.","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","default":false},"in":"query"},{"name":"exclude_external","required":false,"description":"If `true`, returns only users that are not external.","schema":{"type":"boolean","default":false},"in":"query"},{"name":"exclude_humans","required":false,"description":"If `true`, returns only bot or internal users.","schema":{"type":"boolean","default":false},"in":"query"},{"name":"exclude_internal","required":false,"description":"If `true`, returns only users that are not internal.","schema":{"type":"boolean","default":false},"in":"query"},{"name":"order_by","required":false,"description":"Sort results by the specified field.","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.","schema":{"type":"string","enum":["asc","desc"],"nullable":true},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","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":"postApiV4Users","summary":"Create a user","description":"Creates a user. 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 as a regular user","description":"Retrieves a specified user as a regular user.","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","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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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. 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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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. 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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":{"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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]},"post":{"operationId":"postApiV4UsersIdGpgKeys","summary":"Add a GPG key to a specified user Available only for admins. (FE version).","description":"This endpoint has been overridden to change its behavior.","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":"User ID","schema":{"type":"integer"},"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4UsersIdGpgKeysRequest"}}}}}},"/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}/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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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. 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. 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. 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. 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. 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"state","required":false,"description":"Filter tokens by state.","schema":{"type":"string","enum":["all","active","inactive"],"default":"all"},"in":"query"}]},"post":{"operationId":"postApiV4UsersUserIdImpersonationTokens","summary":"Create an impersonation token","description":"Creates an impersonation token. 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. Token values are included with the response, but cannot be retrieved later. Administrators only.","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.","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. Token values are included with the response, but cannot be retrieved later. Administrators only.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]},"post":{"operationId":"postApiV4UserKeys","summary":"Add an SSH key","description":"Adds an SSH key for the currently authenticated user.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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/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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]},"post":{"operationId":"postApiV4UserEmails","summary":"Add an email address","description":"Adds an email address for the currently authenticated user.","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. The PIN expires seven days after creation. GitLab Support may ask for this PIN to validate your identity.","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.","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 all activity for a specified user.","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-MONTH-DAY","schema":{"type":"string","format":"date-time","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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. 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. 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. For security purposes, the token is limited to the `k8s_proxy` and `self_rotate` scope. Token values are included with the response, but cannot be retrieved later. This feature was introduced in GitLab 16.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/users/{id}/gpg_keys/{key_id}/revoke":{"post":{"operationId":"postApiV4UsersIdGpgKeysKeyIdRevoke","summary":"Revokes an existing GPG key from a specified user. Available only for admins. (FE version).","description":"This feature was added in GitLab 10.0","responses":{"201":{"description":"Created"},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"id","required":true,"description":"The ID of the user","schema":{"type":"integer"},"in":"path"},{"name":"key_id","required":true,"description":"The 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 owned by currently authenticated user FE version","description":"This feature was added in GitLab 10.0","responses":{"201":{"description":"Created"},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"key_id","required":true,"description":"The ID of the GPG key","schema":{"type":"integer"},"in":"path"}]}},"/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":{"$ref":"#/components/schemas/APIEntitiesTodo"}}}},"400":{"description":"Bad Request"}},"parameters":[{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","ssh_key_expired","ssh_key_expiring_soon","transfer_failed","merge_train_removed"],"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"],"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/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":{"$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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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":{"$ref":"#/components/schemas/APIEntitiesTemplatesList"}}}},"400":{"description":"Bad Request"}},"parameters":[{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":{"$ref":"#/components/schemas/APIEntitiesTemplatesList"}}}},"400":{"description":"Bad Request"}},"parameters":[{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":{"$ref":"#/components/schemas/APIEntitiesTemplatesList"}}}},"400":{"description":"Bad Request"}},"parameters":[{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The project ID","schema":{"type":"string"},"in":"path"},{"name":"subscribable_id","required":true,"description":"The ID of a resource","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":"The project ID","schema":{"type":"string"},"in":"path"},{"name":"subscribable_id","required":true,"description":"The ID of a resource","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":"The project ID","schema":{"type":"string"},"in":"path"},{"name":"subscribable_id","required":true,"description":"The ID of a resource","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":"The project ID","schema":{"type":"string"},"in":"path"},{"name":"subscribable_id","required":true,"description":"The ID of a resource","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":"The project ID","schema":{"type":"string"},"in":"path"},{"name":"subscribable_id","required":true,"description":"The ID of a resource","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":"The project ID","schema":{"type":"string"},"in":"path"},{"name":"subscribable_id","required":true,"description":"The ID of a resource","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":"The group ID","schema":{"type":"string"},"in":"path"},{"name":"subscribable_id","required":true,"description":"The ID of a resource","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":"The group ID","schema":{"type":"string"},"in":"path"},{"name":"subscribable_id","required":true,"description":"The ID of a resource","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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.","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"}},"parameters":[{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"order_by","required":false,"description":"Attribute to sort by","schema":{"type":"string","enum":["id","username"],"default":"id"},"in":"query"},{"name":"sort","required":false,"description":"Order of sorting","schema":{"type":"string","enum":["asc","desc"],"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.","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":"The ID of the service account user","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":{"$ref":"#/components/schemas/APIEntitiesResourceStateEvent"}}}},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"id","required":true,"description":"The ID of a 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The ID of a 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":"The ID of a 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":{"$ref":"#/components/schemas/APIEntitiesResourceStateEvent"}}}},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"id","required":true,"description":"The ID of a 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The ID of a 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":"The ID of a resource state event","schema":{"type":"integer"},"in":"path"}]}},"/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":{"$ref":"#/components/schemas/APIEntitiesResourceLabelEvent"}}}},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"id","required":true,"description":"The ID of a 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The ID of a project","schema":{"type":"string"},"in":"path"},{"name":"event_id","required":true,"description":"The ID of a 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":{"$ref":"#/components/schemas/APIEntitiesResourceLabelEvent"}}}},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"id","required":true,"description":"The ID of a 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The ID of a project","schema":{"type":"string"},"in":"path"},{"name":"event_id","required":true,"description":"The ID of a 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/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":"The 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":{"$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":"The 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"order_by","required":false,"description":"Attribute to sort by","schema":{"type":"string","enum":["id","username"],"default":"id"},"in":"query"},{"name":"sort","required":false,"description":"Order of sorting","schema":{"type":"string","enum":["asc","desc"],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"user_id","required":true,"description":"The 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"user_id","required":true,"description":"The ID of the service account","schema":{"type":"integer"},"in":"path"},{"name":"hard_delete","required":false,"description":"Whether to remove a user's contributions","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"user_id","required":true,"description":"The 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","tags":["Access tokens","Service accounts"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$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":"The 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.","schema":{"type":"string","enum":["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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"user_id","required":true,"description":"The 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.","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"user_id","required":true,"description":"The 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"token_id","required":true,"description":"The ID of the personal access token","schema":{"type":"integer"},"in":"path"},{"name":"user_id","required":true,"description":"The 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.","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"token_id","required":true,"description":"The ID of the personal access token","schema":{"type":"integer"},"in":"path"},{"name":"user_id","required":true,"description":"The 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":{"$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"],"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"],"default":"due_date_asc"},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":{"$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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":{"$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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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/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.","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.","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.","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.","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":{"$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"],"default":"created_at"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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"],"default":"all_notes"},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"ID of the resource the note is attached to.","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":"ID of the resource the note is attached to.","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":"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/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":"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}/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":{"$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"],"default":"created_at"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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"],"default":"all_notes"},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]},"post":{"operationId":"postApiV4ProjectsIdMergeRequestsNoteableIdNotes","summary":"Create a merge request note","description":"Creates a note for a merge request.","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/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":"ID of the resource the note is attached to.","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":"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/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":"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}/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":{"$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"],"default":"created_at"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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"],"default":"all_notes"},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":{"$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"],"default":"created_at"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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"],"default":"all_notes"},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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 resource the note is attached to.","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 resource the note is attached to.","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 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/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 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/mcp":{"post":{"operationId":"postApiV4Mcp","summary":"Create MCP request handler","description":"Handles Model Context Protocol requests","tags":["MCP"],"responses":{"201":{"description":"Created"},"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":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"405":{"description":"Method not allowed"}}}},"/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.","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 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"order_by","required":false,"description":"Sort results by the specified field.","schema":{"type":"string","enum":["id","username"],"default":"id"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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.","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.","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.","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","tags":["Access tokens","Service accounts"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$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.","schema":{"type":"string","enum":["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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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. 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.","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.","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":{"$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"],"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"],"default":"due_date_asc"},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":{"$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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":{"$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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]}},"/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":{"$ref":"#/components/schemas/APIEntitiesProjectLabel"}}}},"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":"with_counts","required":false,"description":"Include issue and merge request counts","schema":{"type":"boolean","default":false},"in":"query"},{"name":"include_ancestor_groups","required":false,"description":"Include ancestor groups","schema":{"type":"boolean","default":true},"in":"query"},{"name":"search","required":false,"description":"Keyword to filter labels by. This feature was added in GitLab 13.6","schema":{"type":"string","nullable":true},"in":"query"},{"name":"archived","required":false,"description":"Filter by archived status. This feature was added 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The 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":"The 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"label_id","required":false,"description":"The ID of the label to be deleted. Exactly one of `label_id`, `name` must be provided.","schema":{"type":"integer","nullable":true},"in":"query"},{"name":"name","required":false,"description":"The name of the label to be deleted. 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"name","required":true,"description":"The ID or name of a label","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"include_ancestor_groups","required":false,"description":"Include ancestor groups","schema":{"type":"boolean","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"name","required":true,"description":"The name or id of the label to be updated","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"name","required":true,"description":"The name or id of the label to be deleted","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":"The 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"name","required":true,"description":"The name or id of the label to be promoted","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":{"$ref":"#/components/schemas/APIEntitiesGroupLabel"}}}},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"id","required":true,"description":"The ID of a group","schema":{"type":"string"},"in":"path"},{"name":"with_counts","required":false,"description":"Include issue and merge request counts","schema":{"type":"boolean","default":false},"in":"query"},{"name":"include_ancestor_groups","required":false,"description":"Include ancestor groups","schema":{"type":"boolean","default":true},"in":"query"},{"name":"include_descendant_groups","required":false,"description":"Include descendant groups. This feature was added in GitLab 13.6","schema":{"type":"boolean","default":false},"in":"query"},{"name":"only_group_labels","required":false,"description":"Toggle to include only group labels or also project labels. This feature was added in GitLab 13.6","schema":{"type":"boolean","default":true},"in":"query"},{"name":"search","required":false,"description":"Keyword to filter labels by. This feature was added in GitLab 13.6","schema":{"type":"string","nullable":true},"in":"query"},{"name":"archived","required":false,"description":"Filter by archived status. This feature was added 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The ID of a 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":"The ID of a 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":"The ID of a group","schema":{"type":"string"},"in":"path"},{"name":"name","required":true,"description":"The name of the label to be deleted","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":"The ID of a group","schema":{"type":"string"},"in":"path"},{"name":"name","required":true,"description":"The ID or name of a label","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"include_ancestor_groups","required":false,"description":"Include ancestor groups","schema":{"type":"boolean","default":true},"in":"query"},{"name":"include_descendant_groups","required":false,"description":"Include descendant groups. This feature was added in GitLab 13.6","schema":{"type":"boolean","default":false},"in":"query"},{"name":"only_group_labels","required":false,"description":"Toggle to include only group labels or also project labels. This feature was added in GitLab 13.6","schema":{"type":"boolean","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":"The ID of a group","schema":{"type":"string"},"in":"path"},{"name":"name","required":true,"description":"The name or id of the label to be updated","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":"The ID of a group","schema":{"type":"string"},"in":"path"},{"name":"name","required":true,"description":"The name or id of the label to be deleted","schema":{"type":"string"},"in":"path"}]}},"/api/v4/groups/{id}/boards":{"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":{"$ref":"#/components/schemas/APIEntitiesBoard"}}}},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"id","required":true,"description":"The ID of a group","schema":{"type":"string"},"in":"path"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]}},"/api/v4/groups/{id}/boards/{board_id}":{"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":"The ID of a group","schema":{"type":"string"},"in":"path"},{"name":"board_id","required":true,"description":"The ID of a 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":"The ID of a group","schema":{"type":"string"},"in":"path"},{"name":"board_id","required":true,"description":"The ID of a board","schema":{"type":"integer"},"in":"path"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4GroupsIdBoardsBoardIdRequest"}}}}}},"/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":{"$ref":"#/components/schemas/APIEntitiesList"}}}},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"id","required":true,"description":"The ID of a group","schema":{"type":"string"},"in":"path"},{"name":"board_id","required":true,"description":"The ID of a board","schema":{"type":"integer"},"in":"path"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The ID of a group","schema":{"type":"string"},"in":"path"},{"name":"board_id","required":true,"description":"The ID of a board","schema":{"type":"integer"},"in":"path"}],"requestBody":{"required":true,"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":"The ID of a group","schema":{"type":"string"},"in":"path"},{"name":"board_id","required":true,"description":"The ID of a board","schema":{"type":"integer"},"in":"path"},{"name":"list_id","required":true,"description":"The ID of a 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":"The ID of a group","schema":{"type":"string"},"in":"path"},{"name":"board_id","required":true,"description":"The ID of a board","schema":{"type":"integer"},"in":"path"},{"name":"list_id","required":true,"description":"The ID of a 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":"The ID of a group","schema":{"type":"string"},"in":"path"},{"name":"board_id","required":true,"description":"The ID of a board","schema":{"type":"integer"},"in":"path"},{"name":"list_id","required":true,"description":"The ID of a board 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":{"$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 issue.","schema":{"type":"integer"},"in":"path"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"ID 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":"ID 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":"ID 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":{"$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 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.","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 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":"ID 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":"ID 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":"ID 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":{"$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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":{"$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"}]},"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.","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":"ID of the merge request.","schema":{"type":"integer"},"in":"path"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"ID 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":"ID 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.","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":"ID 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":{"$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 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.","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 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":"ID 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":"ID 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":"ID 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.","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":"ID of the commit.","schema":{"type":"string"},"in":"path"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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 commit.","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":"ID of the commit.","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":{"$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 commit.","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":"ID of the commit.","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":"ID of the commit.","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":"ID of the commit.","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":"ID of the commit.","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/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":{"$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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":{"$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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":true,"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/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.","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. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"user","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"user_id","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"gl_user_id","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"scoped_user","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"scoped_user_id","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"project","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"root_namespace","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"gl_root_namespace_id","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"client_id","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"caller_id","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"remote_ip","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"job_id","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"pipeline_id","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"related_class","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"feature_category","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"artifact_size","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"artifact_used_cdn","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"artifacts_dependencies_size","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"artifacts_dependencies_count","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"root_caller_id","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"merge_action_status","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"bulk_import_entity_id","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"sidekiq_destination_shard_redis","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"kubernetes_agent_id","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"mvcc_manifest","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"client_type","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"client_name","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"client_version","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"worker_class","required":false,"description":"Metadata key to match. At least one of `organization_id`, `user`, `user_id`, `gl_user_id`, `scoped_user`, `scoped_user_id`, `project`, `root_namespace`, `gl_root_namespace_id`, `client_id`, `caller_id`, `remote_ip`, `job_id`, `pipeline_id`, `related_class`, `feature_category`, `artifact_size`, `artifact_used_cdn`, `artifacts_dependencies_size`, `artifacts_dependencies_count`, `root_caller_id`, `merge_action_status`, `bulk_import_entity_id`, `sidekiq_destination_shard_redis`, `kubernetes_agent_id`, `mvcc_manifest`, `client_type`, `client_name`, `client_version`, `worker_class` must be provided.","schema":{"type":"string","nullable":true},"in":"query"}]}},"/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","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","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/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","default":false},"in":"query"}]},"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"}}}}}},"/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","default":false},"in":"query"}]},"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"}}}}},"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"}]}},"/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"}}}}}},"/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":"Create a new runner","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":"Assigned open issues, assigned MRs and pending todos count","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"},"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","tags":["Usage data"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"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"}},"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"},"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","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","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","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","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":{"$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"},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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.","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":"The 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":"The 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":"The 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":"The 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":"The 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":"The 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":"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.","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.","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.","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.","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":"Download specific version of a module","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.","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.","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.","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.","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"],"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"],"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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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.","tags":["Hooks"],"responses":{"200":{"description":"OK"},"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.","tags":["Hooks"],"responses":{"200":{"description":"OK"},"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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]},"post":{"operationId":"postApiV4Hooks","summary":"Create a system hook","description":"Creates a system hook.","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"}},"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/{subject_digest}":{"get":{"operationId":"getApiV4ProjectsIdAttestationsSubjectDigest","summary":"List all attestations for a project","description":"Lists all attestations for a specified project and artifact hash. This feature was introduced in GitLab 18.7.","tags":["Attestations"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesSupplyChainAttestation"}}}},"404":{"description":"Artifact SHA-256 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":"subject_digest","required":true,"description":"The 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":"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"attestation_iid","required":true,"description":"The iid of the attestation","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":"The 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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]},"post":{"operationId":"postApiV4Snippets","summary":"Create a snippet","description":"Creates a snippet.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]}},"/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.","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.","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":["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, incident, 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","default":false},"in":"query"},{"name":"fields","required":false,"description":"Array of fields to search. Only \"title\" is supported (work_items / issues scope).","schema":{"type":"array","items":{"type":"string","enum":["title"]},"nullable":true},"in":"query","style":"form","explode":false},{"name":"language","required":false,"description":"Array of languages to filter blobs by language.","schema":{"type":"array","items":{"type":"string"},"nullable":true},"in":"query","style":"form","explode":false},{"name":"label_name","required":false,"description":"Array of labels to filter work_items / issues / merge_requests by label.","schema":{"type":"array","items":{"type":"string"},"nullable":true},"in":"query","style":"form","explode":false},{"name":"source_branch","required":false,"description":"Filter merge requests by source branch.","schema":{"type":"string","nullable":true,"maxLength":255},"in":"query"},{"name":"target_branch","required":false,"description":"Filter merge requests by target branch.","schema":{"type":"string","nullable":true,"maxLength":255},"in":"query"},{"name":"not_source_branch","required":false,"description":"Exclude merge requests by source branch.","schema":{"type":"string","nullable":true,"maxLength":255},"in":"query"},{"name":"not_target_branch","required":false,"description":"Exclude merge requests by target branch.","schema":{"type":"string","nullable":true,"maxLength":255},"in":"query"},{"name":"author_username","required":false,"description":"Filter merge requests by author username.","schema":{"type":"string","nullable":true,"maxLength":255},"in":"query"},{"name":"not_author_username","required":false,"description":"Exclude merge requests by author username.","schema":{"type":"string","nullable":true,"maxLength":255},"in":"query"},{"name":"exclude_forks","required":false,"description":"Exclude forked projects from search results. Only supported for work_items / issues scope.","schema":{"type":"boolean","nullable":true},"in":"query"},{"name":"num_context_lines","required":false,"description":"Number of context lines around each match. Only supported for blobs scope.","schema":{"type":"integer","minimum":0,"maximum":20,"nullable":true},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":["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, incident, 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","default":false},"in":"query"},{"name":"fields","required":false,"description":"Array of fields to search. Only \"title\" is supported (work_items / issues scope).","schema":{"type":"array","items":{"type":"string","enum":["title"]},"nullable":true},"in":"query","style":"form","explode":false},{"name":"language","required":false,"description":"Array of languages to filter blobs by language.","schema":{"type":"array","items":{"type":"string"},"nullable":true},"in":"query","style":"form","explode":false},{"name":"label_name","required":false,"description":"Array of labels to filter work_items / issues / merge_requests by label.","schema":{"type":"array","items":{"type":"string"},"nullable":true},"in":"query","style":"form","explode":false},{"name":"source_branch","required":false,"description":"Filter merge requests by source branch.","schema":{"type":"string","nullable":true,"maxLength":255},"in":"query"},{"name":"target_branch","required":false,"description":"Filter merge requests by target branch.","schema":{"type":"string","nullable":true,"maxLength":255},"in":"query"},{"name":"not_source_branch","required":false,"description":"Exclude merge requests by source branch.","schema":{"type":"string","nullable":true,"maxLength":255},"in":"query"},{"name":"not_target_branch","required":false,"description":"Exclude merge requests by target branch.","schema":{"type":"string","nullable":true,"maxLength":255},"in":"query"},{"name":"author_username","required":false,"description":"Filter merge requests by author username.","schema":{"type":"string","nullable":true,"maxLength":255},"in":"query"},{"name":"not_author_username","required":false,"description":"Exclude merge requests by author username.","schema":{"type":"string","nullable":true,"maxLength":255},"in":"query"},{"name":"exclude_forks","required":false,"description":"Exclude forked projects from search results. Only supported for work_items / issues scope.","schema":{"type":"boolean","nullable":true},"in":"query"},{"name":"num_context_lines","required":false,"description":"Number of context lines around each match. Only supported for blobs scope.","schema":{"type":"integer","minimum":0,"maximum":20,"nullable":true},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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, incident, ticket.","schema":{"type":"array","items":{"type":"string"},"nullable":true},"in":"query","style":"form","explode":false},{"name":"fields","required":false,"description":"Array of fields to search. Only \"title\" is supported (work_items / issues scope).","schema":{"type":"array","items":{"type":"string","enum":["title"]},"nullable":true},"in":"query","style":"form","explode":false},{"name":"language","required":false,"description":"Array of languages to filter blobs by language.","schema":{"type":"array","items":{"type":"string"},"nullable":true},"in":"query","style":"form","explode":false},{"name":"label_name","required":false,"description":"Array of labels to filter work_items / issues / merge_requests by label.","schema":{"type":"array","items":{"type":"string"},"nullable":true},"in":"query","style":"form","explode":false},{"name":"source_branch","required":false,"description":"Filter merge requests by source branch.","schema":{"type":"string","nullable":true,"maxLength":255},"in":"query"},{"name":"target_branch","required":false,"description":"Filter merge requests by target branch.","schema":{"type":"string","nullable":true,"maxLength":255},"in":"query"},{"name":"not_source_branch","required":false,"description":"Exclude merge requests by source branch.","schema":{"type":"string","nullable":true,"maxLength":255},"in":"query"},{"name":"not_target_branch","required":false,"description":"Exclude merge requests by target branch.","schema":{"type":"string","nullable":true,"maxLength":255},"in":"query"},{"name":"author_username","required":false,"description":"Filter merge requests by author username.","schema":{"type":"string","nullable":true,"maxLength":255},"in":"query"},{"name":"not_author_username","required":false,"description":"Exclude merge requests by author username.","schema":{"type":"string","nullable":true,"maxLength":255},"in":"query"},{"name":"num_context_lines","required":false,"description":"Number of context lines around each match. Only supported for blobs scope.","schema":{"type":"integer","minimum":0,"maximum":20,"nullable":true},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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.","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.","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":"The 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":"The 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":"The 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":"The 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"eventable_id","required":true,"description":"The 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"event_id","required":true,"description":"The ID of a resource milestone event","schema":{"type":"string"},"in":"path"},{"name":"eventable_id","required":true,"description":"The ID of the eventable","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"eventable_id","required":true,"description":"The 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"event_id","required":true,"description":"The ID of a resource milestone event","schema":{"type":"string"},"in":"path"},{"name":"eventable_id","required":true,"description":"The ID of the eventable","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.","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.","schema":{"type":"string","enum":["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. 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.","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.","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.","schema":{"type":"string","enum":["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.","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. 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.","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":{"$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","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","default":false},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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"],"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.","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.","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","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"},"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.","tags":["Repositories"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesCompare"}}}},"404":{"description":"Not Found"},"400":{"description":"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":"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","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","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.","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","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.","tags":["Repositories"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"ref","required":false,"description":"Name of a repository branch or tag. If omitted, uses the default branch.","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"],"default":"commits"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"default":"asc"},"in":"query"}]}},"/api/v4/projects/{id}/repository/merge_base":{"get":{"operationId":"getApiV4ProjectsIdRepositoryMergeBase","summary":"Retrieve a merge base","description":"Retrieves the merge base for two specified commits.","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":"Each blob is truncated to the first 1 MB; the `truncated` field indicates when this happens.","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"}}}}}},"/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.","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","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":"find_renames","required":false,"description":"If true, detect file renames","schema":{"type":"boolean","default":false},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]}},"/api/v4/projects/{id}/repository/diverging_commits":{"get":{"operationId":"getApiV4ProjectsIdRepositoryDivergingCommits","summary":"Retrieve diverging commit counts between two refs","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,"default":0},"in":"query","example":1000}]}},"/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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]}},"/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.","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.","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\\-]+)*))?)","nullable":true},"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.","schema":{"type":"string","nullable":true},"in":"query","example":"ed899a2f4b50b4370feeea94676502b42383c746"},{"name":"to","required":false,"description":"Last commit in the range of commits, as a SHA, 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","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.","schema":{"type":"string","nullable":true},"in":"query","example":"main"}]},"post":{"operationId":"postApiV4ProjectsIdRepositoryChangelog","summary":"Add changelog data to file","description":"Adds changelog data to 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]},"post":{"operationId":"postApiV4ProjectsIdRemoteMirrors","summary":"Create a push mirror","description":"Creates a push mirror.","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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The ID or URL-encoded path of the group owned by the authenticated user","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"sort","required":false,"description":"The direction of the order. Either `desc` (default) for descending order or `asc` for ascending order","schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"in":"query"},{"name":"simple","required":false,"description":"Return only limited fields for each release","schema":{"type":"boolean","default":false},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"order_by","required":false,"description":"The field to use as order. Either `released_at` (default) or `created_at`","schema":{"type":"string","enum":["released_at","created_at"],"default":"released_at"},"in":"query"},{"name":"sort","required":false,"description":"The direction of the order. Either `desc` (default) for descending order or `asc` for ascending order","schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"in":"query"},{"name":"include_html_description","required":false,"description":"If `true`, a 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 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 releases updated after the specified datetime. Format: ISO 8601 YYYY-MM-DDTHH:MM:SSZ","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.","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"}},"parameters":[{"name":"id","required":true,"description":"The 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"tag_name","required":true,"description":"The Git tag the release is associated with","schema":{"type":"string"},"in":"path"},{"name":"include_html_description","required":false,"description":"If `true`, a 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.","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"tag_name","required":true,"description":"The 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"tag_name","required":true,"description":"The 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":"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"tag_name","required":true,"description":"The 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":"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":"The 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":"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":"The 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/groups/{id}/-/packages/pypi/files/{sha256}/{file_identifier}":{"get":{"operationId":"getApiV4GroupsIdDashPackagesPypiFilesSha256FileIdentifier","summary":"Download a package file from a group","description":"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":"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":"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/forward/{package_name}/{upstream_path}":{"get":{"operationId":"getApiV4ProjectsIdPackagesPypiForwardPackageNameUpstreamPath","summary":"Download a forwarded (proxied) PyPI package file","description":"Enforces the Dependency Firewall then redirects to the upstream artifact.","tags":["Packages: PyPi"],"responses":{"302":{"description":"Found"},"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 normalized PyPI package name","schema":{"type":"string"},"in":"path","example":"my.pypi.package"},{"name":"upstream_path","required":true,"description":"The upstream artifact host and path, as emitted by the Simple index rewrite","schema":{"type":"string"},"in":"path"}]}},"/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":"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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]},"post":{"operationId":"postApiV4ProjectsIdProtectedTags","summary":"Protect a repository tag","description":"Protects a specified repository tag 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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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.","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.","tags":["Projects"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesBasicProjectDetails"}}}}},"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"],"default":"created_at"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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.","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","default":false},"in":"query"},{"name":"starred","required":false,"description":"If `true`, returns only projects starred by the current user.","schema":{"type":"boolean","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","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","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","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","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":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"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","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","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","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/APIEntitiesBasicProjectDetails"}}}}},"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"],"default":"created_at"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"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","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/APIEntitiesBasicProjectDetails"}}}}},"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"],"default":"created_at"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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.","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","default":false},"in":"query"},{"name":"starred","required":false,"description":"If `true`, returns only projects starred by the current user.","schema":{"type":"boolean","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","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","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","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","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":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"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","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","default":false},"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":{"$ref":"#/components/schemas/APIEntitiesCustomAttribute"}}}},"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"}]}},"/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":"The key of the custom attribute","schema":{"type":"string"},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]},"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":"The key of the custom attribute","schema":{"type":"string"},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The key of the custom attribute","schema":{"type":"string"},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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. Unauthenticated requests return only public projects with a limited subset of attributes. 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/APIEntitiesBasicProjectDetails"}}}}},"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"],"default":"created_at"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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.","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","default":false},"in":"query"},{"name":"starred","required":false,"description":"If `true`, returns only projects starred by the current user.","schema":{"type":"boolean","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","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","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","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","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":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"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","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","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","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":{"$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","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","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","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. 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":"Deletes a specified 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.","tags":["Projects"],"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesProject"}}}},"403":{"description":"Unauthenticated"},"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"}],"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.","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.","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"],"default":"created_at"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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.","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","default":false},"in":"query"},{"name":"starred","required":false,"description":"If `true`, returns only projects starred by the current user.","schema":{"type":"boolean","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","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","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","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","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":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"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","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","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":"Check pages access of this 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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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.","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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","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","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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}/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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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 snapshot of a Git repository.","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":"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/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":"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":"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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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"],"default":"created_at"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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"],"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.","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.","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":{"$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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items per page","schema":{"type":"integer","minimum":1,"maximum":20,"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.","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":{"$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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":{"$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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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.","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.","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. 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. This feature was introduced in GitLab 16.11.","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/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.","tags":["Hooks"],"responses":{"200":{"description":"OK"},"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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.","tags":["Hooks"],"responses":{"200":{"description":"OK"},"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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.","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]},"post":{"operationId":"postApiV4ProjectsIdHooks","summary":"Add a webhook to a project","description":"Adds a webhook to a specified project.","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"}},"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.","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.","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"}]}},"/api/v4/projects/{id}/hooks/{hook_id}/events":{"get":{"operationId":"getApiV4ProjectsIdHooksHookIdEvents","summary":"List all events","description":"Lists all events for a specified webhook.","tags":["Hooks"],"responses":{"200":{"description":"OK"},"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,"default":20},"in":"query","example":20},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"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.","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"],"minLength":1},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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. On GitLab Self-Managed and GitLab Dedicated, an administrator can change this limit in the application settings.","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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.","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.","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.","tags":["Project import"],"responses":{"202":{"description":"Accepted"},"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 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.","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"},"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.","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":{"$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":"Event action to filter on","schema":{"type":"string","nullable":true},"in":"query"},{"name":"target_type","required":false,"description":"Event target type to filter on","schema":{"type":"string","enum":["issue","milestone","merge_request","note","project","snippet","user","wiki","design"],"nullable":true},"in":"query"},{"name":"before","required":false,"description":"Include only events created before this date","schema":{"type":"string","format":"date","nullable":true},"in":"query"},{"name":"after","required":false,"description":"Include only events created after this date","schema":{"type":"string","format":"date","nullable":true},"in":"query"},{"name":"sort","required":false,"description":"Return events sorted in ascending and descending order","schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The 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.","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":"The 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"codename","required":false,"description":"Codename 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":"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":"The 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":"The 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":"The 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":"The 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":"Not Found"},"400":{"description":"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":"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/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":"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":"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":"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 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.","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":"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/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.","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":"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":"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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"tags","required":false,"description":"If `true`, includes an array of `tags` in the response.","schema":{"type":"boolean","default":false},"in":"query"},{"name":"tags_count","required":false,"description":"If `true`, includes `tags_count` in the response.","schema":{"type":"boolean","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.","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":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","tags":["Container registry"],"responses":{"204":{"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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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 a 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","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.","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.","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.","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":"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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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.","schema":{"type":"string","enum":["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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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.","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":{"$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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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"},"404":{"description":"Not Found"},"400":{"description":"Bad 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.","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 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"},"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"},"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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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"],"default":"id"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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.","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"}}}}}},"/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":"The ID of the organization","schema":{"type":"integer"},"in":"path"}]}},"/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"},"400":{"description":"Bad Request"}},"parameters":[{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"sort","required":false,"description":"Return offline transfer exports sorted in created by `asc` or `desc` order.","schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"in":"query"},{"name":"status","required":false,"description":"Return offline transfer exports with 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":"The ID of user's 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":"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":"The ID or URL-encoded path 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":"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":"The ID or URL-encoded path 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":"[^\\/]+"},"in":"path","example":"mynugetpkg.pdb"},{"name":"signature","required":true,"description":"The symbol file signature","schema":{"type":"string","pattern":"[^\\/]+"},"in":"path","example":"k813f89485474661234z7109cve5709eFFFFFFFF"},{"name":"same_file_name","required":true,"description":"The symbol file name. Must match the 'file_name' parameter","schema":{"type":"string"},"in":"path"}]}},"/api/v4/projects/{id}/packages/nuget/v2":{"get":{"operationId":"getApiV4ProjectsIdPackagesNugetV2","summary":"The NuGet V2 Feed Service Index","description":"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":"The ID or URL-encoded path 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":"The 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/putApiV4ProjectsIdPackagesNugetV2Request"}}}}}},"/api/v4/projects/{id}/packages/nuget/v2/$metadata":{"get":{"operationId":"getApiV4ProjectsIdPackagesNugetV2Metadata","summary":"The NuGet V2 Feed Package $metadata endpoint","description":"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":"The ID or URL-encoded path 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":"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":"The ID or URL-encoded path 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":"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":"The ID or URL-encoded path 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":"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":"The ID or URL-encoded path 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","default":0},"in":"query","example":1},{"name":"take","required":false,"description":"Number of results to return.","schema":{"type":"integer","default":20},"in":"query","example":1},{"name":"prerelease","required":false,"description":"If `true`, includes prerelease versions in the results.","schema":{"type":"boolean","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":"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":"The ID or URL-encoded path 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":"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":"The ID or URL-encoded path 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":"The 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/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":"The ID or URL-encoded path 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":"The 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/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":"The ID or URL-encoded path 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":"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":"The ID or URL-encoded path 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]+$"},"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\\-]+)*))?)$"},"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":"The ID or URL-encoded path 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":"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"id","required":true,"description":"The NuGet package name","schema":{"type":"string","pattern":"^[\\-+._a-zA-Z0-9]+$","nullable":true},"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":"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"$filter","required":true,"description":"The NuGet package name","schema":{"type":"string","pattern":"^[\\-+._a-zA-Z0-9]+$","nullable":true},"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":"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":"The ID or URL-encoded path 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]+$"},"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\\-]+)*))?)$"},"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":"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":"The group ID or full group path.","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":"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":"The group ID or full group path.","schema":{"oneOf":[{"type":"integer"},{"type":"string"}]},"in":"path"},{"name":"file_name","required":true,"description":"The symbol file name","schema":{"type":"string","pattern":"[^\\/]+"},"in":"path","example":"mynugetpkg.pdb"},{"name":"signature","required":true,"description":"The symbol file signature","schema":{"type":"string","pattern":"[^\\/]+"},"in":"path","example":"k813f89485474661234z7109cve5709eFFFFFFFF"},{"name":"same_file_name","required":true,"description":"The symbol file name. Must match the 'file_name' parameter","schema":{"type":"string"},"in":"path"}]}},"/api/v4/groups/{id}/-/packages/nuget/v2":{"get":{"operationId":"getApiV4GroupsIdDashPackagesNugetV2","summary":"The NuGet V2 Feed Service Index","description":"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":"The group ID or full group path.","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":"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":"The group ID or full group path.","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":"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":"The group ID or full group path.","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":"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":"The group ID or full group path.","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":"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":"The group ID or full group path.","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","default":0},"in":"query","example":1},{"name":"take","required":false,"description":"Number of results to return.","schema":{"type":"integer","default":20},"in":"query","example":1},{"name":"prerelease","required":false,"description":"If `true`, includes prerelease versions in the results.","schema":{"type":"boolean","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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"The 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":"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":"The 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":"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":"The 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":"The 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":"The 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":"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":"The 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":{"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.","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","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","default":false},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]}},"/api/v4/namespaces/{id}":{"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}/exists":{"get":{"operationId":"getApiV4NamespacesIdExists","summary":"Verify namespace availability","description":"Verifies that a namespace is available for use.","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":"Removes the calling user's push subscriptions for the given device token.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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"}}}},"404":{"description":"Not Found"},"400":{"description":"Bad 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","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.","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"}]}},"/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. A mismatch returns a `409 Conflict` response.","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.","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_rules_and_code_owners":{"get":{"operationId":"getApiV4ProjectsIdMergeRequestsMergeRequestIidApprovalRulesAndCodeOwners","summary":"List approval rules, code owners, and approval settings for merge request","responses":{"200":{"description":"OK"},"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","example":11},{"name":"merge_request_iid","required":true,"description":"The internal ID of an issuable","schema":{"type":"integer"},"in":"path"}]}},"/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 created by the given `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`. `None` returns merge requests with no reviewers. `Any` returns merge requests with any reviewer. 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.","schema":{"type":"string","enum":["opened","closed","locked","merged","all"],"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.","schema":{"type":"string","enum":["created_at","label_priority","milestone_due","popularity","priority","title","updated_at","merged_at"],"default":"created_at"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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","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. Enable the `restrict_merge_status_recheck` [feature flag](https://docs.gitlab.com/administration/feature_flags/) to ignore this attribute when requested by users without the Developer, Maintainer, or Owner role.","schema":{"type":"boolean","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"],"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 created by the given `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`. `None` returns merge requests with no reviewers. `Any` returns merge requests with any reviewer. 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`. `None` returns merge requests with no reviewers. `Any` returns merge requests with any reviewer. 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`. 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`. Mutually exclusive with `merge_user_id`.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","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 created by the given `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`. `None` returns merge requests with no reviewers. `Any` returns merge requests with any reviewer. 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.","schema":{"type":"string","enum":["opened","closed","locked","merged","all"],"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.","schema":{"type":"string","enum":["created_at","label_priority","milestone_due","popularity","priority","title","updated_at","merged_at"],"default":"created_at"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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","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. Enable the `restrict_merge_status_recheck` [feature flag](https://docs.gitlab.com/administration/feature_flags/) to ignore this attribute when requested by users without the Developer, Maintainer, or Owner role.","schema":{"type":"boolean","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},"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 created by the given `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`. `None` returns merge requests with no reviewers. `Any` returns merge requests with any reviewer. 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`. `None` returns merge requests with no reviewers. `Any` returns merge requests with any reviewer. 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`. 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`. Mutually exclusive with `merge_user_id`.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","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 created by the given `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`. `None` returns merge requests with no reviewers. `Any` returns merge requests with any reviewer. 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.","schema":{"type":"string","enum":["opened","closed","locked","merged","all"],"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.","schema":{"type":"string","enum":["created_at","label_priority","milestone_due","popularity","priority","title","updated_at","merged_at"],"default":"created_at"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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","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. Enable the `restrict_merge_status_recheck` [feature flag](https://docs.gitlab.com/administration/feature_flags/) to ignore this attribute when requested by users without the Developer, Maintainer, or Owner role.","schema":{"type":"boolean","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},"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 created by the given `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`. `None` returns merge requests with no reviewers. `Any` returns merge requests with any reviewer. 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`. `None` returns merge requests with no reviewers. `Any` returns merge requests with any reviewer. 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`. 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`. Mutually exclusive with `merge_user_id`.","schema":{"type":"string","nullable":true},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The internal ID of an issuable","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":"The internal ID of an issuable","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":"The internal ID of an issuable","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The internal ID of an issuable","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.","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":"The internal ID of an issuable","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.","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"},"nullable":true},"in":"query","style":"form","explode":false},{"name":"merge_request_iid","required":true,"description":"The internal ID of an issuable","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.","tags":["Merge requests"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesMergeRequestChanges"}}}},"404":{"description":"Not found"},"400":{"description":"Bad Request"}},"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","default":false},"in":"query"},{"name":"merge_request_iid","required":true,"description":"The internal ID of an issuable","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.","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"},"400":{"description":"Bad 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","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"},"400":{"description":"Bad 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 an issuable","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.","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":"The internal ID of an issuable","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":"The internal ID of an issuable","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.","tags":["Merge requests"],"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":"merge_request_iid","required":true,"description":"The internal ID of an issuable","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. This endpoint does not return the merge request. 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":"The internal ID of an issuable","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. Use this endpoint instead of `cancel_merge_when_pipeline_succeeds`, which returns a status hash rather than the merge request.","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"},"400":{"description":"Bad 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 an issuable","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`.","tags":["Merge requests"],"responses":{"202":{"description":"Accepted"},"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 project.","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"merge_request_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/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/APIEntitiesMRNote"}}}}},"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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"merge_request_iid","required":true,"description":"The internal ID of an issuable","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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"merge_request_iid","required":true,"description":"The internal ID of an issuable","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":"The group ID","schema":{"type":"string"},"in":"path"},{"name":"query","required":false,"description":"A query string to search for members","schema":{"type":"string","nullable":true},"in":"query"},{"name":"user_ids","required":false,"description":"Array of user ids to look up for membership","schema":{"type":"array","items":{"type":"integer"},"nullable":true},"in":"query","style":"form","explode":false},{"name":"skip_users","required":false,"description":"Array of user ids to be skipped for membership","schema":{"type":"array","items":{"type":"integer"},"nullable":true},"in":"query","style":"form","explode":false},{"name":"show_seat_info","required":false,"description":"Show seat information for members","schema":{"type":"boolean","nullable":true},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]},"post":{"operationId":"postApiV4GroupsIdMembers","summary":"Add a member to a group","description":"Adds a member to a specified group.","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":"The group ID","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":"The group ID","schema":{"type":"string"},"in":"path"},{"name":"query","required":false,"description":"A query string to search for members","schema":{"type":"string","nullable":true},"in":"query"},{"name":"user_ids","required":false,"description":"Array of user ids to look up for membership","schema":{"type":"array","items":{"type":"integer"},"nullable":true},"in":"query","style":"form","explode":false},{"name":"show_seat_info","required":false,"description":"Show seat information for members","schema":{"type":"boolean","nullable":true},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The group ID","schema":{"type":"string"},"in":"path"},{"name":"user_id","required":true,"description":"The 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.","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":"The group ID","schema":{"type":"string"},"in":"path"},{"name":"user_id","required":true,"description":"The user ID of the new 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":"The group ID","schema":{"type":"string"},"in":"path"},{"name":"user_id","required":true,"description":"The user ID of the member","schema":{"type":"integer"},"in":"path"},{"name":"skip_subresources","required":false,"description":"If `true`, the member retains any direct memberships in subgroups or projects.","schema":{"type":"boolean","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","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.","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":"The group ID","schema":{"type":"string"},"in":"path"},{"name":"user_id","required":true,"description":"The 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":"The project ID","schema":{"type":"string"},"in":"path"},{"name":"query","required":false,"description":"A query string to search for members","schema":{"type":"string","nullable":true},"in":"query"},{"name":"user_ids","required":false,"description":"Array of user ids to look up for membership","schema":{"type":"array","items":{"type":"integer"},"nullable":true},"in":"query","style":"form","explode":false},{"name":"skip_users","required":false,"description":"Array of user ids to be skipped for membership","schema":{"type":"array","items":{"type":"integer"},"nullable":true},"in":"query","style":"form","explode":false},{"name":"show_seat_info","required":false,"description":"Show seat information for members","schema":{"type":"boolean","nullable":true},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]},"post":{"operationId":"postApiV4ProjectsIdMembers","summary":"Add a member to a project","description":"Adds a member to a specified project.","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":"The project ID","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":"The project ID","schema":{"type":"string"},"in":"path"},{"name":"query","required":false,"description":"A query string to search for members","schema":{"type":"string","nullable":true},"in":"query"},{"name":"user_ids","required":false,"description":"Array of user ids to look up for membership","schema":{"type":"array","items":{"type":"integer"},"nullable":true},"in":"query","style":"form","explode":false},{"name":"show_seat_info","required":false,"description":"Show seat information for members","schema":{"type":"boolean","nullable":true},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The project ID","schema":{"type":"string"},"in":"path"},{"name":"user_id","required":true,"description":"The 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.","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":"The project ID","schema":{"type":"string"},"in":"path"},{"name":"user_id","required":true,"description":"The user ID of the new 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":"The project ID","schema":{"type":"string"},"in":"path"},{"name":"user_id","required":true,"description":"The user ID of the member","schema":{"type":"integer"},"in":"path"},{"name":"skip_subresources","required":false,"description":"If `true`, the member retains any direct memberships in subgroups or projects.","schema":{"type":"boolean","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","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.","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":"The project ID","schema":{"type":"string"},"in":"path"},{"name":"user_id","required":true,"description":"The user ID of the member","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"},"404":{"description":"Not found"},"400":{"description":"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":"Creates an upload.","tags":["Projects"],"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesProjectUpload"}}}},"404":{"description":"Not found"},"400":{"description":"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":{"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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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.","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.","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":"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.","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":"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"},"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}/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.","tags":["Groups"],"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesGroupUpload"}}}},"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"}],"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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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.","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.","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":"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.","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":"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"}}}},"404":{"description":"Not found"},"400":{"description":"Bad 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","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 fingerprint. Administrators only.","tags":["Keys"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesUserWithAdmin"}}}},"400":{"description":"Bad Request"}},"parameters":[{"name":"fingerprint","required":true,"description":"Fingerprint of an SSH key.","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":"scope","required":false,"description":"Return issues for the given scope.","schema":{"type":"string","enum":["created_by_me","assigned_to_me","all"],"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"}]}},"/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":{"$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","default":false},"in":"query"},{"name":"state","required":false,"description":"Filter issues by state.","schema":{"type":"string","enum":["opened","closed","all"],"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","blocking_issues"],"default":"created_at"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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":"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"],"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":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","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":{"$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","default":false},"in":"query"},{"name":"state","required":false,"description":"Filter issues by state.","schema":{"type":"string","enum":["opened","closed","all"],"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","blocking_issues"],"default":"created_at"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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":"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":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","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":"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"}]}},"/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":{"$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","default":false},"in":"query"},{"name":"state","required":false,"description":"Filter issues by state.","schema":{"type":"string","enum":["opened","closed","all"],"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","blocking_issues"],"default":"created_at"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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":"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":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"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"}]}},"/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":{"$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":{"$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":{"$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}/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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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"}}}}},"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/JiraConnectSubscriptionEntity"}}}},"401":{"description":"Unauthorized"}}}},"/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"}]}},"/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"}}}}}},"/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"}}}}},"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"}}}},"/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"}}}},"/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","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4ProjectsIdServicesSquashTmRequest"}}}}}},"/api/v4/projects/{id}/services/defect-dojo":{"put":{"operationId":"putApiV4ProjectsIdServicesDefectDojo","summary":"Create or update the Defect Dojo integration","description":"Creates or updates the Defect Dojo 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4ProjectsIdServicesDefectDojoRequest"}}}}}},"/api/v4/projects/{id}/services/ptai":{"put":{"operationId":"putApiV4ProjectsIdServicesPtai","summary":"Create or update the Ptai integration","description":"Creates or updates the Ptai 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4ProjectsIdServicesPtaiRequest"}}}}}},"/api/v4/projects/{id}/services/code-scoring":{"put":{"operationId":"putApiV4ProjectsIdServicesCodeScoring","summary":"Create or update the Code Scoring integration","description":"Creates or updates the Code Scoring 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4ProjectsIdServicesCodeScoringRequest"}}}}}},"/api/v4/projects/{id}/services/appsec-hub":{"put":{"operationId":"putApiV4ProjectsIdServicesAppsecHub","summary":"Create or update the Appsec Hub integration","description":"Creates or updates the Appsec Hub 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4ProjectsIdServicesAppsecHubRequest"}}}}}},"/api/v4/projects/{id}/services/jaga":{"put":{"operationId":"putApiV4ProjectsIdServicesJaga","summary":"Create or update the Jaga integration","description":"Creates or updates the Jaga 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4ProjectsIdServicesJagaRequest"}}}}}},"/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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The 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","defect-dojo","ptai","code-scoring","appsec-hub","jaga","mock-ci","mock-monitoring"],"minLength":1},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]},"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":"The 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","defect-dojo","ptai","code-scoring","appsec-hub","jaga","mock-ci","mock-monitoring"],"minLength":1},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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":"The 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4ProjectsIdIntegrationsSquashTmRequest"}}}}}},"/api/v4/projects/{id}/integrations/defect-dojo":{"put":{"operationId":"putApiV4ProjectsIdIntegrationsDefectDojo","summary":"Create or update the Defect Dojo integration","description":"Creates or updates the Defect Dojo 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4ProjectsIdIntegrationsDefectDojoRequest"}}}}}},"/api/v4/projects/{id}/integrations/ptai":{"put":{"operationId":"putApiV4ProjectsIdIntegrationsPtai","summary":"Create or update the Ptai integration","description":"Creates or updates the Ptai 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4ProjectsIdIntegrationsPtaiRequest"}}}}}},"/api/v4/projects/{id}/integrations/code-scoring":{"put":{"operationId":"putApiV4ProjectsIdIntegrationsCodeScoring","summary":"Create or update the Code Scoring integration","description":"Creates or updates the Code Scoring 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4ProjectsIdIntegrationsCodeScoringRequest"}}}}}},"/api/v4/projects/{id}/integrations/appsec-hub":{"put":{"operationId":"putApiV4ProjectsIdIntegrationsAppsecHub","summary":"Create or update the Appsec Hub integration","description":"Creates or updates the Appsec Hub 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4ProjectsIdIntegrationsAppsecHubRequest"}}}}}},"/api/v4/projects/{id}/integrations/jaga":{"put":{"operationId":"putApiV4ProjectsIdIntegrationsJaga","summary":"Create or update the Jaga integration","description":"Creates or updates the Jaga 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4ProjectsIdIntegrationsJagaRequest"}}}}}},"/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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The 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","defect-dojo","ptai","code-scoring","appsec-hub","jaga","mock-ci","mock-monitoring"],"minLength":1},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]},"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":"The 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","defect-dojo","ptai","code-scoring","appsec-hub","jaga","mock-ci","mock-monitoring"],"minLength":1},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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":"The 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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4GroupsIdIntegrationsSquashTmRequest"}}}}}},"/api/v4/groups/{id}/integrations/defect-dojo":{"put":{"operationId":"putApiV4GroupsIdIntegrationsDefectDojo","summary":"Create or update the Defect Dojo integration","description":"Creates or updates the Defect Dojo 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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4GroupsIdIntegrationsDefectDojoRequest"}}}}}},"/api/v4/groups/{id}/integrations/ptai":{"put":{"operationId":"putApiV4GroupsIdIntegrationsPtai","summary":"Create or update the Ptai integration","description":"Creates or updates the Ptai 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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4GroupsIdIntegrationsPtaiRequest"}}}}}},"/api/v4/groups/{id}/integrations/code-scoring":{"put":{"operationId":"putApiV4GroupsIdIntegrationsCodeScoring","summary":"Create or update the Code Scoring integration","description":"Creates or updates the Code Scoring 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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4GroupsIdIntegrationsCodeScoringRequest"}}}}}},"/api/v4/groups/{id}/integrations/appsec-hub":{"put":{"operationId":"putApiV4GroupsIdIntegrationsAppsecHub","summary":"Create or update the Appsec Hub integration","description":"Creates or updates the Appsec Hub 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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4GroupsIdIntegrationsAppsecHubRequest"}}}}}},"/api/v4/groups/{id}/integrations/jaga":{"put":{"operationId":"putApiV4GroupsIdIntegrationsJaga","summary":"Create or update the Jaga integration","description":"Creates or updates the Jaga 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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4GroupsIdIntegrationsJagaRequest"}}}}}},"/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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The 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","defect-dojo","ptai","code-scoring","appsec-hub","jaga","mock-ci","mock-monitoring"],"minLength":1},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]},"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":"The 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","defect-dojo","ptai","code-scoring","appsec-hub","jaga","mock-ci","mock-monitoring"],"minLength":1},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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.","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"},"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.","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/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 `target_namespace` if you want to import the repository to a GitLab group.","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"},"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. 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"},"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":"The ID or full path of a project","schema":{"oneOf":[{"type":"integer"},{"type":"string"}]},"in":"path"},{"name":"channel","required":true,"description":"Helm 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":"The ID or full path of a project","schema":{"oneOf":[{"type":"integer"},{"type":"string"}]},"in":"path"},{"name":"channel","required":true,"description":"Helm channel","schema":{"type":"string","pattern":"^([a-zA-Z0-9](\\.|-|_)?){1,255}(?<!\\.|-|_)$"},"in":"path","example":"stable"},{"name":"file_name","required":true,"description":"Helm package file name","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":"The ID or full path of a project","schema":{"oneOf":[{"type":"integer"},{"type":"string"}]},"in":"path"},{"name":"channel","required":true,"description":"Helm 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":"The ID or full path of a project","schema":{"oneOf":[{"type":"integer"},{"type":"string"}]},"in":"path"},{"name":"channel","required":true,"description":"Helm 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.","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"}},"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.","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":{"$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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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`.","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. 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.\n          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.","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","default":false},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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"],"default":"created_at"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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"],"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)).","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.","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":"The ID of a 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":"The ID of a 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.","tags":["Group import and export"],"responses":{"202":{"description":"Accepted"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"503":{"description":"Service unavailable"},"400":{"description":"Bad Request"}},"parameters":[{"name":"id","required":true,"description":"The ID of a 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.","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"},"503":{"description":"Service unavailable"},"400":{"description":"Bad Request"}},"parameters":[{"name":"id","required":true,"description":"The ID of a group","schema":{"type":"string"},"in":"path"},{"name":"relation","required":true,"description":"Group relation name","schema":{"type":"string","nullable":true},"in":"query"},{"name":"batched","required":false,"description":"Whether to download 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":"Batch number 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.","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":"The ID of a group","schema":{"type":"string"},"in":"path"},{"name":"relation","required":false,"description":"Group relation name","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.","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":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"codename","required":false,"description":"Codename 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":"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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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.","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/projects/{id}/packages/go/{module_name}/@v/list":{"get":{"operationId":"getApiV4ProjectsIdPackagesGoModuleNameVList","summary":"List","description":"Get all tagged versions for a given Go module.See `go help goproxy`, GET $GOPROXY/<module>/@v/list. 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 all tagged versions for a given Go module.See `go help goproxy`, GET $GOPROXY/<module>/@v/<version>.info. 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 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 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/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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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.","tags":["Files"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesBlameRange"}}}},"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.","schema":{"type":"string","nullable":true},"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.","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.","schema":{"type":"string","nullable":true},"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","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.","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.","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.","schema":{"type":"string","nullable":true},"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.","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.","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","nullable":true},"in":"query","example":"main"},{"name":"commit_message","required":true,"description":"Commit message.","schema":{"type":"string","nullable":true},"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":"The 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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"}},"parameters":[{"name":"id","required":true,"description":"The 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"iid","required":true,"description":"The 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.","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"}},"parameters":[{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"iid","required":true,"description":"The 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"iid","required":true,"description":"The 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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.","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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"action","required":false,"description":"Event action to filter on","schema":{"type":"string","nullable":true},"in":"query"},{"name":"target_type","required":false,"description":"Event target type to filter on","schema":{"type":"string","enum":["issue","milestone","merge_request","note","project","snippet","user","wiki","design"],"nullable":true},"in":"query"},{"name":"before","required":false,"description":"Include only events created before this date","schema":{"type":"string","format":"date","nullable":true},"in":"query"},{"name":"after","required":false,"description":"Include only events created after this date","schema":{"type":"string","format":"date","nullable":true},"in":"query"},{"name":"sort","required":false,"description":"Return events sorted in ascending and descending order","schema":{"type":"string","enum":["asc","desc"],"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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"action","required":false,"description":"Event action to filter on","schema":{"type":"string","nullable":true},"in":"query"},{"name":"target_type","required":false,"description":"Event target type to filter on","schema":{"type":"string","enum":["issue","milestone","merge_request","note","project","snippet","user","wiki","design"],"nullable":true},"in":"query"},{"name":"before","required":false,"description":"Include only events created before this date","schema":{"type":"string","format":"date","nullable":true},"in":"query"},{"name":"after","required":false,"description":"Include only events created after this date","schema":{"type":"string","format":"date","nullable":true},"in":"query"},{"name":"sort","required":false,"description":"Return events sorted in ascending and descending order","schema":{"type":"string","enum":["asc","desc"],"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":"The ID or URL-encoded path of the project owned by the authenticated user","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":"The ID or URL-encoded path of the project owned by the authenticated user","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":"The ID or URL-encoded path of the project owned by the authenticated user","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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"}]},"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. 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"},"in":"query"},{"name":"limit","required":false,"description":"Maximum number of environments to delete.","schema":{"type":"integer","minimum":1,"maximum":1000,"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","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.","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":"The ID or URL-encoded path of the project owned 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"order_by","required":false,"description":"Return deployments ordered by either one of `id`, `iid`, `created_at`, `updated_at` or `ref` fields. Default is `id`","schema":{"type":"string","enum":["id","iid","created_at","updated_at","finished_at"],"default":"id"},"in":"query"},{"name":"sort","required":false,"description":"Return deployments sorted in `asc` or `desc` order. Default is `asc`","schema":{"type":"string","enum":["asc","desc"],"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":"The name of the environment to filter deployments by","schema":{"type":"string","nullable":true},"in":"query"},{"name":"status","required":false,"description":"The status to filter deployments by. One of `created`, `running`, `success`, `failed`, `canceled`, or `blocked`","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.","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":"The ID or URL-encoded path of the project owned by the authenticated user","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.","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":"The ID or URL-encoded path of the project owned by the authenticated user","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"deployment_id","required":true,"description":"The ID of the deployment","schema":{"type":"integer"},"in":"path"}]},"put":{"operationId":"putApiV4ProjectsIdDeploymentsDeploymentId","summary":"Update a deployment","description":"Updates a specified deployment.","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":"The ID or URL-encoded path of the project owned by the authenticated user","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"deployment_id","required":true,"description":"The 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":"The ID or URL-encoded path of the project owned by the authenticated user","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"deployment_id","required":true,"description":"The 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.","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":"The ID or URL-encoded path of the project owned 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"deployment_id","required":true,"description":"The 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 created by the given `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`. `None` returns merge requests with no reviewers. `Any` returns merge requests with any reviewer. 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.","schema":{"type":"string","enum":["opened","closed","locked","merged","all"],"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.","schema":{"type":"string","enum":["created_at","label_priority","milestone_due","popularity","priority","title","updated_at","merged_at"],"default":"created_at"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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","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. Enable the `restrict_merge_status_recheck` [feature flag](https://docs.gitlab.com/administration/feature_flags/) to ignore this attribute when requested by users without the Developer, Maintainer, or Owner role.","schema":{"type":"boolean","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},"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 created by the given `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`. `None` returns merge requests with no reviewers. `Any` returns merge requests with any reviewer. 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`. `None` returns merge requests with no reviewers. `Any` returns merge requests with any reviewer. 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`. 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`. 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 protected deployment.","tags":["Deploy resources"],"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesDeploymentApproval"}}}},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"}},"parameters":[{"name":"deployment_id","required":true,"description":"The ID of the deployment","schema":{"type":"integer"},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4ProjectsIdDeploymentsDeploymentIdApprovalRequest"}}}}}},"/api/v4/deploy_tokens":{"get":{"operationId":"getApiV4DeployTokens","summary":"List all deploy tokens","description":"Lists all deploy tokens for the instance.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"public","required":false,"description":"If `true`, returns only deploy keys that are public.","schema":{"type":"boolean","default":false},"in":"query"}]},"post":{"operationId":"postApiV4DeployKeys","summary":"Create a deploy key","description":"Creates a deploy key for the GitLab instance. Requires administrator access.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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 deploy key. FE version","description":"Removes a deploy key from the project. If the deploy key is used only for this project,\nit's deleted from the system.","tags":["Deploy resources"],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"404":{"description":"Not found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"key_id","required":true,"description":"The ID of the deploy key","schema":{"type":"integer"},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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"],"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","default":false},"in":"query"},{"name":"tags_count","required":false,"description":"If `true`, includes `tags_count` in the response.","schema":{"type":"boolean","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","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.","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.","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.","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. 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. 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.","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.","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.","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. 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.","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.","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.","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.","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.","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. 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.","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.","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.","tags":["Packages: Composer"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"id","required":true,"description":"The ID or URL-encoded path of a 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":"The ID or URL-encoded path of a group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"sha","required":true,"description":"Shasum of current json","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":"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":"The ID or URL-encoded path of a 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":"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":"The ID or URL-encoded path of a 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/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":"The ID or URL-encoded path of a 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":"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":"The ID or URL-encoded path of a project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"sha","required":true,"description":"Shasum of current json","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.","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.","schema":{"type":"string","enum":["id","pipeline_id"],"default":"id"},"in":"query"},{"name":"sort","required":false,"description":"Sort statuses in ascending or descending order. Defaults to `asc`.","schema":{"type":"string","enum":["asc","desc"],"nullable":true},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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.","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"],"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","default":false},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"pagination","required":false,"description":"Specify the pagination method.","schema":{"type":"string","enum":["legacy","keyset"],"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":"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","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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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`.","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 commit sequence for a specified commit.","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","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.","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.","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"],"default":"all"},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":{"$ref":"#/components/schemas/APIEntitiesClustersAgent"}}}},"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":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"agent_id","required":true,"description":"The ID of an 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"agent_id","required":true,"description":"The ID of an 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.","tags":["Cluster agents"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesClustersAgentTokenBasic"}}}},"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":"agent_id","required":true,"description":"The ID of an agent","schema":{"type":"integer"},"in":"path"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"agent_id","required":true,"description":"The ID of an 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"agent_id","required":true,"description":"The ID of an agent","schema":{"type":"integer"},"in":"path"},{"name":"token_id","required":true,"description":"The 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path"},{"name":"agent_id","required":true,"description":"The ID of an agent","schema":{"type":"integer"},"in":"path"},{"name":"token_id","required":true,"description":"The 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 associated with a project. 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":{"$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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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.","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"},"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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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"}},"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"}},"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"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"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","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`. This endpoint only supports keyset pagination.","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"],"default":"created_at"},"in":"query","example":"created_at"},{"name":"sort","required":false,"description":"Return pipelines sorted in `desc` order","schema":{"type":"string","enum":["desc"],"default":"desc"},"in":"query","example":"desc"},{"name":"cursor","required":false,"description":"Cursor for obtaining the next set of records","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,"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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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"}},"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.","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"}},"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"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"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","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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"],"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"}},"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.","tags":["Pipeline schedules"],"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","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.","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`.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"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":"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"],"default":"id"},"in":"query","example":"status"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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"}]}},"/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.","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.","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.","schema":{"type":"integer"},"in":"path","example":18},{"name":"include_retried","required":false,"description":"If `true`, includes retried jobs in the response.","schema":{"type":"boolean","default":false},"in":"query"},{"name":"scope","required":false,"description":"The scope of builds to show","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The scope of builds to show","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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":"The scope of builds to show","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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.","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":{"$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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","tags":["Runners"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesCiRunner"}}}},"400":{"description":"Scope contains invalid value"},"401":{"description":"Unauthorized"}},"parameters":[{"name":"scope","required":false,"description":"Scope of runners to return. 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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]},"post":{"operationId":"postApiV4Runners","summary":"Create a runner","description":"Creates a runner.","tags":["CI runners"],"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesCiRunnerRegistrationDetails"}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"410":{"description":"Gone"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4RunnersRequest"}}}}},"delete":{"operationId":"deleteApiV4Runners","summary":"Delete a registered runner","description":"Deletes a specified registered runner.","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":{"$ref":"#/components/schemas/APIEntitiesCiRunner"}}}},"400":{"description":"Scope contains invalid value"},"401":{"description":"Unauthorized"}},"parameters":[{"name":"scope","required":false,"description":"Scope of runners to return. 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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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","default":true},"in":"query"}]},"put":{"operationId":"putApiV4RunnersId","summary":"Update a runner","description":"Updates a specified runner.","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.","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.","tags":["Runners"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesCiRunnerManager"}}}},"403":{"description":"Forbidden"},"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":{"$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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","tags":["Runners","Jobs"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesCiJobBasicWithProject"}}}},"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":"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"],"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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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":"List all runners available in the project, including from ancestor groups and any allowed shared runners.","tags":["Runners","Projects"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesCiRunner"}}}},"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. 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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","tags":["Runners","Projects"],"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesCiRunner"}}}},"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.","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.","tags":["Runners","Groups"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesCiRunner"}}}},"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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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 runner registration token. FE version","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":"The ID of a project","schema":{"type":"string"},"in":"path"}]}},"/api/v4/groups/{id}/runners/reset_registration_token":{"post":{"operationId":"postApiV4GroupsIdRunnersResetRegistrationToken","summary":"Reset runner registration token. FE version","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":"The ID of a group","schema":{"type":"string"},"in":"path"}]}},"/api/v4/runners/managers":{"delete":{"operationId":"deleteApiV4RunnersManagers","summary":"Delete a registered runner manager","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":"Forbidden"},"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.","tags":["CI runners"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesCiJobRouterDiscoveryInformation"}}}},"403":{"description":"403 Forbidden"},"501":{"description":"501 Not Implemented"}}}},"/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","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":"Append a patch to the job trace","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"},"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","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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.","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"},"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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.","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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.","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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.","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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.","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":"Lists all GitLab agents for Kubernetes with a specified `CI_JOB_TOKEN`.","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":{"$ref":"#/components/schemas/APIEntitiesCustomAttribute"}}}},"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"}]}},"/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":"The key of the custom attribute","schema":{"type":"string"},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]},"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":"The key of the custom attribute","schema":{"type":"string"},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"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":"The key of the custom attribute","schema":{"type":"string"},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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.","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.","schema":{"type":"boolean","default":false},"in":"query"},{"name":"archived","required":false,"description":"If `true`, returns only archived groups or projects.","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.","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","default":false},"in":"query"},{"name":"order_by","required":false,"description":"Sort results by the specified field.","schema":{"type":"string","enum":["name","path","id","similarity"],"default":"name"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","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.","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.","tags":["Groups"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$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"}],"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.","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","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","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.","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.","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.","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.","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"],"default":"name"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"default":"asc"},"in":"query"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","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 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 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","similarity","star_count"],"default":"created_at"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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","default":false},"in":"query"},{"name":"owned","required":false,"description":"If `true`, returns only groups explicitly owned by the current user.","schema":{"type":"boolean","default":false},"in":"query"},{"name":"starred","required":false,"description":"If `true`, returns only projects starred by the current user.","schema":{"type":"boolean","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","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","default":false},"in":"query"},{"name":"with_shared","required":false,"description":"If `true`, includes projects shared with the group.","schema":{"type":"boolean","default":true},"in":"query"},{"name":"include_subgroups","required":false,"description":"If `true`, includes projects in subgroups of this group.","schema":{"type":"boolean","default":false},"in":"query"},{"name":"include_ancestor_groups","required":false,"description":"If `true`, includes projects in the ancestors of this group.","schema":{"type":"boolean","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","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/shared":{"get":{"operationId":"getApiV4GroupsIdProjectsShared","summary":"List all shared projects","description":"Lists all projects shared with a specified group.","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 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 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"],"default":"created_at"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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","default":false},"in":"query"},{"name":"starred","required":false,"description":"If `true`, returns only projects starred by the current user.","schema":{"type":"boolean","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","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","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","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 all subgroups for 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.","schema":{"type":"boolean","default":false},"in":"query"},{"name":"archived","required":false,"description":"If `true`, returns only archived groups or projects.","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.","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","default":false},"in":"query"},{"name":"order_by","required":false,"description":"Sort results by the specified field.","schema":{"type":"string","enum":["name","path","id","similarity"],"default":"name"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","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.","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.","schema":{"type":"boolean","default":false},"in":"query"},{"name":"archived","required":false,"description":"If `true`, returns only archived groups or projects.","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.","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","default":false},"in":"query"},{"name":"order_by","required":false,"description":"Sort results by the specified field.","schema":{"type":"string","enum":["name","path","id","similarity"],"default":"name"},"in":"query"},{"name":"sort","required":false,"description":"Sort results in ascending or descending order.","schema":{"type":"string","enum":["asc","desc"],"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":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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","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.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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.","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","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"}}}}}},"/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.","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}/users":{"get":{"operationId":"getApiV4GroupsIdUsers","summary":"Get the users list of a group","tags":["Groups"],"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":"search","required":false,"description":"Return list of users matching the search criteria","schema":{"type":"string","nullable":true},"in":"query","example":"user"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"id","required":true,"description":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/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.","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 [with a feature flag](https://docs.gitlab.com/administration/feature_flags/) named `ci_search_recent_successful_pipelines`. Disabled by default.","schema":{"type":"boolean","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":"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.7 [with a feature flag](https://docs.gitlab.com/administration/feature_flags/) named `ci_search_recent_successful_pipelines`. Disabled by default.","schema":{"type":"boolean","default":false},"in":"query"}]}},"/api/v4/projects/{id}/jobs/{job_id}/artifacts":{"get":{"operationId":"getApiV4ProjectsIdJobsJobIdArtifacts","summary":"Download an artifact from a job","description":"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"],"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.","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 in a specified artifacts archive without extracting them.","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","default":""},"in":"query","example":"coverage/reports"},{"name":"recursive","required":false,"description":"If `true`, returns all entries recursively.","schema":{"type":"boolean","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"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 from all jobs in a specified 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/validate-code-owner-file":{"get":{"operationId":"getApiV4ValidateCodeOwnerFile","summary":"Validate CODEOWNERS file by project full path","tags":["Projects","Codeowners"],"responses":{"200":{"description":"OK"},"403":{"description":"Unauthenticated"},"404":{"description":"Not found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"project_path","required":true,"schema":{"type":"string","nullable":true},"in":"query"},{"name":"ref","required":false,"schema":{"type":"string","nullable":true},"in":"query"},{"name":"file_path","required":false,"schema":{"type":"string","nullable":true},"in":"query"}]}},"/api/v4/code-owners-for-file":{"get":{"operationId":"getApiV4CodeOwnersForFile","summary":"List CODEOWNERS entries that match a file path","tags":["Projects","Codeowners"],"responses":{"200":{"description":"OK"},"403":{"description":"Forbidden"},"404":{"description":"Not found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"project_path","required":true,"schema":{"type":"string","nullable":true},"in":"query"},{"name":"file_path","required":true,"schema":{"type":"string","nullable":true},"in":"query"},{"name":"ref","required":false,"schema":{"type":"string","nullable":true},"in":"query"}]}},"/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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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"],"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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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"],"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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":{"$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 migration. 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.","tags":["Branches"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesBranch"}}}}},"404":{"description":"404 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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"Name of the branch to start the pagination from. 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","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":"Name of the branch.","schema":{"type":"string"},"in":"path"}]},"get":{"operationId":"getApiV4ProjectsIdRepositoryBranchesBranch","summary":"Retrieve a repository branch","description":"Retrieves a specified project repository branch.","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":"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.","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":"Name of the branch.","schema":{"type":"string"},"in":"path"}]}},"/api/v4/projects/{id}/repository/branches/{branch}/protect":{"put":{"operationId":"putApiV4ProjectsIdRepositoryBranchesBranchProtect","summary":"Protect a single 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"},"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","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"},"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.","tags":["Branches"],"responses":{"202":{"description":"202 Accepted"},"404":{"description":"404 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"}]}},"/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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"name","required":false,"description":"Name of the badge.","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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"name","required":false,"description":"Name of the badge.","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.","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":"The 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, `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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"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 an emoji reaction.","schema":{"type":"integer"},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"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":"The ID of a note","schema":{"type":"integer"},"in":"path"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"name":"issue_iid","required":true,"description":"The internal ID of an issuable","schema":{"type":"integer"},"in":"path"},{"name":"note_id","required":true,"description":"The ID of a 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"name":"issue_iid","required":true,"description":"The internal ID of an issuable","schema":{"type":"integer"},"in":"path"},{"name":"note_id","required":true,"description":"The ID of a 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 an emoji reaction.","schema":{"type":"integer"},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"name":"issue_iid","required":true,"description":"The internal ID of an issuable","schema":{"type":"integer"},"in":"path"},{"name":"note_id","required":true,"description":"The ID of a 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":"The 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, `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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The 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":"The internal ID of an issuable","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":"The 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":"The internal ID of an issuable","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 an emoji reaction.","schema":{"type":"integer"},"in":"path"},{"name":"id","required":true,"description":"The 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":"The internal ID of an issuable","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":"The ID of a note","schema":{"type":"integer"},"in":"path"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"id","required":true,"description":"The 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":"The internal ID of an issuable","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":"The 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":"The internal ID of an issuable","schema":{"type":"integer"},"in":"path"},{"name":"note_id","required":true,"description":"The ID of a 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":"The 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":"The internal ID of an issuable","schema":{"type":"integer"},"in":"path"},{"name":"note_id","required":true,"description":"The ID of a 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 an emoji reaction.","schema":{"type":"integer"},"in":"path"},{"name":"id","required":true,"description":"The 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":"The internal ID of an issuable","schema":{"type":"integer"},"in":"path"},{"name":"note_id","required":true,"description":"The ID of a 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":"The 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, `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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"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 an emoji reaction.","schema":{"type":"integer"},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"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":"The ID of a note","schema":{"type":"integer"},"in":"path"},{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"name":"snippet_id","required":true,"description":"ID of the snippet.","schema":{"type":"integer"},"in":"path"},{"name":"note_id","required":true,"description":"The ID of a 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"name":"snippet_id","required":true,"description":"ID of the snippet.","schema":{"type":"integer"},"in":"path"},{"name":"note_id","required":true,"description":"The ID of a 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 an emoji reaction.","schema":{"type":"integer"},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"name":"snippet_id","required":true,"description":"ID of the snippet.","schema":{"type":"integer"},"in":"path"},{"name":"note_id","required":true,"description":"The ID of a note","schema":{"type":"integer"},"in":"path"}]}},"/api/v4/avatar":{"get":{"operationId":"getApiV4Avatar","summary":"Return avatar url for a user","tags":["Avatars"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesAvatar"}}}},"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":{"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"}}},"post":{"operationId":"postApiV4Applications","summary":"Create a new application FE version","description":"This feature was introduced in GitLab 10.5","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesApplicationWithSecret"}}}},"400":{"description":"Bad Request"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4ApplicationsRequest"}}}}}},"/api/v4/applications/{id}":{"delete":{"operationId":"deleteApiV4ApplicationsId","summary":"Delete an application FE version","description":"Delete a specific application","responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"id","required":true,"description":"The ID of the application (not the application_id)","schema":{"type":"integer"},"in":"path"}]}},"/api/v4/applications/{id}/renew-secret":{"post":{"operationId":"postApiV4ApplicationsIdRenewSecret","summary":"Renew an application secret FE version","description":"Renew the secret of a specific application","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesApplicationWithSecret"}}}},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"id","required":true,"description":"The ID of the application (not the application_id)","schema":{"type":"integer"},"in":"path"}]}},"/api/v4/application/appearance":{"get":{"operationId":"getApiV4ApplicationAppearance","summary":"Get the current appearance","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","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","tags":["Alert management"],"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","example":17},{"name":"alert_iid","required":true,"description":"The IID 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":17},{"name":"alert_iid","required":true,"description":"The IID 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":17},{"name":"alert_iid","required":true,"description":"The IID 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":17},{"name":"alert_iid","required":true,"description":"The IID of the Alert","schema":{"type":"integer"},"in":"path","example":23},{"name":"metric_image_id","required":true,"description":"The ID of 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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":17},{"name":"alert_iid","required":true,"description":"The IID of the Alert","schema":{"type":"integer"},"in":"path","example":23},{"name":"metric_image_id","required":true,"description":"The ID of metric image","schema":{"type":"integer"},"in":"path","example":42}]}},"/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. Default: default.","schema":{"type":"string","enum":["default"],"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/opensearch/recreate_indices":{"post":{"operationId":"postApiV4AdminOpensearchRecreateIndices","summary":"Synchronously recreate OpenSearch index(es) and enqueue background reindex jobs. schema_class must be one of: `recreate_all`, `Search::Opensearch::IndicesSchema::Code`, `Search::Opensearch::IndicesSchema::Wiki`, `Search::Opensearch::IndicesSchema::Note`, `Search::Opensearch::IndicesSchema::Milestone`, `Search::Opensearch::IndicesSchema::WorkItem`, `Search::Opensearch::IndicesSchema::MergeRequest`.","tags":["Admin opensearch"],"responses":{"202":{"description":"Accepted"},"400":{"description":"400 Bad Request"},"401":{"description":"401 Unauthorized"},"403":{"description":"403 Forbidden"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4AdminOpensearchRecreateIndicesRequest"}}}}}},"/api/v4/admin/opensearch/indexing_queue_stats":{"get":{"operationId":"getApiV4AdminOpensearchIndexingQueueStats","summary":"Get Sidekiq queue statistics for OpenSearch indexing: notes instance reindex worker, and repository indexer jobs with force: true only.","tags":["Admin opensearch"],"responses":{"200":{"description":"OK"},"401":{"description":"401 Unauthorized"},"403":{"description":"403 Forbidden"}}}},"/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"],"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/projects/{id}/external_status_checks":{"post":{"operationId":"postApiV4ProjectsIdExternalStatusChecks","summary":"Create external status check","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":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4ProjectsIdExternalStatusChecksRequest"}}}}},"get":{"operationId":"getApiV4ProjectsIdExternalStatusChecks","summary":"Get list of project external status checks","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":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/api/v4/projects/{id}/external_status_checks/{check_id}":{"put":{"operationId":"putApiV4ProjectsIdExternalStatusChecksCheckId","summary":"Update external status check by id","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":"check_id","required":true,"description":"External status check ID","schema":{"type":"integer"},"in":"path","example":1},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4ProjectsIdExternalStatusChecksCheckIdRequest"}}}}},"delete":{"operationId":"deleteApiV4ProjectsIdExternalStatusChecksCheckId","summary":"Delete external status check","tags":["External status checks"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"check_id","required":true,"description":"ID of an external status check","schema":{"type":"integer"},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/api/v4/projects/{id}/merge_requests/{merge_request_iid}/status_check_responses":{"post":{"operationId":"postApiV4ProjectsIdMergeRequestsMergeRequestIidStatusCheckResponses","summary":"Set status of an external status check","tags":["External status checks"],"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesMergeRequestsExternalStatusCheckResponse"}}}},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"id","required":true,"description":"ID of a project","schema":{"type":"string"},"in":"path","example":"1"},{"name":"merge_request_iid","required":true,"description":"IID of a merge request","schema":{"type":"integer"},"in":"path","example":1}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4ProjectsIdMergeRequestsMergeRequestIidStatusCheckResponsesRequest"}}}}}},"/api/v4/projects/{id}/merge_requests/{merge_request_iid}/status_checks":{"get":{"operationId":"getApiV4ProjectsIdMergeRequestsMergeRequestIidStatusChecks","summary":"List status checks for a merge request","tags":["External status checks"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesMergeRequestsExternalStatusCheck"}}}}},"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","example":11},{"name":"merge_request_iid","required":true,"description":"The internal ID of an issuable","schema":{"type":"integer"},"in":"path"}]}},"/api/v4/projects/{id}/merge_requests/{merge_request_iid}/status_checks/{external_status_check_id}/retry":{"post":{"operationId":"postApiV4ProjectsIdMergeRequestsMergeRequestIidStatusChecksExternalStatusCheckIdRetry","summary":"Retry failed external status check","tags":["External status checks"],"responses":{"202":{"description":"Accepted"},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"id","required":true,"description":"Project ID","schema":{"type":"string"},"in":"path","example":"1"},{"name":"merge_request_iid","required":true,"description":"Merge Request IID","schema":{"type":"integer"},"in":"path","example":1},{"name":"external_status_check_id","required":true,"description":"Failed external status check ID","schema":{"type":"integer"},"in":"path"}]}},"/api/v4/admin/databases/{database_name}/dictionary/tables/{table_name}":{"get":{"operationId":"getApiV4AdminDatabasesDatabaseNameDictionaryTablesTableName","summary":"Retrieve dictionary details","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":{"$ref":"#/components/schemas/APIEntitiesCiVariable"}}}},"400":{"description":"Bad Request"}},"parameters":[{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20}]},"post":{"operationId":"postApiV4AdminCiVariables","summary":"Create a new instance-level variable. FE version","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-level variable. FE version","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":"The key of a variable","schema":{"type":"string"},"in":"path"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4AdminCiVariablesKeyRequest"}}}}},"delete":{"operationId":"deleteApiV4AdminCiVariablesKey","summary":"Delete an existing instance-level variable. FE version","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":"The key of a variable","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":{"$ref":"#/components/schemas/APIEntitiesSystemBroadcastMessage"}}}},"400":{"description":"Bad Request"}},"parameters":[{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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"},"400":{"description":"Bad Request"}},"parameters":[{"name":"database","required":false,"description":"The name of the database, the default `main`","schema":{"type":"string","enum":["main","ci","sec"],"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":"The batched background operation id","schema":{"type":"integer"},"in":"path"},{"name":"database","required":false,"description":"The name of the database","schema":{"type":"string","enum":["main","ci","sec"],"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":"The batched background operation id","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":"The batched background operation id","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","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":"The batched background migration id","schema":{"type":"integer"},"in":"path"},{"name":"database","required":false,"description":"The name of the database","schema":{"type":"string","enum":["main","ci","sec"],"default":"main"},"in":"query"}]}},"/api/v4/admin/batched_background_migrations/{id}/resume":{"put":{"operationId":"putApiV4AdminBatchedBackgroundMigrationsIdResume","summary":"Resume a 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":"The batched background migration id","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","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":"The batched background migration id","schema":{"type":"integer"},"in":"path"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4AdminBatchedBackgroundMigrationsIdPauseRequest"}}}}}},"/api/v4/admin/batched_background_migrations":{"get":{"operationId":"getApiV4AdminBatchedBackgroundMigrations","summary":"Get the list of batched background migrations. FE version","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"},"400":{"description":"Bad Request"}},"parameters":[{"name":"page","required":false,"description":"Page number of results to retrieve.","schema":{"type":"integer","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","default":20},"in":"query","example":20},{"name":"status","required":false,"description":"Filter by status","schema":{"type":"string","enum":["paused","active","finished","failed","finalizing","finalized"],"nullable":true},"in":"query"},{"name":"database","required":false,"description":"The name of the database, the default `main`","schema":{"type":"string","enum":["main","ci","sec"],"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/projects/{id}/approval_rules":{"get":{"operationId":"getApiV4ProjectsIdApprovalRules","summary":"List project approval rules","responses":{"200":{"description":"OK"},"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","example":11}]},"post":{"operationId":"postApiV4ProjectsIdApprovalRules","summary":"Create a new project approval rule","responses":{"201":{"description":"Created"},"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","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4ProjectsIdApprovalRulesRequest"}}}}}},"/api/v4/projects/{id}/approval_rules/{approval_rule_id}":{"put":{"operationId":"putApiV4ProjectsIdApprovalRulesApprovalRuleId","summary":"Update a project approval rule","responses":{"200":{"description":"OK"},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"approval_rule_id","required":true,"schema":{"type":"integer"},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4ProjectsIdApprovalRulesApprovalRuleIdRequest"}}}}},"delete":{"operationId":"deleteApiV4ProjectsIdApprovalRulesApprovalRuleId","summary":"Delete a project approval rule","responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"approval_rule_id","required":true,"schema":{"type":"integer"},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/api/v4/projects/{id}/approval_rules/merge_requests/for-new-merge-request":{"get":{"operationId":"getApiV4ProjectsIdApprovalRulesMergeRequestsForNewMergeRequest","responses":{"200":{"description":"OK"},"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","example":11}]}},"/api/v4/projects/{id}/approval_rules/merge_requests/{merge_request_iid}":{"get":{"operationId":"getApiV4ProjectsIdApprovalRulesMergeRequestsMergeRequestIid","summary":"List merge_request approval rules","responses":{"200":{"description":"OK"},"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","example":11},{"name":"merge_request_iid","required":true,"schema":{},"in":"path"}]},"post":{"operationId":"postApiV4ProjectsIdApprovalRulesMergeRequestsMergeRequestIid","summary":"Create a new merge_request approval rule","responses":{"201":{"description":"Created"},"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","example":11},{"name":"merge_request_iid","required":true,"schema":{},"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4ProjectsIdApprovalRulesMergeRequestsMergeRequestIidRequest"}}}}}},"/api/v4/projects/{id}/approval_rules/merge_requests/{merge_request_iid}/{approval_rule_id}":{"put":{"operationId":"putApiV4ProjectsIdApprovalRulesMergeRequestsMergeRequestIidApprovalRuleId","summary":"Update a merge_request approval rule","responses":{"200":{"description":"OK"},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"approval_rule_id","required":true,"schema":{"type":"integer"},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"name":"merge_request_iid","required":true,"schema":{},"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4ProjectsIdApprovalRulesMergeRequestsMergeRequestIidApprovalRuleIdRequest"}}}}},"delete":{"operationId":"deleteApiV4ProjectsIdApprovalRulesMergeRequestsMergeRequestIidApprovalRuleId","summary":"Delete a merge_request approval rule","responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"approval_rule_id","required":true,"schema":{"type":"integer"},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the project","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11},{"name":"merge_request_iid","required":true,"schema":{},"in":"path"}]}},"/api/v4/projects/{id}/approval_rules/merge_requests/{merge_request_iid}/reset-to-project-defaults":{"post":{"operationId":"postApiV4ProjectsIdApprovalRulesMergeRequestsMergeRequestIidResetToProjectDefaults","responses":{"201":{"description":"Created"},"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","example":11},{"name":"merge_request_iid","required":true,"schema":{},"in":"path"}]}},"/api/v4/groups/{id}/approval_rules":{"get":{"operationId":"getApiV4GroupsIdApprovalRules","summary":"List group approval rules","responses":{"200":{"description":"OK"},"404":{"description":"Not Found"}},"parameters":[{"name":"id","required":true,"description":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]},"post":{"operationId":"postApiV4GroupsIdApprovalRules","summary":"Create a new group approval rule","responses":{"201":{"description":"Created"},"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","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4GroupsIdApprovalRulesRequest"}}}}}},"/api/v4/groups/{id}/approval_rules/{approval_rule_id}":{"put":{"operationId":"putApiV4GroupsIdApprovalRulesApprovalRuleId","summary":"Update a group approval rule","responses":{"200":{"description":"OK"},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"approval_rule_id","required":true,"schema":{"type":"integer"},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4GroupsIdApprovalRulesApprovalRuleIdRequest"}}}}},"delete":{"operationId":"deleteApiV4GroupsIdApprovalRulesApprovalRuleId","summary":"Delete a group approval rule","responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"approval_rule_id","required":true,"schema":{"type":"integer"},"in":"path"},{"name":"id","required":true,"description":"The ID or URL-encoded path of the group","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]},"in":"path","example":11}]}},"/api/v4/admin/audit_events/search":{"post":{"operationId":"postApiV4AdminAuditEventsSearch","summary":"Get a list of audit events with optional filters and sorting. Note: The date range must be within a single calendar month. If created_after and created_before span multiple months, the created_before date will be adjusted to the end of the month of created_after.","tags":["Audit events"],"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesAuditEvent"}}}}},"400":{"description":"Bad Request"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4AdminAuditEventsSearchRequest"}}}}}},"/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":{"$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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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}":{"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":{"$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","default":1},"in":"query","example":1},{"name":"per_page","required":false,"description":"Number of items to list per page.","schema":{"type":"integer","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}":{"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/groups/{id}/access_requests/{user_id}/approve":{"put":{"operationId":"putApiV4GroupsIdAccessRequestsUserIdApprove","summary":"Approves an access request for the given user.","description":"This feature was introduced in GitLab 8.11.","tags":["Access requests"],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesAccessRequester"},"examples":{"successfull_response":{"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":"The ID or URL-encoded path of the group owned by the authenticated user","schema":{"type":"string"},"in":"path"},{"name":"user_id","required":true,"description":"The user ID of the access requester","schema":{"type":"integer"},"in":"path"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4GroupsIdAccessRequestsUserIdApproveRequest"}}}}}},"/api/v4/projects/{id}/access_requests/{user_id}/approve":{"put":{"operationId":"putApiV4ProjectsIdAccessRequestsUserIdApprove","summary":"Approves an access request for the given user.","description":"This feature was introduced in GitLab 8.11.","tags":["Access requests"],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIEntitiesAccessRequester"},"examples":{"successfull_response":{"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":"The ID or URL-encoded path of the project owned by the authenticated user","schema":{"type":"string"},"in":"path"},{"name":"user_id","required":true,"description":"The user ID of the access requester","schema":{"type":"integer"},"in":"path"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putApiV4ProjectsIdAccessRequestsUserIdApproveRequest"}}}}}},"/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"}}}},"/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"},"400":{"description":"Bad Request"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/postApiV4UsageDataTrackEventRequest"}}}}}},"/api/v4/swagger_doc":{"get":{"operationId":"getApiV4SwaggerDoc","summary":"Swagger compatible API description","responses":{"200":{"description":"OK"}}}},"/api/v4/swagger_doc/{name}":{"get":{"operationId":"getApiV4SwaggerDocName","summary":"Swagger compatible API description for specific API","responses":{"200":{"description":"OK"},"404":{"description":"Not Found"},"400":{"description":"Bad Request"}},"parameters":[{"name":"name","required":true,"description":"Resource name of mounted API","schema":{"type":"string"},"in":"path"},{"name":"locale","required":false,"description":"Locale of API documentation","schema":{"type":"string","nullable":true},"in":"query"}]}}},"components":{"securitySchemes":{"http":{"type":"http","scheme":"bearer"},"oauth2":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://code.example.com/oauth/authorize","tokenUrl":"https://code.example.com/oauth/token","refreshUrl":"https://code.example.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":{"APIEntitiesProtectedEnvironmentAccessLevel":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"access_level":{"type":"integer","example":40,"nullable":true},"user_id":{"type":"integer","format":"int64","example":2,"nullable":true},"group_id":{"type":"integer","format":"int64","example":3,"nullable":true},"group_inheritance_type":{"type":"integer","example":0},"access_level_description":{"type":"string","example":"Maintainers"}}},"APIEntitiesProtectedEnvironmentApprovalRule":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"access_level":{"type":"integer","example":40,"nullable":true},"user_id":{"type":"integer","format":"int64","example":2,"nullable":true},"group_id":{"type":"integer","format":"int64","example":3,"nullable":true},"group_inheritance_type":{"type":"integer","example":0},"access_level_description":{"type":"string","example":"Maintainers"},"required_approvals":{"type":"integer","example":1}}},"APIEntitiesProtectedEnvironment":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"name":{"type":"string","example":"production"},"required_approval_count":{"type":"integer","example":0},"deploy_access_levels":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesProtectedEnvironmentAccessLevel"}},"approval_rules":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesProtectedEnvironmentApprovalRule"}}}},"APIEntitiesProtectedEnvironmentOwnerGroup":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"full_name":{"type":"string","example":"Platform"},"full_path":{"type":"string","example":"platform"},"web_path":{"type":"string","example":"/groups/platform"}}},"APIEntitiesInheritedProtectedEnvironment":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"name":{"type":"string","example":"production"},"required_approval_count":{"type":"integer","example":0},"deploy_access_levels":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesProtectedEnvironmentAccessLevel"}},"approval_rules":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesProtectedEnvironmentApprovalRule"}},"group":{"$ref":"#/components/schemas/APIEntitiesProtectedEnvironmentOwnerGroup"}}},"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","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","example":"http://local.gitlab.test:8181/root/merge-train-race-condition/-/merge_requests/59"}}},"APIEntitiesCustomAttribute":{"type":"object","properties":{"key":{"type":"string","example":"foo"},"value":{"type":"string","example":"bar"}}},"APIEntitiesUserBasic":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"username":{"type":"string","example":"admin"},"public_email":{"type":"string","example":"john@example.com"},"name":{"type":"string","example":"Administrator"},"state":{"type":"string","example":"active"},"locked":{"type":"boolean"},"avatar_url":{"type":"string","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","example":"https://gitlab.example.com/root"}}},"APIEntitiesCiPipelineBasic":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"iid":{"type":"integer","example":2},"project_id":{"type":"integer","format":"int64","example":3},"sha":{"type":"string","example":"0ec9e58fdfca6cdd6652c083c9edb53abc0bad52"},"ref":{"type":"string","example":"feature-branch"},"status":{"type":"string","example":"success"},"source":{"type":"string","example":"push"},"created_at":{"type":"string","format":"date-time","example":"2022-10-21T16:49:48.000+02:00"},"updated_at":{"type":"string","format":"date-time","example":"2022-10-21T16:49:48.000+02:00"},"web_url":{"type":"string","example":"https://gitlab.example.com/gitlab-org/gitlab-foss/-/pipelines/61"}}},"APIEntitiesMergeTrainsCar":{"type":"object","properties":{"id":{"type":"integer","example":7},"merge_request":{"$ref":"#/components/schemas/APIEntitiesMergeRequestSimple"},"user":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"pipeline":{"$ref":"#/components/schemas/APIEntitiesCiPipelineBasic"},"target_branch":{"type":"string","example":"main"},"status":{"type":"string","description":"Where the car stands in its queue","enum":["idle","merged","stale","fresh","merging","skip_merged"],"example":"merged"},"created_at":{"type":"string","format":"date-time","example":"2026-03-05T09:15:00.000Z"},"updated_at":{"type":"string","format":"date-time","example":"2026-03-05T09:23:00.000Z"},"merged_at":{"type":"string","format":"date-time","example":"2026-03-05T09:23:00.000Z"},"duration":{"type":"integer","description":"Seconds between queueing and merging","example":480}}},"APIEntitiesDoraMetric":{"type":"object","properties":{"date":{"type":"string","format":"date","example":"2026-03-04","nullable":true},"value":{"type":"number","example":1.5,"nullable":true}}},"APIEntitiesAiAgentTask":{"type":"object","properties":{"id":{"type":"integer","example":7},"state":{"type":"string","enum":["pending","running","done","failed"],"example":"running"},"lease_expires_at":{"type":"string","format":"date-time","example":"2026-10-10T12:00:00Z"}}},"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"}}}},"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"}}}},"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","format":"int64","example":1},"username":{"type":"string","example":"admin"},"public_email":{"type":"string","example":"john@example.com"},"name":{"type":"string","example":"Administrator"},"state":{"type":"string","example":"active"},"locked":{"type":"boolean"},"avatar_url":{"type":"string","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","example":"https://gitlab.example.com/root"},"created_at":{"type":"string"},"bio":{"type":"string"},"location":{"type":"string"},"linkedin":{"type":"string"},"twitter":{"type":"string"},"discord":{"type":"string"},"website_url":{"type":"string"},"github":{"type":"string"},"job_title":{"type":"string"},"pronouns":{"type":"string"},"organization":{"type":"string"},"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"},"message":{"type":"string"},"availability":{"type":"string"},"message_html":{"type":"string"},"clear_status_at":{"type":"string"}}},"APIEntitiesUser":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"username":{"type":"string","example":"admin"},"public_email":{"type":"string","example":"john@example.com"},"name":{"type":"string","example":"Administrator"},"state":{"type":"string","example":"active"},"locked":{"type":"boolean"},"avatar_url":{"type":"string","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","example":"https://gitlab.example.com/root"},"created_at":{"type":"string"},"bio":{"type":"string"},"location":{"type":"string"},"linkedin":{"type":"string"},"twitter":{"type":"string"},"discord":{"type":"string"},"website_url":{"type":"string"},"github":{"type":"string"},"job_title":{"type":"string"},"pronouns":{"type":"string"},"organization":{"type":"string"},"bot":{"type":"boolean"},"work_information":{"type":"string"},"followers":{"type":"string"},"following":{"type":"string"},"is_followed":{"type":"string"},"local_time":{"type":"string"}}},"APIEntitiesIdentity":{"type":"object","properties":{"provider":{"type":"string"},"extern_uid":{"type":"string"}}},"APIEntitiesUserWithAdmin":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"username":{"type":"string","example":"admin"},"public_email":{"type":"string","example":"john@example.com"},"name":{"type":"string","example":"Administrator"},"state":{"type":"string","example":"active"},"locked":{"type":"boolean"},"avatar_url":{"type":"string","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","example":"https://gitlab.example.com/root"},"created_at":{"type":"string"},"bio":{"type":"string"},"location":{"type":"string"},"linkedin":{"type":"string"},"twitter":{"type":"string"},"discord":{"type":"string"},"website_url":{"type":"string"},"github":{"type":"string"},"job_title":{"type":"string"},"pronouns":{"type":"string"},"organization":{"type":"string"},"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","format":"date-time","example":"2015-09-03T07:24:01.670Z"},"confirmed_at":{"type":"string","format":"date-time","example":"2015-09-03T07:24:01.670Z"},"last_activity_on":{"type":"string","format":"date-time","example":"2015-09-03T07:24:01.670Z"},"email":{"type":"string","example":"john@example.com"},"theme_id":{"type":"integer","example":2},"color_scheme_id":{"type":"integer","example":1},"projects_limit":{"type":"integer","example":10},"current_sign_in_at":{"type":"string","format":"date-time","example":"2015-09-03T07:24:01.670Z"},"identities":{"$ref":"#/components/schemas/APIEntitiesIdentity"},"can_create_group":{"type":"boolean","example":true},"can_create_project":{"type":"boolean","example":true},"two_factor_enabled":{"type":"boolean","example":true},"external":{"type":"boolean"},"private_profile":{"type":"boolean","example":false},"commit_email":{"type":"string"},"preferred_language":{"type":"string","example":"en"},"is_admin":{"type":"string"},"note":{"type":"string"},"namespace_id":{"type":"string"},"provisioned_by_project_id":{"type":"string"},"created_by":{"$ref":"#/components/schemas/APIEntitiesUserBasic"}}},"APIEntitiesProjectIdentity":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"description":{"type":"string","example":"desc"},"name":{"type":"string","example":"project1"},"name_with_namespace":{"type":"string","example":"John Doe / project1"},"path":{"type":"string","example":"project1"},"path_with_namespace":{"type":"string","example":"namespace1/project1"},"created_at":{"type":"string","format":"date-time","example":"2020-05-07T04:27:17.016Z"}}},"APIEntitiesDeployKey":{"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"},"key":{"type":"string","example":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDNJAkI3Wdf0r13c8a5pEExB2YowPWCSVzfZV22pNBc1CuEbyYLHpUyaD0GwpGvFdx2aP7lMEk35k6Rz3ccBF6jRaVJyhsn5VNnW92PMpBJ/P1UebhXwsFHdQf5rTt082cSxWuk61kGWRQtk4ozt/J2DF/dIUVaLvc+z4HomT41fQ=="},"usage_type":{"type":"string","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":{"$ref":"#/components/schemas/APIEntitiesProjectIdentity"},"projects_with_readonly_access":{"$ref":"#/components/schemas/APIEntitiesProjectIdentity"}}},"APIEntitiesSSHKey":{"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"},"key":{"type":"string","example":"ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt1256k6Yjz\\\n      GGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCdd\\\n      NaP0L+hM7zhFNzjFvpaMgJw0="},"usage_type":{"type":"string","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":"string"},"email":{"type":"string"},"confirmed_at":{"type":"string"}}},"APIEntitiesMembership":{"type":"object","properties":{"source_id":{"type":"string"},"source_name":{"type":"string"},"source_type":{"type":"string"},"access_level":{"type":"string"}}},"APIEntitiesUserAssociationsCount":{"type":"object","properties":{"groups_count":{"type":"string"},"projects_count":{"type":"string"},"issues_count":{"type":"string"},"merge_requests_count":{"type":"string"}}},"APIEntitiesPersonalAccessTokenGranularScope":{"type":"object","properties":{"access":{"type":"string","example":"personal_projects"},"permissions":{"type":"array","example":["read_job"]},"project_id":{"type":"integer","format":"int64","example":3},"group_id":{"type":"integer","format":"int64","example":5}}},"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","items":{"$ref":"#/components/schemas/APIEntitiesPersonalAccessTokenGranularScope"}},"active":{"type":"boolean"},"granular":{"type":"boolean"},"expires_at":{"type":"string","format":"date-time","example":"2020-08-31T15:53:00.073Z"},"impersonation":{"type":"string"}}},"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","items":{"$ref":"#/components/schemas/APIEntitiesPersonalAccessTokenGranularScope"}},"active":{"type":"boolean"},"granular":{"type":"boolean"},"expires_at":{"type":"string","format":"date-time","example":"2020-08-31T15:53:00.073Z"},"impersonation":{"type":"string"},"token":{"type":"string"}}},"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","items":{"$ref":"#/components/schemas/APIEntitiesPersonalAccessTokenGranularScope"}},"active":{"type":"boolean"},"granular":{"type":"boolean"},"expires_at":{"type":"string","format":"date-time","example":"2020-08-31T15:53:00.073Z"},"token":{"type":"string"}}},"APIEntitiesUserPublic":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"username":{"type":"string","example":"admin"},"public_email":{"type":"string","example":"john@example.com"},"name":{"type":"string","example":"Administrator"},"state":{"type":"string","example":"active"},"locked":{"type":"boolean"},"avatar_url":{"type":"string","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","example":"https://gitlab.example.com/root"},"created_at":{"type":"string"},"bio":{"type":"string"},"location":{"type":"string"},"linkedin":{"type":"string"},"twitter":{"type":"string"},"discord":{"type":"string"},"website_url":{"type":"string"},"github":{"type":"string"},"job_title":{"type":"string"},"pronouns":{"type":"string"},"organization":{"type":"string"},"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","format":"date-time","example":"2015-09-03T07:24:01.670Z"},"confirmed_at":{"type":"string","format":"date-time","example":"2015-09-03T07:24:01.670Z"},"last_activity_on":{"type":"string","format":"date-time","example":"2015-09-03T07:24:01.670Z"},"email":{"type":"string","example":"john@example.com"},"theme_id":{"type":"integer","example":2},"color_scheme_id":{"type":"integer","example":1},"projects_limit":{"type":"integer","example":10},"current_sign_in_at":{"type":"string","format":"date-time","example":"2015-09-03T07:24:01.670Z"},"identities":{"$ref":"#/components/schemas/APIEntitiesIdentity"},"can_create_group":{"type":"boolean","example":true},"can_create_project":{"type":"boolean","example":true},"two_factor_enabled":{"type":"boolean","example":true},"external":{"type":"boolean"},"private_profile":{"type":"boolean","example":false},"commit_email":{"type":"string"},"preferred_language":{"type":"string","example":"en"}}},"APIEntitiesUserCreditCardValidations":{"type":"object","properties":{"user_id":{"type":"string"},"credit_card_validated_at":{"type":"string"}}},"APIEntitiesUserPreferences":{"type":"object","properties":{"id":{"type":"string"},"user_id":{"type":"string"},"view_diffs_file_by_file":{"type":"string"},"show_whitespace_in_diffs":{"type":"string"},"pass_user_identities_to_ci_jwt":{"type":"string"},"policy_advanced_editor":{"type":"string"}}},"APIEntitiesUserActivity":{"type":"object","properties":{"username":{"type":"string"},"last_activity_on":{"type":"string"},"last_activity_at":{"type":"string"}}},"APIEntitiesAvatar":{"type":"object","properties":{"avatar_url":{"type":"string"}}},"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"]},"secret":{"type":"string","example":"ee1dd64b6adc89cf7e2c23099301ccc2c61b441064e9324d963c46902a85ec34"}}},"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"]}}},"APIEntitiesNamespaceBasic":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":2},"name":{"type":"string","example":"project"},"path":{"type":"string","example":"my_project"},"kind":{"type":"string","example":"project"},"full_path":{"type":"string","example":"group/my_project"},"parent_id":{"type":"integer","format":"int64","example":1},"avatar_url":{"type":"string","example":"https://example.com/avatar/12345"},"web_url":{"type":"string","example":"https://example.com/group/my_project"}}},"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","example":"mit"},"name":{"type":"string","example":"MIT License"}}},"APIEntitiesTemplate":{"type":"object","properties":{"name":{"type":"string","example":"Ruby"},"content":{"type":"string","example":"# Ruby gitignore template"}}},"APIEntitiesMergeRequestAuthor":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"username":{"type":"string","example":"admin"},"public_email":{"type":"string","example":"john@example.com"},"name":{"type":"string","example":"Administrator"},"state":{"type":"string","example":"active"},"locked":{"type":"boolean"},"avatar_url":{"type":"string","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","example":"https://gitlab.example.com/root"},"bot":{"type":"boolean","example":false}}},"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"}}},"APIEntitiesIssuableReferences":{"type":"object","properties":{"short":{"type":"string","example":"&6"},"relative":{"type":"string","example":"&6"},"full":{"type":"string","example":"test&6"}}},"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}}},"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","format":"int64","example":1},"iid":{"type":"integer","example":2},"project_id":{"type":"integer","format":"int64","example":3},"sha":{"type":"string","example":"0ec9e58fdfca6cdd6652c083c9edb53abc0bad52"},"ref":{"type":"string","example":"feature-branch"},"status":{"type":"string","example":"success"},"source":{"type":"string","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","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","example":"b83d6e391c22777fca1ed3012fce84f633d7fed0"},"head_sha":{"type":"string","example":"b83d6e391c22777fca1ed3012fce84f633d7fed0"},"start_sha":{"type":"string","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":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"merge_user":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"merged_at":{"type":"string","format":"date-time","example":"2022-01-31T15:10:45.080Z"},"closed_by":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"closed_at":{"type":"string","format":"date-time","example":"2022-01-31T15:10:45.080Z"},"title_html":{"type":"string"},"description_html":{"type":"string"},"target_branch":{"type":"string"},"source_branch":{"type":"string"},"user_notes_count":{"type":"integer"},"upvotes":{"type":"integer"},"downvotes":{"type":"integer"},"author":{"$ref":"#/components/schemas/APIEntitiesMergeRequestAuthor"},"assignees":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"assignee":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"reviewers":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"source_project_id":{"type":"integer","format":"int64"},"target_project_id":{"type":"integer","format":"int64"},"labels":{"type":"array","items":{"type":"string"}},"draft":{"type":"boolean"},"imported":{"type":"boolean"},"imported_from":{"type":"string","example":"bitbucket"},"work_in_progress":{"type":"boolean"},"milestone":{"$ref":"#/components/schemas/APIEntitiesMilestone"},"merge_when_pipeline_succeeds":{"type":"boolean"},"merge_status":{"type":"string","example":"unchecked"},"detailed_merge_status":{"type":"string","example":"mergeable"},"merge_after":{"type":"string","format":"date-time","example":"2022-01-31T15:10:45.080Z"},"sha":{"type":"string","example":"1234abcd"},"merge_commit_sha":{"type":"string","example":"1234abcd"},"squash_commit_sha":{"type":"string","example":"1234abcd"},"discussion_locked":{"type":"boolean"},"should_remove_source_branch":{"type":"boolean"},"force_remove_source_branch":{"type":"boolean"},"prepared_at":{"type":"string","format":"date-time","example":"2022-01-31T15:10:45.080Z"},"allow_collaboration":{"type":"boolean"},"allow_maintainer_to_push":{"type":"boolean"},"reference":{"type":"string","example":"!1"},"references":{"$ref":"#/components/schemas/APIEntitiesIssuableReferences"},"web_url":{"type":"string","example":"https://gitlab.example.com/my-group/my-project/-/merge_requests/1"},"time_stats":{"$ref":"#/components/schemas/APIEntitiesIssuableTimeStats"},"squash":{"type":"boolean"},"squash_on_merge":{"type":"boolean"},"task_completion_status":{"$ref":"#/components/schemas/APIEntitiesTaskCompletionStatus"},"has_conflicts":{"type":"boolean"},"blocking_discussions_resolved":{"type":"boolean"},"subscribed":{"type":"boolean"},"changes_count":{"type":"string","example":"1"},"latest_build_started_at":{"type":"string","format":"date-time","example":"2022-01-31T15:10:45.080Z"},"latest_build_finished_at":{"type":"string","format":"date-time","example":"2022-01-31T15:10:45.080Z"},"first_deployed_to_production_at":{"type":"string","format":"date-time","example":"2022-01-31T15:10:45.080Z"},"pipeline":{"$ref":"#/components/schemas/APIEntitiesCiPipelineBasic"},"head_pipeline":{"$ref":"#/components/schemas/APIEntitiesCiPipeline"},"diff_refs":{"$ref":"#/components/schemas/APIEntitiesDiffRefs"},"merge_error":{"type":"string","example":"Merge error"},"rebase_in_progress":{"type":"boolean"},"diverged_commits_count":{"type":"integer","example":0},"first_contribution":{"type":"boolean"},"user":{"type":"object","properties":{"can_merge":{"type":"boolean"}}}}},"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":{"$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"},"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"}}},"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","format":"int64","example":1},"title":{"type":"string","example":"test"},"description":{"type":"string","example":"Ruby test snippet"},"visibility":{"type":"string","example":"public"},"author":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"created_at":{"type":"string","format":"date-time","example":"2012-06-28T10:52:04Z"},"updated_at":{"type":"string","format":"date-time","example":"2012-06-28T10:52:04Z"},"project_id":{"type":"integer","format":"int64","example":1},"web_url":{"type":"string","example":"http://example.com/example/example/snippets/1"},"raw_url":{"type":"string","example":"http://example.com/example/example/snippets/1/raw"},"ssh_url_to_repo":{"type":"string","example":"ssh://user@gitlab.example.com/snippets/65.git"},"http_url_to_repo":{"type":"string","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"}}},"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":"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_partitions_in_seconds_limit_human_readable":{"type":"string"},"code_dropdown_custom_clients":{"type":"string"},"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":"string"},"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_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":"string"},"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":"string"},"domain_denylist":{"type":"string"},"domain_denylist_enabled":{"type":"string"},"domain_denylist_raw":{"type":"string"},"domain_allowlist":{"type":"string"},"domain_allowlist_raw":{"type":"string"},"outbound_local_requests_allowlist_raw":{"type":"string"},"outbound_local_requests_whitelist":{"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":"string"},"iframe_rendering_allowlist_raw":{"type":"string"},"import_sources":{"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_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"},"notify_on_unknown_sign_in":{"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":"string"},"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":"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":"string"},"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"},"members_delete_limit":{"type":"string"},"raw_blob_request_limit":{"type":"string"},"raw_blob_request_limit_unauthenticated":{"type":"string"},"project_import_limit":{"type":"string"},"project_export_limit":{"type":"string"},"project_download_export_limit":{"type":"string"},"group_import_limit":{"type":"string"},"group_export_limit":{"type":"string"},"group_download_export_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"},"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":"string"},"user_defaults_to_private_profile":{"type":"string"},"deactivation_email_additional_text":{"type":"string"},"projects_api_rate_limit_unauthenticated":{"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"},"project_api_limit":{"type":"string"},"project_invited_groups_api_limit":{"type":"string"},"project_repositories_blobs_batch_limit":{"type":"string"},"projects_api_limit":{"type":"string"},"project_members_api_limit":{"type":"string"},"create_organization_api_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"},"web_hook_event_resend_limit":{"type":"string"},"web_hook_test_limit":{"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"},"allow_account_deletion":{"type":"string"},"gitlab_shell_operation_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"},"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"},"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":"string"},"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":"string"},"runner_jobs_request_api_limit":{"type":"string"},"runner_jobs_patch_trace_api_limit":{"type":"string"},"runner_jobs_endpoints_api_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"},"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":"string"},"housekeeping_bitmaps_enabled":{"type":"string"},"repository_storages_weighted":{"type":"string"},"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"},"fe_application_settings_attributes":{"type":"object"}}},"APIEntitiesServiceAccount":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"username":{"type":"string","example":"admin"},"public_email":{"type":"string","example":"john@example.com"},"name":{"type":"string","example":"Administrator"},"email":{"type":"string","example":"service_account@example.com"},"unconfirmed_email":{"type":"string","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"}}},"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}}},"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"}}},"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","items":{"$ref":"#/components/schemas/APIEntitiesPersonalAccessTokenGranularScope"}},"active":{"type":"boolean"},"granular":{"type":"boolean"},"expires_at":{"type":"string","format":"date-time","example":"2020-08-31T15:53:00.073Z"}}},"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"}}},"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":{"$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"}}},"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":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"merge_user":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"merged_at":{"type":"string","format":"date-time","example":"2022-01-31T15:10:45.080Z"},"closed_by":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"closed_at":{"type":"string","format":"date-time","example":"2022-01-31T15:10:45.080Z"},"title_html":{"type":"string"},"description_html":{"type":"string"},"target_branch":{"type":"string"},"source_branch":{"type":"string"},"user_notes_count":{"type":"integer"},"upvotes":{"type":"integer"},"downvotes":{"type":"integer"},"author":{"$ref":"#/components/schemas/APIEntitiesMergeRequestAuthor"},"assignees":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"assignee":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"reviewers":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"source_project_id":{"type":"integer","format":"int64"},"target_project_id":{"type":"integer","format":"int64"},"labels":{"type":"array","items":{"type":"string"}},"draft":{"type":"boolean"},"imported":{"type":"boolean"},"imported_from":{"type":"string","example":"bitbucket"},"work_in_progress":{"type":"boolean"},"milestone":{"$ref":"#/components/schemas/APIEntitiesMilestone"},"merge_when_pipeline_succeeds":{"type":"boolean"},"merge_status":{"type":"string","example":"unchecked"},"detailed_merge_status":{"type":"string","example":"mergeable"},"merge_after":{"type":"string","format":"date-time","example":"2022-01-31T15:10:45.080Z"},"sha":{"type":"string","example":"1234abcd"},"merge_commit_sha":{"type":"string","example":"1234abcd"},"squash_commit_sha":{"type":"string","example":"1234abcd"},"discussion_locked":{"type":"boolean"},"should_remove_source_branch":{"type":"boolean"},"force_remove_source_branch":{"type":"boolean"},"prepared_at":{"type":"string","format":"date-time","example":"2022-01-31T15:10:45.080Z"},"allow_collaboration":{"type":"boolean"},"allow_maintainer_to_push":{"type":"boolean"},"reference":{"type":"string","example":"!1"},"references":{"$ref":"#/components/schemas/APIEntitiesIssuableReferences"},"web_url":{"type":"string","example":"https://gitlab.example.com/my-group/my-project/-/merge_requests/1"},"time_stats":{"$ref":"#/components/schemas/APIEntitiesIssuableTimeStats"},"squash":{"type":"boolean"},"squash_on_merge":{"type":"boolean"},"task_completion_status":{"$ref":"#/components/schemas/APIEntitiesTaskCompletionStatus"},"has_conflicts":{"type":"boolean"},"blocking_discussions_resolved":{"type":"boolean"}}},"APIEntitiesGlobalNotificationSetting":{"type":"object","properties":{"level":{"type":"string"},"events":{"type":"string"},"notification_email":{"type":"string"}}},"APIEntitiesNotificationSetting":{"type":"object","properties":{"level":{"type":"string"},"events":{"type":"string"}}},"APIEntitiesSuggestion":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"from_line":{"type":"integer","example":1},"to_line":{"type":"integer","example":1},"appliable":{"type":"boolean","example":true},"applied":{"type":"boolean","example":false},"from_content":{"type":"string","example":"Original content\n"},"to_content":{"type":"string","example":"New content\n"}}},"APIEntitiesNote":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"type":{"type":"string","example":"DiscussionNote"},"body":{"type":"string","example":"Note body."},"author":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"created_at":{"type":"string","format":"date-time","example":"2022-01-31T15:10:44.988Z"},"updated_at":{"type":"string","format":"date-time","example":"2022-01-31T15:10:44.988Z"},"system":{"type":"boolean","example":false},"noteable_id":{"type":"integer","format":"int64","example":1},"noteable_type":{"type":"string","example":"Issue"},"project_id":{"type":"integer","format":"int64","example":1},"commit_id":{"type":"string","example":"7b09ce7e6f80347baf0316c8c94cdba9a0a7e91d"},"position":{"type":"object"},"resolvable":{"type":"boolean","example":false},"resolved":{"type":"boolean","example":false},"resolved_by":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"resolved_at":{"type":"string","format":"date-time","example":"2022-01-31T15:10:44.988Z"},"suggestions":{"$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"}}},"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","format":"int64","example":1},"description":{"type":"string","example":"desc"},"name":{"type":"string","example":"project1"},"name_with_namespace":{"type":"string","example":"John Doe / project1"},"path":{"type":"string","example":"project1"},"path_with_namespace":{"type":"string","example":"namespace1/project1"},"created_at":{"type":"string","format":"date-time","example":"2020-05-07T04:27:17.016Z"},"default_branch":{"type":"string","example":"main"},"tag_list":{"type":"array","example":["tag"],"items":{"type":"string"}},"topics":{"type":"array","example":["topic"],"items":{"type":"string"}},"ssh_url_to_repo":{"type":"string","example":"git@gitlab.example.com:gitlab/gitlab.git"},"http_url_to_repo":{"type":"string","example":"https://gitlab.example.com/gitlab/gitlab.git"},"web_url":{"type":"string","example":"https://gitlab.example.com/gitlab/gitlab"},"readme_url":{"type":"string","example":"https://gitlab.example.com/gitlab/gitlab/blob/master/README.md"},"forks_count":{"type":"integer","example":1},"license_url":{"type":"string","example":"https://gitlab.example.com/gitlab/gitlab/blob/master/LICENCE"},"license":{"$ref":"#/components/schemas/APIEntitiesLicenseBasic"},"avatar_url":{"type":"string","example":"http://example.com/uploads/project/avatar/3/uploads/avatar.png"},"star_count":{"type":"integer","example":1},"last_activity_at":{"type":"string","format":"date-time","example":"2013-09-30T13:46:02Z"},"visibility":{"type":"string","example":"public"},"namespace":{"$ref":"#/components/schemas/APIEntitiesNamespaceBasic"},"custom_attributes":{"$ref":"#/components/schemas/APIEntitiesCustomAttribute"},"repository_storage":{"type":"string","example":"default"}}},"APIEntitiesList":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"label":{"$ref":"#/components/schemas/APIEntitiesLabelBasic"},"position":{"type":"integer","example":1}}},"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"}}}},"APIEntitiesDiscussion":{"type":"object","properties":{"id":{"type":"string","example":"6a9c1750b37d513a43987b574953fceb50b03ce7"},"individual_note":{"type":"boolean","example":false},"resolvable":{"type":"boolean"},"resolved":{"type":"boolean"},"notes":{"$ref":"#/components/schemas/APIEntitiesNote"}}},"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":"string"},"token":{"type":"string"},"token_expires_at":{"type":"string"}}},"APIEntitiesUserCounts":{"type":"object","properties":{"merge_requests":{"type":"integer","example":10},"assigned_issues":{"type":"integer","example":10},"assigned_merge_requests":{"type":"integer","example":10},"review_requested_merge_requests":{"type":"integer","example":10},"todos":{"type":"integer","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":"string"}}},"APIEntitiesTerraformModuleVersion":{"type":"object","properties":{"name":{"type":"string"},"provider":{"type":"string"},"providers":{"type":"string"},"root":{"type":"string"},"source":{"type":"string"},"submodules":{"type":"string"},"version":{"type":"string"},"versions":{"type":"string"}}},"APIEntitiesCommit":{"type":"object","properties":{"id":{"type":"string","example":"2695effb5807a22ff3d138d593fd856244e155e7"},"short_id":{"type":"string","example":"2695effb"},"created_at":{"type":"string","format":"date-time","example":"2017-07-26T11:08:53.000+02:00"},"parent_ids":{"type":"array","example":["2a4b78934375d7f53875269ffd4f45fd83a84ebe"],"items":{"type":"string"}},"title":{"type":"string","example":"Initial commit"},"message":{"type":"string","example":"Initial commit"},"author_name":{"type":"string","example":"John Smith"},"author_email":{"type":"string","example":"john@example.com"},"authored_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"},"committed_date":{"type":"string","format":"date-time","example":"2012-05-28T04:42:42-07:00"},"trailers":{"type":"object","example":{"Merged-By":"Jane Doe janedoe@gitlab.com"}},"extended_trailers":{"type":"object","example":{"Signed-off-by":["John Doe <johndoe@gitlab.com>","Jane Doe <janedoe@gitlab.com>"]}},"web_url":{"type":"string","example":"https://gitlab.example.com/janedoe/gitlab-foss/-/commit/ed899a2f4b50b4370feeea94676502b42383c746"}}},"APIEntitiesTagRelease":{"type":"object","properties":{"tag_name":{"type":"string","example":"1.0.0"},"description":{"type":"string","example":"Amazing release. Wow"}}},"APIEntitiesTag":{"type":"object","properties":{"name":{"type":"string","example":"v1.0.0"},"message":{"type":"string","example":"Release v1.0.0"},"target":{"type":"string","example":"2695effb5807a22ff3d138d593fd856244e155e7"},"commit":{"$ref":"#/components/schemas/APIEntitiesCommit"},"release":{"$ref":"#/components/schemas/APIEntitiesTagRelease"},"protected":{"type":"boolean","example":true},"created_at":{"type":"string","format":"date-time","example":"2023-10-12T02:16:52.000Z"}}},"APIEntitiesTagSignature":{"type":"object","properties":{"signature_type":{"type":"string","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","example":"Hook name"},"description":{"type":"string","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","example":false},"signing_token_present":{"type":"boolean","description":"Whether an HMAC signing token is configured","example":false}}},"APIEntitiesSupplyChainAttestation":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"iid":{"type":"integer","example":14},"created_at":{"type":"string","format":"date-time","example":"2025-09-17T02:26:10.898Z"},"updated_at":{"type":"string","format":"date-time","example":"2025-09-17T02:26:10.898Z"},"expire_at":{"type":"string","format":"date-time","example":"2025-09-17T02:26:10.898Z"},"project_id":{"type":"integer","format":"int64"},"build_id":{"type":"integer","format":"int64"},"status":{"type":"string","example":"success"},"predicate_kind":{"type":"string","example":"provenance"},"predicate_type":{"type":"string","example":"https://slsa.dev/provenance/v1"},"subject_digest":{"type":"string","example":"5db1fee4b5703808c48078a76768b155b421b210c0761cd6a5d223f4d99f1eaa"},"download_url":{"type":"string"}}},"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","example":"2695effb5807a22ff3d138d593fd856244e155e7"},"short_id":{"type":"string","example":"2695effb"},"created_at":{"type":"string","format":"date-time","example":"2017-07-26T11:08:53.000+02:00"},"parent_ids":{"type":"array","example":["2a4b78934375d7f53875269ffd4f45fd83a84ebe"],"items":{"type":"string"}},"title":{"type":"string","example":"Initial commit"},"message":{"type":"string","example":"Initial commit"},"author_name":{"type":"string","example":"John Smith"},"author_email":{"type":"string","example":"john@example.com"},"authored_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"},"committed_date":{"type":"string","format":"date-time","example":"2012-05-28T04:42:42-07:00"},"trailers":{"type":"object","example":{"Merged-By":"Jane Doe janedoe@gitlab.com"}},"extended_trailers":{"type":"object","example":{"Signed-off-by":["John Doe <johndoe@gitlab.com>","Jane Doe <janedoe@gitlab.com>"]}},"web_url":{"type":"string","example":"https://gitlab.example.com/janedoe/gitlab-foss/-/commit/ed899a2f4b50b4370feeea94676502b42383c746"},"stats":{"$ref":"#/components/schemas/APIEntitiesCommitStats"},"status":{"type":"string","example":"success"},"project_id":{"type":"integer","format":"int64","example":1},"last_pipeline":{"type":"object"}}},"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","format":"int64","example":1},"title":{"type":"string","example":"test"},"description":{"type":"string","example":"Ruby test snippet"},"visibility":{"type":"string","example":"public"},"author":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"created_at":{"type":"string","format":"date-time","example":"2012-06-28T10:52:04Z"},"updated_at":{"type":"string","format":"date-time","example":"2012-06-28T10:52:04Z"},"project_id":{"type":"integer","format":"int64","example":1},"web_url":{"type":"string","example":"http://example.com/example/example/snippets/1"},"raw_url":{"type":"string","example":"http://example.com/example/example/snippets/1/raw"},"ssh_url_to_repo":{"type":"string","example":"ssh://user@gitlab.example.com/snippets/65.git"},"http_url_to_repo":{"type":"string","example":"https://gitlab.example.com/snippets/65.git"},"file_name":{"type":"string","example":"add.rb"},"files":{"type":"array","example":[{"path":"file.txt","raw_url":"https://gitlab.example.com/.../raw"}],"items":{"type":"object"}},"imported":{"type":"boolean","example":false},"imported_from":{"type":"string","example":"none"}}},"APIEntitiesPersonalSnippet":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"title":{"type":"string","example":"test"},"description":{"type":"string","example":"Ruby test snippet"},"visibility":{"type":"string","example":"public"},"author":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"created_at":{"type":"string","format":"date-time","example":"2012-06-28T10:52:04Z"},"updated_at":{"type":"string","format":"date-time","example":"2012-06-28T10:52:04Z"},"project_id":{"type":"integer","format":"int64","example":1},"web_url":{"type":"string","example":"http://example.com/example/example/snippets/1"},"raw_url":{"type":"string","example":"http://example.com/example/example/snippets/1/raw"},"ssh_url_to_repo":{"type":"string","example":"ssh://user@gitlab.example.com/snippets/65.git"},"http_url_to_repo":{"type":"string","example":"https://gitlab.example.com/snippets/65.git"},"file_name":{"type":"string","example":"add.rb"},"files":{"type":"array","example":[{"path":"file.txt","raw_url":"https://gitlab.example.com/.../raw"}],"items":{"type":"object"}},"imported":{"type":"boolean","example":false},"imported_from":{"type":"string","example":"none"}}},"APIEntitiesUserAgentDetail":{"type":"object","properties":{"user_agent":{"type":"string","example":"AppleWebKit/537.36"},"ip_address":{"type":"string","example":"127.0.0.1"},"akismet_submitted":{"type":"boolean","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","items":{"$ref":"#/components/schemas/APIEntitiesPersonalAccessTokenGranularScope"}},"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"}}},"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","items":{"$ref":"#/components/schemas/APIEntitiesPersonalAccessTokenGranularScope"}},"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}}},"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","example":"@@ -71,6 +71,8 @@\\n..."},"collapsed":{"type":"boolean"},"too_large":{"type":"boolean"},"new_path":{"type":"string","example":"doc/update/5.4-to-6.0.md"},"old_path":{"type":"string","example":"doc/update/5.4-to-6.0.md"},"a_mode":{"type":"string","example":"100755"},"b_mode":{"type":"string","example":"100644"},"new_file":{"type":"boolean"},"renamed_file":{"type":"boolean"},"deleted_file":{"type":"boolean"},"generated_file":{"type":"boolean"}}},"APIEntitiesCompare":{"type":"object","properties":{"commit":{"$ref":"#/components/schemas/APIEntitiesCommit"},"commits":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesCommit"}},"diffs":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesDiff"}},"compare_timeout":{"type":"boolean"},"compare_same_ref":{"type":"boolean"},"web_url":{"type":"string","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","example":"John Doe"},"email":{"type":"string","example":"johndoe@example.com"},"commits":{"type":"integer","example":117},"additions":{"type":"integer","example":3},"deletions":{"type":"integer","example":5}}},"APIEntitiesBatchBlob":{"type":"object","properties":{"path":{"type":"string","example":"app/models/user.rb"},"ref":{"type":"string","example":"main"},"size":{"type":"integer","example":1476},"truncated":{"type":"boolean","example":false},"encoding":{"type":"string","example":"base64"},"content":{"type":"string","example":"VGhpcyBpcyBhIGZpbGU="}}},"APIEntitiesChangedPath":{"type":"object","properties":{"status":{"type":"string","example":"MODIFIED"},"path":{"type":"string","example":"app/models/user.rb"},"old_path":{"type":"string","example":"app/models/user.rb"},"old_mode":{"type":"string","example":"100644"},"new_mode":{"type":"string","example":"100644"}}},"APIEntitiesDivergingCommitCount":{"type":"object","properties":{"behind":{"type":"integer","example":3},"ahead":{"type":"integer","example":5}}},"APIEntitiesDiffStat":{"type":"object","properties":{"path":{"type":"string","example":"app/models/user.rb"},"old_path":{"type":"string","example":"app/models/user.rb"},"additions":{"type":"integer","example":10},"deletions":{"type":"integer","example":3}}},"APIEntitiesChangelog":{"type":"object","properties":{"notes":{"type":"string","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","format":"int64","example":101486},"enabled":{"type":"boolean","example":true},"url":{"type":"string","example":"https://*****:*****@example.com/gitlab/example.git"},"update_status":{"type":"string","example":"finished"},"last_update_at":{"type":"string","format":"date-time","example":"2020-01-06T17:32:02.823Z"},"last_update_started_at":{"type":"string","format":"date-time","example":"2020-01-06T17:32:02.823Z"},"last_successful_update_at":{"type":"string","format":"date-time","example":"2020-01-06T17:31:55.864Z"},"last_error":{"type":"string","example":"The remote mirror URL is invalid."},"only_protected_branches":{"type":"boolean"},"keep_divergent_refs":{"type":"boolean"},"auth_method":{"type":"string","example":"password"},"host_keys":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesMirrorHostKey"}}}},"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":{"$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":{"$ref":"#/components/schemas/APIEntitiesReleasesSource"},"links":{"$ref":"#/components/schemas/APIEntitiesReleasesLink"}}},"evidences":{"$ref":"#/components/schemas/APIEntitiesReleasesEvidence"},"_links":{"type":"object","properties":{"closed_issues_url":{"type":"string"},"closed_merge_requests_url":{"type":"string"},"edit_url":{"type":"string"},"merged_merge_requests_url":{"type":"string"},"opened_issues_url":{"type":"string"},"opened_merge_requests_url":{"type":"string"},"self":{"type":"string"}}}}},"APIEntitiesProtectedRefAccess":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"access_level_description":{"type":"string","example":"Maintainers"},"deploy_key_id":{"type":"integer","format":"int64","example":1},"access_level":{"type":"integer","example":40},"user_id":{"type":"integer","example":1},"group_id":{"type":"integer","example":1}}},"APIEntitiesProtectedTag":{"type":"object","properties":{"name":{"type":"string","example":"release-1-0"},"create_access_levels":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesProtectedRefAccess"}}}},"APIEntitiesProtectedBranch":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"name":{"type":"string","example":"main"},"push_access_levels":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesProtectedRefAccess"}},"merge_access_levels":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesProtectedRefAccess"}},"allow_force_push":{"type":"boolean"},"code_owner_approval_required":{"type":"boolean"}}},"APIEntitiesContainerExpirationPolicy":{"type":"object","properties":{"cadence":{"type":"string"},"enabled":{"type":"string"},"keep_n":{"type":"string"},"older_than":{"type":"string"},"name_regex":{"type":"string"},"name_regex_keep":{"type":"string"},"next_run_at":{"type":"string"}}},"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}}},"APIEntitiesProject":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"description":{"type":"string","example":"desc"},"name":{"type":"string","example":"project1"},"name_with_namespace":{"type":"string","example":"John Doe / project1"},"path":{"type":"string","example":"project1"},"path_with_namespace":{"type":"string","example":"namespace1/project1"},"created_at":{"type":"string","format":"date-time","example":"2020-05-07T04:27:17.016Z"},"default_branch":{"type":"string","example":"main"},"tag_list":{"type":"array","example":["tag"],"items":{"type":"string"}},"topics":{"type":"array","example":["topic"],"items":{"type":"string"}},"ssh_url_to_repo":{"type":"string","example":"git@gitlab.example.com:gitlab/gitlab.git"},"http_url_to_repo":{"type":"string","example":"https://gitlab.example.com/gitlab/gitlab.git"},"web_url":{"type":"string","example":"https://gitlab.example.com/gitlab/gitlab"},"readme_url":{"type":"string","example":"https://gitlab.example.com/gitlab/gitlab/blob/master/README.md"},"forks_count":{"type":"integer","example":1},"license_url":{"type":"string","example":"https://gitlab.example.com/gitlab/gitlab/blob/master/LICENCE"},"license":{"$ref":"#/components/schemas/APIEntitiesLicenseBasic"},"avatar_url":{"type":"string","example":"http://example.com/uploads/project/avatar/3/uploads/avatar.png"},"star_count":{"type":"integer","example":1},"last_activity_at":{"type":"string","format":"date-time","example":"2013-09-30T13:46:02Z"},"visibility":{"type":"string","example":"public"},"namespace":{"$ref":"#/components/schemas/APIEntitiesNamespaceBasic"},"custom_attributes":{"$ref":"#/components/schemas/APIEntitiesCustomAttribute"},"repository_storage":{"type":"string","example":"default"},"forked_from_project":{"$ref":"#/components/schemas/APIEntitiesBasicProjectDetails"},"container_registry_image_prefix":{"type":"string","example":"registry.gitlab.example.com/gitlab/gitlab-client"},"_links":{"type":"object","properties":{"self":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4"},"issues":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/issues"},"merge_requests":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/merge_requests"},"repo_branches":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/repository/branches"},"labels":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/labels"},"events":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/events"},"members":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/members"},"cluster_agents":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/cluster_agents"}}},"marked_for_deletion_at":{"type":"string","format":"date-time","example":"2020-05-07T04:27:17.016Z"},"marked_for_deletion_on":{"type":"string","format":"date-time","example":"2020-05-07T04:27:17.016Z"},"packages_enabled":{"type":"boolean"},"empty_repo":{"type":"boolean"},"archived":{"type":"boolean"},"owner":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"resolve_outdated_diff_discussions":{"type":"boolean"},"container_expiration_policy":{"$ref":"#/components/schemas/APIEntitiesContainerExpirationPolicy"},"repository_object_format":{"type":"string","example":"sha1"},"issues_enabled":{"type":"boolean"},"merge_requests_enabled":{"type":"boolean"},"wiki_enabled":{"type":"boolean"},"jobs_enabled":{"type":"boolean"},"snippets_enabled":{"type":"boolean"},"container_registry_enabled":{"type":"boolean"},"service_desk_enabled":{"type":"boolean"},"service_desk_address":{"type":"string","example":"address@example.com"},"can_create_merge_request_in":{"type":"boolean"},"issues_access_level":{"type":"string","example":"enabled"},"repository_access_level":{"type":"string","example":"enabled"},"merge_requests_access_level":{"type":"string","example":"enabled"},"forking_access_level":{"type":"string","example":"enabled"},"wiki_access_level":{"type":"string","example":"enabled"},"builds_access_level":{"type":"string","example":"enabled"},"snippets_access_level":{"type":"string","example":"enabled"},"pages_access_level":{"type":"string","example":"enabled"},"analytics_access_level":{"type":"string","example":"enabled"},"container_registry_access_level":{"type":"string","example":"enabled"},"security_and_compliance_access_level":{"type":"string","example":"enabled"},"releases_access_level":{"type":"string","example":"enabled"},"environments_access_level":{"type":"string","example":"enabled"},"feature_flags_access_level":{"type":"string","example":"enabled"},"infrastructure_access_level":{"type":"string","example":"enabled"},"monitor_access_level":{"type":"string","example":"enabled"},"model_experiments_access_level":{"type":"string","example":"enabled"},"model_registry_access_level":{"type":"string","example":"enabled"},"package_registry_access_level":{"type":"string","example":"enabled"},"emails_disabled":{"type":"boolean"},"emails_enabled":{"type":"boolean"},"show_diff_preview_in_email":{"type":"boolean"},"shared_runners_enabled":{"type":"boolean"},"lfs_enabled":{"type":"boolean"},"creator_id":{"type":"integer","format":"int64","example":1},"mr_default_target_self":{"type":"boolean"},"import_url":{"type":"string","example":"https://gitlab.com/gitlab/gitlab.git"},"import_type":{"type":"string","example":"git"},"import_status":{"type":"string","example":"none"},"import_error":{"type":"string","example":"Import error"},"open_issues_count":{"type":"integer","example":1},"description_html":{"type":"string"},"updated_at":{"type":"string","format":"date-time","example":"2020-05-07T04:27:17.016Z"},"ci_default_git_depth":{"type":"integer","example":20},"ci_delete_pipelines_in_seconds":{"type":"integer","example":86400},"ci_forward_deployment_enabled":{"type":"boolean"},"ci_forward_deployment_rollback_allowed":{"type":"boolean"},"ci_job_token_scope_enabled":{"type":"boolean"},"ci_separated_caches":{"type":"boolean"},"ci_allow_fork_pipelines_to_run_in_parent_project":{"type":"boolean"},"ci_id_token_sub_claim_components":{"type":"array","items":{"type":"string"}},"build_git_strategy":{"type":"string","example":"fetch"},"keep_latest_artifact":{"type":"boolean"},"restrict_user_defined_variables":{"type":"boolean"},"ci_pipeline_variables_minimum_override_role":{"type":"string"},"runner_token_expiration_interval":{"type":"integer","example":3600},"group_runners_enabled":{"type":"boolean"},"resource_group_default_process_mode":{"type":"string","example":"unordered"},"auto_cancel_pending_pipelines":{"type":"string","example":"enabled"},"build_timeout":{"type":"integer","example":3600},"auto_devops_enabled":{"type":"boolean"},"auto_devops_deploy_strategy":{"type":"string","example":"continuous"},"ci_push_repository_for_job_token_allowed":{"type":"boolean"},"protect_merge_request_pipelines":{"type":"boolean"},"ci_display_pipeline_variables":{"type":"boolean"},"ci_skip_branch_pipelines_for_mrs":{"type":"boolean"},"runners_token":{"type":"string","example":"b8547b1dc37721d05889db52fa2f02"},"ci_config_path":{"type":"string","example":""},"public_jobs":{"type":"boolean"},"shared_with_groups":{"type":"array","items":{"type":"object"}},"only_allow_merge_if_pipeline_succeeds":{"type":"boolean"},"allow_merge_on_skipped_pipeline":{"type":"boolean"},"request_access_enabled":{"type":"boolean"},"only_allow_merge_if_all_discussions_are_resolved":{"type":"boolean"},"remove_source_branch_after_merge":{"type":"boolean"},"printing_merge_request_link_enabled":{"type":"boolean"},"merge_method":{"type":"string","example":"merge"},"squash_option":{"type":"string","example":"default_off"},"automatic_rebase_enabled":{"type":"boolean"},"enforce_auth_checks_on_uploads":{"type":"boolean"},"suggestion_commit_message":{"type":"string","example":"Suggestion message"},"merge_commit_template":{"type":"string","example":"%(title)"},"squash_commit_template":{"type":"string","example":"%(source_branch)"},"mr_default_title_template":{"type":"string","example":"%(source_branch)"},"issue_branch_template":{"type":"string","example":"%(title)"},"statistics":{"$ref":"#/components/schemas/APIEntitiesProjectStatistics"},"warn_about_potentially_unwanted_characters":{"type":"boolean"},"autoclose_referenced_issues":{"type":"boolean"},"max_artifacts_size":{"type":"integer"},"allow_pipeline_trigger_approve_deployment":{"type":"boolean"},"merge_pipelines_enabled":{"type":"boolean"},"merge_trains_enabled":{"type":"boolean"},"merge_trains_skip_train_allowed":{"type":"boolean"},"max_pipelines_per_merge_train":{"type":"integer"},"merge_train_enforced":{"type":"boolean"},"jaga_task_required_to_merge":{"type":"boolean"},"merge_request_title_regex":{"type":"string"},"merge_request_title_regex_description":{"type":"string"},"fe_project_setting_attributes":{"type":"object"}}},"APIEntitiesPublicGroupDetails":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"web_url":{"type":"string","example":"http://gitlab.example.com/groups/diaspora"},"name":{"type":"string","example":"Diaspora"},"avatar_url":{"type":"string","example":"http://gitlab.example.com/uploads/group/avatar/1/avatar.png"},"full_name":{"type":"string","example":"Foobar Group"},"full_path":{"type":"string","example":"foo-bar"}}},"APIEntitiesProjectAccess":{"type":"object","properties":{"access_level":{"type":"string"},"notification_level":{"type":"string"}}},"APIEntitiesGroupAccess":{"type":"object","properties":{"access_level":{"type":"string"},"notification_level":{"type":"string"}}},"APIEntitiesProjectsWithAccessAndCatalogSetting":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"description":{"type":"string","example":"desc"},"name":{"type":"string","example":"project1"},"name_with_namespace":{"type":"string","example":"John Doe / project1"},"path":{"type":"string","example":"project1"},"path_with_namespace":{"type":"string","example":"namespace1/project1"},"created_at":{"type":"string","format":"date-time","example":"2020-05-07T04:27:17.016Z"},"default_branch":{"type":"string","example":"main"},"tag_list":{"type":"array","example":["tag"],"items":{"type":"string"}},"topics":{"type":"array","example":["topic"],"items":{"type":"string"}},"ssh_url_to_repo":{"type":"string","example":"git@gitlab.example.com:gitlab/gitlab.git"},"http_url_to_repo":{"type":"string","example":"https://gitlab.example.com/gitlab/gitlab.git"},"web_url":{"type":"string","example":"https://gitlab.example.com/gitlab/gitlab"},"readme_url":{"type":"string","example":"https://gitlab.example.com/gitlab/gitlab/blob/master/README.md"},"forks_count":{"type":"integer","example":1},"license_url":{"type":"string","example":"https://gitlab.example.com/gitlab/gitlab/blob/master/LICENCE"},"license":{"$ref":"#/components/schemas/APIEntitiesLicenseBasic"},"avatar_url":{"type":"string","example":"http://example.com/uploads/project/avatar/3/uploads/avatar.png"},"star_count":{"type":"integer","example":1},"last_activity_at":{"type":"string","format":"date-time","example":"2013-09-30T13:46:02Z"},"visibility":{"type":"string","example":"public"},"namespace":{"$ref":"#/components/schemas/APIEntitiesNamespaceBasic"},"custom_attributes":{"$ref":"#/components/schemas/APIEntitiesCustomAttribute"},"repository_storage":{"type":"string","example":"default"},"forked_from_project":{"$ref":"#/components/schemas/APIEntitiesBasicProjectDetails"},"container_registry_image_prefix":{"type":"string","example":"registry.gitlab.example.com/gitlab/gitlab-client"},"_links":{"type":"object","properties":{"self":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4"},"issues":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/issues"},"merge_requests":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/merge_requests"},"repo_branches":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/repository/branches"},"labels":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/labels"},"events":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/events"},"members":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/members"},"cluster_agents":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/cluster_agents"}}},"marked_for_deletion_at":{"type":"string","format":"date-time","example":"2020-05-07T04:27:17.016Z"},"marked_for_deletion_on":{"type":"string","format":"date-time","example":"2020-05-07T04:27:17.016Z"},"packages_enabled":{"type":"boolean"},"empty_repo":{"type":"boolean"},"archived":{"type":"boolean"},"owner":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"resolve_outdated_diff_discussions":{"type":"boolean"},"container_expiration_policy":{"$ref":"#/components/schemas/APIEntitiesContainerExpirationPolicy"},"repository_object_format":{"type":"string","example":"sha1"},"issues_enabled":{"type":"boolean"},"merge_requests_enabled":{"type":"boolean"},"wiki_enabled":{"type":"boolean"},"jobs_enabled":{"type":"boolean"},"snippets_enabled":{"type":"boolean"},"container_registry_enabled":{"type":"boolean"},"service_desk_enabled":{"type":"boolean"},"service_desk_address":{"type":"string","example":"address@example.com"},"can_create_merge_request_in":{"type":"boolean"},"issues_access_level":{"type":"string","example":"enabled"},"repository_access_level":{"type":"string","example":"enabled"},"merge_requests_access_level":{"type":"string","example":"enabled"},"forking_access_level":{"type":"string","example":"enabled"},"wiki_access_level":{"type":"string","example":"enabled"},"builds_access_level":{"type":"string","example":"enabled"},"snippets_access_level":{"type":"string","example":"enabled"},"pages_access_level":{"type":"string","example":"enabled"},"analytics_access_level":{"type":"string","example":"enabled"},"container_registry_access_level":{"type":"string","example":"enabled"},"security_and_compliance_access_level":{"type":"string","example":"enabled"},"releases_access_level":{"type":"string","example":"enabled"},"environments_access_level":{"type":"string","example":"enabled"},"feature_flags_access_level":{"type":"string","example":"enabled"},"infrastructure_access_level":{"type":"string","example":"enabled"},"monitor_access_level":{"type":"string","example":"enabled"},"model_experiments_access_level":{"type":"string","example":"enabled"},"model_registry_access_level":{"type":"string","example":"enabled"},"package_registry_access_level":{"type":"string","example":"enabled"},"emails_disabled":{"type":"boolean"},"emails_enabled":{"type":"boolean"},"show_diff_preview_in_email":{"type":"boolean"},"shared_runners_enabled":{"type":"boolean"},"lfs_enabled":{"type":"boolean"},"creator_id":{"type":"integer","format":"int64","example":1},"mr_default_target_self":{"type":"boolean"},"import_url":{"type":"string","example":"https://gitlab.com/gitlab/gitlab.git"},"import_type":{"type":"string","example":"git"},"import_status":{"type":"string","example":"none"},"import_error":{"type":"string","example":"Import error"},"open_issues_count":{"type":"integer","example":1},"description_html":{"type":"string"},"updated_at":{"type":"string","format":"date-time","example":"2020-05-07T04:27:17.016Z"},"ci_default_git_depth":{"type":"integer","example":20},"ci_delete_pipelines_in_seconds":{"type":"integer","example":86400},"ci_forward_deployment_enabled":{"type":"boolean"},"ci_forward_deployment_rollback_allowed":{"type":"boolean"},"ci_job_token_scope_enabled":{"type":"boolean"},"ci_separated_caches":{"type":"boolean"},"ci_allow_fork_pipelines_to_run_in_parent_project":{"type":"boolean"},"ci_id_token_sub_claim_components":{"type":"array","items":{"type":"string"}},"build_git_strategy":{"type":"string","example":"fetch"},"keep_latest_artifact":{"type":"boolean"},"restrict_user_defined_variables":{"type":"boolean"},"ci_pipeline_variables_minimum_override_role":{"type":"string"},"runner_token_expiration_interval":{"type":"integer","example":3600},"group_runners_enabled":{"type":"boolean"},"resource_group_default_process_mode":{"type":"string","example":"unordered"},"auto_cancel_pending_pipelines":{"type":"string","example":"enabled"},"build_timeout":{"type":"integer","example":3600},"auto_devops_enabled":{"type":"boolean"},"auto_devops_deploy_strategy":{"type":"string","example":"continuous"},"ci_push_repository_for_job_token_allowed":{"type":"boolean"},"protect_merge_request_pipelines":{"type":"boolean"},"ci_display_pipeline_variables":{"type":"boolean"},"ci_skip_branch_pipelines_for_mrs":{"type":"boolean"},"runners_token":{"type":"string","example":"b8547b1dc37721d05889db52fa2f02"},"ci_config_path":{"type":"string","example":""},"public_jobs":{"type":"boolean"},"shared_with_groups":{"type":"array","items":{"type":"object"}},"only_allow_merge_if_pipeline_succeeds":{"type":"boolean"},"allow_merge_on_skipped_pipeline":{"type":"boolean"},"request_access_enabled":{"type":"boolean"},"only_allow_merge_if_all_discussions_are_resolved":{"type":"boolean"},"remove_source_branch_after_merge":{"type":"boolean"},"printing_merge_request_link_enabled":{"type":"boolean"},"merge_method":{"type":"string","example":"merge"},"squash_option":{"type":"string","example":"default_off"},"automatic_rebase_enabled":{"type":"boolean"},"enforce_auth_checks_on_uploads":{"type":"boolean"},"suggestion_commit_message":{"type":"string","example":"Suggestion message"},"merge_commit_template":{"type":"string","example":"%(title)"},"squash_commit_template":{"type":"string","example":"%(source_branch)"},"mr_default_title_template":{"type":"string","example":"%(source_branch)"},"issue_branch_template":{"type":"string","example":"%(title)"},"statistics":{"$ref":"#/components/schemas/APIEntitiesProjectStatistics"},"warn_about_potentially_unwanted_characters":{"type":"boolean"},"autoclose_referenced_issues":{"type":"boolean"},"max_artifacts_size":{"type":"integer"},"allow_pipeline_trigger_approve_deployment":{"type":"boolean"},"merge_pipelines_enabled":{"type":"boolean"},"merge_trains_enabled":{"type":"boolean"},"merge_trains_skip_train_allowed":{"type":"boolean"},"max_pipelines_per_merge_train":{"type":"integer"},"merge_train_enforced":{"type":"boolean"},"jaga_task_required_to_merge":{"type":"boolean"},"merge_request_title_regex":{"type":"string"},"merge_request_title_regex_description":{"type":"string"},"fe_project_setting_attributes":{"type":"object"},"permissions":{"type":"object","properties":{"project_access":{"$ref":"#/components/schemas/APIEntitiesProjectAccess"},"group_access":{"$ref":"#/components/schemas/APIEntitiesGroupAccess"}}},"cicd_catalog_enabled":{"type":"boolean"}}},"APIEntitiesProjectsWithCatalogSetting":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"description":{"type":"string","example":"desc"},"name":{"type":"string","example":"project1"},"name_with_namespace":{"type":"string","example":"John Doe / project1"},"path":{"type":"string","example":"project1"},"path_with_namespace":{"type":"string","example":"namespace1/project1"},"created_at":{"type":"string","format":"date-time","example":"2020-05-07T04:27:17.016Z"},"default_branch":{"type":"string","example":"main"},"tag_list":{"type":"array","example":["tag"],"items":{"type":"string"}},"topics":{"type":"array","example":["topic"],"items":{"type":"string"}},"ssh_url_to_repo":{"type":"string","example":"git@gitlab.example.com:gitlab/gitlab.git"},"http_url_to_repo":{"type":"string","example":"https://gitlab.example.com/gitlab/gitlab.git"},"web_url":{"type":"string","example":"https://gitlab.example.com/gitlab/gitlab"},"readme_url":{"type":"string","example":"https://gitlab.example.com/gitlab/gitlab/blob/master/README.md"},"forks_count":{"type":"integer","example":1},"license_url":{"type":"string","example":"https://gitlab.example.com/gitlab/gitlab/blob/master/LICENCE"},"license":{"$ref":"#/components/schemas/APIEntitiesLicenseBasic"},"avatar_url":{"type":"string","example":"http://example.com/uploads/project/avatar/3/uploads/avatar.png"},"star_count":{"type":"integer","example":1},"last_activity_at":{"type":"string","format":"date-time","example":"2013-09-30T13:46:02Z"},"visibility":{"type":"string","example":"public"},"namespace":{"$ref":"#/components/schemas/APIEntitiesNamespaceBasic"},"custom_attributes":{"$ref":"#/components/schemas/APIEntitiesCustomAttribute"},"repository_storage":{"type":"string","example":"default"},"forked_from_project":{"$ref":"#/components/schemas/APIEntitiesBasicProjectDetails"},"container_registry_image_prefix":{"type":"string","example":"registry.gitlab.example.com/gitlab/gitlab-client"},"_links":{"type":"object","properties":{"self":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4"},"issues":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/issues"},"merge_requests":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/merge_requests"},"repo_branches":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/repository/branches"},"labels":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/labels"},"events":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/events"},"members":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/members"},"cluster_agents":{"type":"string","example":"https://gitlab.example.com/api/v4/projects/4/cluster_agents"}}},"marked_for_deletion_at":{"type":"string","format":"date-time","example":"2020-05-07T04:27:17.016Z"},"marked_for_deletion_on":{"type":"string","format":"date-time","example":"2020-05-07T04:27:17.016Z"},"packages_enabled":{"type":"boolean"},"empty_repo":{"type":"boolean"},"archived":{"type":"boolean"},"owner":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"resolve_outdated_diff_discussions":{"type":"boolean"},"container_expiration_policy":{"$ref":"#/components/schemas/APIEntitiesContainerExpirationPolicy"},"repository_object_format":{"type":"string","example":"sha1"},"issues_enabled":{"type":"boolean"},"merge_requests_enabled":{"type":"boolean"},"wiki_enabled":{"type":"boolean"},"jobs_enabled":{"type":"boolean"},"snippets_enabled":{"type":"boolean"},"container_registry_enabled":{"type":"boolean"},"service_desk_enabled":{"type":"boolean"},"service_desk_address":{"type":"string","example":"address@example.com"},"can_create_merge_request_in":{"type":"boolean"},"issues_access_level":{"type":"string","example":"enabled"},"repository_access_level":{"type":"string","example":"enabled"},"merge_requests_access_level":{"type":"string","example":"enabled"},"forking_access_level":{"type":"string","example":"enabled"},"wiki_access_level":{"type":"string","example":"enabled"},"builds_access_level":{"type":"string","example":"enabled"},"snippets_access_level":{"type":"string","example":"enabled"},"pages_access_level":{"type":"string","example":"enabled"},"analytics_access_level":{"type":"string","example":"enabled"},"container_registry_access_level":{"type":"string","example":"enabled"},"security_and_compliance_access_level":{"type":"string","example":"enabled"},"releases_access_level":{"type":"string","example":"enabled"},"environments_access_level":{"type":"string","example":"enabled"},"feature_flags_access_level":{"type":"string","example":"enabled"},"infrastructure_access_level":{"type":"string","example":"enabled"},"monitor_access_level":{"type":"string","example":"enabled"},"model_experiments_access_level":{"type":"string","example":"enabled"},"model_registry_access_level":{"type":"string","example":"enabled"},"package_registry_access_level":{"type":"string","example":"enabled"},"emails_disabled":{"type":"boolean"},"emails_enabled":{"type":"boolean"},"show_diff_preview_in_email":{"type":"boolean"},"shared_runners_enabled":{"type":"boolean"},"lfs_enabled":{"type":"boolean"},"creator_id":{"type":"integer","format":"int64","example":1},"mr_default_target_self":{"type":"boolean"},"import_url":{"type":"string","example":"https://gitlab.com/gitlab/gitlab.git"},"import_type":{"type":"string","example":"git"},"import_status":{"type":"string","example":"none"},"import_error":{"type":"string","example":"Import error"},"open_issues_count":{"type":"integer","example":1},"description_html":{"type":"string"},"updated_at":{"type":"string","format":"date-time","example":"2020-05-07T04:27:17.016Z"},"ci_default_git_depth":{"type":"integer","example":20},"ci_delete_pipelines_in_seconds":{"type":"integer","example":86400},"ci_forward_deployment_enabled":{"type":"boolean"},"ci_forward_deployment_rollback_allowed":{"type":"boolean"},"ci_job_token_scope_enabled":{"type":"boolean"},"ci_separated_caches":{"type":"boolean"},"ci_allow_fork_pipelines_to_run_in_parent_project":{"type":"boolean"},"ci_id_token_sub_claim_components":{"type":"array","items":{"type":"string"}},"build_git_strategy":{"type":"string","example":"fetch"},"keep_latest_artifact":{"type":"boolean"},"restrict_user_defined_variables":{"type":"boolean"},"ci_pipeline_variables_minimum_override_role":{"type":"string"},"runner_token_expiration_interval":{"type":"integer","example":3600},"group_runners_enabled":{"type":"boolean"},"resource_group_default_process_mode":{"type":"string","example":"unordered"},"auto_cancel_pending_pipelines":{"type":"string","example":"enabled"},"build_timeout":{"type":"integer","example":3600},"auto_devops_enabled":{"type":"boolean"},"auto_devops_deploy_strategy":{"type":"string","example":"continuous"},"ci_push_repository_for_job_token_allowed":{"type":"boolean"},"protect_merge_request_pipelines":{"type":"boolean"},"ci_display_pipeline_variables":{"type":"boolean"},"ci_skip_branch_pipelines_for_mrs":{"type":"boolean"},"runners_token":{"type":"string","example":"b8547b1dc37721d05889db52fa2f02"},"ci_config_path":{"type":"string","example":""},"public_jobs":{"type":"boolean"},"shared_with_groups":{"type":"array","items":{"type":"object"}},"only_allow_merge_if_pipeline_succeeds":{"type":"boolean"},"allow_merge_on_skipped_pipeline":{"type":"boolean"},"request_access_enabled":{"type":"boolean"},"only_allow_merge_if_all_discussions_are_resolved":{"type":"boolean"},"remove_source_branch_after_merge":{"type":"boolean"},"printing_merge_request_link_enabled":{"type":"boolean"},"merge_method":{"type":"string","example":"merge"},"squash_option":{"type":"string","example":"default_off"},"automatic_rebase_enabled":{"type":"boolean"},"enforce_auth_checks_on_uploads":{"type":"boolean"},"suggestion_commit_message":{"type":"string","example":"Suggestion message"},"merge_commit_template":{"type":"string","example":"%(title)"},"squash_commit_template":{"type":"string","example":"%(source_branch)"},"mr_default_title_template":{"type":"string","example":"%(source_branch)"},"issue_branch_template":{"type":"string","example":"%(title)"},"statistics":{"$ref":"#/components/schemas/APIEntitiesProjectStatistics"},"warn_about_potentially_unwanted_characters":{"type":"boolean"},"autoclose_referenced_issues":{"type":"boolean"},"max_artifacts_size":{"type":"integer"},"allow_pipeline_trigger_approve_deployment":{"type":"boolean"},"merge_pipelines_enabled":{"type":"boolean"},"merge_trains_enabled":{"type":"boolean"},"merge_trains_skip_train_allowed":{"type":"boolean"},"max_pipelines_per_merge_train":{"type":"integer"},"merge_train_enforced":{"type":"boolean"},"jaga_task_required_to_merge":{"type":"boolean"},"merge_request_title_regex":{"type":"string"},"merge_request_title_regex_description":{"type":"string"},"fe_project_setting_attributes":{"type":"object"},"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"}}},"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","example":3},"date":{"type":"string","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","format":"int64","example":1},"title":{"type":"string","example":"test"},"description":{"type":"string","example":"Ruby test snippet"},"visibility":{"type":"string","example":"public"},"author":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"created_at":{"type":"string","format":"date-time","example":"2012-06-28T10:52:04Z"},"updated_at":{"type":"string","format":"date-time","example":"2012-06-28T10:52:04Z"},"project_id":{"type":"integer","format":"int64","example":1},"web_url":{"type":"string","example":"http://example.com/example/example/snippets/1"},"raw_url":{"type":"string","example":"http://example.com/example/example/snippets/1/raw"},"ssh_url_to_repo":{"type":"string","example":"ssh://user@gitlab.example.com/snippets/65.git"},"http_url_to_repo":{"type":"string","example":"https://gitlab.example.com/snippets/65.git"},"file_name":{"type":"string","example":"add.rb"},"files":{"type":"array","example":[{"path":"file.txt","raw_url":"https://gitlab.example.com/.../raw"}],"items":{"type":"object"}},"imported":{"type":"boolean","example":false},"imported_from":{"type":"string","example":"none"}}},"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","format":"int64","example":1},"iid":{"type":"integer","example":2},"project_id":{"type":"integer","format":"int64","example":3},"sha":{"type":"string","example":"0ec9e58fdfca6cdd6652c083c9edb53abc0bad52"},"ref":{"type":"string","example":"feature-branch"},"status":{"type":"string","example":"success"},"source":{"type":"string","example":"push"},"created_at":{"type":"string","format":"date-time","example":"2022-10-21T16:49:48.000+02:00"},"updated_at":{"type":"string","format":"date-time","example":"2022-10-21T16:49:48.000+02:00"},"web_url":{"type":"string","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":"string"},"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":"string"},"pipeline":{"$ref":"#/components/schemas/APIEntitiesPackagePipeline"},"pipelines":{"$ref":"#/components/schemas/APIEntitiesPackagePipeline"},"versions":{"$ref":"#/components/schemas/APIEntitiesPackageVersion"}}},"APIEntitiesProjectJobTokenScope":{"type":"object","properties":{"inbound_enabled":{"type":"boolean"},"outbound_enabled":{"type":"boolean"}}},"APIEntitiesBasicGroupDetails":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"web_url":{"type":"string","example":"http://gitlab.example.com/groups/diaspora"},"name":{"type":"string","example":"Diaspora"}}},"APIEntitiesProjectScopeLink":{"type":"object","properties":{"source_project_id":{"type":"integer","format":"int64"},"target_project_id":{"type":"integer","format":"int64"}}},"APIEntitiesGroupScopeLink":{"type":"object","properties":{"source_project_id":{"type":"integer","format":"int64"},"target_group_id":{"type":"integer","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","format":"int64","example":1},"description":{"type":"string","example":"desc"},"name":{"type":"string","example":"project1"},"name_with_namespace":{"type":"string","example":"John Doe / project1"},"path":{"type":"string","example":"project1"},"path_with_namespace":{"type":"string","example":"namespace1/project1"},"created_at":{"type":"string","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","example":"Hook name"},"description":{"type":"string","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","example":false},"signing_token_present":{"type":"boolean","description":"Whether an HMAC signing token is configured","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","format":"int64","example":1},"description":{"type":"string","example":"desc"},"name":{"type":"string","example":"project1"},"name_with_namespace":{"type":"string","example":"John Doe / project1"},"path":{"type":"string","example":"project1"},"path_with_namespace":{"type":"string","example":"namespace1/project1"},"created_at":{"type":"string","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":{"$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","format":"int64","example":1},"project_id":{"type":"integer","format":"int64","example":123},"tag_name_pattern":{"type":"string","example":"v*-release"},"minimum_access_level_for_push":{"type":"string","example":"maintainer"},"minimum_access_level_for_delete":{"type":"string","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":{"$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"}}},"APIEntitiesPagesDomainCertificateExpiration":{"type":"object","properties":{"expired":{"type":"string"},"expiration":{"type":"string"}}},"APIEntitiesPagesDomainBasic":{"type":"object","properties":{"domain":{"type":"string"},"url":{"type":"string"},"project_id":{"type":"string"},"verified":{"type":"string"},"verification_code":{"type":"string"},"enabled_until":{"type":"string"},"auto_ssl_enabled":{"type":"string"},"certificate_expiration":{"$ref":"#/components/schemas/APIEntitiesPagesDomainCertificateExpiration"}}},"APIEntitiesPagesDomainCertificate":{"type":"object","properties":{"subject":{"type":"string"},"expired":{"type":"string"},"certificate":{"type":"string"},"certificate_text":{"type":"string"}}},"APIEntitiesPagesDomain":{"type":"object","properties":{"domain":{"type":"string"},"url":{"type":"string"},"verified":{"type":"string"},"verification_code":{"type":"string"},"enabled_until":{"type":"string"},"auto_ssl_enabled":{"type":"string"},"certificate":{"$ref":"#/components/schemas/APIEntitiesPagesDomainCertificate"}}},"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":{"$ref":"#/components/schemas/APIEntitiesPackagePipeline"}}},"APIEntitiesOrganizationsOrganization":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"uuid":{"type":"string","example":"0192f8c2-1a2b-7cde-89ab-0123456789ab"},"name":{"type":"string","example":"GitLab"},"path":{"type":"string","example":"gitlab"},"description":{"type":"string","example":"My description"},"visibility":{"type":"string","example":"public"},"created_at":{"type":"string","format":"date-time","example":"2022-02-24T20:22:30.097Z"},"updated_at":{"type":"string","format":"date-time","example":"2022-02-24T20:22:30.097Z"},"web_url":{"type":"string","example":"https://example.com/o/gitlab/-/overview"},"avatar_url":{"type":"string","example":"https://example.com/uploads/-/system/organizations/organization_detail/avatar/1/avatar.png"}}},"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":{"$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://..."}}}},"dist-tags":{"type":"object","example":{"latest":"1.0.1"}}}},"APIEntitiesNamespace":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":2},"name":{"type":"string","example":"project"},"path":{"type":"string","example":"my_project"},"kind":{"type":"string","example":"project"},"full_path":{"type":"string","example":"group/my_project"},"parent_id":{"type":"integer","format":"int64","example":1},"avatar_url":{"type":"string","example":"https://example.com/avatar/12345"},"web_url":{"type":"string","example":"https://example.com/group/my_project"},"members_count_with_descendants":{"type":"integer","example":5},"root_repository_size":{"type":"integer","example":123},"projects_count":{"type":"integer","example":123}}},"APIEntitiesNamespaceExistence":{"type":"object","properties":{"exists":{"type":"boolean"},"suggests":{"type":"array","example":["my-group1"],"items":{"type":"string"}}}},"APIEntitiesMobilePushSubscription":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"created_at":{"type":"string","format":"date-time","example":"2026-07-30T12:00:00.000Z"}}},"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"}}},"APIEntitiesMergeRequestDiff":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"head_commit_sha":{"type":"string","example":"1234abcd"},"base_commit_sha":{"type":"string","example":"1234abcd"},"start_commit_sha":{"type":"string","example":"1234abcd"},"created_at":{"type":"string","format":"date-time","example":"2022-01-31T15:10:45.080Z"},"merge_request_id":{"type":"integer","format":"int64","example":1},"state":{"type":"string","example":"collected"},"real_size":{"type":"string","example":"1"},"patch_id_sha":{"type":"string","example":"1234abcd"}}},"APIEntitiesMergeRequestDiffFull":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"head_commit_sha":{"type":"string","example":"1234abcd"},"base_commit_sha":{"type":"string","example":"1234abcd"},"start_commit_sha":{"type":"string","example":"1234abcd"},"created_at":{"type":"string","format":"date-time","example":"2022-01-31T15:10:45.080Z"},"merge_request_id":{"type":"integer","format":"int64","example":1},"state":{"type":"string","example":"collected"},"real_size":{"type":"string","example":"1"},"patch_id_sha":{"type":"string","example":"1234abcd"},"commits":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesCommit"}},"diffs":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesDiff"}}}},"APIEntitiesApprovals":{"type":"object","properties":{"user":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"approved_at":{"type":"string","format":"date-time","example":"2025-01-01T10:00:00Z"}}},"APIEntitiesMergeRequestApprovals":{"type":"object","properties":{"user_has_approved":{"type":"boolean"},"user_can_approve":{"type":"boolean"},"approved":{"type":"boolean"},"approved_by":{"$ref":"#/components/schemas/APIEntitiesApprovals"}}},"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","format":"int64","example":1},"username":{"type":"string","example":"admin"},"public_email":{"type":"string","example":"john@example.com"},"name":{"type":"string","example":"Administrator"},"state":{"type":"string","example":"active"},"locked":{"type":"boolean"},"avatar_url":{"type":"string","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","example":"https://gitlab.example.com/root"},"status_tooltip_html":{"type":"string"},"show_status":{"type":"string"},"availability":{"type":"string"},"path":{"type":"string"}}},"APIEntitiesCommitWithLink":{"type":"object","properties":{"id":{"type":"string","example":"2695effb5807a22ff3d138d593fd856244e155e7"},"short_id":{"type":"string","example":"2695effb"},"created_at":{"type":"string","format":"date-time","example":"2017-07-26T11:08:53.000+02:00"},"parent_ids":{"type":"array","example":["2a4b78934375d7f53875269ffd4f45fd83a84ebe"],"items":{"type":"string"}},"title":{"type":"string","example":"Initial commit"},"message":{"type":"string","example":"Initial commit"},"author_name":{"type":"string","example":"John Smith"},"author_email":{"type":"string","example":"john@example.com"},"authored_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"},"committed_date":{"type":"string","format":"date-time","example":"2012-05-28T04:42:42-07:00"},"trailers":{"type":"object","example":{"Merged-By":"Jane Doe janedoe@gitlab.com"}},"extended_trailers":{"type":"object","example":{"Signed-off-by":["John Doe <johndoe@gitlab.com>","Jane Doe <janedoe@gitlab.com>"]}},"web_url":{"type":"string","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":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"merge_user":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"merged_at":{"type":"string","format":"date-time","example":"2022-01-31T15:10:45.080Z"},"closed_by":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"closed_at":{"type":"string","format":"date-time","example":"2022-01-31T15:10:45.080Z"},"title_html":{"type":"string"},"description_html":{"type":"string"},"target_branch":{"type":"string"},"source_branch":{"type":"string"},"user_notes_count":{"type":"integer"},"upvotes":{"type":"integer"},"downvotes":{"type":"integer"},"author":{"$ref":"#/components/schemas/APIEntitiesMergeRequestAuthor"},"assignees":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"assignee":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"reviewers":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"source_project_id":{"type":"integer","format":"int64"},"target_project_id":{"type":"integer","format":"int64"},"labels":{"type":"array","items":{"type":"string"}},"draft":{"type":"boolean"},"imported":{"type":"boolean"},"imported_from":{"type":"string","example":"bitbucket"},"work_in_progress":{"type":"boolean"},"milestone":{"$ref":"#/components/schemas/APIEntitiesMilestone"},"merge_when_pipeline_succeeds":{"type":"boolean"},"merge_status":{"type":"string","example":"unchecked"},"detailed_merge_status":{"type":"string","example":"mergeable"},"merge_after":{"type":"string","format":"date-time","example":"2022-01-31T15:10:45.080Z"},"sha":{"type":"string","example":"1234abcd"},"merge_commit_sha":{"type":"string","example":"1234abcd"},"squash_commit_sha":{"type":"string","example":"1234abcd"},"discussion_locked":{"type":"boolean"},"should_remove_source_branch":{"type":"boolean"},"force_remove_source_branch":{"type":"boolean"},"prepared_at":{"type":"string","format":"date-time","example":"2022-01-31T15:10:45.080Z"},"allow_collaboration":{"type":"boolean"},"allow_maintainer_to_push":{"type":"boolean"},"reference":{"type":"string","example":"!1"},"references":{"$ref":"#/components/schemas/APIEntitiesIssuableReferences"},"web_url":{"type":"string","example":"https://gitlab.example.com/my-group/my-project/-/merge_requests/1"},"time_stats":{"$ref":"#/components/schemas/APIEntitiesIssuableTimeStats"},"squash":{"type":"boolean"},"squash_on_merge":{"type":"boolean"},"task_completion_status":{"$ref":"#/components/schemas/APIEntitiesTaskCompletionStatus"},"has_conflicts":{"type":"boolean"},"blocking_discussions_resolved":{"type":"boolean"},"subscribed":{"type":"boolean"},"changes_count":{"type":"string","example":"1"},"latest_build_started_at":{"type":"string","format":"date-time","example":"2022-01-31T15:10:45.080Z"},"latest_build_finished_at":{"type":"string","format":"date-time","example":"2022-01-31T15:10:45.080Z"},"first_deployed_to_production_at":{"type":"string","format":"date-time","example":"2022-01-31T15:10:45.080Z"},"pipeline":{"$ref":"#/components/schemas/APIEntitiesCiPipelineBasic"},"head_pipeline":{"$ref":"#/components/schemas/APIEntitiesCiPipeline"},"diff_refs":{"$ref":"#/components/schemas/APIEntitiesDiffRefs"},"merge_error":{"type":"string","example":"Merge error"},"rebase_in_progress":{"type":"boolean"},"diverged_commits_count":{"type":"integer","example":0},"first_contribution":{"type":"boolean"},"user":{"type":"object","properties":{"can_merge":{"type":"boolean"}}},"changes":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesDiff"}},"overflow":{"type":"boolean"}}},"APIEntitiesMRNote":{"type":"object","properties":{"note":{"type":"string","example":"LGTM!"},"author":{"$ref":"#/components/schemas/APIEntitiesUserBasic"}}},"APIEntitiesMember":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"username":{"type":"string","example":"admin"},"public_email":{"type":"string","example":"john@example.com"},"name":{"type":"string","example":"Administrator"},"state":{"type":"string","example":"active"},"locked":{"type":"boolean"},"avatar_url":{"type":"string","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","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"}}},"APIEntitiesProjectUpload":{"type":"object","properties":{"id":{"type":"integer","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)"}}},"APIEntitiesUserSafe":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"username":{"type":"string","example":"admin"},"public_email":{"type":"string","example":"john@example.com"},"name":{"type":"string","example":"Administrator"}}},"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\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","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"},"key":{"type":"string","example":"ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt1256k6Yjz\\\n      GGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCdd\\\n      NaP0L+hM7zhFNzjFvpaMgJw0="},"usage_type":{"type":"string","example":"auth"},"user":{"$ref":"#/components/schemas/APIEntitiesUserPublic"}}},"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":{"$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"},"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"},"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"}}},"APIEntitiesBasicSuccess":{"type":"object","properties":{"success":{"type":"object"}}},"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"}}},"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"}}},"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"},"properties":{"type":"object","example":{"token":"secr3t"}}}},"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}}},"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","items":{"$ref":"#/components/schemas/APIEntitiesGlqlField"}},"success":{"type":"boolean","example":true}}},"APIEntitiesCiVariable":{"type":"object","properties":{"variable_type":{"type":"string","example":"env_var"},"key":{"type":"string","example":"TEST_VARIABLE_1"},"value":{"type":"string","example":"TEST_1"},"hidden":{"type":"boolean"},"protected":{"type":"boolean"},"masked":{"type":"boolean"},"raw":{"type":"boolean"},"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"}}},"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":{"$ref":"#/components/schemas/APIEntitiesBlameRangeCommit"},"lines":{"type":"array","example":["lorem ipsum"],"items":{"type":"string"}}}},"APIEntitiesFeatureGate":{"type":"object","properties":{"key":{"type":"string","example":"percentage_of_actors"},"value":{"type":"integer","example":34}}},"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"}}},"APIEntitiesFeature":{"type":"object","properties":{"name":{"type":"string","example":"experimental_feature"},"state":{"type":"string","example":"off"},"gates":{"$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":{"$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":{"$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","example":"127.0.0.1"},"active":{"type":"boolean","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","format":"int64","example":1},"name":{"type":"string"},"config_project":{"$ref":"#/components/schemas/APIEntitiesProjectIdentity"},"created_at":{"type":"string","format":"date-time"},"created_by_user_id":{"type":"integer","format":"int64","example":1}}},"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":null,"old_line":2,"new_line":4},"end":{"line_code":"1c497fbb3a46b78edf04cc2a2fa33f67e3ffbe2a_2_4","type":null,"old_line":2,"new_line":4}}}}}},"APIEntitiesDeploymentApproval":{"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":"Looks good to me","nullable":true}}},"APIEntitiesDeploymentApprovalSummaryRule":{"type":"object","properties":{"user_id":{"type":"integer","format":"int64","example":2,"nullable":true},"group_id":{"type":"integer","format":"int64","example":3,"nullable":true},"access_level":{"type":"integer","example":40,"nullable":true},"access_level_description":{"type":"string","example":"Maintainers"},"required_approvals":{"type":"integer","example":1},"deployment_approvals":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesDeploymentApproval"}}}},"APIEntitiesDeploymentApprovalSummary":{"type":"object","properties":{"rules":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesDeploymentApprovalSummaryRule"}}}},"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"},"approval_summary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/APIEntitiesDeploymentApprovalSummary"}]},"approvals":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesDeploymentApproval"}},"pending_approval_count":{"type":"integer","example":0}}},"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","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"},"key":{"type":"string","example":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDNJAkI3Wdf0r13c8a5pEExB2YowPWCSVzfZV22pNBc1CuEbyYLHpUyaD0GwpGvFdx2aP7lMEk35k6Rz3ccBF6jRaVJyhsn5VNnW92PMpBJ/P1UebhXwsFHdQf5rTt082cSxWuk61kGWRQtk4ozt/J2DF/dIUVaLvc+z4HomT41fQ=="},"usage_type":{"type":"string","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":{"$ref":"#/components/schemas/APIEntitiesProjectIdentity"},"projects_with_readonly_access":{"$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","format":"int64","example":93},"sha":{"type":"string","example":"18f3e63d05582537db6d183d9d557be09e1f90c8"},"ref":{"type":"string","example":"develop"},"status":{"type":"string","example":"success"},"name":{"type":"string","example":"default"},"target_url":{"type":"string","example":"https://gitlab.example.com/janedoe/gitlab-foss/builds/91"},"description":{"type":"string"},"created_at":{"type":"string","format":"date-time","example":"2016-01-19T09:05:50.355Z"},"started_at":{"type":"string","format":"date-time","example":"2016-01-20T08:40:25.832Z"},"finished_at":{"type":"string","format":"date-time","example":"2016-01-21T08:40:25.832Z"},"allow_failure":{"type":"boolean","example":false},"coverage":{"type":"number","format":"float","example":98.29},"pipeline_id":{"type":"integer","format":"int64","example":101},"author":{"$ref":"#/components/schemas/APIEntitiesUserBasic"}}},"APIEntitiesCommitNote":{"type":"object","properties":{"note":{"type":"string","example":"this doc is really nice"},"path":{"type":"string","example":"README.md"},"line":{"type":"integer","example":11},"line_type":{"type":"string","example":"new"},"author":{"$ref":"#/components/schemas/APIEntitiesUserBasic"},"created_at":{"type":"string","format":"date-time","example":"2016-01-19T09:44:55.600Z"}}},"APIEntitiesCommitSequence":{"type":"object","properties":{"count":{"type":"integer","example":1}}},"APIEntitiesBasicRef":{"type":"object","properties":{"type":{"type":"string","example":"tag"},"name":{"type":"string","example":"v1.1.0"}}},"APIEntitiesCommitSignature":{"type":"object","properties":{"signature_type":{"type":"string","example":"PGP"},"signature":{"type":"object"},"commit_source":{"type":"string","example":"gitaly"}}},"APIEntitiesClustersAgentTokenBasic":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"name":{"type":"string"},"description":{"type":"string"},"agent_id":{"type":"integer","format":"int64","example":1},"status":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"created_by_user_id":{"type":"integer","format":"int64","example":1}}},"APIEntitiesClustersAgentToken":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"name":{"type":"string"},"description":{"type":"string"},"agent_id":{"type":"integer","format":"int64","example":1},"status":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"created_by_user_id":{"type":"integer","format":"int64","example":1},"last_used_at":{"type":"string","format":"date-time"}}},"APIEntitiesClustersAgentTokenWithToken":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"name":{"type":"string"},"description":{"type":"string"},"agent_id":{"type":"integer","format":"int64","example":1},"status":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"created_by_user_id":{"type":"integer","format":"int64","example":1},"last_used_at":{"type":"string","format":"date-time"},"token":{"type":"string"}}},"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","format":"int64","example":1},"iid":{"type":"integer","example":2},"project_id":{"type":"integer","format":"int64","example":3},"sha":{"type":"string","example":"0ec9e58fdfca6cdd6652c083c9edb53abc0bad52"},"ref":{"type":"string","example":"feature-branch"},"status":{"type":"string","example":"success"},"source":{"type":"string","example":"push"},"created_at":{"type":"string","format":"date-time","example":"2022-10-21T16:49:48.000+02:00"},"updated_at":{"type":"string","format":"date-time","example":"2022-10-21T16:49:48.000+02:00"},"web_url":{"type":"string","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":{"$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":{"$ref":"#/components/schemas/APIEntitiesCiInput"},"last_pipeline":{"$ref":"#/components/schemas/APIEntitiesCiPipelineBasic"},"variables":{"$ref":"#/components/schemas/APIEntitiesCiVariable"}}},"APIEntitiesCiPipelineWithMetadata":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"iid":{"type":"integer","example":2},"project_id":{"type":"integer","format":"int64","example":3},"sha":{"type":"string","example":"0ec9e58fdfca6cdd6652c083c9edb53abc0bad52"},"ref":{"type":"string","example":"feature-branch"},"status":{"type":"string","example":"success"},"source":{"type":"string","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","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"},"severity":{"type":"string","example":"low"}}},"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"}},"severity_counts":{"type":"object","example":{"critical":{"failed":1,"errored":0}}}}},"TestReportSummaryEntity":{"type":"object","properties":{"total":{"type":"object","example":{"time":0.42,"count":2,"success":2,"failed":0,"skipped":0,"error":0,"suite_error":null}},"test_suites":{"$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"}}},"APIEntitiesCiRunnerDetails":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":8},"description":{"type":"string","example":"test-1-20150125"},"ip_address":{"type":"string","example":"127.0.0.1"},"active":{"type":"boolean","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"},"tag_list":{"type":"string"},"run_untagged":{"type":"string"},"locked":{"type":"string"},"maximum_timeout":{"type":"string"},"access_level":{"type":"string"},"token_expires_at":{"type":"string","format":"date-time","example":"2025-01-01T00:00:00.000Z"},"version":{"type":"string"},"revision":{"type":"string"},"platform":{"type":"string"},"architecture":{"type":"string"},"contacted_at":{"type":"string"},"maintenance_note":{"type":"string"},"projects":{"$ref":"#/components/schemas/APIEntitiesBasicProjectDetails"},"groups":{"$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"},"token_expires_at":{"type":"string"}}},"APIEntitiesCiJobRouterDiscoveryInformation":{"type":"object","properties":{"server_url":{"type":"string","example":"wss://kas.example.com"}}},"APIEntitiesCiJobRequestJobInfo":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"stage":{"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":"string"},"timeout":{"type":"string"},"when":{"type":"string"},"allow_failure":{"type":"string"}}},"APIEntitiesCiJobRequestHook":{"type":"object","properties":{"name":{"type":"string"},"script":{"type":"string"}}},"APIEntitiesCiJobRequestPort":{"type":"object","properties":{"number":{"type":"string"},"protocol":{"type":"string"},"name":{"type":"string"}}},"APIEntitiesCiJobRequestImage":{"type":"object","properties":{"name":{"type":"string"},"entrypoint":{"type":"string"},"ports":{"$ref":"#/components/schemas/APIEntitiesCiJobRequestPort"},"executor_opts":{"type":"string"},"pull_policy":{"type":"string"}}},"APIEntitiesCiJobRequestService":{"type":"object","properties":{"name":{"type":"string"},"entrypoint":{"type":"string"},"ports":{"$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":"string"},"paths":{"type":"string"},"exclude":{"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":"string"},"paths":{"type":"string"},"policy":{"type":"string"},"when":{"type":"string"},"fallback_keys":{"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":{"$ref":"#/components/schemas/APIEntitiesCiJobRequestStep"},"hooks":{"$ref":"#/components/schemas/APIEntitiesCiJobRequestHook"},"image":{"$ref":"#/components/schemas/APIEntitiesCiJobRequestImage"},"services":{"$ref":"#/components/schemas/APIEntitiesCiJobRequestService"},"artifacts":{"$ref":"#/components/schemas/APIEntitiesCiJobRequestArtifacts"},"cache":{"$ref":"#/components/schemas/APIEntitiesCiJobRequestCache"},"credentials":{"$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}}}}},"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."}}},"APIEntitiesGroup":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"web_url":{"type":"string","example":"http://gitlab.example.com/groups/diaspora"},"name":{"type":"string","example":"Diaspora"},"path":{"type":"string"},"description":{"type":"string"},"visibility":{"type":"string"},"share_with_group_lock":{"type":"boolean"},"require_two_factor_authentication":{"type":"boolean"},"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":{"$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":{"$ref":"#/components/schemas/APIEntitiesNamespaceRootStorageStatistics"}}},"APIEntitiesGroupDetail":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"web_url":{"type":"string","example":"http://gitlab.example.com/groups/diaspora"},"name":{"type":"string","example":"Diaspora"},"path":{"type":"string"},"description":{"type":"string"},"visibility":{"type":"string"},"share_with_group_lock":{"type":"boolean"},"require_two_factor_authentication":{"type":"boolean"},"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":{"$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":{"$ref":"#/components/schemas/APIEntitiesNamespaceRootStorageStatistics"},"require_sha_for_merge":{"type":"boolean"},"lock_require_sha_for_merge":{"type":"boolean"},"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"},"step_up_auth_required_oauth_provider":{"type":"string","description":"OAuth provider required for step-up authentication."},"projects":{"$ref":"#/components/schemas/APIEntitiesProject"},"shared_projects":{"$ref":"#/components/schemas/APIEntitiesProject"}}},"APIEntitiesCiJobArtifactEntry":{"type":"object","properties":{"name":{"type":"string","example":"index.html"},"path":{"type":"string","example":"coverage/index.html"},"type":{"type":"string","enum":["file","directory"],"example":"file"},"size":{"type":"integer","example":12345},"mode":{"type":"string","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","example":"master"},"commit":{"$ref":"#/components/schemas/APIEntitiesCommit"},"merged":{"type":"boolean","example":true},"protected":{"type":"boolean","example":true},"developers_can_push":{"type":"boolean","example":true},"developers_can_merge":{"type":"boolean","example":true},"can_push":{"type":"boolean","example":true},"default":{"type":"boolean","example":true},"web_url":{"type":"string","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_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_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},"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},"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},"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},"max_pipelines_per_merge_train":{"type":"integer","example":20}}},"APIEntitiesExternalStatusCheck":{"type":"object","properties":{"id":{"type":"integer","example":100},"name":{"type":"string","example":"lorem ipsum"},"project_id":{"type":"integer","example":101},"external_url":{"type":"string","example":"https://www.example.com"},"timeout_minutes":{"type":"integer","example":5},"protected_branches":{"type":"array","items":{"$ref":"#/components/schemas/APIEntitiesProtectedBranch"}},"hmac?":{"type":"boolean","example":"true"},"branch_scope":{"type":"string","example":"all_branches"}}},"APIEntitiesMergeRequestsExternalStatusCheckResponse":{"type":"object","properties":{"id":{"type":"integer","example":1},"merge_request":{"$ref":"#/components/schemas/APIEntitiesMergeRequest"},"external_status_check":{"$ref":"#/components/schemas/APIEntitiesExternalStatusCheck"}}},"APIEntitiesMergeRequestsExternalStatusCheck":{"type":"object","properties":{"id":{"type":"integer","example":1},"error_reason":{"type":"string","example":"Timeout error"},"name":{"type":"string","example":"Security"},"external_url":{"type":"string","example":"https://www.test.com"},"status":{"type":"string","example":"pending"}}},"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"}}},"APIEntitiesAuditEvent":{"type":"object","properties":{"id":{"type":"string"},"created_at":{"type":"string"},"entity_type":{"type":"string"},"entity_id":{"type":"string"},"details":{"type":"string"},"author_name":{"type":"string"},"target_type":{"type":"string"},"target_id":{"type":"string"}}},"APIEntitiesAccessRequester":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1},"username":{"type":"string","example":"admin"},"public_email":{"type":"string","example":"john@example.com"},"name":{"type":"string","example":"Administrator"},"state":{"type":"string","example":"active"},"locked":{"type":"boolean"},"avatar_url":{"type":"string","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","example":"https://gitlab.example.com/root"},"requested_at":{"type":"string"}}},"postApiV4ProjectsIdProtectedEnvironmentsRequest":{"type":"object","properties":{"name":{"type":"string","example":"production","nullable":true},"required_approval_count":{"type":"integer","example":0,"nullable":true},"deploy_access_levels_attributes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","example":1,"nullable":true},"_destroy":{"type":"boolean","nullable":true},"access_level":{"type":"integer","example":40,"nullable":true},"user_id":{"type":"integer","example":2,"nullable":true},"group_id":{"type":"integer","example":3,"nullable":true},"group_inheritance_type":{"type":"integer","enum":[0,1],"nullable":true}}},"nullable":true},"approval_rules_attributes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","example":1,"nullable":true},"_destroy":{"type":"boolean","nullable":true},"access_level":{"type":"integer","example":40,"nullable":true},"user_id":{"type":"integer","example":2,"nullable":true},"group_id":{"type":"integer","example":3,"nullable":true},"group_inheritance_type":{"type":"integer","enum":[0,1],"nullable":true},"required_approvals":{"type":"integer","example":1,"nullable":true}}},"nullable":true}},"required":["name"]},"putApiV4ProjectsIdProtectedEnvironmentsNameRequest":{"type":"object","properties":{"required_approval_count":{"type":"integer","example":0,"nullable":true},"deploy_access_levels_attributes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","example":1,"nullable":true},"_destroy":{"type":"boolean","nullable":true},"access_level":{"type":"integer","example":40,"nullable":true},"user_id":{"type":"integer","example":2,"nullable":true},"group_id":{"type":"integer","example":3,"nullable":true},"group_inheritance_type":{"type":"integer","enum":[0,1],"nullable":true}}},"nullable":true},"approval_rules_attributes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","example":1,"nullable":true},"_destroy":{"type":"boolean","nullable":true},"access_level":{"type":"integer","example":40,"nullable":true},"user_id":{"type":"integer","example":2,"nullable":true},"group_id":{"type":"integer","example":3,"nullable":true},"group_inheritance_type":{"type":"integer","enum":[0,1],"nullable":true},"required_approvals":{"type":"integer","example":1,"nullable":true}}},"nullable":true}}},"postApiV4GroupsIdProtectedEnvironmentsRequest":{"type":"object","properties":{"name":{"type":"string","enum":["production","staging","testing","development","other"],"minLength":1},"required_approval_count":{"type":"integer","example":0,"nullable":true},"deploy_access_levels_attributes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","example":1,"nullable":true},"_destroy":{"type":"boolean","nullable":true},"access_level":{"type":"integer","example":40,"nullable":true},"user_id":{"type":"integer","example":2,"nullable":true},"group_id":{"type":"integer","example":3,"nullable":true},"group_inheritance_type":{"type":"integer","enum":[0,1],"nullable":true}}},"nullable":true},"approval_rules_attributes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","example":1,"nullable":true},"_destroy":{"type":"boolean","nullable":true},"access_level":{"type":"integer","example":40,"nullable":true},"user_id":{"type":"integer","example":2,"nullable":true},"group_id":{"type":"integer","example":3,"nullable":true},"group_inheritance_type":{"type":"integer","enum":[0,1],"nullable":true},"required_approvals":{"type":"integer","example":1,"nullable":true}}},"nullable":true}},"required":["name"]},"putApiV4GroupsIdProtectedEnvironmentsNameRequest":{"type":"object","properties":{"required_approval_count":{"type":"integer","example":0,"nullable":true},"deploy_access_levels_attributes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","example":1,"nullable":true},"_destroy":{"type":"boolean","nullable":true},"access_level":{"type":"integer","example":40,"nullable":true},"user_id":{"type":"integer","example":2,"nullable":true},"group_id":{"type":"integer","example":3,"nullable":true},"group_inheritance_type":{"type":"integer","enum":[0,1],"nullable":true}}},"nullable":true},"approval_rules_attributes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","example":1,"nullable":true},"_destroy":{"type":"boolean","nullable":true},"access_level":{"type":"integer","example":40,"nullable":true},"user_id":{"type":"integer","example":2,"nullable":true},"group_id":{"type":"integer","example":3,"nullable":true},"group_inheritance_type":{"type":"integer","enum":[0,1],"nullable":true},"required_approvals":{"type":"integer","example":1,"nullable":true}}},"nullable":true}}},"postApiV4ProjectsIdMergeTrainsMergeRequestsMergeRequestIidRequest":{"type":"object","properties":{"sha":{"type":"string","description":"Head of the source branch as the caller last saw it. The request is rejected when it moved","nullable":true},"squash":{"type":"boolean","description":"Squash the commits of the source branch into one when the merge request merges","nullable":true},"auto_merge":{"type":"boolean","description":"Queue the merge request instead of merging it right away","nullable":true}}},"postApiV4ProjectsIdAiAgentsTasksTaskIdReportRequest":{"type":"object","properties":{"status":{"type":"string","enum":["active","done","failed"],"description":"active, done or failed","minLength":1},"result_url":{"type":"string","description":"The merge request or note the task produced","nullable":true},"error":{"type":"string","description":"Why the task failed","example":"OpenCode timed out","nullable":true},"retry":{"type":"boolean","description":"false once the task must not be repeated after an interruption","nullable":true}},"required":["status"]},"postApiV4InternalOrgMoverStartMaintenanceRequest":{"type":"object","properties":{"organization_id":{"type":"integer","description":"The ID of the organization","nullable":true},"maintenance_reason":{"type":"string","enum":["migration","isolation","incident","billing","legal"],"description":"The reason for entering maintenance","minLength":1}},"required":["organization_id","maintenance_reason"]},"postApiV4InternalOrgMoverConfirmMaintenanceRequest":{"type":"object","properties":{"organization_id":{"type":"integer","description":"The ID of the organization","nullable":true}},"required":["organization_id"]},"postApiV4InternalOrgMoverCancelMaintenanceRequest":{"type":"object","properties":{"organization_id":{"type":"integer","description":"The ID of the organization","nullable":true}},"required":["organization_id"]},"postApiV4InternalOrgMoverExitMaintenanceRequest":{"type":"object","properties":{"organization_id":{"type":"integer","description":"The ID of the organization","nullable":true}},"required":["organization_id"]},"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.","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 for the experiment, relative to the project","nullable":true},"start_time":{"type":"integer","description":"Unix timestamp in milliseconds of when the run started.","default":0},"user_id":{"type":"string","description":"This will be ignored","nullable":true},"tags":{"type":"array","description":"Tags are stored, but not displayed","nullable":true},"run_name":{"type":"string","description":"A name for this run","nullable":true}},"required":["experiment_id"]},"postApiV4ProjectsIdMlMlflowApi20MlflowRunsSearchRequest":{"type":"object","properties":{"experiment_ids":{"type":"array","description":"IDs of the experiments to get searches from, relative to the project","nullable":true},"max_results":{"type":"integer","description":"Maximum number of runs/candidates to fetch in a page. Default is 200, maximum in 1000","default":200},"order_by":{"type":"string","description":"Order criteria. Can be by a column of the run/candidate (created_at, name) or by a metric ifprefixed by `metrics`. Valid examples: `created_at`, `created_at DESC`, `metrics.my_metric DESC`Sorting by candidate parameter or metadata is not supported.","default":"created_at DESC"},"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 for the metric.","nullable":true},"value":{"type":"number","description":"Value of the metric.","nullable":true},"timestamp":{"type":"integer","description":"Unix timestamp in milliseconds when 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 for the parameter.","nullable":true},"value":{"type":"string","description":"Value for 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 for the tag.","nullable":true},"value":{"type":"string","description":"Value for 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 that contains metric information","items":{"type":"object","properties":{"key":{"type":"string","description":"Name for the metric.","nullable":true},"value":{"type":"number","description":"Value of the metric.","nullable":true},"timestamp":{"type":"integer","description":"Unix timestamp in milliseconds when metric was recorded","nullable":true},"step":{"type":"integer","description":"Step at which the metric was recorded","nullable":true}},"required":["key","value","timestamp"]},"default":[]},"params":{"type":"array","description":"Array that contains parameter information","items":{"type":"object","properties":{"key":{"type":"string","description":"Name for the metric.","nullable":true},"value":{"type":"string","description":"Value of the metric.","nullable":true}},"required":["key","value"]},"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.","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.","default":200},"order_by":{"type":"string","description":"Column and direction to sort experiments by, for example `created_at DESC` or `name`. Supported columns are `created_at` and `name`.","default":"created_at DESC"},"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.","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":"The value of the custom attribute","nullable":true}},"required":["value"]},"postApiV4UsersRequest":{"type":"object","properties":{"email":{"type":"string","description":"Email address to add to the user account.","nullable":true},"password":{"type":"string","description":"The password of the new user. 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. 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","nullable":true},"force_random_password":{"type":"boolean","description":"Flag indicating a random password will be set. 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","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","nullable":true},"can_create_group":{"type":"boolean","description":"Flag indicating the user can create groups","nullable":true},"external":{"type":"boolean","description":"Flag indicating the user is an external user","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","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}},"required":["email","name","username"]},"putApiV4UsersIdRequest":{"type":"object","properties":{"email":{"type":"string","description":"Email address to add to the user account.","nullable":true},"password":{"type":"string","description":"The password of the new user","nullable":true},"skip_reconfirmation":{"type":"boolean","description":"Flag indicating the account skips the confirmation by email","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","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","nullable":true},"can_create_group":{"type":"boolean","description":"Flag indicating the user can create groups","nullable":true},"external":{"type":"boolean","description":"Flag indicating the user is an external user","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","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}}},"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.","default":"auth_and_signing"}},"required":["key","title"]},"postApiV4UsersIdGpgKeysRequest":{"type":"object","properties":{"key":{"type":"string","description":"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.","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/). Mutually exclusive with `granular_scopes`.","nullable":true},"granular_scopes":{"type":"array","description":"List of granular scopes to assign to the token. 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, the date is set to the maximum allowable lifetime limit.","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_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"]},"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.","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` 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` 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 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` 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` must be provided.","nullable":true}}},"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, the date is set to the maximum allowable lifetime limit.","example":"2021-01-31","nullable":true},"granular_scopes":{"type":"array","description":"List of granular scopes to assign to the token. 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.","nullable":true},"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.","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.","nullable":true}}},"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_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. 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}},"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},"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},"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_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},"metrics_method_call_threshold":{"type":"integer","description":"Method call is only tracked if it takes longer than this threshold, in milliseconds.","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},"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_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},"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_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},"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},"ai_action_api_rate_limit":{"type":"integer","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},"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},"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},"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},"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},"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},"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},"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 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},"fe_application_settings_attributes":{"type":"object","description":"Provides FEApplicationSetting parameters","properties":{"gitaly_pull_mirroring_timeout":{"type":"integer","nullable":true},"maintenance_mode":{"type":"boolean","nullable":true},"pause_opensearch_indexing":{"type":"boolean","nullable":true},"pipeline_execution_policy_limit":{"type":"integer","description":"Maximum pipeline execution policies per policy document and per pipeline (1 to 20).","nullable":true},"use_advanced_search":{"type":"boolean","nullable":true},"repository_branch_indexing_mode":{"type":"string","enum":["default_branch_only","allow_project_regex"],"description":"Repository branch indexing mode for OpenSearch code indexing.","nullable":true},"user_social_accounts_disabled":{"type":"boolean","description":"Hide social accounts in profiles and profile forms, and prevent users and administrators from setting them through forms or the API."},"web_ide_extension_host_domain_enabled":{"type":"boolean","description":"Load the Web IDE from the extension host domain. When off, it loads from the instance origin.","nullable":true},"web_ide_single_origin_fallback_enabled":{"type":"boolean","description":"Load the Web IDE from the instance origin when the extension host domain is unreachable.","nullable":true}},"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},"members_delete_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},"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},"project_api_limit":{"type":"string","nullable":true},"project_invited_groups_api_limit":{"type":"string","nullable":true},"project_repositories_blobs_batch_limit":{"type":"string","nullable":true},"projects_api_limit":{"type":"string","nullable":true},"project_members_api_limit":{"type":"string","nullable":true},"create_organization_api_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},"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},"allow_deploy_tokens_and_keys_with_external_authn":{"type":"string","nullable":true}}},"postApiV4ServiceAccountsRequest":{"type":"object","properties":{"name":{"type":"string","description":"Name of the user","nullable":true},"username":{"type":"string","description":"Username of the user","nullable":true},"email":{"type":"string","description":"Custom email address for the user","nullable":true},"external":{"type":"boolean","description":"Flag indicating the user is an external user","nullable":true}}},"patchApiV4ServiceAccountsUserIdRequest":{"type":"object","properties":{"name":{"type":"string","description":"Name of the user","nullable":true},"username":{"type":"string","description":"Username of the user","nullable":true},"email":{"type":"string","description":"Custom email address for the user","nullable":true},"external":{"type":"boolean","description":"Flag indicating the user is an external user","nullable":true}}},"postApiV4ProjectsIdServiceAccountsRequest":{"type":"object","properties":{"name":{"type":"string","description":"Name of the user","nullable":true},"username":{"type":"string","description":"Username of the user","nullable":true},"email":{"type":"string","description":"Custom email address for the user","nullable":true}}},"patchApiV4ProjectsIdServiceAccountsUserIdRequest":{"type":"object","properties":{"name":{"type":"string","description":"Name of the user","nullable":true},"username":{"type":"string","description":"Username of the user","nullable":true},"email":{"type":"string","description":"Custom email address for the user","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, the date is set to the maximum allowable lifetime limit.","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_virtual_registry","write_virtual_registry","read_observability","write_observability","ai_features","sudo","admin_mode","read_service_ping"]},"description":"The array of scopes of the personal access token"}},"required":["name","scopes"]},"postApiV4ProjectsIdServiceAccountsUserIdPersonalAccessTokensTokenIdRotateRequest":{"type":"object","properties":{"expires_at":{"type":"string","format":"date","description":"The expiration date of the token","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":"Enable/disable this notification","nullable":true},"new_note":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"new_issue":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"reopen_issue":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"close_issue":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"reassign_issue":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"issue_due":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"new_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"push_to_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"reopen_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"close_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"reassign_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"change_reviewer_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"merge_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"failed_pipeline":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"fixed_pipeline":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"success_pipeline":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"moved_project":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"merge_when_pipeline_succeeds":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"new_epic":{"type":"boolean","description":"Enable/disable this notification","nullable":true}}},"putApiV4GroupsIdNotificationSettingsRequest":{"type":"object","properties":{"level":{"type":"string","description":"The group notification level","nullable":true},"new_release":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"new_note":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"new_issue":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"reopen_issue":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"close_issue":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"reassign_issue":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"issue_due":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"new_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"push_to_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"reopen_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"close_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"reassign_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"change_reviewer_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"merge_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"failed_pipeline":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"fixed_pipeline":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"success_pipeline":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"moved_project":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"merge_when_pipeline_succeeds":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"new_epic":{"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":"Enable/disable this notification","nullable":true},"new_note":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"new_issue":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"reopen_issue":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"close_issue":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"reassign_issue":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"issue_due":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"new_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"push_to_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"reopen_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"close_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"reassign_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"change_reviewer_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"merge_merge_request":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"failed_pipeline":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"fixed_pipeline":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"success_pipeline":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"moved_project":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"merge_when_pipeline_succeeds":{"type":"boolean","description":"Enable/disable this notification","nullable":true},"new_epic":{"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.","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.","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`. 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.","nullable":true},"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.","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`. 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.","nullable":true},"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.","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`. 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.","nullable":true},"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.","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`. 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.","nullable":true},"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.","nullable":true},"id":{"oneOf":[{"type":"integer","nullable":true},{"type":"string","nullable":true}],"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 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}}},"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 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}}},"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, the date is set to the maximum allowable lifetime limit.","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_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":"The ID of the label to be updated. Exactly one of `label_id`, `name` must be provided.","nullable":true},"name":{"type":"string","description":"The name of the label to be updated. 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":"The name of the label to be promoted","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":"The ID of the label to be updated. Exactly one of `label_id`, `name` must be provided.","nullable":true},"name":{"type":"string","description":"The name of the label to be updated. 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}}},"putApiV4GroupsIdBoardsBoardIdRequest":{"type":"object","properties":{"name":{"type":"string","description":"The board name","nullable":true},"hide_backlog_list":{"type":"boolean","description":"Hide the Open list","nullable":true},"hide_closed_list":{"type":"boolean","description":"Hide the Closed list","nullable":true}}},"postApiV4GroupsIdBoardsBoardIdListsRequest":{"type":"object","properties":{"label_id":{"type":"integer","description":"The ID of an existing label","nullable":true}},"required":["label_id"]},"putApiV4GroupsIdBoardsBoardIdListsListIdRequest":{"type":"object","properties":{"position":{"type":"integer","description":"The 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. 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. 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 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":"Line number after change","nullable":true},"old_path":{"type":"string","description":"File path before change","nullable":true},"old_line":{"type":"integer","description":"Line number before change","nullable":true},"width":{"type":"integer","description":"Width of the image","nullable":true},"height":{"type":"integer","description":"Height of the image","nullable":true},"x":{"type":"integer","description":"X coordinate in the image","nullable":true},"y":{"type":"integer","description":"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","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","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. 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 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":"Line number after change","nullable":true},"old_path":{"type":"string","description":"File path before change","nullable":true},"old_line":{"type":"integer","description":"Line number before change","nullable":true},"width":{"type":"integer","description":"Width of the image","nullable":true},"height":{"type":"integer","description":"Height of the image","nullable":true},"x":{"type":"integer","description":"X coordinate in the image","nullable":true},"y":{"type":"integer","description":"Y coordinate in the image","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. 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":"The board name","nullable":true},"hide_backlog_list":{"type":"boolean","description":"Hide the Open list","nullable":true},"hide_closed_list":{"type":"boolean","description":"Hide the Closed list","nullable":true}}},"postApiV4ProjectsIdBoardsBoardIdListsRequest":{"type":"object","properties":{"label_id":{"type":"integer","description":"The ID of an existing label","nullable":true}},"required":["label_id"]},"putApiV4ProjectsIdBoardsBoardIdListsListIdRequest":{"type":"object","properties":{"position":{"type":"integer","description":"Position of the list.","nullable":true}},"required":["position"]},"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.","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.","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"]},"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.","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.","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"]},"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.","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.","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}},"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"}},"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.","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":"If defined, sets the 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":"If defined, write requests must be made from the 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":"A custom commit message to use instead of the default generated message or the project's default message","nullable":true}}},"putApiV4SuggestionsBatchApplyRequest":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"integer"},"description":"An array of the suggestion IDs","nullable":true},"commit_message":{"type":"string","description":"A 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.","nullable":true},"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.","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.","nullable":true},"content":{"type":"string","description":"Content of the snippet file.","nullable":true}},"required":["file_path","content"]},"nullable":true},"content":{"type":"string","description":"The content of a snippet. Mutually exclusive with `files`. Exactly one of `files`, `content` must be provided.","nullable":true},"file_name":{"type":"string","description":"The name of a snippet file","nullable":true}},"required":["title","file_name"]},"putApiV4SnippetsIdRequest":{"type":"object","properties":{"content":{"type":"string","description":"The content of a snippet. Mutually exclusive with `files`. At least one of `content`, `description`, `files`, `file_name`, `title`, `visibility` must be provided.","nullable":true},"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. 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.","nullable":true},"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.","nullable":true},"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_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","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_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","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"]},"nullable":true}},"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.","example":"ed899a2f4b50b4370feeea94676502b42383c746","nullable":true},"to":{"type":"string","description":"Last commit in the range of commits, as a SHA, 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","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.","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","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.","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.","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.","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.","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.","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.","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.","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.","default":"other"}}},"postApiV4ProjectsIdReleasesRequest":{"type":"object","properties":{"tag_name":{"type":"string","description":"The tag where 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":"The release name","nullable":true},"description":{"type":"string","description":"The description of the release. You can use Markdown","nullable":true},"ref":{"type":"string","description":"If a tag specified in `tag_name` doesn't exist, the release is created from `ref` and tagged with `tag_name`. It 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":"Link information about the release","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the link. Link names must be unique within the release","nullable":true},"url":{"type":"string","description":"The URL of the link. Link URLs must be unique within the release","nullable":true},"direct_asset_path":{"type":"string","description":"Optional 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.","default":"other"}},"required":["name","url"]},"nullable":true}},"nullable":true},"milestones":{"type":"array","items":{"type":"string"},"description":"The title of each milestone the release is associated with. GitLab Premium customers can specify group milestones. Cannot be combined with `milestone_ids` parameter. Mutually exclusive with `milestone_ids`.","nullable":true},"milestone_ids":{"oneOf":[{"type":"string","nullable":true},{"type":"integer","nullable":true}],"description":"The ID of each milestone the release is associated with. GitLab Premium customers can specify group milestones. Cannot be combined with `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. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). Only provide this field if creating an upcoming or historical release.","nullable":true},"legacy_catalog_publish":{"type":"boolean","description":"If true, the release will be published to the CI catalog. This parameter is for internal use only and will be removed in a future release. If the feature flag ci_release_cli_catalog_publish_option is disabled, this parameter will be ignored and the release will published to the CI catalog as it was before this parameter was introduced.","nullable":true}},"required":["tag_name"]},"putApiV4ProjectsIdReleasesTagNameRequest":{"type":"object","properties":{"name":{"type":"string","description":"The release name","nullable":true},"description":{"type":"string","description":"The description of the release. You can use Markdown","nullable":true},"released_at":{"type":"string","format":"date-time","description":"The date when the release is/was ready. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`)","nullable":true},"milestones":{"type":"array","items":{"type":"string"},"description":"The title of each milestone to associate with the release. GitLab Premium customers can specify group milestones. Cannot be combined with `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":"The ID of each milestone the release is associated with. GitLab Premium customers can specify group milestones. Cannot be combined with `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","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 deploy keys allowed to create protected tags","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.","default":false},"allowed_to_push":{"type":"array","items":{"type":"object"},"description":"Array of push access levels, with each described by a hash of the form `{user_id: integer}`, `{group_id: integer}`, `{deploy_key_id: integer}`, or `{access_level: integer}`.","nullable":true},"allowed_to_merge":{"type":"array","items":{"type":"object"},"description":"Array of merge access levels, with each described by a hash of the form `{user_id: integer}`, `{group_id: integer}`, or `{access_level: integer}`.","nullable":true},"code_owner_approval_required":{"type":"boolean","description":"Whether merge requests into the branch need approval from code owners. Defaults to `true` when the branch is protected. Leave out on update to keep the current value.","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.","nullable":true},"allowed_to_push":{"type":"array","items":{"type":"object"},"description":"Array of push access levels, with each described by a hash of the form `{user_id: integer}`, `{group_id: integer}`, `{deploy_key_id: integer}`, or `{access_level: integer}`.","nullable":true},"allowed_to_merge":{"type":"array","items":{"type":"object"},"description":"Array of merge access levels, with each described by a hash of the form `{user_id: integer}`, `{group_id: integer}`, or `{access_level: integer}`.","nullable":true},"code_owner_approval_required":{"type":"boolean","description":"Whether merge requests into the branch need approval from code owners. Defaults to `true` when the branch is protected. Leave out on update to keep the current value.","nullable":true}}},"putApiV4ProjectsIdCustomAttributesKeyRequest":{"type":"object","properties":{"value":{"type":"string","description":"The value of the custom attribute","nullable":true}},"required":["value"]},"postApiV4ProjectsRequest":{"type":"object","properties":{"name":{"type":"string","description":"The name of the project. At least one of `name`, `path` must be provided.","example":"New Project","nullable":true},"path":{"type":"string","description":"The path of the repository. 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","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":"Build timeout","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","nullable":true},"merge_requests_enabled":{"type":"boolean","description":"Flag indication if merge requests are enabled","nullable":true},"wiki_enabled":{"type":"boolean","description":"Flag indication if the wiki is enabled","nullable":true},"jobs_enabled":{"type":"boolean","description":"Flag indication if jobs are enabled","nullable":true},"snippets_enabled":{"type":"boolean","description":"Flag indication if snippets are enabled","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","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","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":"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: 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":"Deprecated: Use public_jobs instead.","nullable":true},"public_jobs":{"type":"boolean","description":"Perform public builds","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":"Deprecated: Use :topics instead","nullable":true},"topics":{"type":"array","items":{"type":"string"},"description":"The list of topics for a project","nullable":true},"avatar":{"type":"string","format":"binary","description":"Avatar image for project","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 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","nullable":true},"mr_default_title_template":{"type":"string","description":"Template used to generate the default merge request title. Maximum 100 characters.","nullable":true,"maxLength":100},"cicd_catalog_enabled":{"type":"boolean","description":"Set whether the project is a CI/CD catalog project","nullable":true},"repository_object_format":{"type":"string","enum":["sha1","sha256"],"description":"The object format of the project repository","nullable":true},"initialize_with_readme":{"type":"boolean","description":"Initialize a project with a README.md","nullable":true},"merge_request_title_regex":{"type":"string","description":"Regex pattern for validating merge request titles. All or none of `merge_request_title_regex`, `merge_request_title_regex_description` must be provided.","nullable":true,"maxLength":255},"merge_request_title_regex_description":{"type":"string","description":"Example merge request title that matches merge_request_title_regex. Shown when a title does not match. All or none of `merge_request_title_regex`, `merge_request_title_regex_description` must be provided.","nullable":true,"maxLength":255},"namespace_id":{"type":"integer","description":"Namespace ID for the new project. Default to the user namespace.","nullable":true},"import_url":{"type":"string","description":"URL from which the project is imported. Mutually exclusive with `template_name`, `template_project_id`.","nullable":true},"template_name":{"type":"string","description":"Name of template from which to create project. 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. 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","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":"Build timeout","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","nullable":true},"merge_requests_enabled":{"type":"boolean","description":"Flag indication if merge requests are enabled","nullable":true},"wiki_enabled":{"type":"boolean","description":"Flag indication if the wiki is enabled","nullable":true},"jobs_enabled":{"type":"boolean","description":"Flag indication if jobs are enabled","nullable":true},"snippets_enabled":{"type":"boolean","description":"Flag indication if snippets are enabled","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","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","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":"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: 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":"Deprecated: Use public_jobs instead.","nullable":true},"public_jobs":{"type":"boolean","description":"Perform public builds","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":"Deprecated: Use :topics instead","nullable":true},"topics":{"type":"array","items":{"type":"string"},"description":"The list of topics for a project","nullable":true},"avatar":{"type":"string","format":"binary","description":"Avatar image for project","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 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","nullable":true},"mr_default_title_template":{"type":"string","description":"Template used to generate the default merge request title. Maximum 100 characters.","nullable":true,"maxLength":100},"cicd_catalog_enabled":{"type":"boolean","description":"Set whether the project is a CI/CD catalog project","nullable":true},"repository_object_format":{"type":"string","enum":["sha1","sha256"],"description":"The object format of the project repository","nullable":true},"initialize_with_readme":{"type":"boolean","description":"Initialize a project with a README.md","nullable":true},"merge_request_title_regex":{"type":"string","description":"Regex pattern for validating merge request titles. All or none of `merge_request_title_regex`, `merge_request_title_regex_description` must be provided.","nullable":true,"maxLength":255},"merge_request_title_regex_description":{"type":"string","description":"Example merge request title that matches merge_request_title_regex. Shown when a title does not match. All or none of `merge_request_title_regex`, `merge_request_title_regex_description` must be provided.","nullable":true,"maxLength":255},"namespace_id":{"type":"integer","description":"Namespace ID for the new project. Default to the user namespace.","nullable":true},"import_url":{"type":"string","description":"URL from which the project is imported. Mutually exclusive with `template_name`, `template_project_id`.","nullable":true},"template_name":{"type":"string","description":"Name of template from which to create project. 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. 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":"Build timeout","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","nullable":true},"merge_requests_enabled":{"type":"boolean","description":"Flag indication if merge requests are enabled","nullable":true},"wiki_enabled":{"type":"boolean","description":"Flag indication if the wiki is enabled","nullable":true},"jobs_enabled":{"type":"boolean","description":"Flag indication if jobs are enabled","nullable":true},"snippets_enabled":{"type":"boolean","description":"Flag indication if snippets are enabled","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","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","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":"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: 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":"Deprecated: Use public_jobs instead.","nullable":true},"public_jobs":{"type":"boolean","description":"Perform public builds","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":"Deprecated: Use :topics instead","nullable":true},"topics":{"type":"array","items":{"type":"string"},"description":"The list of topics for a project","nullable":true},"avatar":{"type":"string","format":"binary","description":"Avatar image for project","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 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","nullable":true},"mr_default_title_template":{"type":"string","description":"Template used to generate the default merge request title. Maximum 100 characters.","nullable":true,"maxLength":100},"cicd_catalog_enabled":{"type":"boolean","description":"Set whether the project is a CI/CD catalog project","nullable":true},"ci_default_git_depth":{"type":"integer","description":"Default number of revisions 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":"Restrict use of user-defined variables when triggering a pipeline","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","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.","nullable":true},"ci_id_token_sub_claim_components":{"type":"array","items":{"type":"string"},"description":"Claims that will be used to build the sub claim in id tokens","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 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","nullable":true},"ci_display_pipeline_variables":{"type":"boolean","description":"Display all manually-defined variables in the pipeline details page after running a pipeline manually","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","nullable":true},"automatic_rebase_enabled":{"type":"boolean","description":"Enable automatic rebase of the source branch before merge","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","nullable":true},"merge_request_title_regex":{"type":"string","description":"Regex pattern for validating merge request titles.","nullable":true,"maxLength":255},"merge_request_title_regex_description":{"type":"string","description":"Example merge request title that matches merge_request_title_regex. Shown when a title does not match.","nullable":true,"maxLength":255},"allow_pipeline_trigger_approve_deployment":{"type":"boolean","description":"Allow the pipeline triggerer to approve deployments.","nullable":true},"merge_pipelines_enabled":{"type":"boolean","description":"Enable or disable merged results pipelines.","nullable":true},"merge_trains_enabled":{"type":"boolean","description":"Enable or disable merge trains.","nullable":true},"merge_trains_skip_train_allowed":{"type":"boolean","description":"Allow merge requests to merge immediately without restarting the merge train.","nullable":true},"max_pipelines_per_merge_train":{"type":"integer","description":"Set the maximum number of parallel pipelines for a merge train.","nullable":true},"merge_train_enforced":{"type":"boolean","description":"Require merge requests to merge through a merge train.","nullable":true},"jaga_task_required_to_merge":{"type":"boolean","description":"Require the merge request title or description to name a Jaga task. Ignored unless the project has an active Jaga integration.","nullable":true},"fe_project_setting_attributes":{"type":"object","description":"FE project settings attributes","properties":{"opensearch_indexed_branches_regex":{"type":"string","description":"Regex for indexing additional branches in OpenSearch (default branch is always indexed)","nullable":true}},"nullable":true},"merge_requests_template":{"type":"string","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.","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}},"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.","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.","nullable":true},"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.","nullable":true},"content":{"type":"string","description":"Content of the snippet file.","nullable":true}},"required":["file_path","content"]},"nullable":true},"content":{"type":"string","description":"The content of a snippet. Mutually exclusive with `files`. Exactly one of `files`, `content` must be provided.","nullable":true},"file_name":{"type":"string","description":"The name of a snippet file","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.","nullable":true},"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.","nullable":true},"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.","nullable":true},"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","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","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.","nullable":true}},"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,"nullable":true}},"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,"nullable":true}},"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. 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. 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. 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","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":"Build timeout","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","nullable":true},"merge_requests_enabled":{"type":"boolean","description":"Flag indication if merge requests are enabled","nullable":true},"wiki_enabled":{"type":"boolean","description":"Flag indication if the wiki is enabled","nullable":true},"jobs_enabled":{"type":"boolean","description":"Flag indication if jobs are enabled","nullable":true},"snippets_enabled":{"type":"boolean","description":"Flag indication if snippets are enabled","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","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","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":"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: 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":"Deprecated: Use public_jobs instead.","nullable":true},"public_jobs":{"type":"boolean","description":"Perform public builds","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":"Deprecated: Use :topics instead","nullable":true},"topics":{"type":"array","items":{"type":"string"},"description":"The list of topics for a project","nullable":true},"avatar":{"type":"string","format":"binary","description":"Avatar image for project","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 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","nullable":true},"mr_default_title_template":{"type":"string","description":"Template used to generate the default merge request title. Maximum 100 characters.","nullable":true,"maxLength":100},"cicd_catalog_enabled":{"type":"boolean","description":"Set whether the project is a CI/CD catalog project","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. 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. 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. 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","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":"Build timeout","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","nullable":true},"merge_requests_enabled":{"type":"boolean","description":"Flag indication if merge requests are enabled","nullable":true},"wiki_enabled":{"type":"boolean","description":"Flag indication if the wiki is enabled","nullable":true},"jobs_enabled":{"type":"boolean","description":"Flag indication if jobs are enabled","nullable":true},"snippets_enabled":{"type":"boolean","description":"Flag indication if snippets are enabled","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","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","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":"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: 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":"Deprecated: Use public_jobs instead.","nullable":true},"public_jobs":{"type":"boolean","description":"Perform public builds","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":"Deprecated: Use :topics instead","nullable":true},"topics":{"type":"array","items":{"type":"string"},"description":"The list of topics for a project","nullable":true},"avatar":{"type":"string","format":"binary","description":"Avatar image for project","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 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","nullable":true},"mr_default_title_template":{"type":"string","description":"Template used to generate the default merge request title. Maximum 100 characters.","nullable":true,"maxLength":100},"cicd_catalog_enabled":{"type":"boolean","description":"Set whether the project is a CI/CD catalog project","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. 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. 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. 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","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":"Build timeout","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","nullable":true},"merge_requests_enabled":{"type":"boolean","description":"Flag indication if merge requests are enabled","nullable":true},"wiki_enabled":{"type":"boolean","description":"Flag indication if the wiki is enabled","nullable":true},"jobs_enabled":{"type":"boolean","description":"Flag indication if jobs are enabled","nullable":true},"snippets_enabled":{"type":"boolean","description":"Flag indication if snippets are enabled","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","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","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":"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: 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":"Deprecated: Use public_jobs instead.","nullable":true},"public_jobs":{"type":"boolean","description":"Perform public builds","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":"Deprecated: Use :topics instead","nullable":true},"topics":{"type":"array","items":{"type":"string"},"description":"The list of topics for a project","nullable":true},"avatar":{"type":"string","format":"binary","description":"Avatar image for project","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 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","nullable":true},"mr_default_title_template":{"type":"string","description":"Template used to generate the default merge request title. Maximum 100 characters.","nullable":true,"maxLength":100},"cicd_catalog_enabled":{"type":"boolean","description":"Set whether the project is a CI/CD catalog project","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.","default":"PUT"}},"nullable":true},"excluded_relations":{"type":"array","items":{"type":"string"},"description":"Project relation names to exclude from the export, for example `merge_requests` and `issues`.","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.","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.","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.","default":"*"},"namespace_per_environment":{"type":"boolean","description":"If `true`, deploys each environment to a separate Kubernetes namespace.","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.","default":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},"authorization_type":{"type":"string","enum":["unknown_authorization","rbac","abac"],"description":"Cluster authorization type.","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"]},"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":"Use path-style URLs instead of virtual-hosted-style URLs","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":"Use path-style URLs instead of virtual-hosted-style URLs","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":"Use path-style URLs instead of virtual-hosted-style URLs","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":"Use path-style URLs instead of virtual-hosted-style URLs","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":"Use path-style URLs instead of virtual-hosted-style URLs","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":"Use path-style URLs instead of virtual-hosted-style URLs","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"]},"nullable":true},"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"]},"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","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}},"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"]},"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}}},"postApiV4ProjectsIdMergeRequestsMergeRequestIidTimeEstimateRequest":{"type":"object","properties":{"duration":{"type":"string","description":"The duration in human format.","example":"3h30m","nullable":true}},"required":["duration"]},"postApiV4ProjectsIdMergeRequestsMergeRequestIidAddSpentTimeRequest":{"type":"object","properties":{"duration":{"type":"string","description":"The duration in human format.","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. 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","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}},"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.","nullable":true},"target_branch":{"type":"string","description":"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},"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. 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","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}}},"postApiV4ProjectsIdMergeRequestsMergeRequestIidContextCommitsRequest":{"type":"object","properties":{"commits":{"type":"array","items":{"type":"string"},"description":"Context commits' SHAs.","nullable":true}},"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.","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`, avoids restarting the merge train when merging immediately.","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.","nullable":true},"user_id":{"oneOf":[{"type":"integer","nullable":true},{"type":"string","nullable":true}],"description":"The user ID of the new member or multiple IDs separated by commas. Mutually exclusive with `username`. At least one of `user_id`, `username` must be provided."},"username":{"type":"string","description":"The username of the new member or multiple usernames separated by commas. 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 that triggered the member creation process","default":"members-api"}},"required":["access_level"]},"putApiV4GroupsIdMembersUserIdRequest":{"type":"object","properties":{"access_level":{"type":"integer","description":"A valid access level","nullable":true},"expires_at":{"type":"string","format":"date-time","description":"Date string in the format YEAR-MONTH-DAY","nullable":true}},"required":["access_level"]},"postApiV4ProjectsIdMembersRequest":{"type":"object","properties":{"access_level":{"type":"integer","description":"A valid access level.","nullable":true},"user_id":{"oneOf":[{"type":"integer","nullable":true},{"type":"string","nullable":true}],"description":"The user ID of the new member or multiple IDs separated by commas. Mutually exclusive with `username`. At least one of `user_id`, `username` must be provided."},"username":{"type":"string","description":"The username of the new member or multiple usernames separated by commas. 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 that triggered the member creation process","default":"members-api"}},"required":["access_level"]},"putApiV4ProjectsIdMembersUserIdRequest":{"type":"object","properties":{"access_level":{"type":"integer","description":"A valid access level","nullable":true},"expires_at":{"type":"string","format":"date-time","description":"Date string in the format YEAR-MONTH-DAY","nullable":true}},"required":["access_level"]},"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","nullable":true}},"required":["file"]},"postApiV4GroupsIdUploadsRequest":{"type":"object","properties":{"file":{"type":"string","format":"binary","description":"The file to upload","nullable":true}},"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.","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.","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":"The duration in human format.","example":"3h30m","nullable":true}},"required":["duration"]},"postApiV4ProjectsIdIssuesIssueIidAddSpentTimeRequest":{"type":"object","properties":{"duration":{"type":"string","description":"The duration in human format.","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.","nullable":true},"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}},"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` 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.","nullable":true},"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` 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` 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` 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` 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` 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` 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` 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` 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` 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` 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` 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` must be provided.","nullable":true},"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` 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` 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` 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` 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/).","default":false}},"required":["to_project_id"]},"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.","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],"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.","default":"invitations-api"}},"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).","nullable":true},"expires_at":{"type":"string","format":"date-time","description":"Date when the invitation expires.","nullable":true}}},"postApiV4ProjectsIdInvitationsRequest":{"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)."},"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.","default":"invitations-api"}},"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).","nullable":true},"expires_at":{"type":"string","format":"date-time","description":"Date when the invitation expires.","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 Deckhouse Code 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 Deckhouse Code 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},"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},"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},"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 Deckhouse Code 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 Deckhouse Code 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](https://docs.gitlab.com/integration/jira/issues/#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 Deckhouse Code.","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 Deckhouse Code. It does not restrict the API token's access.","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 Deckhouse Code 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":"Custom hostname of the Matrix server. 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},"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},"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},"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},"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},"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},"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"]},"putApiV4ProjectsIdServicesDefectDojoRequest":{"type":"object","properties":{"url":{"type":"string","description":"Base URL of your DefectDojo instance.","nullable":true},"api_token":{"type":"string","description":"Token used to authenticate with the DefectDojo API.","nullable":true},"tls_mode":{"type":"string","description":"How this instance decides whether to trust the DefectDojo server. Unlike a scan, this connection is made from here rather than from a job, so verification can be turned off -- which leaves the upload open to interception, and the reports carry everything the scanners found.","nullable":true},"ca_cert":{"type":"string","description":"PEM certificate of the authority that signed the server's certificate. Used only when the trust setting above says so.","nullable":true},"product_name":{"type":"string","description":"DefectDojo product. Leave blank to use the project full path.","nullable":true},"product_type_name":{"type":"string","description":"DefectDojo product type for the products the import creates. Required when automatic context creation is on.","nullable":true},"engagement_name":{"type":"string","description":"DefectDojo engagement. Leave blank to use the branch name.","nullable":true},"minimum_severity":{"type":"string","description":"Ignore findings below this severity on import.","nullable":true},"auto_create_context":{"type":"boolean","nullable":true},"findings_active":{"type":"boolean","nullable":true},"findings_verified":{"type":"boolean","nullable":true},"close_old_findings":{"type":"boolean","nullable":true},"use_inherited_settings":{"type":"boolean","description":"Indicates whether to inherit the default settings. Defaults to `false`.","nullable":true}},"required":["url","api_token"]},"putApiV4ProjectsIdServicesPtaiRequest":{"type":"object","properties":{"ptai_server_url":{"type":"string","description":"Base URL of the PT Application Inspector server. Changing it clears the saved API token: enter the token again.","nullable":true},"ptai_token":{"type":"string","description":"API token used to authenticate with the PT Application Inspector server.","nullable":true},"ptai_tls_mode":{"type":"string","description":"Use the certificates of the job image when they already cover the server. Otherwise paste the certificate authority below.","nullable":true},"ptai_ca_cert":{"type":"string","description":"PEM certificate of the authority that signed the server's certificate. Used only when the trust setting above says so.","nullable":true},"ptai_image":{"type":"string","description":"The image the PT AI scan job runs in: the whole reference, with a tag or a digest. A new integration is filled in with the image this product ships. It needs aictl, ruby and mktemp, and curl, python3 or wget when the policy reads its settings file from another project. For an image in a private registry, set the registry login and password below.","nullable":true},"ptai_registry_login_variable":{"type":"string","description":"Optional. The login for the registry the scan job image is pulled from, or the CI/CD variable holding it, such as $SCANNER_REGISTRY_USER. Without both the login and the password the image is pulled without credentials.","nullable":true},"ptai_registry_password_variable":{"type":"string","description":"The password or token for that registry, or the masked CI/CD variable holding it, such as $SCANNER_REGISTRY_PASSWORD. It is not shown again after saving.","nullable":true},"ptai_registry_expand_variables":{"type":"boolean","description":"On: both are references to CI/CD variables of the scanned project or its group, written as $NAME or ${NAME}. Off: both are used as they are. If the password contains a $, turn this off: otherwise $... is taken for the name of a variable.","nullable":true},"use_inherited_settings":{"type":"boolean","description":"Indicates whether to inherit the default settings. Defaults to `false`.","nullable":true}},"required":["ptai_server_url","ptai_token","ptai_image"]},"putApiV4ProjectsIdServicesCodeScoringRequest":{"type":"object","properties":{"codescoring_url":{"type":"string","description":"Base URL of the CodeScoring instance.","nullable":true},"codescoring_token":{"type":"string","description":"API token to authenticate and download the Johnny agent.","nullable":true},"codescoring_tls_mode":{"type":"string","description":"How the scan job decides whether to trust the CodeScoring server. It applies to the requests the job makes with curl -- fetching the agent, and the connection test above. The johnny agent itself does not verify the certificate at all and offers no way to make it, so nothing here changes what the scan itself trusts.","nullable":true},"codescoring_ca_cert":{"type":"string","description":"PEM certificate of the authority that signed the server's certificate. Used only when the trust setting above says so.","nullable":true},"codescoring_agent_image":{"type":"string","description":"The image the CodeScoring scan jobs run in, with registry and tag or digest. A new integration is filled in with the image this product ships. It needs curl, ca-certificates, jq, ruby and git; the johnny agent is downloaded into it at run time. For an image in a private registry, set the registry login and password below.","nullable":true},"codescoring_registry_login_variable":{"type":"string","description":"Optional. The login for the registry the scan job image is pulled from, or the CI/CD variable holding it, such as $SCANNER_REGISTRY_USER. Without both the login and the password the image is pulled without credentials.","nullable":true},"codescoring_registry_password_variable":{"type":"string","description":"The password or token for that registry, or the masked CI/CD variable holding it, such as $SCANNER_REGISTRY_PASSWORD. It is not shown again after saving.","nullable":true},"codescoring_registry_expand_variables":{"type":"boolean","description":"On: both are references to CI/CD variables of the scanned project or its group, written as $NAME or ${NAME}. Off: both are used as they are. If the password contains a $, turn this off: otherwise $... is taken for the name of a variable.","nullable":true},"codescoring_cloud_resolve":{"type":"boolean","description":"Let the CodeScoring server work out the dependency tree instead of the runner. The only resolver that needs no package manager in the scan job image, and it finds the transitive packages a manifest read misses. Known cost: the server currently returns the vulnerability report empty when this is on, so findings reach the tests summary but not the vulnerability report. Leave it off unless the dependency list matters more.","nullable":true},"codescoring_extra_args":{"type":"string","description":"Optional. Passed to the agent as written, for options this form does not name, such as per-manager arguments. A setting above wins over the same option written here.","nullable":true},"codescoring_stage":{"type":"string","description":"The policy stage this scan reports as. The agent takes one, so the scan reports as one. Defaults to \"build\".","nullable":true},"codescoring_scan_mode":{"type":"string","description":"What to scan: a source directory, a container image, or an existing CycloneDX document. Defaults to the source directory.","nullable":true},"codescoring_scan_target":{"type":"string","description":"Optional. Directory, image reference or SBOM path, depending on the scan mode. Defaults to the whole checkout.","nullable":true},"codescoring_ignore_paths":{"type":"string","description":"Optional. One glob per line. Keeps test fixtures and vendored trees out of the results.","nullable":true},"codescoring_bom_format":{"type":"string","description":"Optional. Which CycloneDX version the bill of materials is written in. They all list the same components: pick an older version for a tool downstream that needs one, or the extended 1.6 for CodeScoring's own GOST properties. A Scan Execution Policy can name a format of its own, which wins. Left empty here and in the policy, the scan jobs write CycloneDX 1.6 JSON.","nullable":true},"use_inherited_settings":{"type":"boolean","description":"Indicates whether to inherit the default settings. Defaults to `false`.","nullable":true}},"required":["codescoring_url","codescoring_token","codescoring_agent_image"]},"putApiV4ProjectsIdServicesAppsecHubRequest":{"type":"object","properties":{"url":{"type":"string","description":"Base URL of your AppSec.Hub server. If you change it, enter the API token again.","nullable":true},"api_token":{"type":"string","description":"Token of the AppSec.Hub user this integration acts as. It needs permission to read and create applications and to read the tools of an application.","nullable":true},"tls_mode":{"type":"string","description":"How this instance decides whether to trust the AppSec.Hub server. The connection is made from here, not from a job, so verification can be turned off -- which leaves the API token open to interception. If you change this setting, enter the API token again.","nullable":true},"ca_cert":{"type":"string","description":"PEM certificate of the authority that signed the server's certificate. Used only when the trust setting above says so. If you change it, enter the API token again.","nullable":true},"app_code":{"type":"string","description":"Code of the application in AppSec.Hub. Leave blank to use the project path slug, the same value as CI_PROJECT_PATH_SLUG. Enter the code of an existing application to link to it. If you change it, enter the API token again.","nullable":true},"clone_protocol":{"type":"string","description":"The project address AppSec.Hub clones from. AppSec.Hub signs in with the credentials of the tool that serves this address. An AppSec.Hub administrator sets them up.","nullable":true},"registry_source":{"type":"string","description":"The registry the project's pipeline pushes its images to. The image scan hands AppSec.Hub the images there, and AppSec.Hub signs in with the credentials of its tool that serves the registry. An AppSec.Hub administrator sets them up.","nullable":true},"external_registry_image":{"type":"string","description":"The image repository in the external registry, the way docker pull names it, without a tag: a host, with a port if the registry has one, then the path. The image scan reads $CI_REGISTRY_IMAGE as this address.","nullable":true},"use_inherited_settings":{"type":"boolean","description":"Indicates whether to inherit the default settings. Defaults to `false`.","nullable":true}},"required":["url","api_token"]},"putApiV4ProjectsIdServicesJagaRequest":{"type":"object","properties":{"url":{"type":"string","description":"Base URL of Jaga. With http://, the password and the tokens are sent unencrypted.","nullable":true},"api_url":{"type":"string","description":"If different from the Web URL followed by /backend.","nullable":true},"jaga_username":{"type":"string","description":"Email of the Jaga user the integration acts as.","nullable":true},"jaga_password":{"type":"string","description":"Password of that Jaga user.","nullable":true},"jaga_issue_regex":{"type":"string","description":"Regular expression in RE2 syntax that matches Jaga task codes. If empty, codes like ASDF-1 are matched.","nullable":true},"jaga_issue_prefix":{"type":"string","description":"Text that must come right before a task code.","nullable":true},"commit_events":{"type":"boolean","nullable":true},"merge_requests_events":{"type":"boolean","nullable":true},"issues_events":{"type":"boolean","nullable":true},"comment_detail":{"type":"string","nullable":true},"jaga_smart_commits_enabled":{"type":"boolean","nullable":true},"jaga_smart_commit_comment":{"type":"boolean","nullable":true},"jaga_smart_commit_status":{"type":"boolean","nullable":true},"jaga_smart_commit_time":{"type":"boolean","nullable":true},"jaga_time_activity_type":{"type":"string","description":"Jaga activity type code the time is logged with, for example develop.","nullable":true},"jaga_issue_transition_automatic":{"type":"boolean","nullable":true},"jaga_issue_transition_statuses":{"type":"string","description":"Status names in workflow order, separated by commas. The task is moved along them, as far as it can go at each step, until it is done. Used when the automatic transition is off. Leave both empty to keep task statuses unchanged.","nullable":true},"use_inherited_settings":{"type":"boolean","description":"Indicates whether to inherit the default settings. Defaults to `false`.","nullable":true}},"required":["url","jaga_username","jaga_password"]},"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 Deckhouse Code 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 Deckhouse Code 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},"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},"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},"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 Deckhouse Code 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 Deckhouse Code 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](https://docs.gitlab.com/integration/jira/issues/#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 Deckhouse Code.","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 Deckhouse Code. It does not restrict the API token's access.","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 Deckhouse Code 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":"Custom hostname of the Matrix server. 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},"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},"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},"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},"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},"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},"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"]},"putApiV4ProjectsIdIntegrationsDefectDojoRequest":{"type":"object","properties":{"url":{"type":"string","description":"Base URL of your DefectDojo instance.","nullable":true},"api_token":{"type":"string","description":"Token used to authenticate with the DefectDojo API.","nullable":true},"tls_mode":{"type":"string","description":"How this instance decides whether to trust the DefectDojo server. Unlike a scan, this connection is made from here rather than from a job, so verification can be turned off -- which leaves the upload open to interception, and the reports carry everything the scanners found.","nullable":true},"ca_cert":{"type":"string","description":"PEM certificate of the authority that signed the server's certificate. Used only when the trust setting above says so.","nullable":true},"product_name":{"type":"string","description":"DefectDojo product. Leave blank to use the project full path.","nullable":true},"product_type_name":{"type":"string","description":"DefectDojo product type for the products the import creates. Required when automatic context creation is on.","nullable":true},"engagement_name":{"type":"string","description":"DefectDojo engagement. Leave blank to use the branch name.","nullable":true},"minimum_severity":{"type":"string","description":"Ignore findings below this severity on import.","nullable":true},"auto_create_context":{"type":"boolean","nullable":true},"findings_active":{"type":"boolean","nullable":true},"findings_verified":{"type":"boolean","nullable":true},"close_old_findings":{"type":"boolean","nullable":true},"use_inherited_settings":{"type":"boolean","description":"Indicates whether to inherit the default settings. Defaults to `false`.","nullable":true}},"required":["url","api_token"]},"putApiV4ProjectsIdIntegrationsPtaiRequest":{"type":"object","properties":{"ptai_server_url":{"type":"string","description":"Base URL of the PT Application Inspector server. Changing it clears the saved API token: enter the token again.","nullable":true},"ptai_token":{"type":"string","description":"API token used to authenticate with the PT Application Inspector server.","nullable":true},"ptai_tls_mode":{"type":"string","description":"Use the certificates of the job image when they already cover the server. Otherwise paste the certificate authority below.","nullable":true},"ptai_ca_cert":{"type":"string","description":"PEM certificate of the authority that signed the server's certificate. Used only when the trust setting above says so.","nullable":true},"ptai_image":{"type":"string","description":"The image the PT AI scan job runs in: the whole reference, with a tag or a digest. A new integration is filled in with the image this product ships. It needs aictl, ruby and mktemp, and curl, python3 or wget when the policy reads its settings file from another project. For an image in a private registry, set the registry login and password below.","nullable":true},"ptai_registry_login_variable":{"type":"string","description":"Optional. The login for the registry the scan job image is pulled from, or the CI/CD variable holding it, such as $SCANNER_REGISTRY_USER. Without both the login and the password the image is pulled without credentials.","nullable":true},"ptai_registry_password_variable":{"type":"string","description":"The password or token for that registry, or the masked CI/CD variable holding it, such as $SCANNER_REGISTRY_PASSWORD. It is not shown again after saving.","nullable":true},"ptai_registry_expand_variables":{"type":"boolean","description":"On: both are references to CI/CD variables of the scanned project or its group, written as $NAME or ${NAME}. Off: both are used as they are. If the password contains a $, turn this off: otherwise $... is taken for the name of a variable.","nullable":true},"use_inherited_settings":{"type":"boolean","description":"Indicates whether to inherit the default settings. Defaults to `false`.","nullable":true}},"required":["ptai_server_url","ptai_token","ptai_image"]},"putApiV4ProjectsIdIntegrationsCodeScoringRequest":{"type":"object","properties":{"codescoring_url":{"type":"string","description":"Base URL of the CodeScoring instance.","nullable":true},"codescoring_token":{"type":"string","description":"API token to authenticate and download the Johnny agent.","nullable":true},"codescoring_tls_mode":{"type":"string","description":"How the scan job decides whether to trust the CodeScoring server. It applies to the requests the job makes with curl -- fetching the agent, and the connection test above. The johnny agent itself does not verify the certificate at all and offers no way to make it, so nothing here changes what the scan itself trusts.","nullable":true},"codescoring_ca_cert":{"type":"string","description":"PEM certificate of the authority that signed the server's certificate. Used only when the trust setting above says so.","nullable":true},"codescoring_agent_image":{"type":"string","description":"The image the CodeScoring scan jobs run in, with registry and tag or digest. A new integration is filled in with the image this product ships. It needs curl, ca-certificates, jq, ruby and git; the johnny agent is downloaded into it at run time. For an image in a private registry, set the registry login and password below.","nullable":true},"codescoring_registry_login_variable":{"type":"string","description":"Optional. The login for the registry the scan job image is pulled from, or the CI/CD variable holding it, such as $SCANNER_REGISTRY_USER. Without both the login and the password the image is pulled without credentials.","nullable":true},"codescoring_registry_password_variable":{"type":"string","description":"The password or token for that registry, or the masked CI/CD variable holding it, such as $SCANNER_REGISTRY_PASSWORD. It is not shown again after saving.","nullable":true},"codescoring_registry_expand_variables":{"type":"boolean","description":"On: both are references to CI/CD variables of the scanned project or its group, written as $NAME or ${NAME}. Off: both are used as they are. If the password contains a $, turn this off: otherwise $... is taken for the name of a variable.","nullable":true},"codescoring_cloud_resolve":{"type":"boolean","description":"Let the CodeScoring server work out the dependency tree instead of the runner. The only resolver that needs no package manager in the scan job image, and it finds the transitive packages a manifest read misses. Known cost: the server currently returns the vulnerability report empty when this is on, so findings reach the tests summary but not the vulnerability report. Leave it off unless the dependency list matters more.","nullable":true},"codescoring_extra_args":{"type":"string","description":"Optional. Passed to the agent as written, for options this form does not name, such as per-manager arguments. A setting above wins over the same option written here.","nullable":true},"codescoring_stage":{"type":"string","description":"The policy stage this scan reports as. The agent takes one, so the scan reports as one. Defaults to \"build\".","nullable":true},"codescoring_scan_mode":{"type":"string","description":"What to scan: a source directory, a container image, or an existing CycloneDX document. Defaults to the source directory.","nullable":true},"codescoring_scan_target":{"type":"string","description":"Optional. Directory, image reference or SBOM path, depending on the scan mode. Defaults to the whole checkout.","nullable":true},"codescoring_ignore_paths":{"type":"string","description":"Optional. One glob per line. Keeps test fixtures and vendored trees out of the results.","nullable":true},"codescoring_bom_format":{"type":"string","description":"Optional. Which CycloneDX version the bill of materials is written in. They all list the same components: pick an older version for a tool downstream that needs one, or the extended 1.6 for CodeScoring's own GOST properties. A Scan Execution Policy can name a format of its own, which wins. Left empty here and in the policy, the scan jobs write CycloneDX 1.6 JSON.","nullable":true},"use_inherited_settings":{"type":"boolean","description":"Indicates whether to inherit the default settings. Defaults to `false`.","nullable":true}},"required":["codescoring_url","codescoring_token","codescoring_agent_image"]},"putApiV4ProjectsIdIntegrationsAppsecHubRequest":{"type":"object","properties":{"url":{"type":"string","description":"Base URL of your AppSec.Hub server. If you change it, enter the API token again.","nullable":true},"api_token":{"type":"string","description":"Token of the AppSec.Hub user this integration acts as. It needs permission to read and create applications and to read the tools of an application.","nullable":true},"tls_mode":{"type":"string","description":"How this instance decides whether to trust the AppSec.Hub server. The connection is made from here, not from a job, so verification can be turned off -- which leaves the API token open to interception. If you change this setting, enter the API token again.","nullable":true},"ca_cert":{"type":"string","description":"PEM certificate of the authority that signed the server's certificate. Used only when the trust setting above says so. If you change it, enter the API token again.","nullable":true},"app_code":{"type":"string","description":"Code of the application in AppSec.Hub. Leave blank to use the project path slug, the same value as CI_PROJECT_PATH_SLUG. Enter the code of an existing application to link to it. If you change it, enter the API token again.","nullable":true},"clone_protocol":{"type":"string","description":"The project address AppSec.Hub clones from. AppSec.Hub signs in with the credentials of the tool that serves this address. An AppSec.Hub administrator sets them up.","nullable":true},"registry_source":{"type":"string","description":"The registry the project's pipeline pushes its images to. The image scan hands AppSec.Hub the images there, and AppSec.Hub signs in with the credentials of its tool that serves the registry. An AppSec.Hub administrator sets them up.","nullable":true},"external_registry_image":{"type":"string","description":"The image repository in the external registry, the way docker pull names it, without a tag: a host, with a port if the registry has one, then the path. The image scan reads $CI_REGISTRY_IMAGE as this address.","nullable":true},"use_inherited_settings":{"type":"boolean","description":"Indicates whether to inherit the default settings. Defaults to `false`.","nullable":true}},"required":["url","api_token"]},"putApiV4ProjectsIdIntegrationsJagaRequest":{"type":"object","properties":{"url":{"type":"string","description":"Base URL of Jaga. With http://, the password and the tokens are sent unencrypted.","nullable":true},"api_url":{"type":"string","description":"If different from the Web URL followed by /backend.","nullable":true},"jaga_username":{"type":"string","description":"Email of the Jaga user the integration acts as.","nullable":true},"jaga_password":{"type":"string","description":"Password of that Jaga user.","nullable":true},"jaga_issue_regex":{"type":"string","description":"Regular expression in RE2 syntax that matches Jaga task codes. If empty, codes like ASDF-1 are matched.","nullable":true},"jaga_issue_prefix":{"type":"string","description":"Text that must come right before a task code.","nullable":true},"commit_events":{"type":"boolean","nullable":true},"merge_requests_events":{"type":"boolean","nullable":true},"issues_events":{"type":"boolean","nullable":true},"comment_detail":{"type":"string","nullable":true},"jaga_smart_commits_enabled":{"type":"boolean","nullable":true},"jaga_smart_commit_comment":{"type":"boolean","nullable":true},"jaga_smart_commit_status":{"type":"boolean","nullable":true},"jaga_smart_commit_time":{"type":"boolean","nullable":true},"jaga_time_activity_type":{"type":"string","description":"Jaga activity type code the time is logged with, for example develop.","nullable":true},"jaga_issue_transition_automatic":{"type":"boolean","nullable":true},"jaga_issue_transition_statuses":{"type":"string","description":"Status names in workflow order, separated by commas. The task is moved along them, as far as it can go at each step, until it is done. Used when the automatic transition is off. Leave both empty to keep task statuses unchanged.","nullable":true},"use_inherited_settings":{"type":"boolean","description":"Indicates whether to inherit the default settings. Defaults to `false`.","nullable":true}},"required":["url","jaga_username","jaga_password"]},"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 Deckhouse Code 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 Deckhouse Code 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},"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},"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},"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 Deckhouse Code 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 Deckhouse Code 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](https://docs.gitlab.com/integration/jira/issues/#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 Deckhouse Code.","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 Deckhouse Code. It does not restrict the API token's access.","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 Deckhouse Code 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":"Custom hostname of the Matrix server. 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},"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},"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},"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},"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},"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},"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"]},"putApiV4GroupsIdIntegrationsDefectDojoRequest":{"type":"object","properties":{"url":{"type":"string","description":"Base URL of your DefectDojo instance.","nullable":true},"api_token":{"type":"string","description":"Token used to authenticate with the DefectDojo API.","nullable":true},"tls_mode":{"type":"string","description":"How this instance decides whether to trust the DefectDojo server. Unlike a scan, this connection is made from here rather than from a job, so verification can be turned off -- which leaves the upload open to interception, and the reports carry everything the scanners found.","nullable":true},"ca_cert":{"type":"string","description":"PEM certificate of the authority that signed the server's certificate. Used only when the trust setting above says so.","nullable":true},"product_name":{"type":"string","description":"DefectDojo product. Leave blank to use the project full path.","nullable":true},"product_type_name":{"type":"string","description":"DefectDojo product type for the products the import creates. Required when automatic context creation is on.","nullable":true},"engagement_name":{"type":"string","description":"DefectDojo engagement. Leave blank to use the branch name.","nullable":true},"minimum_severity":{"type":"string","description":"Ignore findings below this severity on import.","nullable":true},"auto_create_context":{"type":"boolean","nullable":true},"findings_active":{"type":"boolean","nullable":true},"findings_verified":{"type":"boolean","nullable":true},"close_old_findings":{"type":"boolean","nullable":true},"use_inherited_settings":{"type":"boolean","description":"Indicates whether to inherit the default settings. Defaults to `false`.","nullable":true}},"required":["url","api_token"]},"putApiV4GroupsIdIntegrationsPtaiRequest":{"type":"object","properties":{"ptai_server_url":{"type":"string","description":"Base URL of the PT Application Inspector server. Changing it clears the saved API token: enter the token again.","nullable":true},"ptai_token":{"type":"string","description":"API token used to authenticate with the PT Application Inspector server.","nullable":true},"ptai_tls_mode":{"type":"string","description":"Use the certificates of the job image when they already cover the server. Otherwise paste the certificate authority below.","nullable":true},"ptai_ca_cert":{"type":"string","description":"PEM certificate of the authority that signed the server's certificate. Used only when the trust setting above says so.","nullable":true},"ptai_image":{"type":"string","description":"The image the PT AI scan job runs in: the whole reference, with a tag or a digest. A new integration is filled in with the image this product ships. It needs aictl, ruby and mktemp, and curl, python3 or wget when the policy reads its settings file from another project. For an image in a private registry, set the registry login and password below.","nullable":true},"ptai_registry_login_variable":{"type":"string","description":"Optional. The login for the registry the scan job image is pulled from, or the CI/CD variable holding it, such as $SCANNER_REGISTRY_USER. Without both the login and the password the image is pulled without credentials.","nullable":true},"ptai_registry_password_variable":{"type":"string","description":"The password or token for that registry, or the masked CI/CD variable holding it, such as $SCANNER_REGISTRY_PASSWORD. It is not shown again after saving.","nullable":true},"ptai_registry_expand_variables":{"type":"boolean","description":"On: both are references to CI/CD variables of the scanned project or its group, written as $NAME or ${NAME}. Off: both are used as they are. If the password contains a $, turn this off: otherwise $... is taken for the name of a variable.","nullable":true},"use_inherited_settings":{"type":"boolean","description":"Indicates whether to inherit the default settings. Defaults to `false`.","nullable":true}},"required":["ptai_server_url","ptai_token","ptai_image"]},"putApiV4GroupsIdIntegrationsCodeScoringRequest":{"type":"object","properties":{"codescoring_url":{"type":"string","description":"Base URL of the CodeScoring instance.","nullable":true},"codescoring_token":{"type":"string","description":"API token to authenticate and download the Johnny agent.","nullable":true},"codescoring_tls_mode":{"type":"string","description":"How the scan job decides whether to trust the CodeScoring server. It applies to the requests the job makes with curl -- fetching the agent, and the connection test above. The johnny agent itself does not verify the certificate at all and offers no way to make it, so nothing here changes what the scan itself trusts.","nullable":true},"codescoring_ca_cert":{"type":"string","description":"PEM certificate of the authority that signed the server's certificate. Used only when the trust setting above says so.","nullable":true},"codescoring_agent_image":{"type":"string","description":"The image the CodeScoring scan jobs run in, with registry and tag or digest. A new integration is filled in with the image this product ships. It needs curl, ca-certificates, jq, ruby and git; the johnny agent is downloaded into it at run time. For an image in a private registry, set the registry login and password below.","nullable":true},"codescoring_registry_login_variable":{"type":"string","description":"Optional. The login for the registry the scan job image is pulled from, or the CI/CD variable holding it, such as $SCANNER_REGISTRY_USER. Without both the login and the password the image is pulled without credentials.","nullable":true},"codescoring_registry_password_variable":{"type":"string","description":"The password or token for that registry, or the masked CI/CD variable holding it, such as $SCANNER_REGISTRY_PASSWORD. It is not shown again after saving.","nullable":true},"codescoring_registry_expand_variables":{"type":"boolean","description":"On: both are references to CI/CD variables of the scanned project or its group, written as $NAME or ${NAME}. Off: both are used as they are. If the password contains a $, turn this off: otherwise $... is taken for the name of a variable.","nullable":true},"codescoring_cloud_resolve":{"type":"boolean","description":"Let the CodeScoring server work out the dependency tree instead of the runner. The only resolver that needs no package manager in the scan job image, and it finds the transitive packages a manifest read misses. Known cost: the server currently returns the vulnerability report empty when this is on, so findings reach the tests summary but not the vulnerability report. Leave it off unless the dependency list matters more.","nullable":true},"codescoring_extra_args":{"type":"string","description":"Optional. Passed to the agent as written, for options this form does not name, such as per-manager arguments. A setting above wins over the same option written here.","nullable":true},"codescoring_stage":{"type":"string","description":"The policy stage this scan reports as. The agent takes one, so the scan reports as one. Defaults to \"build\".","nullable":true},"codescoring_scan_mode":{"type":"string","description":"What to scan: a source directory, a container image, or an existing CycloneDX document. Defaults to the source directory.","nullable":true},"codescoring_scan_target":{"type":"string","description":"Optional. Directory, image reference or SBOM path, depending on the scan mode. Defaults to the whole checkout.","nullable":true},"codescoring_ignore_paths":{"type":"string","description":"Optional. One glob per line. Keeps test fixtures and vendored trees out of the results.","nullable":true},"codescoring_bom_format":{"type":"string","description":"Optional. Which CycloneDX version the bill of materials is written in. They all list the same components: pick an older version for a tool downstream that needs one, or the extended 1.6 for CodeScoring's own GOST properties. A Scan Execution Policy can name a format of its own, which wins. Left empty here and in the policy, the scan jobs write CycloneDX 1.6 JSON.","nullable":true},"use_inherited_settings":{"type":"boolean","description":"Indicates whether to inherit the default settings. Defaults to `false`.","nullable":true}},"required":["codescoring_url","codescoring_token","codescoring_agent_image"]},"putApiV4GroupsIdIntegrationsAppsecHubRequest":{"type":"object","properties":{"url":{"type":"string","description":"Base URL of your AppSec.Hub server. If you change it, enter the API token again.","nullable":true},"api_token":{"type":"string","description":"Token of the AppSec.Hub user this integration acts as. It needs permission to read and create applications and to read the tools of an application.","nullable":true},"tls_mode":{"type":"string","description":"How this instance decides whether to trust the AppSec.Hub server. The connection is made from here, not from a job, so verification can be turned off -- which leaves the API token open to interception. If you change this setting, enter the API token again.","nullable":true},"ca_cert":{"type":"string","description":"PEM certificate of the authority that signed the server's certificate. Used only when the trust setting above says so. If you change it, enter the API token again.","nullable":true},"app_code":{"type":"string","description":"Code of the application in AppSec.Hub. Leave blank to use the project path slug, the same value as CI_PROJECT_PATH_SLUG. Enter the code of an existing application to link to it. If you change it, enter the API token again.","nullable":true},"clone_protocol":{"type":"string","description":"The project address AppSec.Hub clones from. AppSec.Hub signs in with the credentials of the tool that serves this address. An AppSec.Hub administrator sets them up.","nullable":true},"registry_source":{"type":"string","description":"The registry the project's pipeline pushes its images to. The image scan hands AppSec.Hub the images there, and AppSec.Hub signs in with the credentials of its tool that serves the registry. An AppSec.Hub administrator sets them up.","nullable":true},"external_registry_image":{"type":"string","description":"The image repository in the external registry, the way docker pull names it, without a tag: a host, with a port if the registry has one, then the path. The image scan reads $CI_REGISTRY_IMAGE as this address.","nullable":true},"use_inherited_settings":{"type":"boolean","description":"Indicates whether to inherit the default settings. Defaults to `false`.","nullable":true}},"required":["url","api_token"]},"putApiV4GroupsIdIntegrationsJagaRequest":{"type":"object","properties":{"url":{"type":"string","description":"Base URL of Jaga. With http://, the password and the tokens are sent unencrypted.","nullable":true},"api_url":{"type":"string","description":"If different from the Web URL followed by /backend.","nullable":true},"jaga_username":{"type":"string","description":"Email of the Jaga user the integration acts as.","nullable":true},"jaga_password":{"type":"string","description":"Password of that Jaga user.","nullable":true},"jaga_issue_regex":{"type":"string","description":"Regular expression in RE2 syntax that matches Jaga task codes. If empty, codes like ASDF-1 are matched.","nullable":true},"jaga_issue_prefix":{"type":"string","description":"Text that must come right before a task code.","nullable":true},"commit_events":{"type":"boolean","nullable":true},"merge_requests_events":{"type":"boolean","nullable":true},"issues_events":{"type":"boolean","nullable":true},"comment_detail":{"type":"string","nullable":true},"jaga_smart_commits_enabled":{"type":"boolean","nullable":true},"jaga_smart_commit_comment":{"type":"boolean","nullable":true},"jaga_smart_commit_status":{"type":"boolean","nullable":true},"jaga_smart_commit_time":{"type":"boolean","nullable":true},"jaga_time_activity_type":{"type":"string","description":"Jaga activity type code the time is logged with, for example develop.","nullable":true},"jaga_issue_transition_automatic":{"type":"boolean","nullable":true},"jaga_issue_transition_statuses":{"type":"string","description":"Status names in workflow order, separated by commas. The task is moved along them, as far as it can go at each step, until it is done. Used when the automatic transition is off. Leave both empty to keep task statuses unchanged.","nullable":true},"use_inherited_settings":{"type":"boolean","description":"Indicates whether to inherit the default settings. Defaults to `false`.","nullable":true}},"required":["url","jaga_username","jaga_password"]},"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.","nullable":true},"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"]},"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.","nullable":true},"after":{"type":"string","description":"Cursor for pagination. Use the `data.pageInfo.endCursor` value from a previous query to fetch the next page of results.","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.","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"},"environment_scope":{"type":"string","description":"The environment scope of a variable","nullable":true},"description":{"type":"string","description":"Description of the variable. Limited to 255 characters.","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 a variable","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. "}},"required":["path","name","file"]},"postApiV4GroupsIdExportRelationsRequest":{"type":"object","properties":{"batched":{"type":"boolean","description":"Whether to export 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.","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.","default":true},"environment_scope":{"type":"string","description":"Associated environment to the cluster. Premium and Ultimate only.","default":"*"},"namespace_per_environment":{"type":"boolean","description":"If `true`, deploys each environment to a separate Kubernetes namespace.","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.","default":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},"authorization_type":{"type":"string","enum":["unknown_authorization","rbac","abac"],"description":"Cluster authorization type.","default":"rbac"}},"required":["api_url","token"],"nullable":true}},"required":["name","platform_kubernetes_attributes"]},"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","nullable":true}},"required":["ref"]},"headApiV4ProjectsIdRepositoryFilesFilePathRequest":{"type":"object","properties":{"ref":{"type":"string","description":"Commit SHA or name of a repository branch or tag.","example":"main","nullable":true}},"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":"The name of the list","nullable":true},"user_xids":{"type":"string","description":"A comma separated list of external user ids","nullable":true}},"required":["name","user_xids"]},"putApiV4ProjectsIdFeatureFlagsUserListsIidRequest":{"type":"object","properties":{"name":{"type":"string","description":"The name of the list","nullable":true},"user_xids":{"type":"string","description":"A 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.","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":"Pass true to enable the already configured Error Tracking settings or false to disable it.","nullable":true},"integrated":{"type":"boolean","description":"Pass true to enable the integrated Error Tracking backend. Available in GitLab 14.2 and later.","nullable":true}},"required":["active"]},"putApiV4ProjectsIdErrorTrackingSettingsRequest":{"type":"object","properties":{"active":{"type":"boolean","description":"Pass true to enable the configured Error Tracking settings or false to disable it.","nullable":true},"integrated":{"type":"boolean","description":"Pass true to enable 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, 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.","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, 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.","nullable":true}}},"postApiV4ProjectsIdEnvironmentsEnvironmentIdStopRequest":{"type":"object","properties":{"force":{"type":"boolean","description":"If `true`, stops the environment without executing `on_stop` actions.","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 when creating a diff note. If omitted, creates a regular discussion note.","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.","nullable":true},"old_path":{"type":"string","description":"File path before the change.","nullable":true},"old_line":{"type":"integer","description":"Line number before the change.","nullable":true},"width":{"type":"integer","description":"Width of the image.","nullable":true},"height":{"type":"integer","description":"Height of the image.","nullable":true},"x":{"type":"integer","description":"X coordinate in the image.","nullable":true},"y":{"type":"integer","description":"Y coordinate in the image.","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.","nullable":true},"position":{"type":"object","description":"Position when creating a diff note. If omitted, creates a regular discussion note.","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.","nullable":true},"old_path":{"type":"string","description":"File path before the change.","nullable":true},"old_line":{"type":"integer","description":"Line number before the change.","nullable":true},"width":{"type":"integer","description":"Width of the image.","nullable":true},"height":{"type":"integer","description":"Height of the image.","nullable":true},"x":{"type":"integer","description":"X coordinate in the image.","nullable":true},"y":{"type":"integer","description":"Y coordinate in the image.","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.","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.","default":false}}},"postApiV4ProjectsIdDeploymentsRequest":{"type":"object","properties":{"environment":{"type":"string","description":"The name of the environment to create the deployment for","nullable":true},"sha":{"type":"string","description":"The SHA of the commit that is deployed","nullable":true},"ref":{"type":"string","description":"The name of the branch or tag that is deployed","nullable":true},"tag":{"type":"boolean","description":"A boolean that indicates if the deployed ref is a tag (`true`) or not (`false`)","nullable":true},"status":{"type":"string","enum":["running","success","failed","canceled"],"description":"The status of the deployment that is created. One of `running`, `success`, `failed`, or `canceled`","minLength":1}},"required":["environment","sha","ref","tag","status"]},"putApiV4ProjectsIdDeploymentsDeploymentIdRequest":{"type":"object","properties":{"status":{"type":"string","enum":["running","success","failed","canceled"],"description":"The new status of the deployment. One of `running`, `success`, `failed`, or `canceled`","minLength":1}},"required":["status"]},"postApiV4ProjectsIdDeploymentsDeploymentIdApprovalRequest":{"type":"object","properties":{"status":{"type":"string","enum":["approved","rejected"],"description":"The status of the approval.","minLength":1},"comment":{"type":"string","description":"A comment to go with the approval.","nullable":true},"represented_as":{"type":"string","description":"The user, group, or role represented by the approval.","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","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":"The name of the branch. Exactly one of `tag`, `branch` must be provided.","example":"release","nullable":true},"tag":{"type":"string","description":"The name of the tag. 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.","example":"coverage","nullable":true},"context":{"type":"string","description":"String label to differentiate this status from the status of other systems.","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.","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","nullable":true},"dry_run":{"type":"boolean","description":"If `true`, does not commit any changes.","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","nullable":true},"dry_run":{"type":"boolean","description":"If `true`, does not commit any changes.","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":"The name of the agent","nullable":true}},"required":["name"]},"postApiV4ProjectsIdClusterAgentsAgentIdTokensRequest":{"type":"object","properties":{"name":{"type":"string","description":"The name for the token","nullable":true},"description":{"type":"string","description":"The description for 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.","nullable":true},"masked":{"type":"boolean","description":"If `true`, the variable is masked.","nullable":true},"masked_and_hidden":{"type":"boolean","description":"If `true`, the variable is masked and hidden. [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.","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.","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.","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. [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. [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","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","default":"UTC"},"active":{"type":"boolean","description":"If `true`, activates the pipeline schedule. If `false`, the pipeline schedule is initially deactivated.","example":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`.","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":"Reference","example":"develop","nullable":true},"variables":{"type":"array","description":"Array of variables to make available in the pipeline. 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.","default":"env_var"}}},"nullable":true},"inputs":{"type":"object","description":"Map of inputs, as key-value pairs, to use when creating the pipeline. [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\n            the project","nullable":true},"file":{"type":"string","format":"binary","description":"The secure file being uploaded","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","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.","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.","default":"archive"},"artifact_format":{"type":"string","enum":["raw","zip","gzip"],"description":"The format of artifact","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.","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":"The 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"},"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","nullable":true},"share_with_group_lock":{"type":"boolean","description":"Prevent sharing a project with another group within this group","nullable":true},"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","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":"_(Deprecated)_ Disable email notifications. Use: emails_enabled","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","nullable":true},"default_branch_protection_defaults":{"type":"object","description":"Determine if developers can push to default branch","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}},"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","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","nullable":true},"share_with_group_lock":{"type":"boolean","description":"Prevent sharing a project with another group within this group","nullable":true},"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","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":"_(Deprecated)_ Disable email notifications. Use: emails_enabled","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","nullable":true},"default_branch_protection_defaults":{"type":"object","description":"Determine if developers can push to default branch","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},"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.","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","nullable":true},"lock_require_sha_for_merge":{"type":"boolean","description":"Enforce the require_sha_for_merge setting for all descendant groups","nullable":true},"max_artifacts_size":{"type":"integer","description":"Set the maximum file size for each job's artifacts","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":[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 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"]},"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","example":"'destination_namespace' or 'destination/namespace'","nullable":true},"destination_slug":{"type":"string","description":"Destination slug for the entity","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","default":true},"migrate_memberships":{"type":"boolean","description":"The option to migrate memberships or not","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.","nullable":true},"ref":{"type":"string","description":"Branch name or commit SHA to create the branch from.","nullable":true}},"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"]},"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 of the application. You can specify multiple scopes by separating\\\n                                 each scope using a space","nullable":true},"confidential":{"type":"boolean","description":"The application is used where the client secret can be kept confidential. Native mobile apps \\\n                        and Single Page Apps are considered non-confidential. Defaults to true if not supplied","default":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}}},"putApiV4ApplicationPlanLimitsRequest":{"type":"object","properties":{"plan_name":{"type":"string","enum":["default"],"description":"Name of the plan to update","minLength":1},"cargo_max_file_size":{"type":"integer","description":"Maximum Cargo package file size in bytes","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_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_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","nullable":true},"dotenv_variables":{"type":"integer","description":"Maximum number of variables in a dotenv artifact","nullable":true},"enforcement_limit":{"type":"integer","description":"Maximum storage size for the root namespace 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 the root namespace 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},"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. 0 for unlimited.","nullable":true},"service_desk_outbound_emails_per_day":{"type":"integer","description":"Maximum number of outbound Service Desk emails per day, per top-level namespace. 0 for unlimited.","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","nullable":true},"web_hook_calls":{"type":"integer","description":"Maximum number of times a webhook can be called per minute, per top-level namespace. 0 for unlimited.","nullable":true},"web_hook_calls_low":{"type":"integer","description":"Maximum number of times a webhook can be called per minute, per top-level namespace. 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. 0 for unlimited (GitLab.com only).","nullable":true},"max_pipelines_per_merge_train":{"type":"integer","description":"Maximum number of parallel pipelines per merge train","nullable":true}},"required":["plan_name"]},"postApiV4AdminOpensearchRecreateIndicesRequest":{"type":"object","properties":{"schema_class":{"type":"string","enum":["recreate_all","Search::Opensearch::IndicesSchema::Code","Search::Opensearch::IndicesSchema::Wiki","Search::Opensearch::IndicesSchema::Note","Search::Opensearch::IndicesSchema::Milestone","Search::Opensearch::IndicesSchema::WorkItem","Search::Opensearch::IndicesSchema::MergeRequest"],"description":"One of: `recreate_all`, `Search::Opensearch::IndicesSchema::Code`, `Search::Opensearch::IndicesSchema::Wiki`, `Search::Opensearch::IndicesSchema::Note`, `Search::Opensearch::IndicesSchema::Milestone`, `Search::Opensearch::IndicesSchema::WorkItem`, `Search::Opensearch::IndicesSchema::MergeRequest`.","minLength":1}},"required":["schema_class"]},"postApiV4AdminMigrationsTimestampMarkRequest":{"type":"object","properties":{"database":{"type":"string","enum":["main","ci","sec"],"description":"Database name for which the migration is skipped.","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.","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.","default":true},"environment_scope":{"type":"string","description":"Associated environment to the cluster.","default":"*"},"namespace_per_environment":{"type":"boolean","description":"If `true`, deploys each environment to a separate Kubernetes namespace.","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.","default":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},"authorization_type":{"type":"string","enum":["unknown_authorization","rbac","abac"],"description":"Cluster authorization type.","default":"rbac"}},"required":["api_url","token"],"nullable":true}},"required":["name","platform_kubernetes_attributes"]},"postApiV4ProjectsIdExternalStatusChecksRequest":{"type":"object","properties":{"name":{"type":"string","description":"External status check display name","example":"lorem ipsum","nullable":true},"shared_secret":{"type":"string","description":"HMAC shared secret","example":"hmac","nullable":true},"external_url":{"type":"string","description":"External status check resource url","example":"https://www.example.com","nullable":true},"timeout_minutes":{"type":"integer","description":"External status check timeout in minutes","example":5,"nullable":true},"branch_scope":{"type":"string","enum":["all_branches","all_protected_branches","protected_branch_specific"],"description":"External status check branch scope","minLength":1},"protected_branch_ids":{"type":"array","items":{"type":"integer"},"description":"IDs of protected branches","nullable":true}},"required":["name","external_url","branch_scope"]},"putApiV4ProjectsIdExternalStatusChecksCheckIdRequest":{"type":"object","properties":{"name":{"type":"string","description":"Display name of external status check. At least one of `name`, `shared_secret`, `external_url`, `timeout_minutes`, `branch_scope`, `protected_branch_ids` must be provided.","example":"lorem ipsum","nullable":true},"shared_secret":{"type":"string","description":"HMAC shared secret. At least one of `name`, `shared_secret`, `external_url`, `timeout_minutes`, `branch_scope`, `protected_branch_ids` must be provided.","example":"hmac","nullable":true},"external_url":{"type":"string","description":"External status check resource url. At least one of `name`, `shared_secret`, `external_url`, `timeout_minutes`, `branch_scope`, `protected_branch_ids` must be provided.","example":"https://www.example.com","nullable":true},"timeout_minutes":{"type":"integer","description":"External status check timeout in minutes. At least one of `name`, `shared_secret`, `external_url`, `timeout_minutes`, `branch_scope`, `protected_branch_ids` must be provided.","example":5,"nullable":true},"branch_scope":{"type":"string","enum":["all_branches","all_protected_branches","protected_branch_specific"],"description":"External status check branch scope. At least one of `name`, `shared_secret`, `external_url`, `timeout_minutes`, `branch_scope`, `protected_branch_ids` must be provided.","nullable":true},"protected_branch_ids":{"type":"array","items":{"type":"integer"},"description":"IDs of protected branches to scope the rule by. At least one of `name`, `shared_secret`, `external_url`, `timeout_minutes`, `branch_scope`, `protected_branch_ids` must be provided.","nullable":true}}},"postApiV4ProjectsIdMergeRequestsMergeRequestIidStatusCheckResponsesRequest":{"type":"object","properties":{"external_status_check_id":{"type":"integer","description":"ID of an 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"],"description":"Set to `passed` to pass the check or `failed` to fail it","minLength":1}},"required":["external_status_check_id","sha","status"]},"postApiV4AdminCiVariablesRequest":{"type":"object","properties":{"key":{"type":"string","description":"The key of the variable. Max 255 characters","nullable":true},"description":{"type":"string","description":"The description of the variable","nullable":true},"value":{"type":"string","description":"The value of a variable","nullable":true},"protected":{"type":"boolean","description":"Whether the variable is protected","nullable":true},"masked":{"type":"boolean","description":"Whether the variable is masked","nullable":true},"raw":{"type":"boolean","description":"Whether the variable will be expanded","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}},"required":["key","value"]},"putApiV4AdminCiVariablesKeyRequest":{"type":"object","properties":{"description":{"type":"string","description":"The description of the variable","nullable":true},"value":{"type":"string","description":"The value of a variable","nullable":true},"protected":{"type":"boolean","description":"Whether the variable is protected","nullable":true},"masked":{"type":"boolean","description":"Whether the variable is masked","nullable":true},"raw":{"type":"boolean","description":"Whether the variable will be expanded","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."},"ends_at":{"type":"string","format":"date-time","description":"Ending time, in UTC. When creating a message, defaults to one hour after the current time."},"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.","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"],"description":"The name of the database","default":"main"}}},"putApiV4AdminBatchedBackgroundOperationsIdRestartRequest":{"type":"object","properties":{"database":{"type":"string","enum":["main","ci","sec"],"description":"The name of the database","default":"main"}}},"putApiV4AdminBatchedBackgroundMigrationsIdResumeRequest":{"type":"object","properties":{"database":{"type":"string","enum":["main","ci","sec"],"description":"The name of the database","default":"main"}}},"putApiV4AdminBatchedBackgroundMigrationsIdPauseRequest":{"type":"object","properties":{"database":{"type":"string","enum":["main","ci","sec"],"description":"The name of the database","default":"main"}}},"postApiV4ProjectsIdApprovalRulesRequest":{"type":"object","properties":{"approval_rule":{"type":"object","properties":{"name":{"type":"string","nullable":true},"approvals_required":{"type":"integer","nullable":true},"rule_type":{"type":"string","enum":["regular","any_approver"],"nullable":true},"custom_branch_rule":{"type":"string","enum":["all_branch","all_protected_branch","manually"],"nullable":true},"protected_branch_id":{"type":"integer","nullable":true},"target_branch_text":{"type":"string","nullable":true},"approver_user_ids":{"type":"array","items":{"type":"integer"},"nullable":true},"approver_group_ids":{"type":"array","items":{"type":"integer"},"nullable":true}},"nullable":true}},"required":["approval_rule"]},"putApiV4ProjectsIdApprovalRulesApprovalRuleIdRequest":{"type":"object","properties":{"approval_rule":{"type":"object","properties":{"name":{"type":"string","nullable":true},"approvals_required":{"type":"integer","nullable":true},"rule_type":{"type":"string","enum":["regular","any_approver"],"nullable":true},"custom_branch_rule":{"type":"string","enum":["all_branch","all_protected_branch","manually"],"nullable":true},"protected_branch_id":{"type":"integer","nullable":true},"target_branch_text":{"type":"string","nullable":true},"approver_user_ids":{"type":"array","items":{"type":"integer"},"nullable":true},"approver_group_ids":{"type":"array","items":{"type":"integer"},"nullable":true}},"nullable":true}},"required":["approval_rule"]},"postApiV4ProjectsIdApprovalRulesMergeRequestsMergeRequestIidRequest":{"type":"object","properties":{"approval_rule":{"type":"object","properties":{"name":{"type":"string","nullable":true},"approvals_required":{"type":"integer","nullable":true},"rule_type":{"type":"string","enum":["regular","any_approver"],"nullable":true},"custom_branch_rule":{"type":"string","enum":["all_branch","all_protected_branch","manually"],"nullable":true},"protected_branch_id":{"type":"integer","nullable":true},"target_branch_text":{"type":"string","nullable":true},"approver_user_ids":{"type":"array","items":{"type":"integer"},"nullable":true},"approver_group_ids":{"type":"array","items":{"type":"integer"},"nullable":true}},"nullable":true}},"required":["approval_rule"]},"putApiV4ProjectsIdApprovalRulesMergeRequestsMergeRequestIidApprovalRuleIdRequest":{"type":"object","properties":{"approval_rule":{"type":"object","properties":{"name":{"type":"string","nullable":true},"approvals_required":{"type":"integer","nullable":true},"rule_type":{"type":"string","enum":["regular","any_approver"],"nullable":true},"custom_branch_rule":{"type":"string","enum":["all_branch","all_protected_branch","manually"],"nullable":true},"protected_branch_id":{"type":"integer","nullable":true},"target_branch_text":{"type":"string","nullable":true},"approver_user_ids":{"type":"array","items":{"type":"integer"},"nullable":true},"approver_group_ids":{"type":"array","items":{"type":"integer"},"nullable":true}},"nullable":true}},"required":["approval_rule"]},"postApiV4GroupsIdApprovalRulesRequest":{"type":"object","properties":{"approval_rule":{"type":"object","properties":{"name":{"type":"string","nullable":true},"approvals_required":{"type":"integer","nullable":true},"rule_type":{"type":"string","enum":["regular","any_approver"],"nullable":true},"custom_branch_rule":{"type":"string","enum":["all_branch","all_protected_branch","manually"],"nullable":true},"protected_branch_id":{"type":"integer","nullable":true},"target_branch_text":{"type":"string","nullable":true},"approver_user_ids":{"type":"array","items":{"type":"integer"},"nullable":true},"approver_group_ids":{"type":"array","items":{"type":"integer"},"nullable":true}},"nullable":true}},"required":["approval_rule"]},"putApiV4GroupsIdApprovalRulesApprovalRuleIdRequest":{"type":"object","properties":{"approval_rule":{"type":"object","properties":{"name":{"type":"string","nullable":true},"approvals_required":{"type":"integer","nullable":true},"rule_type":{"type":"string","enum":["regular","any_approver"],"nullable":true},"custom_branch_rule":{"type":"string","enum":["all_branch","all_protected_branch","manually"],"nullable":true},"protected_branch_id":{"type":"integer","nullable":true},"target_branch_text":{"type":"string","nullable":true},"approver_user_ids":{"type":"array","items":{"type":"integer"},"nullable":true},"approver_group_ids":{"type":"array","items":{"type":"integer"},"nullable":true}},"nullable":true}},"required":["approval_rule"]},"postApiV4AdminAuditEventsSearchRequest":{"type":"object","properties":{"page":{"type":"integer","description":"Page number of results to retrieve.","example":1,"default":1},"per_page":{"type":"integer","description":"Number of items to list per page.","example":20,"default":20},"created_after":{"type":"string","description":"Start date (inclusive) in ISO8601. Defaults to the start of the current month.","nullable":true},"created_before":{"type":"string","description":"End date (inclusive) in ISO8601. Defaults to the end of the current month.","nullable":true},"q":{"type":"string","description":"Free-text search in custom messages.","nullable":true},"sort":{"type":"string","enum":["created_asc","created_desc"],"description":"Sort by creation date. Default is created_desc.","nullable":true},"entity_types":{"type":"array","items":{"type":"string","enum":["User","Project","Group","Gitlab::Audit::InstanceScope"]},"description":"Comma-separated list of entity types to filter (e.g., \"User,Project\").","nullable":true}}},"putApiV4GroupsIdAccessRequestsUserIdApproveRequest":{"type":"object","properties":{"access_level":{"type":"integer","description":"A valid access level (defaults: `30`, the Developer role)","default":30}}},"putApiV4ProjectsIdAccessRequestsUserIdApproveRequest":{"type":"object","properties":{"access_level":{"type":"integer","description":"A valid access level (defaults: `30`, the Developer role)","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":[]}]}
