naftiko: 1.0.0-alpha2 info: label: GitHub Projects API — Update description: 'GitHub Projects API — Update. 5 operations. Lead operation: GitHub Add or Update Team Project Permissions. Self-contained Naftiko capability covering one Github business surface.' tags: - Github - Update created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITHUB_API_KEY: GITHUB_API_KEY capability: consumes: - type: http namespace: projects-update baseUri: '' description: GitHub Projects API — Update business capability. Self-contained, no shared references. resources: - name: orgs-org-teams-team_slug-projects-project_id path: /orgs/{org}/teams/{team_slug}/projects/{project_id} operations: - name: addorupdateteamprojectpermissions method: PUT description: GitHub Add or Update Team Project Permissions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: projects-columns-cards-card_id path: /projects/columns/cards/{card_id} operations: - name: updateanexistingprojectcard method: PATCH description: GitHub Update an Existing Project Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: projects-columns-column_id path: /projects/columns/{column_id} operations: - name: updateanexistingprojectcolumn method: PATCH description: GitHub Update an Existing Project Column outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: projects-project_id path: /projects/{project_id} operations: - name: updateproject method: PATCH description: GitHub Update Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: teams-team_id-projects-project_id path: /teams/{team_id}/projects/{project_id} operations: - name: addorupdateteamprojectpermissionslegacy method: PUT description: GitHub Add or Update Team Project Permissions (legacy) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.GITHUB_API_KEY}}' exposes: - type: rest namespace: projects-update-rest port: 8080 description: REST adapter for GitHub Projects API — Update. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/orgs/{org}/teams/{team-slug}/projects/{project-id} name: orgs-org-teams-team-slug-projects-project-id description: REST surface for orgs-org-teams-team_slug-projects-project_id. operations: - method: PUT name: addorupdateteamprojectpermissions description: GitHub Add or Update Team Project Permissions call: projects-update.addorupdateteamprojectpermissions with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/columns/cards/{card-id} name: projects-columns-cards-card-id description: REST surface for projects-columns-cards-card_id. operations: - method: PATCH name: updateanexistingprojectcard description: GitHub Update an Existing Project Card call: projects-update.updateanexistingprojectcard with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/columns/{column-id} name: projects-columns-column-id description: REST surface for projects-columns-column_id. operations: - method: PATCH name: updateanexistingprojectcolumn description: GitHub Update an Existing Project Column call: projects-update.updateanexistingprojectcolumn with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{project-id} name: projects-project-id description: REST surface for projects-project_id. operations: - method: PATCH name: updateproject description: GitHub Update Project call: projects-update.updateproject with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id}/projects/{project-id} name: teams-team-id-projects-project-id description: REST surface for teams-team_id-projects-project_id. operations: - method: PUT name: addorupdateteamprojectpermissionslegacy description: GitHub Add or Update Team Project Permissions (legacy) call: projects-update.addorupdateteamprojectpermissionslegacy with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: projects-update-mcp port: 9090 transport: http description: MCP adapter for GitHub Projects API — Update. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: github-add-update-team-project description: GitHub Add or Update Team Project Permissions hints: readOnly: false destructive: false idempotent: true call: projects-update.addorupdateteamprojectpermissions with: body: tools.body outputParameters: - type: object mapping: $. - name: github-update-existing-project-card description: GitHub Update an Existing Project Card hints: readOnly: false destructive: false idempotent: true call: projects-update.updateanexistingprojectcard with: body: tools.body outputParameters: - type: object mapping: $. - name: github-update-existing-project-column description: GitHub Update an Existing Project Column hints: readOnly: false destructive: false idempotent: true call: projects-update.updateanexistingprojectcolumn with: body: tools.body outputParameters: - type: object mapping: $. - name: github-update-project description: GitHub Update Project hints: readOnly: false destructive: false idempotent: true call: projects-update.updateproject with: body: tools.body outputParameters: - type: object mapping: $. - name: github-add-update-team-project-2 description: GitHub Add or Update Team Project Permissions (legacy) hints: readOnly: false destructive: false idempotent: true call: projects-update.addorupdateteamprojectpermissionslegacy with: body: tools.body outputParameters: - type: object mapping: $.