StackNode
One member of a reconstructed stack.
Shape
- commits_behindinteger · int320–∞Advisory — how far behind its target this MR's source is.
- is_anchorboolean
- merge_request_idMergeRequestId (integer · int64)
- positioninteger · int320–∞
- restack_requiredbooleanPrecise — the MR's stored
restack_requiredmarker (squash downstack). - source_branchBranchName (string)
- statusMergeRequestStatusopenmergedclosed
- target_branchBranchName (string)
- titleMrTitle (string)
childrenarray of StackNodeoptionalUpstack dependents (a branch may have several). Empty in the
downstackpath.- The StackNode schema
- commits_behindinteger · int320–∞Advisory — how far behind its target this MR's source is.
- is_anchorboolean
- merge_request_idMergeRequestId (integer · int64)
- positioninteger · int320–∞
- restack_requiredbooleanPrecise — the MR's stored
restack_requiredmarker (squash downstack). - source_branchBranchName (string)
- statusMergeRequestStatusopenmergedclosed
- target_branchBranchName (string)
- titleMrTitle (string)
childrenarray of StackNodeoptionalUpstack dependents (a branch may have several). Empty in the
downstackpath.- The StackNode schema
- commits_behindinteger · int320–∞Advisory — how far behind its target this MR's source is.
- is_anchorboolean
- merge_request_idMergeRequestId (integer · int64)
- positioninteger · int320–∞
- restack_requiredbooleanPrecise — the MR's stored
restack_requiredmarker (squash downstack). - source_branchBranchName (string)
- statusMergeRequestStatusopenmergedclosed
- target_branchBranchName (string)
- titleMrTitle (string)
childrenarray of StackNodeoptionalUpstack dependents (a branch may have several). Empty in the
downstackpath.- The StackNode schema
- commits_behindinteger · int320–∞Advisory — how far behind its target this MR's source is.
- is_anchorboolean
- merge_request_idMergeRequestId (integer · int64)
- positioninteger · int320–∞
- restack_requiredbooleanPrecise — the MR's stored
restack_requiredmarker (squash downstack). - source_branchBranchName (string)
- statusMergeRequestStatusopenmergedclosed
- target_branchBranchName (string)
- titleMrTitle (string)
- childrenarray of StackNodeoptionalUpstack dependents (a branch may have several). Empty in the
downstackpath.
Example
Synthesized example{
"commits_behind": 1,
"is_anchor": false,
"merge_request_id": 42,
"position": 5,
"restack_required": false,
"source_branch": "feature/region-legend",
"status": "open",
"target_branch": "main",
"title": "Pin a page's payload to the build that rendered it",
"children": [
{
"commits_behind": 4,
"is_anchor": false,
"merge_request_id": 42,
"position": 39,
"restack_required": false,
"source_branch": "feature/region-legend",
"status": "open",
"target_branch": "main",
"title": "Pin a page's payload to the build that rendered it"
},
{
"commits_behind": 2,
"is_anchor": false,
"merge_request_id": 42,
"position": 30,
"restack_required": false,
"source_branch": "feat/run-header-stream",
"status": "open",
"target_branch": "main",
"title": "Pin a page's payload to the build that rendered it"
}
]
}
Graph
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 0 operations
No operation returns it directly.