naftiko: 1.0.0-alpha2 info: label: APIContext Platform API — Projects description: 'APIContext Platform API — Projects. 4 operations. Lead operation: List projects. Self-contained Naftiko capability covering one business surface.' tags: - APIContext - Projects created: '2026-05-20' modified: '2026-05-20' binds: - namespace: env keys: APICONTEXT_API_KEY: APICONTEXT_API_KEY capability: consumes: - type: http namespace: platform-projects baseUri: https://client.apimetrics.io/api/2 description: APIContext Platform API — Projects business capability. Self-contained, no shared references. resources: - name: projects path: /projects/ operations: - name: listprojects method: GET description: List projects outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: [] - name: createproject method: POST description: Create a project 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: getproject method: GET description: Get a project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: project_id in: path type: string description: path parameter project_id. required: true - name: updateproject method: PUT description: Update a project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: project_id in: path type: string description: path parameter project_id. required: true - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: platform-projects-rest port: 8080 description: REST adapter for APIContext Platform API — Projects. One resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/ name: projects description: REST surface for projects. operations: - method: GET name: listprojects description: List projects call: platform-projects.listprojects with: {} outputParameters: - type: object mapping: $. - method: POST name: createproject description: Create a project call: platform-projects.createproject 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: GET name: getproject description: Get a project call: platform-projects.getproject with: project_id: rest.project_id outputParameters: - type: object mapping: $. - method: PUT name: updateproject description: Update a project call: platform-projects.updateproject with: project_id: rest.project_id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: platform-projects-mcp port: 9090 transport: http description: MCP adapter for APIContext Platform API — Projects. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apicontext-listprojects description: List projects hints: readOnly: true destructive: false idempotent: true call: platform-projects.listprojects with: {} outputParameters: - type: object mapping: $. - name: apicontext-createproject description: Create a project hints: readOnly: false destructive: false idempotent: false call: platform-projects.createproject with: body: tools.body outputParameters: - type: object mapping: $. - name: apicontext-getproject description: Get a project hints: readOnly: true destructive: false idempotent: true call: platform-projects.getproject with: project_id: tools.project_id outputParameters: - type: object mapping: $. - name: apicontext-updateproject description: Update a project hints: readOnly: false destructive: false idempotent: true call: platform-projects.updateproject with: project_id: tools.project_id body: tools.body outputParameters: - type: object mapping: $.