Skip to content
GitmoapAPIBeta
Schema

ListMergeRequestCardsResponse

Shape

  • itemsarray of MergeRequestCard
    • The MergeRequestCard schema
    • approvalsApprovalSummary
    • authorActorSummary
    • comments_countinteger · int320–∞
    • commits_countinteger · int320–∞
    • created_atstring
    • diffDiffSummary
    • is_draftboolean
    • merge_request_idMergeRequestId (integer · int64)
    • repository_idRepositoryId (string · uuid)
    • reviewersarray of CardReviewer
      • The CardReviewer schema
      • emailstring
      • idstring
      • review_statusReviewStatuspendingapprovedrejected
      • stalebooleanWhether this reviewer's approval predates the current source-branch tip (approved an older revision). Computed at read time; always present.
      • usernamestring
      • avatar_urlstring or nulloptional
    • source_branchBranchName (string)
    • statusMergeRequestStatusopenmergedclosed
    • target_branchBranchName (string)
    • threadsThreadSummary
    • 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.
    • is_stackedbooleanoptionalTrue when the merge request is part of a stack: an open merge request is based on it, or it is based on one.
    • mergeMergeStatusSummary or nulloptional
    • my_review_statusReviewStatuspendingapprovedrejectedor nulloptionalYour own review status on the merge request. Present only in the listing of merge requests awaiting your review.
    • pipeline_stateMrPipelineStatependingrunningfailedpassedemptyor nulloptionalWhere the merge request's pipelines stand at its head: pending, running, failed, passed, or empty when no pipeline applies. Present only in a repository's own listing, whether or not the repository requires the pipelines to pass.
  • next_tokenstring or nulloptional

Example

Synthesized example
{
"items": [
{
"approvals": {
"given": 52,
"required": 43
},
"author": {
"email": "lin@acme.example",
"id": "id-9cd7",
"username": "mara"
},
"comments_count": 5,
"commits_count": 5,
"created_at": "2026-10-08T10:42:13Z",
"diff": {
"additions": 53,
"deletions": 28
},
"is_draft": false,
"merge_request_id": 42,
"repository_id": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70",
"reviewers": [],
"source_branch": "feature/region-legend",
"status": "open",
"target_branch": "main",
"threads": {
"resolved": 88,
"total": 0
},
"title": "Draw the region map from operation density",
"updated_at": "2026-10-11T21:28:38Z"
}
],
"next_token": "next-token-0ed0"
}

Graph

Used inside

No schema contains this one.

Used by