v1

latestOpenAPI 3.1.02026-07-178964200.5 KB
Artifacts

Revert Artifact Endpoint

Restore the artifact's last committed version, discarding the draft delta.

Phase D.1 carves this out as a distinct endpoint instead of routing through op/revert. Revert touches version history (it doesn't just flip a state field) so it warrants its own verb. If the artifact has no committed version yet, returns 204 No Content per the design doc's "no-op" rule.

post/artifacts/{artifact_id}/revert

Path parameters

artifact_idstring required

Response

Successful Response

{"stackTrail":"paths:/artifacts/{artifact_id}/revert:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}