{ "operationId": "post-endpoint-clone", "method": "POST", "path": "/endpoints/cloneEndpoint", "summary": "Clone an endpoint", "requestExamples": [ { "contentType": "application/json", "example": { "apiEndPointId": 492375, "apiEndPointName": "Bookstore API Premium", "apiGatewayEnabled": true, "basePath": "/bookstore-premium", "contractId": "K-0N7RAK7", "groupId": 44680, "versionNumber": 1, "apiEndPointHosts": [ "bookstore.api.akamai.com" ] } } ], "responseExamples": [ { "status": "200", "contentType": "application/json", "example": { "akamaiSecurityRestrictions": null, "apiEndPointId": 492375, "apiEndPointLocked": false, "apiEndPointName": "Bookstore API Premium", "apiEndPointScheme": "http/https", "apiEndPointVersion": 574127, "basePath": "/bookstore-premium", "caseSensitive": true, "clonedFromVersion": 1, "consumeType": "any", "contractId": "K-0N7RAK71", "createDate": "2019-06-12T13:06:52+0000", "createdBy": "jkowalski", "description": "An API for bookstore users allowing them to retrieve book items, add new items (admin users), and modify existing items.", "endpointHidden": false, "graphQL": false, "groupId": 44681, "isGraphQL": false, "lockVersion": 2, "positiveConstrainsEnabled": null, "productionStatus": null, "protectedByApiKey": true, "source": null, "stagingStatus": null, "updateDate": "2019-06-12T13:06:52+0000", "updatedBy": "bookstore_admin", "versionHidden": false, "versionNumber": 2, "apiCategoryIds": [ 2, 7 ], "apiEndPointHosts": [ "bookstore.api.akamai.com" ], "availableActions": [ "DELETE", "CLONE_ENDPOINT", "ACTIVATE_ON_PRODUCTION", "HIDE_ENDPOINT", "EDIT_ENDPOINT_DEFINITION", "ACTIVATE_ON_STAGING" ], "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": "jkowalski", "description": "A book item within the bookstore API.", "link": null, "lockVersion": 2, "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": null, "apiChildParameters": [] } ] }, { "apiResourceMethod": "POST", "apiResourceMethodId": 341592, "apiResourceMethodLogicId": 184405, "apiParameters": [ { "apiParamLogicId": 578117, "apiParameterContentType": "json", "apiParameterId": 1212946, "apiParameterLocation": "body", "apiParameterName": "books", "apiParameterNotes": null, "apiParameterRequired": true, "apiParameterType": "string", "apiResourceMethParamId": 494449, "array": true, "pathParamLocationId": null, "apiChildParameters": [], "apiParameterRestriction": { "arrayRestriction": null, "numberRangeRestriction": null, "rangeRestriction": null, "xmlConversionRule": null, "lengthRestriction": { "lengthMax": 15, "lengthMin": 3 } } } ] } ] } ] } } ] }