naftiko: 1.0.0-alpha2 info: label: Cisco Webex Team Memberships API — Team Memberships description: 'Cisco Webex Team Memberships API — Team Memberships. 5 operations. Lead operation: Cisco Webex List Team Memberships. Self-contained Naftiko capability covering one Cisco Webex business surface.' tags: - Cisco Webex - Team Memberships created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CISCO_WEBEX_API_KEY: CISCO_WEBEX_API_KEY capability: consumes: - type: http namespace: team-memberships-team-memberships baseUri: https://webexapis.com/v1 description: Cisco Webex Team Memberships API — Team Memberships business capability. Self-contained, no shared references. resources: - name: team-memberships path: /team/memberships operations: - name: listteammemberships method: GET description: Cisco Webex List Team Memberships outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: teamId in: query type: string description: The team ID to list memberships for. required: true - name: max in: query type: integer description: Maximum number of memberships to return (default 100). - name: createteammembership method: POST description: Cisco Webex Create a Team Membership outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: team-memberships-membershipId path: /team/memberships/{membershipId} operations: - name: getteammembershipdetails method: GET description: Cisco Webex Get Team Membership Details outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: membershipId in: path type: string description: Unique identifier for the team membership. required: true - name: updateteammembership method: PUT description: Cisco Webex Update a Team Membership outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: membershipId in: path type: string description: Unique identifier for the team membership. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deleteteammembership method: DELETE description: Cisco Webex Delete a Team Membership outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: membershipId in: path type: string description: Unique identifier for the team membership. required: true authentication: type: bearer token: '{{env.CISCO_WEBEX_API_KEY}}' exposes: - type: rest namespace: team-memberships-team-memberships-rest port: 8080 description: REST adapter for Cisco Webex Team Memberships API — Team Memberships. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/team/memberships name: team-memberships description: REST surface for team-memberships. operations: - method: GET name: listteammemberships description: Cisco Webex List Team Memberships call: team-memberships-team-memberships.listteammemberships with: teamId: rest.teamId max: rest.max outputParameters: - type: object mapping: $. - method: POST name: createteammembership description: Cisco Webex Create a Team Membership call: team-memberships-team-memberships.createteammembership with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/team/memberships/{membershipid} name: team-memberships-membershipid description: REST surface for team-memberships-membershipId. operations: - method: GET name: getteammembershipdetails description: Cisco Webex Get Team Membership Details call: team-memberships-team-memberships.getteammembershipdetails with: membershipId: rest.membershipId outputParameters: - type: object mapping: $. - method: PUT name: updateteammembership description: Cisco Webex Update a Team Membership call: team-memberships-team-memberships.updateteammembership with: membershipId: rest.membershipId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteteammembership description: Cisco Webex Delete a Team Membership call: team-memberships-team-memberships.deleteteammembership with: membershipId: rest.membershipId outputParameters: - type: object mapping: $. - type: mcp namespace: team-memberships-team-memberships-mcp port: 9090 transport: http description: MCP adapter for Cisco Webex Team Memberships API — Team Memberships. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: cisco-webex-list-team-memberships description: Cisco Webex List Team Memberships hints: readOnly: true destructive: false idempotent: true call: team-memberships-team-memberships.listteammemberships with: teamId: tools.teamId max: tools.max outputParameters: - type: object mapping: $. - name: cisco-webex-create-team-membership description: Cisco Webex Create a Team Membership hints: readOnly: false destructive: false idempotent: false call: team-memberships-team-memberships.createteammembership with: body: tools.body outputParameters: - type: object mapping: $. - name: cisco-webex-get-team-membership description: Cisco Webex Get Team Membership Details hints: readOnly: true destructive: false idempotent: true call: team-memberships-team-memberships.getteammembershipdetails with: membershipId: tools.membershipId outputParameters: - type: object mapping: $. - name: cisco-webex-update-team-membership description: Cisco Webex Update a Team Membership hints: readOnly: false destructive: false idempotent: true call: team-memberships-team-memberships.updateteammembership with: membershipId: tools.membershipId body: tools.body outputParameters: - type: object mapping: $. - name: cisco-webex-delete-team-membership description: Cisco Webex Delete a Team Membership hints: readOnly: false destructive: true idempotent: true call: team-memberships-team-memberships.deleteteammembership with: membershipId: tools.membershipId outputParameters: - type: object mapping: $.