naftiko: 1.0.0-alpha2 info: label: Microsoft Project Online REST API — Resources description: 'Microsoft Project Online REST API — Resources. 5 operations. Lead operation: Microsoft Project List Enterprise Resources. Self-contained Naftiko capability covering one Microsoft Project business surface.' tags: - Microsoft Project - Resources created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_PROJECT_API_KEY: MICROSOFT_PROJECT_API_KEY capability: consumes: - type: http namespace: rest-resources baseUri: https://{tenant}.sharepoint.com/sites/pwa/_api/ProjectServer description: Microsoft Project Online REST API — Resources business capability. Self-contained, no shared references. resources: - name: EnterpriseResources path: /EnterpriseResources operations: - name: listenterpriseresources method: GET description: Microsoft Project List Enterprise Resources outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createenterpriseresource method: POST description: Microsoft Project Create Enterprise Resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: Projects('{projectId}')-Draft-ProjectResources path: /Projects('{projectId}')/Draft/ProjectResources operations: - name: listdraftprojectresources method: GET description: Microsoft Project List Draft Project Resources outputRawFormat: json outputParameters: - name: result type: object value: $. - name: adddraftprojectresource method: POST description: Microsoft Project Add Draft Project Resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: Projects('{projectId}')-ProjectResources path: /Projects('{projectId}')/ProjectResources operations: - name: listprojectresources method: GET description: Microsoft Project List Project Resources outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MICROSOFT_PROJECT_API_KEY}}' exposes: - type: rest namespace: rest-resources-rest port: 8080 description: REST adapter for Microsoft Project Online REST API — Resources. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/enterpriseresources name: enterpriseresources description: REST surface for EnterpriseResources. operations: - method: GET name: listenterpriseresources description: Microsoft Project List Enterprise Resources call: rest-resources.listenterpriseresources outputParameters: - type: object mapping: $. - method: POST name: createenterpriseresource description: Microsoft Project Create Enterprise Resource call: rest-resources.createenterpriseresource with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects-projectid/draft/projectresources name: projects-projectid-draft-projectresources description: REST surface for Projects('{projectId}')-Draft-ProjectResources. operations: - method: GET name: listdraftprojectresources description: Microsoft Project List Draft Project Resources call: rest-resources.listdraftprojectresources outputParameters: - type: object mapping: $. - method: POST name: adddraftprojectresource description: Microsoft Project Add Draft Project Resource call: rest-resources.adddraftprojectresource with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects-projectid/projectresources name: projects-projectid-projectresources description: REST surface for Projects('{projectId}')-ProjectResources. operations: - method: GET name: listprojectresources description: Microsoft Project List Project Resources call: rest-resources.listprojectresources outputParameters: - type: object mapping: $. - type: mcp namespace: rest-resources-mcp port: 9090 transport: http description: MCP adapter for Microsoft Project Online REST API — Resources. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-project-list-enterprise-resources description: Microsoft Project List Enterprise Resources hints: readOnly: true destructive: false idempotent: true call: rest-resources.listenterpriseresources outputParameters: - type: object mapping: $. - name: microsoft-project-create-enterprise-resource description: Microsoft Project Create Enterprise Resource hints: readOnly: false destructive: false idempotent: false call: rest-resources.createenterpriseresource with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-project-list-draft-project description: Microsoft Project List Draft Project Resources hints: readOnly: true destructive: false idempotent: true call: rest-resources.listdraftprojectresources outputParameters: - type: object mapping: $. - name: microsoft-project-add-draft-project description: Microsoft Project Add Draft Project Resource hints: readOnly: false destructive: false idempotent: false call: rest-resources.adddraftprojectresource with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-project-list-project-resources description: Microsoft Project List Project Resources hints: readOnly: true destructive: false idempotent: true call: rest-resources.listprojectresources outputParameters: - type: object mapping: $.