Projects

Edit one case of the script in place.

Edit ONE case of the deliverable's own test-case script in place. scriptVersion is the version the edit was based on: older than the stored script's current version is 409 deliverable_script_version_conflict and NOTHING is written (another edit landed first); a {caseId} the stored script does not have is a named 404. A valid edit replaces that one case and no other — array order and every other case stay as stored — and the write bumps scriptVersion and clears every variant's lastCheck, exactly as an import does.

patch/story-projects/{projectId}/deliverables/{deliverableId}/script/cases/{caseId}

Request

  • Base URL: https://docs.sleeperhit.studio/api/v1
  • URL: https://docs.sleeperhit.studio/api/v1/story-projects/{projectId}/deliverables/{deliverableId}/script/cases/{caseId}
  • Auth: HTTP bearer

Request body

scriptVersioninteger required

The scriptVersion your edit was read from.

Response

The stored script as the edit left it, and its new version.

scriptVersioninteger required

The script version this edit made.

Changes

No recorded changes to this operation across all 2 revisions of this API.