naftiko: 1.0.0-alpha2 info: label: Deno Subhosting API — Projects description: 'Deno Subhosting API — Projects. 6 operations. Lead operation: List projects. Self-contained Naftiko capability covering one Deno business surface.' tags: - Deno - Projects created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DENO_API_KEY: DENO_API_KEY capability: consumes: - type: http namespace: subhosting-projects baseUri: https://api.deno.com/v1 description: Deno Subhosting API — Projects business capability. Self-contained, no shared references. resources: - name: organizations-organizationId-projects path: /organizations/{organizationId}/projects operations: - name: listprojects method: GET description: List projects outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createproject method: POST description: Create project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: projects-projectId path: /projects/{projectId} operations: - name: getproject method: GET description: Get project outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateproject method: PATCH description: Update project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteproject method: DELETE description: Delete project outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projects-projectId-analytics path: /projects/{projectId}/analytics operations: - name: getprojectanalytics method: GET description: Get project analytics outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: since in: query type: string description: Start of the time range in RFC 3339 format required: true - name: until in: query type: string description: End of the time range in RFC 3339 format required: true authentication: type: bearer token: '{{env.DENO_API_KEY}}' exposes: - type: rest namespace: subhosting-projects-rest port: 8080 description: REST adapter for Deno Subhosting API — Projects. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations/{organizationid}/projects name: organizations-organizationid-projects description: REST surface for organizations-organizationId-projects. operations: - method: GET name: listprojects description: List projects call: subhosting-projects.listprojects outputParameters: - type: object mapping: $. - method: POST name: createproject description: Create project call: subhosting-projects.createproject with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid} name: projects-projectid description: REST surface for projects-projectId. operations: - method: GET name: getproject description: Get project call: subhosting-projects.getproject outputParameters: - type: object mapping: $. - method: PATCH name: updateproject description: Update project call: subhosting-projects.updateproject with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteproject description: Delete project call: subhosting-projects.deleteproject outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/analytics name: projects-projectid-analytics description: REST surface for projects-projectId-analytics. operations: - method: GET name: getprojectanalytics description: Get project analytics call: subhosting-projects.getprojectanalytics with: since: rest.since until: rest.until outputParameters: - type: object mapping: $. - type: mcp namespace: subhosting-projects-mcp port: 9090 transport: http description: MCP adapter for Deno Subhosting API — Projects. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-projects description: List projects hints: readOnly: true destructive: false idempotent: true call: subhosting-projects.listprojects outputParameters: - type: object mapping: $. - name: create-project description: Create project hints: readOnly: false destructive: false idempotent: false call: subhosting-projects.createproject with: body: tools.body outputParameters: - type: object mapping: $. - name: get-project description: Get project hints: readOnly: true destructive: false idempotent: true call: subhosting-projects.getproject outputParameters: - type: object mapping: $. - name: update-project description: Update project hints: readOnly: false destructive: false idempotent: true call: subhosting-projects.updateproject with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-project description: Delete project hints: readOnly: false destructive: true idempotent: true call: subhosting-projects.deleteproject outputParameters: - type: object mapping: $. - name: get-project-analytics description: Get project analytics hints: readOnly: true destructive: false idempotent: true call: subhosting-projects.getprojectanalytics with: since: tools.since until: tools.until outputParameters: - type: object mapping: $.