naftiko: 1.0.0-alpha2 info: label: Microsoft Project Online REST API — Calendars description: 'Microsoft Project Online REST API — Calendars. 4 operations. Lead operation: Microsoft Project List Calendars. Self-contained Naftiko capability covering one Microsoft Project business surface.' tags: - Microsoft Project - Calendars 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-calendars baseUri: https://{tenant}.sharepoint.com/sites/pwa/_api/ProjectServer description: Microsoft Project Online REST API — Calendars business capability. Self-contained, no shared references. resources: - name: Calendars path: /Calendars operations: - name: listcalendars method: GET description: Microsoft Project List Calendars outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createcalendar method: POST description: Microsoft Project Create Calendar outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: Calendars('{calendarId}') path: /Calendars('{calendarId}') operations: - name: getcalendar method: GET description: Microsoft Project Get Calendar outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deletecalendar method: DELETE description: Microsoft Project Delete Calendar outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MICROSOFT_PROJECT_API_KEY}}' exposes: - type: rest namespace: rest-calendars-rest port: 8080 description: REST adapter for Microsoft Project Online REST API — Calendars. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/calendars name: calendars description: REST surface for Calendars. operations: - method: GET name: listcalendars description: Microsoft Project List Calendars call: rest-calendars.listcalendars outputParameters: - type: object mapping: $. - method: POST name: createcalendar description: Microsoft Project Create Calendar call: rest-calendars.createcalendar with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/calendars-calendarid name: calendars-calendarid description: REST surface for Calendars('{calendarId}'). operations: - method: GET name: getcalendar description: Microsoft Project Get Calendar call: rest-calendars.getcalendar outputParameters: - type: object mapping: $. - method: DELETE name: deletecalendar description: Microsoft Project Delete Calendar call: rest-calendars.deletecalendar outputParameters: - type: object mapping: $. - type: mcp namespace: rest-calendars-mcp port: 9090 transport: http description: MCP adapter for Microsoft Project Online REST API — Calendars. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-project-list-calendars description: Microsoft Project List Calendars hints: readOnly: true destructive: false idempotent: true call: rest-calendars.listcalendars outputParameters: - type: object mapping: $. - name: microsoft-project-create-calendar description: Microsoft Project Create Calendar hints: readOnly: false destructive: false idempotent: false call: rest-calendars.createcalendar with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-project-get-calendar description: Microsoft Project Get Calendar hints: readOnly: true destructive: false idempotent: true call: rest-calendars.getcalendar outputParameters: - type: object mapping: $. - name: microsoft-project-delete-calendar description: Microsoft Project Delete Calendar hints: readOnly: false destructive: true idempotent: true call: rest-calendars.deletecalendar outputParameters: - type: object mapping: $.