naftiko: 1.0.0-alpha2 info: label: SharePoint REST API — User Profiles description: 'SharePoint REST API — User Profiles. 1 operations. Lead operation: SharePoint Get My User Profile. Self-contained Naftiko capability covering one Sharepoint business surface.' tags: - Sharepoint - User Profiles created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SHAREPOINT_API_KEY: SHAREPOINT_API_KEY capability: consumes: - type: http namespace: rest-user-profiles baseUri: https://{site_url}/_api description: SharePoint REST API — User Profiles business capability. Self-contained, no shared references. resources: - name: SP.UserProfiles.PeopleManager-GetMyProperties path: /SP.UserProfiles.PeopleManager/GetMyProperties operations: - name: getmyuserprofile method: GET description: SharePoint Get My User Profile outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.SHAREPOINT_API_KEY}}' exposes: - type: rest namespace: rest-user-profiles-rest port: 8080 description: REST adapter for SharePoint REST API — User Profiles. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/sp-userprofiles-peoplemanager/getmyproperties name: sp-userprofiles-peoplemanager-getmyproperties description: REST surface for SP.UserProfiles.PeopleManager-GetMyProperties. operations: - method: GET name: getmyuserprofile description: SharePoint Get My User Profile call: rest-user-profiles.getmyuserprofile outputParameters: - type: object mapping: $. - type: mcp namespace: rest-user-profiles-mcp port: 9090 transport: http description: MCP adapter for SharePoint REST API — User Profiles. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: sharepoint-get-my-user-profile description: SharePoint Get My User Profile hints: readOnly: true destructive: false idempotent: true call: rest-user-profiles.getmyuserprofile outputParameters: - type: object mapping: $.