Akamai · Example Payload

Akamai Get Tokens Example

CDNCloudEdge ComputingNetworksPlatformSecurity

Akamai Get Tokens 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

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "get-tokens",
  "method": "GET",
  "path": "/tokens",
  "summary": "Akamai List Access Tokens",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "tokens": [
          {
            "expiry": "2021-09-30",
            "name": "token1",
            "uuid": "12886ccf-7662-5f19-b039-766740ce227f"
          },
          {
            "expiry": "2021-09-30",
            "name": "my_token",
            "uuid": "a600dfaa-3b7a-5d2a-bae3-b0c0d0e88e4a"
          }
        ]
      }
    },
    {
      "status": "404",
      "contentType": "application/problem+json",
      "example": {
        "detail": "No tokens exist.",
        "errorCode": "EKV_3000",
        "instance": "/edgekv/error-instances/420e5e11-210f-4d16-ab84-eebf4b70757a",
        "status": 404,
        "title": "Not Found",
        "type": "/edgekv/error-types/edgekv-not-found",
        "additionalDetail": {
          "requestId": "aad261e0a45b000a"
        }
      }
    },
    {
      "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"
        }
      }
    }
  ]
}