Blizzard Entertainment · Capability

Battle.net OAuth API — UserInfo

Battle.net OAuth API — UserInfo. 1 operations. Lead operation: Get User Info. Self-contained Naftiko capability covering one Blizzard Entertainment business surface.

Run with Naftiko Blizzard EntertainmentUserInfo

What You Can Do

GET
Getuserinfo — Get User Info
/v1/oauth/userinfo

MCP Tools

get-user-info

Get User Info

read-only idempotent

Capability Spec

blizzard-oauth-userinfo.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Battle.net OAuth API — UserInfo
  description: 'Battle.net OAuth API — UserInfo. 1 operations. Lead operation: Get User Info. Self-contained Naftiko capability
    covering one Blizzard Entertainment business surface.'
  tags:
  - Blizzard Entertainment
  - UserInfo
  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-oauth-userinfo
    baseUri: https://oauth.battle.net
    description: Battle.net OAuth API — UserInfo business capability. Self-contained, no shared references.
    resources:
    - name: oauth-userinfo
      path: /oauth/userinfo
      operations:
      - name: getuserinfo
        method: GET
        description: Get User Info
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.BLIZZARD_ENTERTAINMENT_API_KEY}}'
  exposes:
  - type: rest
    namespace: blizzard-oauth-userinfo-rest
    port: 8080
    description: REST adapter for Battle.net OAuth API — UserInfo. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/oauth/userinfo
      name: oauth-userinfo
      description: REST surface for oauth-userinfo.
      operations:
      - method: GET
        name: getuserinfo
        description: Get User Info
        call: blizzard-oauth-userinfo.getuserinfo
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: blizzard-oauth-userinfo-mcp
    port: 9090
    transport: http
    description: MCP adapter for Battle.net OAuth API — UserInfo. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-user-info
      description: Get User Info
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: blizzard-oauth-userinfo.getuserinfo
      outputParameters:
      - type: object
        mapping: $.