ATCs

Create an ATC with steps and assertions

Changed on

Bearer atc:write (or cookie session). Transactional create across atcs + steps + assertions + AC links. Validates that every acceptance criterion belongs to the user story and the module is the user story's module or a descendant in the same project. Emits an atc.created event.

post/api/v1/atcs

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/api/v1/atcs
  • Auth: one of:
    • API key in cookie sb-fmbpikzpkafptqximhxn-auth-token
    • HTTP bearer

Request body

titlestring required

3-200 characters after trimming leading/trailing whitespace (BK-622).

module_idstring uuid required
user_story_idstring uuid required
acceptance_criterion_idsstring[] required

≥1; all must belong to user_story_id.

layer'UI' | 'API' | 'Unit' required
technique'Equivalence Partitioning' | 'Boundary Value Analysis' | 'State Transition' | 'Decision Table' | 'Pairwise' | 'null' nullable

Optional test-design technique. Omitted keys are cleared, not merged: sending null or omitting the key stores "not specified" (SQL NULL). Exact display label, case-sensitive, not trimmed.

priority'Critical' | 'High' | 'Medium' | 'Low' | 'null' nullable

Optional ATC priority (distinct from Bug severity). Omitted keys are cleared, not merged: sending null or omitting the key stores "not specified" (SQL NULL). Exact display label, case-sensitive, not trimmed.

tagsstring[]

Response

ATC created.

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status