naftiko: 1.0.0-alpha2 info: label: Slack User Groups API — Post description: 'Slack User Groups API — Post. 5 operations. Lead operation: Slack Post User Groups Create. Self-contained Naftiko capability covering one Slack business surface.' tags: - Slack - Post created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SLACK_API_KEY: SLACK_API_KEY capability: consumes: - type: http namespace: usergroups-post baseUri: '' description: Slack User Groups API — Post business capability. Self-contained, no shared references. resources: - name: usergroups.create path: /usergroups.create operations: - name: postusergroupscreate method: POST description: Slack Post User Groups Create outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: token in: header type: string description: 'Authentication token. Requires scope: `usergroups:write`' required: true - name: body in: body type: object description: Request body (JSON). required: true - name: usergroups.disable path: /usergroups.disable operations: - name: postusergroupsdisable method: POST description: Slack Post User Groups Disable outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: token in: header type: string description: 'Authentication token. Requires scope: `usergroups:write`' required: true - name: body in: body type: object description: Request body (JSON). required: true - name: usergroups.enable path: /usergroups.enable operations: - name: postusergroupsenable method: POST description: Slack Post User Groups Enable outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: token in: header type: string description: 'Authentication token. Requires scope: `usergroups:write`' required: true - name: body in: body type: object description: Request body (JSON). required: true - name: usergroups.update path: /usergroups.update operations: - name: postusergroupsupdate method: POST description: Slack Post User Groups Update outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: token in: header type: string description: 'Authentication token. Requires scope: `usergroups:write`' required: true - name: body in: body type: object description: Request body (JSON). required: true - name: usergroups.users.update path: /usergroups.users.update operations: - name: postusergroupsusersupdate method: POST description: Slack Post User Groups Users Update outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: token in: header type: string description: 'Authentication token. Requires scope: `usergroups:write`' required: true - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: usergroups-post-rest port: 8080 description: REST adapter for Slack User Groups API — Post. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/usergroups-create name: usergroups-create description: REST surface for usergroups.create. operations: - method: POST name: postusergroupscreate description: Slack Post User Groups Create call: usergroups-post.postusergroupscreate with: token: rest.token body: rest.body outputParameters: - type: object mapping: $. - path: /v1/usergroups-disable name: usergroups-disable description: REST surface for usergroups.disable. operations: - method: POST name: postusergroupsdisable description: Slack Post User Groups Disable call: usergroups-post.postusergroupsdisable with: token: rest.token body: rest.body outputParameters: - type: object mapping: $. - path: /v1/usergroups-enable name: usergroups-enable description: REST surface for usergroups.enable. operations: - method: POST name: postusergroupsenable description: Slack Post User Groups Enable call: usergroups-post.postusergroupsenable with: token: rest.token body: rest.body outputParameters: - type: object mapping: $. - path: /v1/usergroups-update name: usergroups-update description: REST surface for usergroups.update. operations: - method: POST name: postusergroupsupdate description: Slack Post User Groups Update call: usergroups-post.postusergroupsupdate with: token: rest.token body: rest.body outputParameters: - type: object mapping: $. - path: /v1/usergroups-users-update name: usergroups-users-update description: REST surface for usergroups.users.update. operations: - method: POST name: postusergroupsusersupdate description: Slack Post User Groups Users Update call: usergroups-post.postusergroupsusersupdate with: token: rest.token body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: usergroups-post-mcp port: 9090 transport: http description: MCP adapter for Slack User Groups API — Post. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: slack-post-user-groups-create description: Slack Post User Groups Create hints: readOnly: false destructive: false idempotent: false call: usergroups-post.postusergroupscreate with: token: tools.token body: tools.body outputParameters: - type: object mapping: $. - name: slack-post-user-groups-disable description: Slack Post User Groups Disable hints: readOnly: false destructive: false idempotent: false call: usergroups-post.postusergroupsdisable with: token: tools.token body: tools.body outputParameters: - type: object mapping: $. - name: slack-post-user-groups-enable description: Slack Post User Groups Enable hints: readOnly: false destructive: false idempotent: false call: usergroups-post.postusergroupsenable with: token: tools.token body: tools.body outputParameters: - type: object mapping: $. - name: slack-post-user-groups-update description: Slack Post User Groups Update hints: readOnly: false destructive: false idempotent: false call: usergroups-post.postusergroupsupdate with: token: tools.token body: tools.body outputParameters: - type: object mapping: $. - name: slack-post-user-groups-users description: Slack Post User Groups Users Update hints: readOnly: false destructive: false idempotent: false call: usergroups-post.postusergroupsusersupdate with: token: tools.token body: tools.body outputParameters: - type: object mapping: $.