GetTestsuiteById
This method can be used for the following functionality: Get details for a testsuite and its testcases.
Last updated
GET /api/ss/testsuites/5e641773899bb708b55ea489?cf_key_allowlist=key1&cf_key_allowlist=key2 HTTP/1.1GET /api/ss/testsuites/5e641773899bb708b55ea489?cf_key_blocklist=key1&cf_key_blocklist=key2 HTTP/1.1curl -X GET 'https://demo.attackforge.com/api/ss/testsuites/5e641773899bb708b55ea489' -H 'Host: demo.attackforge.com' -H 'X-SSAPI-KEY: ***************************************' -H 'Content-Type: application/json' -H 'Connection: close'{
"testsuite": {
"id": "...",
"created": "...",
"last_modified": "...",
"name": "...",
"description": "...",
"code": "...",
"sort_order": 999,
"tags": [
"..."
],
"created_by": "...",
"testcases": [
{
"id": "...",
"created": "...",
"last_modified": "...",
"title": "...",
"details": "...",
"details_html": "...",
"code": "...",
"sort_order": 999,
"tags": [
"..."
],
"created_by": "...",
"execution_flow": [
{
"title": "...",
"details": "...",
"details_html": "..."
}
],
"custom_fields": [
{
"key": "...",
"value": "...",
"type": "Field"
}
],
"files": [
{
"file_name": "...",
"file_name_custom": "...",
"storage_name": "...",
"file_type": "...",
"file_size": 999,
"file_size_kb": 99999
}
]
}
]
}
}