Skip to content
GitmoapAPIBeta
Schema

ListResponse_IssueMrView

Shape

  • itemsarray of object
    • closingbooleanWhether the merge request says it finishes the work item (Closes #412) rather than merely mentioning it. Merging a closing merge request closes the item.
    • merge_requestMergeRequest
      • 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.
    • repository_idRepositoryId (string · uuid)The repository the merge request is in.
  • next_tokenstring or nulloptional

Example

Synthesized example
{
"items": [
{
"closing": false,
"merge_request": {
"created_at": "2026-10-08T16:20:55Z",
"created_by": "c9d8e7f6-a5b4-4c3d-9e2f-1a0b9c8d7e6f",
"is_draft": false,
"merge_request_id": 42,
"repository_id": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70",
"source_branch": "feat/run-header-stream",
"source_branch_deleted": false,
"source_branch_head": "9e82cf53990906eba67c28c1ac9d8c253370e2bc",
"status": "open",
"target_branch": "main",
"target_branch_head": "3701a17566bec1f0f96f926af90ea7940ecfa104",
"title": "Draw the region map from operation density",
"updated_at": "2026-10-13T08:46:05Z"
},
"repository_id": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70"
},
{
"closing": false,
"merge_request": {
"created_at": "2026-10-08T12:40:16Z",
"created_by": "a3f1c2d4-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
"is_draft": false,
"merge_request_id": 42,
"repository_id": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70",
"source_branch": "fix/payload-build-pin",
"source_branch_deleted": false,
"source_branch_head": "332768e670ad360f56028ecb3a57e54a7257cb2f",
"status": "open",
"target_branch": "main",
"target_branch_head": "bc15e8ec13d1a6c41e35d0d57e9fb840b7da3534",
"title": "Pin a page's payload to the build that rendered it",
"updated_at": "2026-10-08T19:04:29Z"
},
"repository_id": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70"
}
],
"next_token": "next-token-e7f1"
}

Graph

Used inside

No schema contains this one.

Contains

Used by