From 61ebd5753018a1f4b6032122f6ea625dc4e4fc8e Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 24 May 2023 15:08:38 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- doc/api/environments.md | 2 +- doc/api/graphql/reference/index.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'doc/api') diff --git a/doc/api/environments.md b/doc/api/environments.md index 3cbb6076300..501fec70dd6 100644 --- a/doc/api/environments.md +++ b/doc/api/environments.md @@ -299,7 +299,7 @@ PUT /projects/:id/environments/:environments_id | `tier` | string | no | The tier of the new environment. Allowed values are `production`, `staging`, `testing`, `development`, and `other`. | ```shell -curl --request PUT --data "name=staging&external_url=https://staging.gitlab.example.com" \ +curl --request PUT --data "external_url=https://staging.gitlab.example.com" \ --header "PRIVATE-TOKEN: " "https://gitlab.example.com/api/v4/projects/1/environments/1" ``` diff --git a/doc/api/graphql/reference/index.md b/doc/api/graphql/reference/index.md index 39ee028faa0..c27075a9a53 100644 --- a/doc/api/graphql/reference/index.md +++ b/doc/api/graphql/reference/index.md @@ -3077,6 +3077,7 @@ Input type: `EnvironmentCreateInput` | Name | Type | Description | | ---- | ---- | ----------- | | `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | +| `clusterAgentId` | [`ClustersAgentID`](#clustersagentid) | Cluster agent of the environment. | | `externalUrl` | [`String`](#string) | External URL of the environment. | | `name` | [`String!`](#string) | Name of the environment. | | `projectPath` | [`ID!`](#id) | Full path of the project. | -- cgit v1.2.3