naftiko: 1.0.0-alpha2 info: label: GitHub Projects API — Card description: 'GitHub Projects API — Card. 5 operations. Lead operation: GitHub Get Project Card. Self-contained Naftiko capability covering one Github business surface.' tags: - Github - Card created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITHUB_API_KEY: GITHUB_API_KEY capability: consumes: - type: http namespace: projects-card baseUri: '' description: GitHub Projects API — Card business capability. Self-contained, no shared references. resources: - name: projects-columns-cards-card_id path: /projects/columns/cards/{card_id} operations: - name: getprojectcard method: GET description: GitHub Get Project Card outputRawFormat: json outputParameters: - name: result type: object value: $. - 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: deleteprojectcard method: DELETE description: GitHub Delete Project Card outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projects-columns-cards-card_id-moves path: /projects/columns/cards/{card_id}/moves operations: - name: moveprojectcard method: POST description: GitHub Move Project Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: projects-columns-column_id-cards path: /projects/columns/{column_id}/cards operations: - name: createprojectcard method: POST description: GitHub Create Project Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.GITHUB_API_KEY}}' exposes: - type: rest namespace: projects-card-rest port: 8080 description: REST adapter for GitHub Projects API — Card. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/columns/cards/{card-id} name: projects-columns-cards-card-id description: REST surface for projects-columns-cards-card_id. operations: - method: GET name: getprojectcard description: GitHub Get Project Card call: projects-card.getprojectcard outputParameters: - type: object mapping: $. - method: PATCH name: updateanexistingprojectcard description: GitHub Update an Existing Project Card call: projects-card.updateanexistingprojectcard with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteprojectcard description: GitHub Delete Project Card call: projects-card.deleteprojectcard outputParameters: - type: object mapping: $. - path: /v1/projects/columns/cards/{card-id}/moves name: projects-columns-cards-card-id-moves description: REST surface for projects-columns-cards-card_id-moves. operations: - method: POST name: moveprojectcard description: GitHub Move Project Card call: projects-card.moveprojectcard with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/columns/{column-id}/cards name: projects-columns-column-id-cards description: REST surface for projects-columns-column_id-cards. operations: - method: POST name: createprojectcard description: GitHub Create Project Card call: projects-card.createprojectcard with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: projects-card-mcp port: 9090 transport: http description: MCP adapter for GitHub Projects API — Card. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: github-get-project-card description: GitHub Get Project Card hints: readOnly: true destructive: false idempotent: true call: projects-card.getprojectcard 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-card.updateanexistingprojectcard with: body: tools.body outputParameters: - type: object mapping: $. - name: github-delete-project-card description: GitHub Delete Project Card hints: readOnly: false destructive: true idempotent: true call: projects-card.deleteprojectcard outputParameters: - type: object mapping: $. - name: github-move-project-card description: GitHub Move Project Card hints: readOnly: false destructive: false idempotent: false call: projects-card.moveprojectcard with: body: tools.body outputParameters: - type: object mapping: $. - name: github-create-project-card description: GitHub Create Project Card hints: readOnly: false destructive: false idempotent: false call: projects-card.createprojectcard with: body: tools.body outputParameters: - type: object mapping: $.