naftiko: 1.0.0-alpha2 info: label: Miro Developer Platform — Share projects with groups description: 'Miro Developer Platform — Share projects with groups. 3 operations. Lead operation: Get project user group assignments. Self-contained Naftiko capability covering one Miro business surface.' tags: - Miro - Share projects with groups created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MIRO_API_KEY: MIRO_API_KEY capability: consumes: - type: http namespace: miro-share-projects-with-groups baseUri: https://api.miro.com description: Miro Developer Platform — Share projects with groups business capability. Self-contained, no shared references. resources: - name: v2-orgs-org_id-projects-project_id-groups path: /v2/orgs/{org_id}/projects/{project_id}/groups operations: - name: enterpriseprojectsgetgroups method: GET description: Get project user group assignments outputRawFormat: json outputParameters: - name: result type: object value: $. - name: enterpriseprojectcreategroup method: POST description: Create project user group assignments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-orgs-org_id-projects-project_id-groups-group_id path: /v2/orgs/{org_id}/projects/{project_id}/groups/{group_id} operations: - name: enterpriseprojectdeletegroups method: DELETE description: Delete project user group assignment outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MIRO_API_KEY}}' exposes: - type: rest namespace: miro-share-projects-with-groups-rest port: 8080 description: REST adapter for Miro Developer Platform — Share projects with groups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/orgs/{org-id}/projects/{project-id}/groups name: v2-orgs-org-id-projects-project-id-groups description: REST surface for v2-orgs-org_id-projects-project_id-groups. operations: - method: GET name: enterpriseprojectsgetgroups description: Get project user group assignments call: miro-share-projects-with-groups.enterpriseprojectsgetgroups outputParameters: - type: object mapping: $. - method: POST name: enterpriseprojectcreategroup description: Create project user group assignments call: miro-share-projects-with-groups.enterpriseprojectcreategroup with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/orgs/{org-id}/projects/{project-id}/groups/{group-id} name: v2-orgs-org-id-projects-project-id-groups-group-id description: REST surface for v2-orgs-org_id-projects-project_id-groups-group_id. operations: - method: DELETE name: enterpriseprojectdeletegroups description: Delete project user group assignment call: miro-share-projects-with-groups.enterpriseprojectdeletegroups outputParameters: - type: object mapping: $. - type: mcp namespace: miro-share-projects-with-groups-mcp port: 9090 transport: http description: MCP adapter for Miro Developer Platform — Share projects with groups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-project-user-group-assignments description: Get project user group assignments hints: readOnly: true destructive: false idempotent: true call: miro-share-projects-with-groups.enterpriseprojectsgetgroups outputParameters: - type: object mapping: $. - name: create-project-user-group-assignments description: Create project user group assignments hints: readOnly: false destructive: false idempotent: false call: miro-share-projects-with-groups.enterpriseprojectcreategroup with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-project-user-group-assignment description: Delete project user group assignment hints: readOnly: false destructive: true idempotent: true call: miro-share-projects-with-groups.enterpriseprojectdeletegroups outputParameters: - type: object mapping: $.