Duplicate an ATC (deep-copy steps, assertions, AC bindings)
Changed onBearer atc:write (or cookie session). Deep-copies the source ATC into a NEW ATC in the same project — every step and assertion (in order) plus the AC bindings — with a fresh slug, version = 1, and an independent set of child rows (editing the copy never changes the source). The title defaults to <source> (copy) unless the optional new_title field is supplied. The field is named new_title, NOT title — an unknown title key is stripped silently by the schema, so a request sending it succeeds and the copy quietly keeps the default (copy) name. Emits an atc.created event.
Request
- Base URL: http://localhost:3000
- URL: http://localhost:3000/api/v1/atcs/{id}/duplicate
- Auth: one of:
- API key in cookie sb-fmbpikzpkafptqximhxn-auth-token
- HTTP bearer
Path parameters
The source ATC to duplicate.
Request body
Response
Duplicate created.
Changes
- info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- info
- warning
added the new
test_outside_plan_projectenum value to the/response property for the response status - warning
added the new
test_outside_plan_projectenum value to the/response property for the response status - warning
added the new
test_outside_plan_projectenum value to the/response property for the response status - warning
added the new
test_outside_plan_projectenum value to the/response property for the response status - warning
added the new
test_outside_plan_projectenum value to the/response property for the response status - warning
added the new
test_outside_plan_projectenum value to the/response property for the response status
- warning