naftiko: 1.0.0-alpha2 info: label: Rollbar REST API — Teams description: 'Rollbar REST API — Teams. 10 operations. Lead operation: Get a Team. Self-contained Naftiko capability covering one Rollbar business surface.' tags: - Rollbar - Teams created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ROLLBAR_API_KEY: ROLLBAR_API_KEY capability: consumes: - type: http namespace: rest-teams baseUri: https://api.rollbar.com/api/1 description: Rollbar REST API — Teams business capability. Self-contained, no shared references. resources: - name: team-teamId path: /team/{teamId} operations: - name: getteam method: GET description: Get a Team outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deleteteam method: DELETE description: Delete a Team outputRawFormat: json outputParameters: - name: result type: object value: $. - name: team-teamId-project-projectId path: /team/{teamId}/project/{projectId} operations: - name: assignprojecttoteam method: PUT description: Assign a Project to a Team outputRawFormat: json outputParameters: - name: result type: object value: $. - name: removeprojectfromteam method: DELETE description: Remove a Project from a Team outputRawFormat: json outputParameters: - name: result type: object value: $. - name: team-teamId-projects path: /team/{teamId}/projects operations: - name: listteamprojects method: GET description: List a Team's Projects outputRawFormat: json outputParameters: - name: result type: object value: $. - name: team-teamId-user-userId path: /team/{teamId}/user/{userId} operations: - name: assignusertoteam method: PUT description: Assign a User to a Team outputRawFormat: json outputParameters: - name: result type: object value: $. - name: removeuserfromteam method: DELETE description: Remove a User from a Team outputRawFormat: json outputParameters: - name: result type: object value: $. - name: team-teamId-users path: /team/{teamId}/users operations: - name: listteamusers method: GET description: List a Team's Users outputRawFormat: json outputParameters: - name: result type: object value: $. - name: teams path: /teams operations: - name: listallteams method: GET description: List All Teams outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createteam method: POST description: Create a Team outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: X-Rollbar-Access-Token value: '{{env.ROLLBAR_API_KEY}}' placement: header exposes: - type: rest namespace: rest-teams-rest port: 8080 description: REST adapter for Rollbar REST API — Teams. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/team/{teamid} name: team-teamid description: REST surface for team-teamId. operations: - method: GET name: getteam description: Get a Team call: rest-teams.getteam outputParameters: - type: object mapping: $. - method: DELETE name: deleteteam description: Delete a Team call: rest-teams.deleteteam outputParameters: - type: object mapping: $. - path: /v1/team/{teamid}/project/{projectid} name: team-teamid-project-projectid description: REST surface for team-teamId-project-projectId. operations: - method: PUT name: assignprojecttoteam description: Assign a Project to a Team call: rest-teams.assignprojecttoteam outputParameters: - type: object mapping: $. - method: DELETE name: removeprojectfromteam description: Remove a Project from a Team call: rest-teams.removeprojectfromteam outputParameters: - type: object mapping: $. - path: /v1/team/{teamid}/projects name: team-teamid-projects description: REST surface for team-teamId-projects. operations: - method: GET name: listteamprojects description: List a Team's Projects call: rest-teams.listteamprojects outputParameters: - type: object mapping: $. - path: /v1/team/{teamid}/user/{userid} name: team-teamid-user-userid description: REST surface for team-teamId-user-userId. operations: - method: PUT name: assignusertoteam description: Assign a User to a Team call: rest-teams.assignusertoteam outputParameters: - type: object mapping: $. - method: DELETE name: removeuserfromteam description: Remove a User from a Team call: rest-teams.removeuserfromteam outputParameters: - type: object mapping: $. - path: /v1/team/{teamid}/users name: team-teamid-users description: REST surface for team-teamId-users. operations: - method: GET name: listteamusers description: List a Team's Users call: rest-teams.listteamusers outputParameters: - type: object mapping: $. - path: /v1/teams name: teams description: REST surface for teams. operations: - method: GET name: listallteams description: List All Teams call: rest-teams.listallteams outputParameters: - type: object mapping: $. - method: POST name: createteam description: Create a Team call: rest-teams.createteam with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: rest-teams-mcp port: 9090 transport: http description: MCP adapter for Rollbar REST API — Teams. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-team description: Get a Team hints: readOnly: true destructive: false idempotent: true call: rest-teams.getteam outputParameters: - type: object mapping: $. - name: delete-team description: Delete a Team hints: readOnly: false destructive: true idempotent: true call: rest-teams.deleteteam outputParameters: - type: object mapping: $. - name: assign-project-team description: Assign a Project to a Team hints: readOnly: false destructive: false idempotent: true call: rest-teams.assignprojecttoteam outputParameters: - type: object mapping: $. - name: remove-project-team description: Remove a Project from a Team hints: readOnly: false destructive: true idempotent: true call: rest-teams.removeprojectfromteam outputParameters: - type: object mapping: $. - name: list-team-s-projects description: List a Team's Projects hints: readOnly: true destructive: false idempotent: true call: rest-teams.listteamprojects outputParameters: - type: object mapping: $. - name: assign-user-team description: Assign a User to a Team hints: readOnly: false destructive: false idempotent: true call: rest-teams.assignusertoteam outputParameters: - type: object mapping: $. - name: remove-user-team description: Remove a User from a Team hints: readOnly: false destructive: true idempotent: true call: rest-teams.removeuserfromteam outputParameters: - type: object mapping: $. - name: list-team-s-users description: List a Team's Users hints: readOnly: true destructive: false idempotent: true call: rest-teams.listteamusers outputParameters: - type: object mapping: $. - name: list-all-teams description: List All Teams hints: readOnly: true destructive: false idempotent: true call: rest-teams.listallteams outputParameters: - type: object mapping: $. - name: create-team description: Create a Team hints: readOnly: false destructive: false idempotent: false call: rest-teams.createteam with: body: tools.body outputParameters: - type: object mapping: $.