ResolveConflictsResponse
A resolution that landed.
Shape
commitCommitThe merge commit on the merge request's branch.
- The Commit schema
- author_emailEmail (string)
- author_namestring
- authored_atstring
- commit_shaCommitHash (string)
- committed_atstring
- committer_emailEmail (string)
- committer_namestring
- repository_idRepositoryId (string · uuid)
- short_shaShortCommitHash (string)
- titlestring
- author_avatar_urlstring or nulloptional
- committer_avatar_urlstring or nulloptional
- messagestring or nulloptional
- parent_shasarray of CommitHash (string)optional
- tagsarray of TagName (string)optional
merge_requestMergeRequestThe merge request, now proposing the merge commit.
- The MergeRequest schema
- created_atstring
- created_byPrincipalId (string · uuid)The person or agent who opened it.
- is_draftboolean
- merge_request_idMergeRequestId (integer · int64)
- repository_idRepositoryId (string · uuid)
- source_branchBranchName (string)
- source_branch_deletedboolean
- source_branch_headCommitHash (string)
- statusMergeRequestStatusopenmergedclosed
- target_branchBranchName (string)
- target_branch_headCommitHash (string)
- titleMrTitle (string)
- updated_atstring
- author_can_pushboolean or nulloptionalWhether the author can push to the repository — false for a drive-by contributor's merge request. Absent where it was not computed.
- closed_atstring or nulloptional
- closed_byPrincipalId (string · uuid) or nulloptional
- descriptionMrDescription (string) or nulloptional
- merge_commit_shaCommitHash (string) or nulloptional
- merged_atstring or nulloptional
- merged_byPrincipalId (string · uuid) or nulloptional
- restack_requiredbooleanoptionalPrecise restack signal — set when this MR's downstack was squash-merged (a rebase is genuinely required to drop the duplicated diff). Distinct from the advisory
commits_behind. Reset on the MR's next source-advancing write. stack_summaryStackSummary or nulloptionalThe neighbouring merge requests in this stack. Returned when fetching a single merge request, not in listings.
- The StackSummary schema
- has_downstackboolean
- has_upstackboolean
- downstack_mr_idMergeRequestId (integer · int64) or nulloptional
- upstack_mr_idsarray of MergeRequestId (integer · int64)optional
- versioninteger · int64optional0–∞Optimistic-concurrency counter. Bumped on every write; writes condition on the read value.
Example
Synthesized example{
"commit": {
"author_email": "lin@acme.example",
"author_name": "Mara Okafor",
"authored_at": "2026-10-12T12:32:30Z",
"commit_sha": "78a1bb916ec9f40b96f18f279500879d909463e1",
"committed_at": "2026-10-09T05:01:53Z",
"committer_email": "lin@acme.example",
"committer_name": "payments-api",
"repository_id": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70",
"short_sha": "0b75529aa9cc555368f1e5068b9940f33190edf7",
"title": "Stream pipeline status into the run header",
"author_avatar_url": "https://gitmoap.example/acme/84596894",
"committer_avatar_url": "https://gitmoap.example/acme/fd5fbaad",
"message": "Draw the region map from operation density",
"parent_shas": [
"a78d87f0ffc36fb5539bfa528cb1062587855d85",
"d6a6ccbff02c72a3dae01e583db8872105a6ccc7"
],
"tags": [
"tags-43fa"
]
},
"merge_request": {
"created_at": "2026-10-16T09:43:33Z",
"created_by": "c9d8e7f6-a5b4-4c3d-9e2f-1a0b9c8d7e6f",
"is_draft": false,
"merge_request_id": 42,
"repository_id": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70",
"source_branch": "feature/region-legend",
"source_branch_deleted": false,
"source_branch_head": "30263c2dc2a6cfc78a15052447ee031161fce2c5",
"status": "open",
"target_branch": "main",
"target_branch_head": "f64623affd10baba60f17b1150b93575c6aa44c5",
"title": "Inline scalar newtypes but keep their brand",
"updated_at": "2026-10-11T16:53:09Z",
"author_can_push": false,
"closed_at": "2026-10-14T03:04:31Z",
"closed_by": "b7e2d1c0-9f8e-4d7c-a6b5-c4d3e2f1a0b9",
"description": "Renders each region as density contours of its operations.",
"merge_commit_sha": "961f222f0c0a2a0182eb58f74bcc2dfecffeafd2",
"merged_at": "2026-10-10T20:44:21Z",
"merged_by": "b7e2d1c0-9f8e-4d7c-a6b5-c4d3e2f1a0b9",
"restack_required": false,
"stack_summary": {
"has_downstack": false,
"has_upstack": false,
"downstack_mr_id": 42,
"upstack_mr_ids": [
42,
42
]
},
"version": 51
}
}
Graph
Used inside
No schema contains this one.
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 1 operation