Create an immutable revision only if the expected head still matches

post/v1/specs/{id}/revisions

Request

  • Base URL: https://api.specstream.ai
  • URL: https://api.specstream.ai/v1/specs/{id}/revisions
  • Auth: API key in header Authorization

Path parameters

idstring required

Request body

expected_revision_idstring required
parent_revision_idstring nullable

Branch from this revision of the same request. Leave it out to branch from the current head. expected_revision_id still protects the current head against concurrent edits.

namestring nullable
contextstring nullable

Response

Revised request

Changes

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