List change requests per edge hostname
GET https://{{host}}/hapi/v1/dns-zones/:dnsZone/edge-hostnames/:recordName/change-requests
Get the list of all change requests that have been made for the specified edge hostname.
Body
PARAM
Key | Datatype | Required | Description |
includeEdgeHostnames
|
string | (Optional) Whether to include edge hostname data in the response, `false` by default. | |
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](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
{
"changeRequests": [
{
"action": "EDIT",
"changeId": 2,
"comments": "Editing CNAME",
"edgeHostnames": [
{
"comments": "Created for site",
"dnsZone": "edgesuite.net",
"edgeHostnameId": 2,
"ipVersionBehavior": "IPV4",
"map": "a;g.akamai.net",
"productId": "DSA",
"recordName": "www.examples.com",
"securityType": "STANDARD-TLS",
"serialNumber": 140,
"ttl": 21600,
"useDefaultMap": true,
"useDefaultTtl": true
}
],
"status": "PENDING",
"statusMessage": "File uploaded and awaiting validation",
Curl curl -X GET 'https://host/hapi/v1/dns-zones/:dnsZone/edge-hostnames/:recordName/change-requests?includeEdgeHostnames=&includeMappingBehaviors=&accountSwitchKey=' -H 'Accept: application/json' ENDPOINTS |