Akamai Put Item 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
{
"operationId": "put-item",
"method": "PUT",
"path": "/networks/{network}/namespaces/{namespaceId}/groups/{groupId}/items/{itemId}",
"summary": "Akamai Write an Item",
"requestExamples": [
{
"contentType": "application/json",
"example": {
"currency": "\u20ac",
"flag": "/belgium.png",
"name": "Belgium"
}
},
{
"contentType": "text/plain",
"example": "English"
}
],
"responseExamples": [
{
"status": "200",
"contentType": "text/plain",
"example": "Item was upserted in database, namespace default, group countries, and key US."
},
{
"status": "400",
"contentType": "application/problem+json",
"example": {
"detail": "Key must only use a string that matches A-Z a-z 0-9 _ or -..",
"errorCode": "EKV_9000",
"instance": "/edgekv/error-instances/66344166-567c-4158-95b2-07d6127b8b75",
"status": 400,
"title": "Bad Request",
"type": "/edgekv/error-types/edgekv-bad-request",
"additionalDetail": {
"requestId": "a4c461e09bf602be"
}
}
},
{
"status": "413",
"contentType": "application/problem+json",
"example": {
"detail": "Value cannot exceed 262144 characters.",
"errorCode": "EKV_9000",
"instance": "/edgekv/error-instances/2d272e67-0c0c-4d43-9860-a8fc999e9256",
"status": 413,
"title": "Payload Too Large",
"type": "/edgekv/error-types/edgekv-payload-too-large",
"additionalDetail": {
"requestId": "8bea61e1a0e50169"
}
}
},
{
"status": "429",
"contentType": "application/problem+json",
"example": {
"detail": "Your request has been denied: 364 hits per second too high. limit set at 73. Please try again soon.",
"errorCode": "EKV_9100",
"instance": "/edgekv/error-instances/80f9503f-633e-4412-9393-62f329868911",
"status": 429,
"title": "Too Many Requests",
"type": "/edgekv/error-types/edgekv-too-many-requests",
"additionalDetail": {
"requestId": "16fc97b7cb0ee4dd"
}
}
},
{
"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"
}
}
}
]
}