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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
f385b7f5
Commit
f385b7f5
authored
Nov 13, 2020
by
Kerri Miller
Committed by
Marcia Ramos
Nov 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update merge request api docs to reflect changes to /changes endpoint
parent
95bd1705
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
doc/api/merge_requests.md
doc/api/merge_requests.md
+11
-3
No files found.
doc/api/merge_requests.md
View file @
f385b7f5
...
...
@@ -787,10 +787,17 @@ Shows information about the merge request including its files and changes.
GET /projects/:id/merge_requests/:merge_request_iid/changes
```
[
Introduced
](
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/46190
)
in GitLab 13.6,
diffs associated with the set of changes will have the same size limitations applied as other diffs
returned by the API or viewed via the UI. When these limits impact the results, the
`overflow`
field will contain a value of
`true`
. Diff data without these limits applied can be retrieved by
adding the
`access_raw_diffs`
parameter, however, it will be slower and more resource-intensive.
Parameters:
-
`id`
(required) - The ID or
[
URL-encoded path of the project
](
README.md#namespaced-path-encoding
)
owned by the authenticated user
-
`merge_request_iid`
(required) - The internal ID of the merge request
-
`id`
(required) - The ID or
[
URL-encoded path of the project
](
README.md#namespaced-path-encoding
)
owned by the authenticated user.
-
`merge_request_iid`
(required) - The internal ID of the merge request.
-
`access_raw_diffs`
(optional) - Retrieve change diffs without size limitations.
```
json
{
...
...
@@ -884,7 +891,8 @@ Parameters:
"renamed_file"
:
false
,
"deleted_file"
:
false
}
]
],
"overflow"
:
false
}
```
...
...
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