Filter Tier Naming Rules Using the API
Format:
POST /customNaming/rules/query
Request Example:
curl --location --request POST 'https://demo.saas.appdynamics.com/zero/v1beta/customNaming/rules/query' --header 'Authorization: Bearer {AuthToken}'
--header 'Content-Type: application/json' \
--data-raw
{
"enabled": true,
"appServerTypes": [
"TOMCAT"
],
"applicationNames": [
"EcommerceApplication"
]
}
Response Example:
{
"total": 2,
"customConfigFocusedDtoList": [
{
"id": "56112e75-6308-4d04-b9fa-e336b967bc59",
"ruleName": "TomcatRule1",
"priority": 1,
"version": 1,
"enabled": true,
"appServerTypes": [
"TOMCAT"
],
"applicationNames": [
"EcommerceApplication"
]
},
{
"id": "6b8701db-b7d3-4017-8001-ba9de952cd82",
"ruleName": "TomcatRule2",
"priority": 2,
"version": 1,
"enabled": true,
"appServerTypes": [
"TOMCAT"
],
"applicationNames": [
"EcommerceApplication"
]
}
]
}