api: Add an entry for pr shadow repositories to api functions.
This commit is contained in:
parent
d65ffadc6c
commit
31721213be
3 changed files with 17 additions and 3 deletions
|
|
@ -96,6 +96,9 @@ def get_pull_request(request, apiuser, repoid, pullrequestid):
|
|||
"commit_id": "<commit_id>",
|
||||
}
|
||||
},
|
||||
"shadow": {
|
||||
"clone_url": "<clone_url>",
|
||||
},
|
||||
"author": <user_obj>,
|
||||
"reviewers": [
|
||||
...
|
||||
|
|
@ -178,6 +181,9 @@ def get_pull_requests(request, apiuser, repoid, status=Optional('new')):
|
|||
"commit_id": "<commit_id>",
|
||||
}
|
||||
},
|
||||
"shadow": {
|
||||
"clone_url": "<clone_url>",
|
||||
},
|
||||
"author": <user_obj>,
|
||||
"reviewers": [
|
||||
...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue