conditions

Restore Condition

Restore a condition and the dependent tombstones named by its receipt.

Every submitted id is validated atomically for writable-project scope, condition linkage, and tombstone state. The server cannot verify that the set is complete: only the caller's receipt records which rows one delete stamped, and transaction-stable deleted_at cannot reconstruct that fact (spec-lite §2.1). An incomplete receipt therefore produces ADR-0172's accepted lossy restore. Returns 409 not_deleted for an already-live row.

post/api/v1/conditions/{condition_id}/restore

Path parameters

condition_idstring uuid required

Request body

measurement_idsstring[] required
multiplier_idsstring[] required

Response

Successful Response

idstring uuid required
project_idstring uuid required
namestring required
geometry_kind'count' | 'linear' | 'area' required
shape'circle' | 'square' | 'rectangle' nullable
unitstring required
colorstring required
attachment_kind'area' | 'linear' nullable
measurement_countinteger
folder_idstring uuid nullable
folder_pathstring
sort_ordernumber
layer_idstring uuid required
notesstring nullable
extension_idstring uuid nullable
phase_code_idstring uuid nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.