naftiko: 1.0.0-alpha2 info: label: Stack Overflow for Teams API — Articles description: 'Stack Overflow for Teams API — Articles. 4 operations. Lead operation: Get Team Articles. Self-contained Naftiko capability covering one Stack Overflow business surface.' tags: - Stack Overflow - Articles created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: STACK_OVERFLOW_API_KEY: STACK_OVERFLOW_API_KEY capability: consumes: - type: http namespace: for-teams-articles baseUri: https://api.stackoverflowteams.com/v3 description: Stack Overflow for Teams API — Articles business capability. Self-contained, no shared references. resources: - name: teams-team-articles path: /teams/{team}/articles operations: - name: getteamarticles method: GET description: Get Team Articles outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createteamarticle method: POST description: Create a Team Article outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: teams-team-articles-id path: /teams/{team}/articles/{id} operations: - name: getteamarticle method: GET description: Get a Team Article outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateteamarticle method: PUT description: Update a Team Article 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.STACK_OVERFLOW_API_KEY}}' exposes: - type: rest namespace: for-teams-articles-rest port: 8080 description: REST adapter for Stack Overflow for Teams API — Articles. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/teams/{team}/articles name: teams-team-articles description: REST surface for teams-team-articles. operations: - method: GET name: getteamarticles description: Get Team Articles call: for-teams-articles.getteamarticles outputParameters: - type: object mapping: $. - method: POST name: createteamarticle description: Create a Team Article call: for-teams-articles.createteamarticle with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/teams/{team}/articles/{id} name: teams-team-articles-id description: REST surface for teams-team-articles-id. operations: - method: GET name: getteamarticle description: Get a Team Article call: for-teams-articles.getteamarticle outputParameters: - type: object mapping: $. - method: PUT name: updateteamarticle description: Update a Team Article call: for-teams-articles.updateteamarticle with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: for-teams-articles-mcp port: 9090 transport: http description: MCP adapter for Stack Overflow for Teams API — Articles. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-team-articles description: Get Team Articles hints: readOnly: true destructive: false idempotent: true call: for-teams-articles.getteamarticles outputParameters: - type: object mapping: $. - name: create-team-article description: Create a Team Article hints: readOnly: false destructive: false idempotent: false call: for-teams-articles.createteamarticle with: body: tools.body outputParameters: - type: object mapping: $. - name: get-team-article description: Get a Team Article hints: readOnly: true destructive: false idempotent: true call: for-teams-articles.getteamarticle outputParameters: - type: object mapping: $. - name: update-team-article description: Update a Team Article hints: readOnly: false destructive: false idempotent: true call: for-teams-articles.updateteamarticle with: body: tools.body outputParameters: - type: object mapping: $.