Test Plans
Add tests to a test plan
Changed onMember-only (role >= member), re-checked live server-side, and only while the plan is Open. Every submitted Test id must belong to the plan's own project (derived from its chained ATCs); a mismatch, a nonexistent id, or a foreign-workspace id are all rejected uniformly (422 test_outside_plan_project), with no id disclosed back. A Test already in the plan rejects the WHOLE request (409 conflict) rather than partially applying. Requires an Idempotency-Key header; a rapid double-submit of the same selection is deduplicated by the header AND independently by the database unique constraint.
post/api/v1/test-plans/{id}/tests
Request
- Base URL: http://localhost:3000
- URL: http://localhost:3000/api/v1/test-plans/{id}/tests
- Auth: one of:
- API key in cookie sb-fmbpikzpkafptqximhxn-auth-token
- HTTP bearer
Path parameters
idstring uuid required
Request body
Response
Tests added.
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking