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
Boxiang Sun
gitlab-ce
Commits
ab2e4480
Commit
ab2e4480
authored
Sep 29, 2017
by
David Turner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explain target_project_id vs project_id
parent
244f631e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
doc/api/merge_requests.md
doc/api/merge_requests.md
+9
-0
No files found.
doc/api/merge_requests.md
View file @
ab2e4480
...
...
@@ -121,6 +121,15 @@ GET /projects/:id/merge_requests?labels=bug,reproduced
GET /projects/:id/merge_requests?my_reaction_emoji=star
```
`project_id`
represents the ID of the project where the MR resides.
`project_id`
will always equal
`target_project_id`
.
In the case of a merge request from the same project,
`source_project_id`
,
`target_project_id`
and
`project_id`
will be the same. In the case of a merge request from a fork,
`target_project_id`
and
`project_id`
will be the same and
`source_project_id`
will be the fork project's ID.
Parameters:
| Attribute | Type | Required | Description |
...
...
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