โ† API reference
Mutation / admin

iacGitReviseChange

Capture the Change Request branch's pushed head as its next revision, keeping the conversation. Returns the Change Request unchanged when the branch has no new commits.

Arguments

stackIdIaCStackID!

Owning stack.

Draft Change Request to revise.

expectedRevisionInt!

The revision the caller last saw; a different current revision is refused with REVISION_CHANGED.

Returns IaCGitChangeValue!

Scalar fields at a glance

titleString!
sourceRefString!
commitString!
baseString
statusString!
โ†— View the complete IaCGitChangeValue type

Explore in a view

Administration and IAM
View exact SDL
"""
Capture the Change Request branch's pushed head as its next revision, keeping the conversation. Returns the Change Request unchanged when the branch has no new commits.
"""
iacGitReviseChange(
  """Owning stack."""
  stackId: IaCStackID!
  """Draft Change Request to revise."""
  id: IaCChangeID!
  """
  The revision the caller last saw; a different current revision is refused with REVISION_CHANGED.
  """
  expectedRevision: Int!
): IaCGitChangeValue! @topic(names: ["admin"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.