ATCs

Report which Tests chain an ATC ("used in N tests")

Changed on

Bearer atc:read (or cookie session). Returns the distinct Tests that chain this ATC — each with the positions the ATC occupies — plus a count of distinct Tests, ordered by Test title. Results are confined to the ATC's own workspace (Tests are workspace-scoped) and the caller must be an active member of it. A reachable ATC with no chaining Tests returns count: 0 + an empty used_in (never 404). A nonexistent, archived, or cross-workspace ATC returns a uniform 404 (no existence leak).

get/api/v1/atcs/{id}/usage

Request

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

Path parameters

idstring uuid required

The ATC to report usage for.

Response

Usage report (possibly empty).

countinteger required

Number of distinct Tests that chain this ATC.

Changes

    • 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

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status