Template drafts

Capture a draft state (disk-only layer_snapshot of the running draft)

202 with the layer_snapshot operation; its result carries checkpoint_id. A suspended draft is 409 workspace_not_running (its current checkpoint already serves as a state). Supports Idempotency-Key.

post/v1/templates/{slug}/draft/states

Request

  • Base URL: https://api.shardflux.dev
  • URL: https://api.shardflux.dev/v1/templates/{slug}/draft/states
  • Auth: HTTP bearer

Path parameters

slugstring required

Request body

labelstring

Response

Default Response

Changes

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