Akamai · Example Payload
Akamai Get Jwt Settings Example
CDNCloudEdge ComputingNetworksPlatformSecurity
Akamai Get Jwt Settings 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": "get-jwt-settings",
"method": "GET",
"path": "/endpoints/{apiEndPointId}/versions/{versionNumber}/settings/jwt",
"summary": "Get JWT settings",
"requestExamples": [],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"example": {
"enabled": true,
"resources": {
"2926712": {
"enabled": true,
"inheritsFromEndpoint": true,
"notes": "A book item within the bookstore API.",
"path": "/book/{bookId}",
"methods": [
"POST",
"GET"
]
},
"2935128": {
"enabled": true,
"inheritsFromEndpoint": true,
"notes": "A registered bookstore user.",
"path": "/user/{userId}",
"methods": [
"POST",
"GET",
"PUT"
]
},
"2935139": {
"enabled": true,
"inheritsFromEndpoint": true,
"notes": "A magazine item within the bookstore API.",
"path": "/magazine/{magazineId}",
"methods": [
"GET"
]
}
},
"settings": {
"clockSkew": 10,
"location": "HEADER",
"paramName": "Authorization",
"validation": {
"rsaPublicKeyB": null,
"rsaPublicKeyA": {
"content": "-----BEGIN PUBLIC KEY-----\nMIIBIjwE9GQg+OR0WYHtq4AKsvK2eucDs06ejWRDb+uDN\n80jxZCxfweelZKvYT9Qdms/1SJv\nrQIDAQAB\n-----END PUBLIC KEY-----",
"name": "publicKey"
},
"claims": [
{
"name": "aud",
"required": false,
"type": "ARRAY",
"validate": false,
"value": []
},
{
"name": "iss",
"required": false,
"type": "STRING",
"validate": true,
"value": "Akamai"
},
{
"name": "sub",
"required": false,
"type": "REGEX",
"validate": true,
"value": "^[a-zA-Z0-9_]*$"
},
{
"name": "exp",
"required": false,
"type": "TIMESTAMP",
"validate": true,
"value": null
},
{
"name": "nbf",
"required": false,
"type": "TIMESTAMP",
"validate": true,
"value": null
},
{
"name": "dept",
"required": false,
"type": "STRING",
"validate": true,
"value": "IT"
},
{
"name": "roles",
"required": false,
"type": "ARRAY",
"validate": true,
"value": [
"admin",
"premium_user",
"regular_user"
]
}
]
}
}
}
}
]
}