naftiko: 1.0.0-alpha2 info: label: 'Akamai: Property Manager API — Property version hostnames' description: 'Akamai: Property Manager API — Property version hostnames. 3 operations. Lead operation: Akamai List Hostnames for a Property Version. Self-contained Naftiko capability covering one Akamai business surface.' tags: - Akamai - Property version hostnames created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AKAMAI_API_KEY: AKAMAI_API_KEY capability: consumes: - type: http namespace: papi-property-version-hostnames baseUri: https://{hostname}/papi/v1 description: 'Akamai: Property Manager API — Property version hostnames business capability. Self-contained, no shared references.' resources: - name: properties-propertyId-versions-propertyVersion-hostnames path: /properties/{propertyId}/versions/{propertyVersion}/hostnames operations: - name: getpropertyversionhostnames method: GET description: Akamai List Hostnames for a Property Version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: contractId in: query type: string description: Unique identifier for the contract. The parameter is optional if a property belongs to only one contract. Otherwise you need to specify it along with the `group - name: groupId in: query type: string description: Unique identifier for the group. The parameter is optional if a property belongs to only one group. Otherwise you need to specify it along with the `contractId` - name: validateHostnames in: query type: boolean description: When `false`, skips validation tests that would identify potential hostname-related problems within the response object's `errors` and `warnings` arrays. See [P - name: includeCertStatus in: query type: boolean description: __Limited availability__ Whether the response should include the certificate status for the hostname on staging and production networks. - name: PAPI-Use-Prefixes in: header type: string description: __Enum__ Sets whether to represent [ID prefixes](https://techdocs.akamai.com/property-mgr/reference/id-prefixes) in response data. Set to `false` when exchangin required: true - 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-w - name: putpropertyversionhostnames method: PUT description: Akamai Update Hostnames for a Property Version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: This corresponds to the `ETag` response header. Passing this value back as `If-Match` in write requests ensures you don't overwrite edits by any other API clien required: true - name: PAPI-Use-Prefixes in: header type: string description: __Enum__ Sets whether to represent [ID prefixes](https://techdocs.akamai.com/property-mgr/reference/id-prefixes) in response data. Set to `false` when exchangin required: true - name: contractId in: query type: string description: Unique identifier for the contract. The parameter is optional if a property belongs to only one contract. Otherwise you need to specify it along with the `group - name: groupId in: query type: string description: Unique identifier for the group. The parameter is optional if a property belongs to only one group. Otherwise you need to specify it along with the `contractId` - name: validateHostnames in: query type: boolean description: When `false`, skips validation tests that would identify potential hostname-related problems within the response object's `errors` and `warnings` arrays. See [P - name: includeCertStatus in: query type: boolean description: __Limited availability__ Whether the response should include the certificate status for the hostname on staging and production networks. - 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-w - name: body in: body type: object description: Request body (JSON). required: true - name: patchpropertyversionhostnames method: PATCH description: Akamai Add or Remove Hostnames for a Property Version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: This corresponds to the `ETag` response header. Passing this value back as `If-Match` in write requests ensures you don't overwrite edits by any other API clien required: true - name: PAPI-Use-Prefixes in: header type: string description: __Enum__ Sets whether to represent [ID prefixes](https://techdocs.akamai.com/property-mgr/reference/id-prefixes) in response data. Set to `false` when exchangin required: true - name: contractId in: query type: string description: Unique identifier for the contract. The parameter is optional if a property belongs to only one contract. Otherwise you need to specify it along with the `group - name: groupId in: query type: string description: Unique identifier for the group. The parameter is optional if a property belongs to only one group. Otherwise you need to specify it along with the `contractId` - name: validateHostnames in: query type: boolean description: When `false`, skips validation tests that would identify potential hostname-related problems within the response object's `errors` and `warnings` arrays. See [P - name: includeCertStatus in: query type: boolean description: __Limited availability__ Whether the response should include the certificate status for the hostname on staging and production networks. - 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-w - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: papi-property-version-hostnames-rest port: 8080 description: 'REST adapter for Akamai: Property Manager API — Property version hostnames. One Spectral-compliant resource per consumed operation, prefixed with /v1.' resources: - path: /v1/properties/{propertyid}/versions/{propertyversion}/hostnames name: properties-propertyid-versions-propertyversion-hostnames description: REST surface for properties-propertyId-versions-propertyVersion-hostnames. operations: - method: GET name: getpropertyversionhostnames description: Akamai List Hostnames for a Property Version call: papi-property-version-hostnames.getpropertyversionhostnames with: contractId: rest.contractId groupId: rest.groupId validateHostnames: rest.validateHostnames includeCertStatus: rest.includeCertStatus PAPI-Use-Prefixes: rest.PAPI-Use-Prefixes accountSwitchKey: rest.accountSwitchKey outputParameters: - type: object mapping: $. - method: PUT name: putpropertyversionhostnames description: Akamai Update Hostnames for a Property Version call: papi-property-version-hostnames.putpropertyversionhostnames with: If-Match: rest.If-Match PAPI-Use-Prefixes: rest.PAPI-Use-Prefixes contractId: rest.contractId groupId: rest.groupId validateHostnames: rest.validateHostnames includeCertStatus: rest.includeCertStatus accountSwitchKey: rest.accountSwitchKey body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: patchpropertyversionhostnames description: Akamai Add or Remove Hostnames for a Property Version call: papi-property-version-hostnames.patchpropertyversionhostnames with: If-Match: rest.If-Match PAPI-Use-Prefixes: rest.PAPI-Use-Prefixes contractId: rest.contractId groupId: rest.groupId validateHostnames: rest.validateHostnames includeCertStatus: rest.includeCertStatus accountSwitchKey: rest.accountSwitchKey body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: papi-property-version-hostnames-mcp port: 9090 transport: http description: 'MCP adapter for Akamai: Property Manager API — Property version hostnames. One tool per consumed operation, routed inline through this capability''s consumes block.' tools: - name: akamai-list-hostnames-property-version description: Akamai List Hostnames for a Property Version hints: readOnly: true destructive: false idempotent: true call: papi-property-version-hostnames.getpropertyversionhostnames with: contractId: tools.contractId groupId: tools.groupId validateHostnames: tools.validateHostnames includeCertStatus: tools.includeCertStatus PAPI-Use-Prefixes: tools.PAPI-Use-Prefixes accountSwitchKey: tools.accountSwitchKey outputParameters: - type: object mapping: $. - name: akamai-update-hostnames-property-version description: Akamai Update Hostnames for a Property Version hints: readOnly: false destructive: false idempotent: true call: papi-property-version-hostnames.putpropertyversionhostnames with: If-Match: tools.If-Match PAPI-Use-Prefixes: tools.PAPI-Use-Prefixes contractId: tools.contractId groupId: tools.groupId validateHostnames: tools.validateHostnames includeCertStatus: tools.includeCertStatus accountSwitchKey: tools.accountSwitchKey body: tools.body outputParameters: - type: object mapping: $. - name: akamai-add-remove-hostnames-property description: Akamai Add or Remove Hostnames for a Property Version hints: readOnly: false destructive: false idempotent: true call: papi-property-version-hostnames.patchpropertyversionhostnames with: If-Match: tools.If-Match PAPI-Use-Prefixes: tools.PAPI-Use-Prefixes contractId: tools.contractId groupId: tools.groupId validateHostnames: tools.validateHostnames includeCertStatus: tools.includeCertStatus accountSwitchKey: tools.accountSwitchKey body: tools.body outputParameters: - type: object mapping: $.