Home
Akamai
Akamai Get Onboarding Cname Records Example
Akamai Get Onboarding Cname Records Example
CDN Cloud Edge Computing Networks Platform Security
Akamai Get Onboarding Cname Records Example is an example object payload from Akamai, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
operationId method path summary requestExamples responseExamples
Example Payload
{
"operationId": "get-onboarding-cname-records",
"method": "GET",
"path": "/onboardings/{onboardingId}/cname-to-akamai",
"summary": "List hostname CNAME DNS records",
"requestExamples": [],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"example": {
"cnameValidateLink": "/appsec/v1/onboardings/101/cname-to-akamai/validate",
"cnameValidationStatus": "VALIDATION_NEEDED",
"description": "Add all records to your DNS settings to cname hostnames to Akamai and validate the records to complete the onboarding",
"onboardingLink": "/appsec/v1/onboardings/101",
"records": [
{
"recordName": "test.hostname1.com",
"recordStatus": "NOT_VALIDATED",
"recordTtl": 300,
"recordType": "CNAME",
"recordValue": "test.hostname1.com.edgekey.net"
},
{
"recordName": "test.hostname2.com",
"recordStatus": "NOT_VALIDATED",
"recordTtl": 300,
"recordType": "CNAME",
"recordValue": "test.hostname2.com.edgekey.net"
}
]
}
},
{
"status": "403",
"contentType": "application/problem+json",
"example": {
"detail": "You do not have the necessary access to perform this operation or the requested resource cannot be modified",
"instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
"status": 403,
"title": "Forbidden",
"type": "https://problems.luna.akamaiapis.net/appsec-resource/error-types/ACCESS-DENIED"
}
},
{
"status": "404",
"contentType": "application/problem+json",
"example": {
"detail": "The requested resource is not found",
"instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
"status": 404,
"title": "Not Found",
"type": "https://problems.luna.akamaiapis.net/appsec/error-types/NOT-FOUND"
}
},
{
"status": "500",
"contentType": "application/problem+json",
"example": {
"detail": "Could not retrieve validation records",
"instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
"status": 500,
"title": "Something went wrong",
"type": "https://problems.luna.akamaiapis.net/appsec/error-types/INTERNAL-SERVER-ERROR"
}
}
]
}