Akamai · Example Payload

Akamai Put Endpoint Version Example

CDNCloudEdge ComputingNetworksPlatformSecurity

Akamai Put Endpoint Version 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": "put-endpoint-version",
  "method": "PUT",
  "path": "/endpoints/{apiEndPointId}/versions/{versionNumber}",
  "summary": "Edit a version",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "akamaiSecurityRestrictions": null,
        "apiEndPointId": 492375,
        "apiEndPointLocked": false,
        "apiEndPointName": "Bookstore API",
        "apiEndPointScheme": "http/https",
        "apiEndPointVersion": 574127,
        "apiGatewayEnabled": true,
        "basePath": "/bookstore",
        "caseSensitive": true,
        "clonedFromVersion": null,
        "consumeType": "any",
        "contractId": "K-0N7RAK7",
        "createDate": "2019-06-12T13:06:52+0000",
        "createdBy": "alfulani",
        "description": "An API for bookstore users allowing them to retrieve book items and modify existing items.",
        "endpointHidden": false,
        "graphQL": false,
        "groupId": 44681,
        "isGraphQL": false,
        "lockVersion": 0,
        "positiveConstrainsEnabled": true,
        "productionStatus": null,
        "protectedByApiKey": true,
        "responseConstraintsEnabled": false,
        "source": null,
        "stagingStatus": null,
        "updateDate": "2019-06-12T13:06:55+0000",
        "updatedBy": "bookstore_admin",
        "versionHidden": false,
        "versionNumber": 1,
        "apiCategoryIds": [],
        "apiEndPointHosts": [
          "bookstore.api.akamai.com"
        ],
        "availableActions": [
          "DELETE",
          "CLONE_ENDPOINT",
          "ACTIVATE_ON_PRODUCTION",
          "HIDE_ENDPOINT",
          "EDIT_ENDPOINT_DEFINITION",
          "ACTIVATE_ON_STAGING"
        ],
        "discoveredPiiIds": [
          455976
        ],
        "productionVersion": {
          "lastError": null,
          "status": null,
          "timestamp": null,
          "versionNumber": null
        },
        "securityScheme": {
          "securitySchemeType": "apikey",
          "securitySchemeDetail": {
            "apiKeyLocation": "header",
            "apiKeyName": "apikey"
          }
        },
        "stagingVersion": {
          "lastError": null,
          "status": null,
          "timestamp": null,
          "versionNumber": null
        },
        "apiResources": [
          {
            "apiResourceClonedFromId": null,
            "apiResourceId": 2926712,
            "apiResourceLogicId": 118435,
            "apiResourceName": "books",
            "createDate": "2019-06-12T13:06:52+0000",
            "createdBy": "szhang",
            "description": "A book item within the bookstore API.",
            "link": null,
            "lockVersion": 0,
            "private": false,
            "resourcePath": "/books/{bookId}",
            "updateDate": "2019-06-12T13:06:52+0000",
            "updatedBy": "bookstore_admin",
            "apiResourceMethods": [
              {
                "apiResourceMethod": "GET",
                "apiResourceMethodId": 341591,
                "apiResourceMethodLogicId": 184404,
                "apiParameters": [
                  {
                    "apiParamLogicId": 578116,
                    "apiParameterId": 1212945,
                    "apiParameterLocation": "path",
                    "apiParameterName": "bookId",
                    "apiParameterNotes": null,
                    "apiParameterRequired": true,
                    "apiParameterRestriction": null,
                    "apiParameterType": "string",
                    "apiResourceMethParamId": 494448,
                    "array": false,
                    "pathParamLocationId": 3,
                    "response": false,
                    "apiChildParameters": []
                  }
                ]
              },
              {
                "apiResourceMethod": "POST",
                "apiResourceMethodId": 341592,
                "apiResourceMethodLogicId": 184405,
                "apiParameters": [
                  {
                    "apiParamLogicId": 578117,
                    "apiParameterId": 1212946,
                    "apiParameterLocation": "path",
                    "apiParameterName": "bookId",
                    "apiParameterNotes": null,
                    "apiParameterRequired": true,
                    "apiParameterType": "string",
                    "apiResourceMethParamId": 494449,
                    "array": false,
                    "pathParamLocationId": 3,
                    "response": false,
                    "apiChildParameters": [],
                    "apiParameterRestriction": {
                      "apiParameterType": "json",
                      "array": true,
                      "numberRangeRestriction": null,
                      "rangeRestriction": null,
                      "xmlConversionRule": null,
                      "arrayRestriction": {
                        "maxItems": 200,
                        "minItems": 100
                      },
                      "responseRestriction": {
                        "maxBodySize": "SIZE_6K",
                        "statusCodes": [
                          200,
                          201
                        ]
                      }
                    }
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "akamaiSecurityRestrictions": null,
        "apiEndPointId": 492375,
        "apiEndPointLocked": false,
        "apiEndPointName": "Bookstore API",
        "apiEndPointScheme": "http/https",
        "apiEndPointVersion": 574127,
        "apiGatewayEnabled": true,
        "basePath": "/bookstore",
        "caseSensitive": true,
        "clonedFromVersion": null,
        "consumeType": "any",
        "contractId": "K-0N7RAK71",
        "createDate": "2019-06-12T13:06:52+0000",
        "createdBy": "adevi",
        "description": "An API for bookstore users allowing them to retrieve book items and modify existing items.",
        "endpointHidden": false,
        "graphQL": false,
        "groupId": 44681,
        "isGraphQL": false,
        "lockVersion": 0,
        "positiveConstrainsEnabled": true,
        "productionStatus": null,
        "protectedByApiKey": true,
        "responseConstraintsEnabled": false,
        "source": null,
        "stagingStatus": null,
        "updateDate": "2019-06-12T13:06:55+0000",
        "updatedBy": "bookstore_admin",
        "versionHidden": false,
        "versionNumber": 1,
        "apiCategoryIds": [],
        "apiEndPointHosts": [
          "bookstore.api.akamai.com"
        ],
        "availableActions": [
          "DELETE",
          "CLONE_ENDPOINT",
          "ACTIVATE_ON_PRODUCTION",
          "HIDE_ENDPOINT",
          "EDIT_ENDPOINT_DEFINITION",
          "ACTIVATE_ON_STAGING"
        ],
        "discoveredPiiIds": [
          455976
        ],
        "productionVersion": {
          "lastError": null,
          "status": null,
          "timestamp": null,
          "versionNumber": null
        },
        "securityScheme": {
          "securitySchemeType": "apikey",
          "securitySchemeDetail": {
            "apiKeyLocation": "header",
            "apiKeyName": "apikey"
          }
        },
        "stagingVersion": {
          "lastError": null,
          "status": null,
          "timestamp": null,
          "versionNumber": null
        },
        "apiResources": [
          {
            "apiResourceClonedFromId": null,
            "apiResourceId": 2926712,
            "apiResourceLogicId": 118435,
            "apiResourceName": "books",
            "createDate": "2019-06-12T13:06:52+0000",
            "createdBy": "hgildong",
            "description": "A book item within the bookstore API.",
            "link": null,
            "lockVersion": 0,
            "private": false,
            "resourcePath": "/books/{bookId}",
            "updateDate": "2019-06-12T13:06:52+0000",
            "updatedBy": "bookstore_admin",
            "apiResourceMethods": [
              {
                "apiResourceMethod": "GET",
                "apiResourceMethodId": 341591,
                "apiResourceMethodLogicId": 184404,
                "apiParameters": [
                  {
                    "apiParamLogicId": 578116,
                    "apiParameterId": 1212945,
                    "apiParameterLocation": "path",
                    "apiParameterName": "bookId",
                    "apiParameterNotes": null,
                    "apiParameterRequired": true,
                    "apiParameterRestriction": null,
                    "apiParameterType": "string",
                    "apiResourceMethParamId": 494448,
                    "array": false,
                    "pathParamLocationId": 3,
                    "response": false,
                    "apiChildParameters": []
                  }
                ]
              },
              {
                "apiResourceMethod": "POST",
                "apiResourceMethodId": 341592,
                "apiResourceMethodLogicId": 184405,
                "apiParameters": [
                  {
                    "apiParamLogicId": 578117,
                    "apiParameterId": 1212946,
                    "apiParameterLocation": "path",
                    "apiParameterName": "bookId",
                    "apiParameterNotes": null,
                    "apiParameterRequired": true,
                    "apiParameterType": "string",
                    "apiResourceMethParamId": 494449,
                    "array": false,
                    "pathParamLocationId": 3,
                    "response": false,
                    "apiChildParameters": [],
                    "apiParameterRestriction": {
                      "apiParameterType": "json",
                      "array": true,
                      "numberRangeRestriction": null,
                      "rangeRestriction": null,
                      "xmlConversionRule": null,
                      "arrayRestriction": {
                        "maxItems": 200,
                        "minItems": 100
                      },
                      "responseRestriction": {
                        "maxBodySize": "SIZE_6K",
                        "statusCodes": [
                          200,
                          201
                        ]
                      }
                    }
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  ]
}