Get an edge hostname
GET https://{{host}}/hapi/v1/edge-hostnames/:edgeHostnameId
Get a specific edge hostname's details including its product ID, IP version behavior, and China CDN or Edge IP Binding status.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
includeMappingBehaviors | string | (Optional) Whether to include edge hostnames' mapping behaviors in the response, false by default. | |
accountSwitchKey | string | (Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"comments":"Created for example.com","dnsZone":"edgekey.net","edgeHostnameId":1,"ipVersionBehavior":"IPV6_IPV4_DUALSTACK","isSecure":true,"map":"e;dscb.akamaiedge.net","mappingBehaviors":[{"options":[{"optionName":"optIn","optionValue":["United States"]}],"behaviorName":"deliveryPolicy"}],"productId":"DSD","recordName":"www.example.com","slotNumber":11838,"ttl":21600,"useCases":[{"option":"BACKGROUND","type":"GLOBAL","useCase":"Download_Mode"}],"useDefaultMap":true,"useDefaultTtl":true}