MR Details

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

URL:

GET /api/v1/mr/${link}/detail

Request Params:

FieldRequiredTypeLocationDescription
linkYstringPathA unique identifier for the merge request to be merged

Response Params:

  1. Common
FieldTypeDescription
idintegerunique id
linkstringThe generated MR link
titlestringThe title of the MR
statusstringThe status of the MR
open_timestampintegerThe time the MR was opened
merge_timestampoptional integerThe time the MR was merged
conversationsarrayconversations array
  1. Conversations Items
FieldTypeDescription
idintegerunique id
user_idintegerconversation user id
conv_typestringThe status of the MR
commentstringRich Text Editor comment
created_atintegerThe time the conversation was created
updated_atintegerThe time the conversation was updated

Request Example:

POST /api/v1/mr/8WBZ4TVD/detail
Content-Type: application/json

Response Example::

{
    "req_result": true,
    "data": {
        "id": 2478357753790725,
        "link": "8WBZ4TVD",
        "title": "iint ceres",
        "status": "open",
        "open_timestamp": 1733403354,
        "merge_timestamp": null,
        "conversations": [
            {
                "id": 2497916806775045,
                "user_id": 2342220453167365,
                "conv_type": "Comment",
                "comment": "{\"root\":{\"children\":[{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"Test Comment\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"paragraph\",\"version\":1,\"textFormat\":0,\"textStyle\":\"\"}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"root\",\"version\":1}}",
                "created_at": 1734597144,
                "updated_at": 1734597144
            }
        ]
    },
    "err_message": ""
}