naftiko: 1.0.0-alpha2 info: label: StarCraft II Community API — Profiles description: 'StarCraft II Community API — Profiles. 2 operations. Lead operation: Get Profile. Self-contained Naftiko capability covering one Blizzard Entertainment business surface.' tags: - Blizzard Entertainment - Profiles 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-starcraft-ii-profiles baseUri: https://us.api.blizzard.com description: StarCraft II Community API — Profiles business capability. Self-contained, no shared references. resources: - name: sc2-profile-regionId-realmId-profileId path: /sc2/profile/{regionId}/{realmId}/{profileId} operations: - name: getprofile method: GET description: Get Profile outputRawFormat: json outputParameters: - name: result type: object value: $. - name: sc2-profile-regionId-realmId-profileId-ladders path: /sc2/profile/{regionId}/{realmId}/{profileId}/ladders operations: - name: getprofileladders method: GET description: Get Profile Ladders outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.BLIZZARD_ENTERTAINMENT_API_KEY}}' exposes: - type: rest namespace: blizzard-starcraft-ii-profiles-rest port: 8080 description: REST adapter for StarCraft II Community API — Profiles. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/sc2/profile/{regionid}/{realmid}/{profileid} name: sc2-profile-regionid-realmid-profileid description: REST surface for sc2-profile-regionId-realmId-profileId. operations: - method: GET name: getprofile description: Get Profile call: blizzard-starcraft-ii-profiles.getprofile outputParameters: - type: object mapping: $. - path: /v1/sc2/profile/{regionid}/{realmid}/{profileid}/ladders name: sc2-profile-regionid-realmid-profileid-ladders description: REST surface for sc2-profile-regionId-realmId-profileId-ladders. operations: - method: GET name: getprofileladders description: Get Profile Ladders call: blizzard-starcraft-ii-profiles.getprofileladders outputParameters: - type: object mapping: $. - type: mcp namespace: blizzard-starcraft-ii-profiles-mcp port: 9090 transport: http description: MCP adapter for StarCraft II Community API — Profiles. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-profile description: Get Profile hints: readOnly: true destructive: false idempotent: true call: blizzard-starcraft-ii-profiles.getprofile outputParameters: - type: object mapping: $. - name: get-profile-ladders description: Get Profile Ladders hints: readOnly: true destructive: false idempotent: true call: blizzard-starcraft-ii-profiles.getprofileladders outputParameters: - type: object mapping: $.