Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
16897d32
Commit
16897d32
authored
Mar 05, 2017
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lint doc
parent
e4a9b8a9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/api/pipeline_triggers.md
doc/api/pipeline_triggers.md
+2
-2
No files found.
doc/api/pipeline_triggers.md
View file @
16897d32
...
...
@@ -77,7 +77,7 @@ POST /projects/:id/triggers
|
`description`
| string | yes | The trigger name |
```
curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" -
F
description="my description" "https://gitlab.example.com/api/v4/projects/1/triggers"
curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" -
-form
description="my description" "https://gitlab.example.com/api/v4/projects/1/triggers"
```
```
json
...
...
@@ -107,7 +107,7 @@ PUT /projects/:id/triggers/:trigger_id
|
`description`
| string | no | The trigger name |
```
curl --request PUT -
F description="my description" --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK
" "https://gitlab.example.com/api/v4/projects/1/triggers/10"
curl --request PUT -
-header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" --form description="my description
" "https://gitlab.example.com/api/v4/projects/1/triggers/10"
```
```
json
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment