Skip to main content

RollbackVoxelUpdatesInput

Payload for rollbackVoxelUpdates: selects the voxel edits made by one user in one app within a time window to revert.

input RollbackVoxelUpdatesInput {
appId: BigInt!
userId: BigInt!
from: DateTime!
to: DateTime!
dryRun: Boolean!
idempotencyKey: String
}

Fields

RollbackVoxelUpdatesInput.appId ● BigInt! non-null scalar

Id of the app whose voxels to roll back (decimal string).

RollbackVoxelUpdatesInput.userId ● BigInt! non-null scalar

Id of the user (decimal string) whose edits within the window will be reverted.

RollbackVoxelUpdatesInput.from ● DateTime! non-null scalar

Inclusive start of the time window of edits to revert.

RollbackVoxelUpdatesInput.to ● DateTime! non-null scalar

Inclusive end of the time window of edits to revert.

RollbackVoxelUpdatesInput.dryRun ● Boolean! non-null scalar

When true (the DEFAULT), only computes and returns the planned reversions WITHOUT writing anything; set false to actually apply the rollback (DESTRUCTIVE — mutates world state).

RollbackVoxelUpdatesInput.idempotencyKey ● String scalar

Optional idempotency key. Recommended for retries: replaying with the same key and identical input returns the first result instead of re-applying; the same key with different input returns IDEMPOTENCY_CONFLICT. Keys expire after 24h.

Member Of

rollbackVoxelUpdates mutation