ReviseOp
Builder revise operation.
Properties
Section titled “Properties”operation
Section titled “operation”
readonlyoperation:"revise"
Operation discriminator. Always revise.
readonlyoptionalwref?:string
Target wref to revise.
readonlyoptionalname?:string
Target name to revise. Equivalent to wref for local paths.
readonlyoptionalkind?:string
Optional kind safety hint: shape, thing, assertion, or collection.
readonlyoptionaldata?:unknown
New shape-validated data payload.
expectedVersion?
Section titled “expectedVersion?”
readonlyoptionalexpectedVersion?:number
Optional optimistic-concurrency precondition. When supplied, the revise is
applied only if the target is still at this version number. A stale value
produces a CONFLICT error with details.reason = 'expected_version_mismatch'.
Absent field preserves today’s behavior exactly (opt-in).
leaseId?
Section titled “leaseId?”
readonlyoptionalleaseId?:string
Optional read-lease token (#3625) returned by thing.getWithLease. When
it matches the target’s active lease the lease auto-releases on commit;
a mismatch (or absence against a live lease) is rejected with
LEASE_UNAVAILABLE.
Hit a problem or have a question? Get in touch.