This section provides details on the data object that reflects the API's common response to error cases, and lists the API's range of response status codes for both error and success cases.
In the case of errors, the API returns an HTTP Problem JSON object with the application/problem+json
media type. For example, when you try to GET a map that does not exist, the API responds with a JSON object such as this:
{
"type" : "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/lcdn-mapping/errors#core.entity-not-found",
"title" : "The requested entity could not be found",
"detail" : "Map 99999 does not exist",
"instance" : "https://akzz-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net/api/lcdn-mapping/v1/site-maps/99999#fae1fd860940d25d",
"entityType" : "Map",
"entityId" : 99999
}