Blizzard Entertainment · Capability

Diablo III Community API — Acts

Diablo III Community API — Acts. 1 operations. Lead operation: Get Act Index. Self-contained Naftiko capability covering one Blizzard Entertainment business surface.

Run with Naftiko Blizzard EntertainmentActs

What You Can Do

GET
Getactindex — Get Act Index
/v1/d3/data/act

MCP Tools

get-act-index

Get Act Index

read-only idempotent

Capability Spec

blizzard-diablo-iii-acts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Diablo III Community API — Acts
  description: 'Diablo III Community API — Acts. 1 operations. Lead operation: Get Act Index. Self-contained Naftiko capability
    covering one Blizzard Entertainment business surface.'
  tags:
  - Blizzard Entertainment
  - Acts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BLIZZARD_ENTERTAINMENT_API_KEY: BLIZZARD_ENTERTAINMENT_API_KEY
capability:
  consumes:
  - type: http
    namespace: blizzard-diablo-iii-acts
    baseUri: https://us.api.blizzard.com
    description: Diablo III Community API — Acts business capability. Self-contained, no shared references.
    resources:
    - name: d3-data-act
      path: /d3/data/act
      operations:
      - name: getactindex
        method: GET
        description: Get Act Index
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.BLIZZARD_ENTERTAINMENT_API_KEY}}'
  exposes:
  - type: rest
    namespace: blizzard-diablo-iii-acts-rest
    port: 8080
    description: REST adapter for Diablo III Community API — Acts. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/d3/data/act
      name: d3-data-act
      description: REST surface for d3-data-act.
      operations:
      - method: GET
        name: getactindex
        description: Get Act Index
        call: blizzard-diablo-iii-acts.getactindex
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: blizzard-diablo-iii-acts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Diablo III Community API — Acts. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-act-index
      description: Get Act Index
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: blizzard-diablo-iii-acts.getactindex
      outputParameters:
      - type: object
        mapping: $.