Akamai · Capability

Akamai: Property Manager API — Edge hostnames

Akamai: Property Manager API — Edge hostnames. 3 operations. Lead operation: Akamai Create a New Edge Hostname. Self-contained Naftiko capability covering one Akamai business surface.

Run with Naftiko AkamaiEdge hostnames

What You Can Do

POST
Postedgehostnames — Akamai Create a New Edge Hostname
/v1/edgehostnames
GET
Getedgehostnames — Akamai List Edge Hostnames
/v1/edgehostnames
GET
Getedgehostname — Akamai Get an Edge Hostname
/v1/edgehostnames/{edgehostnameid}

MCP Tools

akamai-create-new-edge-hostname

Akamai Create a New Edge Hostname

akamai-list-edge-hostnames

Akamai List Edge Hostnames

read-only idempotent
akamai-get-edge-hostname

Akamai Get an Edge Hostname

read-only idempotent

Capability Spec

papi-edge-hostnames.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'Akamai: Property Manager API — Edge hostnames'
  description: 'Akamai: Property Manager API — Edge hostnames. 3 operations. Lead operation: Akamai Create a New Edge Hostname.
    Self-contained Naftiko capability covering one Akamai business surface.'
  tags:
  - Akamai
  - Edge 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-edge-hostnames
    baseUri: https://{hostname}/papi/v1
    description: 'Akamai: Property Manager API — Edge hostnames business capability. Self-contained, no shared references.'
    resources:
    - name: edgehostnames
      path: /edgehostnames
      operations:
      - name: postedgehostnames
        method: POST
        description: Akamai Create a New Edge Hostname
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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. See [ID prefixes](https://techdocs.akamai.com/property-mgr/reference/id-prefixes)
            for details on omitting the value's `ctr_`
          required: true
        - name: groupId
          in: query
          type: string
          description: Unique identifier for the group. See [ID prefixes](https://techdocs.akamai.com/property-mgr/reference/id-prefixes)
            for details on omitting the value's `grp_` pr
          required: true
        - name: options
          in: query
          type: string
          description: Currently the only supported option is `mapDetails` that enables extra mapping-related information.
            See [Site Shield API](https://techdocs.akamai.com/site-shiel
        - 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: getedgehostnames
        method: GET
        description: Akamai List Edge Hostnames
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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. See [ID prefixes](https://techdocs.akamai.com/property-mgr/reference/id-prefixes)
            for details on omitting the value's `ctr_`
          required: true
        - name: groupId
          in: query
          type: string
          description: Unique identifier for the group. See [ID prefixes](https://techdocs.akamai.com/property-mgr/reference/id-prefixes)
            for details on omitting the value's `grp_` pr
          required: true
        - name: options
          in: query
          type: string
          description: Currently the only supported option is `mapDetails` that enables extra mapping-related information.
            See [Site Shield API](https://techdocs.akamai.com/site-shiel
        - 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: edgehostnames-edgeHostnameId
      path: /edgehostnames/{edgeHostnameId}
      operations:
      - name: getedgehostname
        method: GET
        description: Akamai Get an Edge Hostname
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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. See [ID prefixes](https://techdocs.akamai.com/property-mgr/reference/id-prefixes)
            for details on omitting the value's `ctr_`
          required: true
        - name: groupId
          in: query
          type: string
          description: Unique identifier for the group. See [ID prefixes](https://techdocs.akamai.com/property-mgr/reference/id-prefixes)
            for details on omitting the value's `grp_` pr
          required: true
        - name: options
          in: query
          type: string
          description: Currently the only supported option is `mapDetails` that enables extra mapping-related information.
            See [Site Shield API](https://techdocs.akamai.com/site-shiel
        - 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
  exposes:
  - type: rest
    namespace: papi-edge-hostnames-rest
    port: 8080
    description: 'REST adapter for Akamai: Property Manager API — Edge hostnames. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.'
    resources:
    - path: /v1/edgehostnames
      name: edgehostnames
      description: REST surface for edgehostnames.
      operations:
      - method: POST
        name: postedgehostnames
        description: Akamai Create a New Edge Hostname
        call: papi-edge-hostnames.postedgehostnames
        with:
          PAPI-Use-Prefixes: rest.PAPI-Use-Prefixes
          contractId: rest.contractId
          groupId: rest.groupId
          options: rest.options
          accountSwitchKey: rest.accountSwitchKey
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getedgehostnames
        description: Akamai List Edge Hostnames
        call: papi-edge-hostnames.getedgehostnames
        with:
          PAPI-Use-Prefixes: rest.PAPI-Use-Prefixes
          contractId: rest.contractId
          groupId: rest.groupId
          options: rest.options
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/edgehostnames/{edgehostnameid}
      name: edgehostnames-edgehostnameid
      description: REST surface for edgehostnames-edgeHostnameId.
      operations:
      - method: GET
        name: getedgehostname
        description: Akamai Get an Edge Hostname
        call: papi-edge-hostnames.getedgehostname
        with:
          PAPI-Use-Prefixes: rest.PAPI-Use-Prefixes
          contractId: rest.contractId
          groupId: rest.groupId
          options: rest.options
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: papi-edge-hostnames-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for Akamai: Property Manager API — Edge hostnames. One tool per consumed operation, routed inline
      through this capability''s consumes block.'
    tools:
    - name: akamai-create-new-edge-hostname
      description: Akamai Create a New Edge Hostname
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: papi-edge-hostnames.postedgehostnames
      with:
        PAPI-Use-Prefixes: tools.PAPI-Use-Prefixes
        contractId: tools.contractId
        groupId: tools.groupId
        options: tools.options
        accountSwitchKey: tools.accountSwitchKey
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-list-edge-hostnames
      description: Akamai List Edge Hostnames
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: papi-edge-hostnames.getedgehostnames
      with:
        PAPI-Use-Prefixes: tools.PAPI-Use-Prefixes
        contractId: tools.contractId
        groupId: tools.groupId
        options: tools.options
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-get-edge-hostname
      description: Akamai Get an Edge Hostname
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: papi-edge-hostnames.getedgehostname
      with:
        PAPI-Use-Prefixes: tools.PAPI-Use-Prefixes
        contractId: tools.contractId
        groupId: tools.groupId
        options: tools.options
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.