naftiko: 1.0.0-alpha2 info: label: JetBrains Space HTTP API — Chats description: 'JetBrains Space HTTP API — Chats. 2 operations. Lead operation: JetBrains List Channels. Self-contained Naftiko capability covering one Jetbrains business surface.' tags: - Jetbrains - Chats created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: JETBRAINS_API_KEY: JETBRAINS_API_KEY capability: consumes: - type: http namespace: space-chats baseUri: https://{organization}.jetbrains.space/api/http description: JetBrains Space HTTP API — Chats business capability. Self-contained, no shared references. resources: - name: chats-channels path: /chats/channels operations: - name: listchannels method: GET description: JetBrains List Channels outputRawFormat: json outputParameters: - name: result type: object value: $. - name: chats-messages path: /chats/messages operations: - name: sendmessage method: POST description: JetBrains Send Message outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.JETBRAINS_API_KEY}}' exposes: - type: rest namespace: space-chats-rest port: 8080 description: REST adapter for JetBrains Space HTTP API — Chats. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/chats/channels name: chats-channels description: REST surface for chats-channels. operations: - method: GET name: listchannels description: JetBrains List Channels call: space-chats.listchannels outputParameters: - type: object mapping: $. - path: /v1/chats/messages name: chats-messages description: REST surface for chats-messages. operations: - method: POST name: sendmessage description: JetBrains Send Message call: space-chats.sendmessage with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: space-chats-mcp port: 9090 transport: http description: MCP adapter for JetBrains Space HTTP API — Chats. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: jetbrains-list-channels description: JetBrains List Channels hints: readOnly: true destructive: false idempotent: true call: space-chats.listchannels outputParameters: - type: object mapping: $. - name: jetbrains-send-message description: JetBrains Send Message hints: readOnly: false destructive: false idempotent: false call: space-chats.sendmessage with: body: tools.body outputParameters: - type: object mapping: $.