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
a8fc4a01
Commit
a8fc4a01
authored
Jan 27, 2016
by
Markus Fisch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typo for PRIVATE-TOKEN header
Was PRIVATE_TOKEN but should be PRIVATE-TOKEN. Underscore vs. kebab-case.
parent
a93f7099
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
doc/api/builds.md
doc/api/builds.md
+5
-5
No files found.
doc/api/builds.md
View file @
a8fc4a01
...
@@ -18,7 +18,7 @@ GET /projects/:id/builds
...
@@ -18,7 +18,7 @@ GET /projects/:id/builds
### Example of request
### Example of request
```
```
curl -H "PRIVATE
_
TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/builds"
curl -H "PRIVATE
-
TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/builds"
```
```
### Example of response
### Example of response
...
@@ -123,7 +123,7 @@ GET /projects/:id/repository/commits/:sha/builds
...
@@ -123,7 +123,7 @@ GET /projects/:id/repository/commits/:sha/builds
### Example of request
### Example of request
```
```
curl -H "PRIVATE
_
TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/repository/commits/0ff3ae198f8601a285adcf5c0fff204ee6fba5fd/builds"
curl -H "PRIVATE
-
TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/repository/commits/0ff3ae198f8601a285adcf5c0fff204ee6fba5fd/builds"
```
```
### Example of response
### Example of response
...
@@ -213,7 +213,7 @@ GET /projects/:id/builds/:build_id
...
@@ -213,7 +213,7 @@ GET /projects/:id/builds/:build_id
### Example of request
### Example of request
```
```
curl -H "PRIVATE
_
TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/builds/8"
curl -H "PRIVATE
-
TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/builds/8"
```
```
### Example of response
### Example of response
...
@@ -277,7 +277,7 @@ POST /projects/:id/builds/:build_id/cancel
...
@@ -277,7 +277,7 @@ POST /projects/:id/builds/:build_id/cancel
### Example of request
### Example of request
```
```
curl -X POST -H "PRIVATE
_
TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/builds/1/cancel"
curl -X POST -H "PRIVATE
-
TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/builds/1/cancel"
```
```
### Example of response
### Example of response
...
@@ -327,7 +327,7 @@ POST /projects/:id/builds/:build_id/retry
...
@@ -327,7 +327,7 @@ POST /projects/:id/builds/:build_id/retry
### Example of request
### Example of request
```
```
curl -X POST -H "PRIVATE
_
TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/builds/1/retry"
curl -X POST -H "PRIVATE
-
TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/builds/1/retry"
```
```
### Example of response
### Example of response
...
...
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