Home
Akamai
Akamai Get Token Example
Akamai Get Token Example
CDN Cloud Edge Computing Networks Platform Security
Akamai Get Token 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-token",
"method": "GET",
"path": "/tokens/{tokenName}",
"summary": "Akamai Download an Access Token",
"requestExamples": [],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"example": {
"expiry": "2021-09-30",
"name": "my_token",
"uuid": "fa3a7ae0-1b0c-45c7-adc3-f0638c6b7466",
"value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
},
{
"status": "400",
"contentType": "application/problem+json",
"example": {
"detail": "Name contains invalid characters.",
"errorCode": "EKV_2000",
"instance": "/edgekv/error-instances/0959b9b3-8043-4f87-9510-0e752160d713",
"status": 400,
"title": "Bad Request",
"type": "/edgekv/error-types/edgekv-bad-request",
"additionalDetail": {
"requestId": "e30761e0a7b6072b"
}
}
},
{
"status": "404",
"contentType": "application/problem+json",
"example": {
"detail": "Token with name token1 does not exist.",
"errorCode": "EKV_3000",
"instance": "/edgekv/error-instances/e77c8cc1-3698-412a-b574-64fc12c05741",
"status": 404,
"title": "Not Found",
"type": "/edgekv/error-types/edgekv-not-found",
"additionalDetail": {
"requestId": "b08961e0a5540233"
}
}
},
{
"status": "410",
"contentType": "application/problem+json",
"example": {
"detail": "Token has expired.",
"errorCode": "EKV_3000",
"instance": "/edgekv/error-instances/e77c8cc1-3698-412a-b574-64fc12c05741",
"status": 410,
"title": "Not Found",
"type": "/edgekv/error-types/edgekv-not-found",
"additionalDetail": {
"requestId": "b08961e0a5540233"
}
}
},
{
"status": "500",
"contentType": "application/problem+json",
"example": {
"detail": "An internal error occurred.",
"errorCode": "EKV_0000",
"instance": "/edgekv/error-instances/cdb7767c-817e-4805-9f28-0816eefa0ba8",
"status": 500,
"title": "Internal Server Error",
"type": "/edgekv/error-types/edgekv-internal-server-error",
"additionalDetail": {
"requestId": "cd9b61e08148009b"
}
}
}
]
}