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
cbb69138
Commit
cbb69138
authored
Mar 01, 2021
by
Kerri Miller
Committed by
Amy Qualls
Mar 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "access_raw_diffs parameter not working in API"
parent
7e856294
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
doc/api/merge_requests.md
doc/api/merge_requests.md
+5
-2
No files found.
doc/api/merge_requests.md
View file @
cbb69138
...
@@ -44,7 +44,10 @@ is fetched from its project, `relative` format would be the same as `short` form
...
@@ -44,7 +44,10 @@ is fetched from its project, `relative` format would be the same as `short` form
diffs associated with the set of changes have the same size limitations applied as other diffs
diffs associated with the set of changes 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`
returned by the API or viewed via the UI. When these limits impact the results, the
`overflow`
field contains a value of
`true`
. Diff data without these limits applied can be retrieved by
field contains a value of
`true`
. Diff data without these limits applied can be retrieved by
adding the
`access_raw_diffs`
parameter, but it is slower and more resource-intensive.
adding the
`access_raw_diffs`
parameter, accessing diffs not from the database but from Gitaly directly.
This approach is generally slower and more resource-intensive, but isn't subject to size limits
placed on database-backed diffs.
[
Limits inherent to Gitaly
](
../development/diffs.md#diff-limits
)
still apply.
## List merge requests
## List merge requests
...
@@ -846,7 +849,7 @@ Parameters:
...
@@ -846,7 +849,7 @@ Parameters:
|----------------------------------|----------------|----------|------------------------------------------------------------------------------------------------------------------|
|----------------------------------|----------------|----------|------------------------------------------------------------------------------------------------------------------|
|
`id`
| integer/string | yes | The ID or
[
URL-encoded path of the project
](
README.md#namespaced-path-encoding
)
owned by the authenticated user. |
|
`id`
| integer/string | yes | The ID or
[
URL-encoded path of the project
](
README.md#namespaced-path-encoding
)
owned by the authenticated user. |
|
`merge_request_iid`
| integer | yes | The internal ID of the merge request. |
|
`merge_request_iid`
| integer | yes | The internal ID of the merge request. |
|
`access_raw_diffs`
| boolean | no | Retrieve change diffs
without size limitations.
|
|
`access_raw_diffs`
| boolean | no | Retrieve change diffs
via Gitaly.
|
```
json
```
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