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
Tatuya Kamada
gitlab-ce
Commits
74461ccc
Commit
74461ccc
authored
Aug 19, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix merge request versions api doc
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
e067e699
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/api/merge_requests.md
doc/api/merge_requests.md
+2
-2
No files found.
doc/api/merge_requests.md
View file @
74461ccc
...
@@ -909,7 +909,7 @@ GET /projects/:id/merge_requests/:merge_request_id/versions
...
@@ -909,7 +909,7 @@ GET /projects/:id/merge_requests/:merge_request_id/versions
|
`merge_request_id`
| integer | yes | The ID of the merge request |
|
`merge_request_id`
| integer | yes | The ID of the merge request |
```
bash
```
bash
curl
-
H
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v3/projects/1/merge_requests/1/versions
curl
-
-header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v3/projects/1/merge_requests/1/versions
```
```
Example response:
Example response:
...
@@ -951,7 +951,7 @@ GET /projects/:id/merge_requests/:merge_request_id/versions/:version_id
...
@@ -951,7 +951,7 @@ GET /projects/:id/merge_requests/:merge_request_id/versions/:version_id
|
`version_id`
| integer | yes | The ID of the merge request diff version |
|
`version_id`
| integer | yes | The ID of the merge request diff version |
```
bash
```
bash
curl
-
H
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v3/projects/1/merge_requests/1/versions/1
curl
-
-header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v3/projects/1/merge_requests/1/versions/1
```
```
Example response:
Example 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