naftiko: 1.0.0-alpha2 info: label: SharePoint REST API description: 'SharePoint REST API. 1 operations. Lead operation: Submit OData $batch request. Self-contained Naftiko capability covering one Microsoft Sharepoint business surface.' tags: - Microsoft Sharepoint created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_SHAREPOINT_API_KEY: MICROSOFT_SHAREPOINT_API_KEY capability: consumes: - type: http namespace: microsoft-sharepoint-general baseUri: https://{tenant}.sharepoint.com/_api description: SharePoint REST API business capability. Self-contained, no shared references. resources: - name: $batch path: /$batch operations: - name: batch method: POST description: Submit OData $batch request 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.MICROSOFT_SHAREPOINT_API_KEY}}' exposes: - type: rest namespace: microsoft-sharepoint-general-rest port: 8080 description: REST adapter for SharePoint REST API. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/batch name: batch description: REST surface for $batch. operations: - method: POST name: batch description: Submit OData $batch request call: microsoft-sharepoint-general.batch with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: microsoft-sharepoint-general-mcp port: 9090 transport: http description: MCP adapter for SharePoint REST API. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: submit-odata-batch-request description: Submit OData $batch request hints: readOnly: false destructive: false idempotent: false call: microsoft-sharepoint-general.batch with: body: tools.body outputParameters: - type: object mapping: $.