Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-01-28 06:07:31 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-01-28 06:07:31 +0300
commitb1c5e886f37f8123584a8d7a04d7cd32349b6094 (patch)
tree9a3f06f8500d13ac3b3f2f545d0c34cb2f5493f1 /doc
parent63895155f203b6af2df0689474059c1c7dfcfac8 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc')
-rw-r--r--doc/api/pipeline_triggers.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/pipeline_triggers.md b/doc/api/pipeline_triggers.md
index eae8d491528..1ffda1c0d79 100644
--- a/doc/api/pipeline_triggers.md
+++ b/doc/api/pipeline_triggers.md
@@ -175,7 +175,7 @@ Supported attributes:
Example request:
```shell
-curl --request POST "https://gitlab.example.com/api/v4/projects/123/trigger/pipeline?token=2cb1840fb9dfc9fb0b7b1609cd29cb&ref=main"
+curl --request POST --form "variables[VAR1]=value1" --form "variables[VAR2]=value2" "https://gitlab.example.com/api/v4/projects/123/trigger/pipeline?token=2cb1840fb9dfc9fb0b7b1609cd29cb&ref=main"
```
Example response:
@@ -184,7 +184,7 @@ Example response:
{
"id": 257,
"iid": 118,
- "project_id": 21,
+ "project_id": 123,
"sha": "91e2711a93e5d9e8dddfeb6d003b636b25bf6fc9",
"ref": "main",
"status": "created",