MergeRequestsApi Type
Client for GitLab merge request operations. See the .
Constructors
| Constructor |
Description
|
Full Usage:
MergeRequestsApi(baseUrl, auth, http)
Parameters:
string
auth : Authentication
http : IHttpClient
Returns: MergeRequestsApi
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.CloseAsync
Parameters:
int
-
The project identifier.
iid : int
-
The project-local merge request number.
Returns: Async<MergeRequest>
|
Closes a merge request.
|
Full Usage:
this.CreateAsync
Parameters:
int
-
The project identifier.
sourceBranch : string
-
The branch containing proposed changes.
targetBranch : string
-
The branch that should receive the changes.
title : string
-
The merge request title.
?description : string
-
Optional merge request description.
Returns: Async<MergeRequest>
|
Creates a new merge request.
|
|
|
Full Usage:
this.GetAsync
Parameters:
int
-
The project identifier.
iid : int
-
The project-local merge request number.
Returns: Async<MergeRequest>
|
Gets a single merge request by project-local merge request number.
|
Full Usage:
this.ListAsync
Parameters:
int
-
The project identifier.
?state : string
-
Optional state filter, such as opened, merged, or closed.
Returns: Async<ResizeArray<MergeRequest>>
|
Lists merge requests for a project.
|
|
|
Full Usage:
this.UpdateAsync
Parameters:
int
-
The project identifier.
iid : int
-
The project-local merge request number.
?title : string
-
Optional replacement title.
?description : string
-
Optional replacement description.
?stateEvent : string
-
Optional state transition, such as close or reopen.
Returns: Async<MergeRequest>
|
Updates a merge request.
|
DataHubClient