naftiko: 1.0.0-alpha2 info: label: 'Akamai: API Endpoint Definition API — Versions' description: 'Akamai: API Endpoint Definition API — Versions. 10 operations. Lead operation: Akamai List versions. Self-contained Naftiko capability covering one Akamai business surface.' tags: - Akamai - API Definitions - Versions created: '2026-05-22' modified: '2026-05-22' binds: - namespace: env keys: AKAMAI_API_KEY: AKAMAI_API_KEY capability: consumes: - type: http namespace: api-definitions-versions baseUri: https://{hostname}/api-definitions/v2 description: 'Akamai: API Endpoint Definition API — Versions business capability. Self-contained, no shared references.' resources: - name: endpoints-apiEndPointId-versions path: /endpoints/{apiEndPointId}/versions operations: - name: getget-endpoint-versions method: GET description: List versions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: page in: query type: integer description: The page number index, starting at the default value of `1`. - name: pageSize in: query type: integer description: The number of endpoint versions on each page of results. - name: sortBy in: query type: string description: __Enum__ The field to sort endpoint versions by. - name: sortOrder in: query type: string description: __Enum__ The sort order, either `asc` for ascending or the default `desc` for descending. - name: show in: query type: string description: __Enum__ The type of endpoint versions to return based on their visibility status. By default the API returns `ALL` endpoint version. You can instead decide to return `ONLY_VISIBLE` endpoint - name: accountSwitchKey in: query type: string description: For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and - name: endpoints-apiEndPointId-versions-versionNumber path: /endpoints/{apiEndPointId}/versions/{versionNumber} operations: - name: getget-endpoint-version method: GET description: Get a version summary outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string description: For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and - name: putput-endpoint-version method: PUT description: Edit a version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string description: For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and - name: body in: body type: object description: Request body (JSON). required: true - name: deletedelete-endpoint-version method: DELETE description: Delete a version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string description: For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and - name: endpoints-apiEndPointId-versions-versionNumber-activate path: /endpoints/{apiEndPointId}/versions/{versionNumber}/activate operations: - name: postpost-endpoint-version-activate method: POST description: Activate a version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string description: For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and - name: body in: body type: object description: Request body (JSON). required: true - name: endpoints-apiEndPointId-versions-versionNumber-cloneVersion path: /endpoints/{apiEndPointId}/versions/{versionNumber}/cloneVersion operations: - name: postpost-endpoint-version-clone method: POST description: Clone a version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string description: For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and - name: endpoints-apiEndPointId-versions-versionNumber-deactivate path: /endpoints/{apiEndPointId}/versions/{versionNumber}/deactivate operations: - name: postpost-endpoint-version-deactivate method: POST description: Deactivate a version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string description: For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and - name: body in: body type: object description: Request body (JSON). required: true - name: endpoints-apiEndPointId-versions-versionNumber-file path: /endpoints/{apiEndPointId}/versions/{versionNumber}/file operations: - name: postpost-endpoint-version-file method: POST description: Edit an endpoint from an API definition file outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string description: For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and - name: body in: body type: object description: Request body (JSON). required: true - name: endpoints-apiEndPointId-versions-versionNumber-hide path: /endpoints/{apiEndPointId}/versions/{versionNumber}/hide operations: - name: postpost-endpoint-version-hide method: POST description: Hide a version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string description: For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and - name: endpoints-apiEndPointId-versions-versionNumber-show path: /endpoints/{apiEndPointId}/versions/{versionNumber}/show operations: - name: postpost-version-show method: POST description: Show a version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string description: For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and