MergeRequestReviewer
Shape
- auth_methodReviewAuthMethodsessiontokenunknownHow the review was made: through a sign-in session or with an access token. An approval rule may count only the first.
- created_atstring
- merge_request_idMergeRequestId (integer · int64)
- principal_kindPrincipalKinduserservice_accountagentA person or a service account.
- repository_idRepositoryId (string · uuid)
- review_statusReviewStatuspendingapprovedrejected
reviewerActorSummaryDenormalized reviewer snapshot (write-time enrichment)
- The ActorSummary schema
- emailstring
- idstring
- usernamestring
- avatar_urlstring or nulloptional
- stalebooleanWhether this reviewer's approval predates the current source-branch tip (i.e. was cast against an older revision). Computed at read time; not stored. Purely informational — whether staleness blocks a merge is governed by the approval policy's
reset_on_push, surfaced per approval in the merge check. Always present in responses; it is recomputed on every read. - approved_at_shaCommitHash (string) or nulloptional
- reviewed_atstring or nulloptional
Example
Synthesized example{
"auth_method": "session",
"created_at": "2026-10-09T22:32:18Z",
"merge_request_id": 42,
"principal_kind": "user",
"repository_id": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70",
"review_status": "pending",
"reviewer": {
"email": "mara@acme.example",
"id": "id-b068",
"username": "tomas",
"avatar_url": "https://gitmoap.example/acme/8944e407"
},
"stale": false,
"approved_at_sha": "7ad7c9a7aa014b304b43cfe6d5fbbff09354ce2e",
"reviewed_at": "2026-10-12T14:22:16Z"
}
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 5 operations
- POSTApprove a merge request/repositories/{repo_id}/merge-requests/{mr_id}/approve
- POSTReject a merge request/repositories/{repo_id}/merge-requests/{mr_id}/reject
- GETList reviewers for a merge request/repositories/{repo_id}/merge-requests/{mr_id}/reviewers
- POSTAdd a reviewer to a merge request/repositories/{repo_id}/merge-requests/{mr_id}/reviewers
- POSTUnapprove a merge request (withdraw approval)/repositories/{repo_id}/merge-requests/{mr_id}/unapprove