Templates

Stage a historical template project tree

Builds the template entry before atomically staging a reachable historical commit and its emitted source; a later Save appends a new commit without rewriting branch history.

post/v1/templates/{id}/workspace/restore

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/templates/{id}/workspace/restore
  • Auth: API key in header x-api-key

Path parameters

idstring required

Request body

expectedRevisionstring required
commitstring required
idempotencyKeystring required

Response

Success

Changes

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