MrParticipant
Someone involved in a merge request, and every role they hold in it.
Shape
- emailEmail (string)
- namestring
- rolesarray of ParticipantRole: one of author | reviewer | approver | commenter | reactor | commit_author | co_author | merger | closerSorted and deduplicated, so the response is stable across reads.
- avatar_urlstring or nulloptional
principalActorSummary or nulloptionalAbsent only for a commit author whose email matches no registered principal — every other role is a relational reference and always resolves.
- The ActorSummary schema
- emailstring
- idstring
- usernamestring
- avatar_urlstring or nulloptional
Example
Synthesized example{
"email": "lin@acme.example",
"name": "payments-api",
"roles": [
"author",
"author"
],
"avatar_url": "https://gitmoap.example/acme/35b3d784",
"principal": {
"email": "tomas@acme.example",
"id": "id-3af8",
"username": "mara",
"avatar_url": "https://gitmoap.example/acme/2cd13074"
}
}
Graph
Used inside
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.