Projects

Import the deliverable's own test-case script.

Import the deliverable's own test-case script: markdown is the submission checklist — its §6 cases, and its starter prompts and release notes when it carries them — parsed deterministically, so malformed markdown is a named 400 and nothing is stored. starterPrompts, releaseNotes and platforms override what it says. The script is this deliverable's alone; the import bumps scriptVersion and clears every variant's last check.

post/story-projects/{projectId}/deliverables/{deliverableId}/script

Request

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

Request body

markdownstring required

The submission checklist: its §6 test-case tables (an optional Platform column sets each case's platform), and its "Default prompts" list and **Release notes:** line when it carries them.

starterPromptsstring[]

Replaces the starter prompts the markdown lists.

releaseNotesstring

Replaces the release notes the markdown carries.

platformsobject

A case's platform by id, e.g. { "P2": "mobile_app" }. An id the script does not have is a 400.

Response

The deliverable with its new script, the script version, and how many cases the parse carried.

scriptVersioninteger required

The script version this import made.

Changes

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