BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
08f5f897
Unverified
Commit
08f5f897
authored
Aug 03, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix project id param for merge request version API
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
69096ad9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
merge_requests.md
doc/api/merge_requests.md
+1
-1
merge_request_diffs.rb
lib/api/merge_request_diffs.rb
+2
-2
No files found.
doc/api/merge_requests.md
View file @
08f5f897
...
...
@@ -905,7 +905,7 @@ GET /projects/:id/merge_requests/:merge_request_id/versions
| Attribute | Type | Required | Description |
| --------- | ------- | -------- | --------------------- |
|
`id`
|
integer
| yes | The ID of the project |
|
`id`
|
String
| yes | The ID of the project |
|
`merge_request_id`
| integer | yes | The ID of the merge request |
```
bash
...
...
lib/api/merge_request_diffs.rb
View file @
08f5f897
...
...
@@ -10,8 +10,8 @@ module API
end
params
do
requires
:id
,
type:
Integer
,
desc:
'The ID of a project'
requ
est
s
:merge_request_id
,
type:
Integer
,
desc:
'The ID of a merge request'
requires
:id
,
type:
String
,
desc:
'The ID of a project'
requ
ire
s
:merge_request_id
,
type:
Integer
,
desc:
'The ID of a merge request'
end
get
":id/merge_requests/:merge_request_id/versions"
do
...
...
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