Get the test catalog template
GET https://{{host}}/test-management/v3/functional/test-catalog/template
Returns the test catalog template used for creating conditions. To learn more, see Test Center concepts and Example: create a condition.
Body
PARAM
Key | Datatype | Required | Description |
accountSwitchKey
|
string | (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys). |
HEADERS
Key | Datatype | Required | Description |
Accept
|
string |
RESPONSES
status OK
{
"conditionTypes": [
{
"conditionExpressions": [
{
"conditionExpression": "Response code is one of \"responseCodes\"",
"examples": [
"Response code is one of \"401, 403, 404, 500, 501, 502\"",
"Response code is one of \"200\""
]
}
],
"conditionType": "RESPONSE_CODE",
"label": "Response code",
"placeHolders": [
{
"availableValues": [
200,
300,
400,
500
],
"isCustomValueSupported": true,
"placeHolder": "responseCodes",
"valueDataType": "INTEGER",
"valueInputType": "MULTIPLE_VALUE",
"valueSeparator": ","
}
]
},
{
"conditionExpressions": [
{
"conditionExpression": "Response header \"headerName\" exists",
"examples": [
"Response header \"enter a value\" exists"
]
},
{
"conditionExpression": "Response header \"headerName\" has a value",
"examples": [
"Response header \"enter a value\" has a value"
]
},
{
"conditionExpression": "Response header \"headerName\" has no value",
"examples": [
"Response header \"enter a value\" has no value"
]
},
{
"conditionExpression": "Response header \"headerName\" does not exist",
"examples": [
"Response header \"enter a value\" does not exist"
]
},
{
"conditionExpression": "Response header \"headerName\" has a value that equals \"headerValue\"",
"examples": [
"Response header \"enter a value\" has a value that equals \"enter a value\""
]
},
{
"conditionExpression": "Response header \"headerName\" has a value that contains \"headerValue\"",
"examples": [
"Response header \"enter a value\" has a value that contains \"enter a value\""
]
},
{
"conditionExpression": "Response header \"headerName\" has a valu Curl curl -X GET 'https://host/test-management/v3/functional/test-catalog/template?accountSwitchKey=' -H 'Accept: application/json' ENDPOINTS |