ApprovalSwitches
Who may not approve, whatever the rules say — and whether approvals survive a push.
Shape
- author_can_approvebooleanWhether a merge request's author may approve it.
- committers_can_approvebooleanWhether someone who authored or committed a commit in it may approve it.
- last_pusher_can_approvebooleanWhether whoever pushed its current head may approve it.
- reset_on_pushbooleanWhether an approval stops counting when new commits are pushed.
Example
Synthesized example{
"author_can_approve": false,
"committers_can_approve": false,
"last_pusher_can_approve": false,
"reset_on_push": false
}
Graph
Used inside
Contains
No named schema inside.
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 0 operations
No operation returns it directly.