Applications detection rules API - GET host detection headers
Gets the list of the host detection headers.
The request produces an application/json
payload.
GET |
|
Authentication
To execute this request, you need the Read configuration (ReadConfig
) permission assigned to your API token. To learn how to obtain and use it, see Tokens and authentication.
Parameters
The request doesn't provide any configurable parameters.
Response
Response codes
Code | Description |
---|---|
200 | Success |
Response body
The ApplicationDetectionRulesHostDetectionSettings object
Configuration of host detection headers.
Element | Type | Description |
---|---|---|
metadata |
Configuration |
|
hostDetectionHeaders | string[] | An ordered list of host detection headers. Headers are evaluated from top to bottom; the first matching header applies. |
The ConfigurationMetadata object
Metadata useful for debugging
Element | Type | Description |
---|---|---|
configurationVersions | integer[] | A Sorted list of the version numbers of the configuration. |
currentConfigurationVersions | string[] | A Sorted list of string version numbers of the configuration. |
clusterVersion | string | Dynatrace server version. |
{
"metadata": {
"configurationVersions": [
4,
2
],
"clusterVersion": "Mock version"
},
"hostDetectionHeaders": [
"X-Host",
"X-Forwarded-Host"
]
}