Delete a 'AutomationTestRun' by id
DELETE/atm-testrun/:id
If the entity type supports soft-deletion this operation only soft-deletes the entity.
Request
Path Parameters
The id tof the object to delete
Responses
- 200
- 4XX
- 5XX
Returns a single AutomationTestRun
- application/json
- Schema
- Example (from schema)
Schema
The unique entity id - must be a positive integer
A descriptive title for this entity or mapping (1 to 200 characters)
A Descriptive Title
The project id this entity or mapping belongs to
A list of tags for this entity
important,release,smoketest
The atm_source_id property
The min_timestamp property
The max_timestamp property
The duration property
The highest result status in this run, see the ordering of the result status values
The is_completed property
The is_closed property
The time this automation run was closed - all referenced automation test cases uses this as a historic timestamp
1970-01-01T00:00:00.000Z
The id of the user who closed this automation test run
0
The is_pinned property
The key_fields property
The key_fields_raw property
An optional description for the test run (can be a rich text document)
Number of passed results in this run
Number of passed with warning results in this run
Number of skipped results in this run
Number of blocked results in this run
Number of failed results in this run
{
"id": 0,
"title": "A Descriptive Title",
"project_id": 0,
"tags": "important,release,smoketest",
"atm_source_id": 0,
"min_timestamp": 0,
"max_timestamp": 0,
"duration": 0,
"status_highest": 0,
"is_completed": true,
"is_closed": true,
"closed_at": "1970-01-01T00:00:00.000Z",
"closed_by": 0,
"is_pinned": true,
"key_fields": {},
"key_fields_raw": {},
"description": "",
"stat_passed_count": 0,
"stat_passed_warn_count": 0,
"stat_skipped_count": 0,
"stat_blocked_count": 0,
"stat_failed_count": 0
}
The request failed because invalid request parameters or data were supplied or access was denied.
- application/json
- Schema
- Example (from schema)
Schema
The error code describing the general error category.
API_INVALID_INPUT_DATA
The HTTP status code.
The actual error message describing the error in more detail.
The request id for following up on specific errors.
{
"code": "API_INVALID_INPUT_DATA",
"status": 0,
"message": "string",
"reqid": "string"
}
The request failed because an error occurred during processing of the request.
- application/json
- Schema
- Example (from schema)
Schema
The error code describing the general error category.
API_INVALID_INPUT_DATA
The HTTP status code.
The actual error message describing the error in more detail.
The request id for following up on specific errors.
{
"code": "API_INVALID_INPUT_DATA",
"status": 0,
"message": "string",
"reqid": "string"
}