Mega

Mega

DocumentationBlogCommunity
k
Introduction
Installation
Quick Start Guide
Quick Start
Config File
Test
Code GuideLine
Database
Database
Policy
Pack
Dockerfile
Compose
Kubernetes
Helm
LICENSE-APACHE
LICENSE-MIT
  1. Docs
  2. Architecture
  3. Api
  4. Mono
  5. Mergerequest
  6. Merge Mr

Merge MR

Allows a user to merge a specific Merge Request (MR) if they have the necessary permissions and if the MR is in an open state

URL:

POST /api/v1/mr/${link}/merge

Request Params:

  1. Request Params
FieldRequiredTypeLocationDescription
linkYstringPathA unique identifier for the merge request to be merged
CookieYstringHeaderCookie of logged-in user

Request Example:

POST /api/v1/mr/OTLRROOS/merge
Content-Type: application/json

Fetch Merge Request List

Fetch a paginated list of Merge Requests (MRs) based on their status. This API allows filtering of MRs by their status (open, closed, or all) and supports pagination.

Merge MR

Allows a user to merge a specific Merge Request (MR) if they have the necessary permissions and if the MR is in an open state

Close MR

Close a Merge Request (MR) if it is in an open state

Reopen MR

Open a Merge Request (MR) if it is in an Close state

Files Changed

Use Libra Commend to get mr's changed files.

MR Details

Fetch detailed information about a specific Merge Request (MR), including its metadata and conversations.

Comment

Add a comment to MR

Delete Comment

Delete a comment from MR

PreviousFetch MR List
NextClose MR

On this page

Mega

Mega

Build by Web3 Infrastructure Foundation. The source code is available on GitHub. If you have anything else you want to ask,reach out to us