naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Shares — Shares.user description: 'Microsoft Graph Shares — Shares.user. 10 operations. Lead operation: Microsoft Graph Get createdByUser from shares. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - Shares.user created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_GRAPH_API_KEY: MICROSOFT_GRAPH_API_KEY capability: consumes: - type: http namespace: shares-shares-user baseUri: '' description: Microsoft Graph Shares — Shares.user business capability. Self-contained, no shared references. resources: - name: shares-sharedDriveItem-id-createdByUser path: /shares/{sharedDriveItem-id}/createdByUser operations: - name: sharesgetcreatedbyuser method: GET description: Microsoft Graph Get createdByUser from shares outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: shares-sharedDriveItem-id-createdByUser-mailboxSettings path: /shares/{sharedDriveItem-id}/createdByUser/mailboxSettings operations: - name: sharescreatedbyusergetmailboxsettings method: GET description: Microsoft Graph Get mailboxSettings property value outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: sharescreatedbyuserupdatemailboxsettings method: PATCH description: Microsoft Graph Update property mailboxSettings value. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: shares-sharedDriveItem-id-createdByUser-serviceProvisioningErrors path: /shares/{sharedDriveItem-id}/createdByUser/serviceProvisioningErrors operations: - name: sharescreatedbyuserlistserviceprovisioningerrors method: GET description: Microsoft Graph Get serviceProvisioningErrors property value outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $orderby in: query type: array description: Order items by property values - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: shares-sharedDriveItem-id-createdByUser-serviceProvisioningErrors-$count path: /shares/{sharedDriveItem-id}/createdByUser/serviceProvisioningErrors/$count operations: - name: sharescreatedbyuserserviceprovisioningerrorsgetcountabf4 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ConsistencyLevel in: header type: string description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' - name: shares-sharedDriveItem-id-lastModifiedByUser path: /shares/{sharedDriveItem-id}/lastModifiedByUser operations: - name: sharesgetlastmodifiedbyuser method: GET description: Microsoft Graph Get lastModifiedByUser from shares outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: shares-sharedDriveItem-id-lastModifiedByUser-mailboxSettings path: /shares/{sharedDriveItem-id}/lastModifiedByUser/mailboxSettings operations: - name: shareslastmodifiedbyusergetmailboxsettings method: GET description: Microsoft Graph Get mailboxSettings property value outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: shareslastmodifiedbyuserupdatemailboxsettings method: PATCH description: Microsoft Graph Update property mailboxSettings value. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: shares-sharedDriveItem-id-lastModifiedByUser-serviceProvisioningErrors path: /shares/{sharedDriveItem-id}/lastModifiedByUser/serviceProvisioningErrors operations: - name: shareslastmodifiedbyuserlistserviceprovisioningerrors method: GET description: Microsoft Graph Get serviceProvisioningErrors property value outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $orderby in: query type: array description: Order items by property values - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: shares-sharedDriveItem-id-lastModifiedByUser-serviceProvisioningErrors-$count path: /shares/{sharedDriveItem-id}/lastModifiedByUser/serviceProvisioningErrors/$count operations: - name: shareslastmodifiedbyuserserviceprovisioningerrorsgetcounta885 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: shares-shares-user-rest port: 8080 description: REST adapter for Microsoft Graph Shares — Shares.user. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/shares/{shareddriveitem-id}/createdbyuser name: shares-shareddriveitem-id-createdbyuser description: REST surface for shares-sharedDriveItem-id-createdByUser. operations: - method: GET name: sharesgetcreatedbyuser description: Microsoft Graph Get createdByUser from shares call: shares-shares-user.sharesgetcreatedbyuser with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/shares/{shareddriveitem-id}/createdbyuser/mailboxsettings name: shares-shareddriveitem-id-createdbyuser-mailboxsettings description: REST surface for shares-sharedDriveItem-id-createdByUser-mailboxSettings. operations: - method: GET name: sharescreatedbyusergetmailboxsettings description: Microsoft Graph Get mailboxSettings property value call: shares-shares-user.sharescreatedbyusergetmailboxsettings with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: sharescreatedbyuserupdatemailboxsettings description: Microsoft Graph Update property mailboxSettings value. call: shares-shares-user.sharescreatedbyuserupdatemailboxsettings with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/shares/{shareddriveitem-id}/createdbyuser/serviceprovisioningerrors name: shares-shareddriveitem-id-createdbyuser-serviceprovisioningerrors description: REST surface for shares-sharedDriveItem-id-createdByUser-serviceProvisioningErrors. operations: - method: GET name: sharescreatedbyuserlistserviceprovisioningerrors description: Microsoft Graph Get serviceProvisioningErrors property value call: shares-shares-user.sharescreatedbyuserlistserviceprovisioningerrors with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/shares/{shareddriveitem-id}/createdbyuser/serviceprovisioningerrors/count name: shares-shareddriveitem-id-createdbyuser-serviceprovisioningerrors-count description: REST surface for shares-sharedDriveItem-id-createdByUser-serviceProvisioningErrors-$count. operations: - method: GET name: sharescreatedbyuserserviceprovisioningerrorsgetcountabf4 description: Microsoft Graph Get the number of the resource call: shares-shares-user.sharescreatedbyuserserviceprovisioningerrorsgetcountabf4 with: ConsistencyLevel: rest.ConsistencyLevel outputParameters: - type: object mapping: $. - path: /v1/shares/{shareddriveitem-id}/lastmodifiedbyuser name: shares-shareddriveitem-id-lastmodifiedbyuser description: REST surface for shares-sharedDriveItem-id-lastModifiedByUser. operations: - method: GET name: sharesgetlastmodifiedbyuser description: Microsoft Graph Get lastModifiedByUser from shares call: shares-shares-user.sharesgetlastmodifiedbyuser with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/shares/{shareddriveitem-id}/lastmodifiedbyuser/mailboxsettings name: shares-shareddriveitem-id-lastmodifiedbyuser-mailboxsettings description: REST surface for shares-sharedDriveItem-id-lastModifiedByUser-mailboxSettings. operations: - method: GET name: shareslastmodifiedbyusergetmailboxsettings description: Microsoft Graph Get mailboxSettings property value call: shares-shares-user.shareslastmodifiedbyusergetmailboxsettings with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: shareslastmodifiedbyuserupdatemailboxsettings description: Microsoft Graph Update property mailboxSettings value. call: shares-shares-user.shareslastmodifiedbyuserupdatemailboxsettings with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/shares/{shareddriveitem-id}/lastmodifiedbyuser/serviceprovisioningerrors name: shares-shareddriveitem-id-lastmodifiedbyuser-serviceprovisioningerrors description: REST surface for shares-sharedDriveItem-id-lastModifiedByUser-serviceProvisioningErrors. operations: - method: GET name: shareslastmodifiedbyuserlistserviceprovisioningerrors description: Microsoft Graph Get serviceProvisioningErrors property value call: shares-shares-user.shareslastmodifiedbyuserlistserviceprovisioningerrors with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/shares/{shareddriveitem-id}/lastmodifiedbyuser/serviceprovisioningerrors/count name: shares-shareddriveitem-id-lastmodifiedbyuser-serviceprovisioningerrors-count description: REST surface for shares-sharedDriveItem-id-lastModifiedByUser-serviceProvisioningErrors-$count. operations: - method: GET name: shareslastmodifiedbyuserserviceprovisioningerrorsgetcounta885 description: Microsoft Graph Get the number of the resource call: shares-shares-user.shareslastmodifiedbyuserserviceprovisioningerrorsgetcounta885 outputParameters: - type: object mapping: $. - type: mcp namespace: shares-shares-user-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Shares — Shares.user. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-get-createdbyuser-shares description: Microsoft Graph Get createdByUser from shares hints: readOnly: true destructive: false idempotent: true call: shares-shares-user.sharesgetcreatedbyuser with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-mailboxsettings-property description: Microsoft Graph Get mailboxSettings property value hints: readOnly: true destructive: false idempotent: true call: shares-shares-user.sharescreatedbyusergetmailboxsettings with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-property-mailboxsettings description: Microsoft Graph Update property mailboxSettings value. hints: readOnly: false destructive: false idempotent: true call: shares-shares-user.sharescreatedbyuserupdatemailboxsettings with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-get-serviceprovisioningerrors-property description: Microsoft Graph Get serviceProvisioningErrors property value hints: readOnly: true destructive: false idempotent: true call: shares-shares-user.sharescreatedbyuserlistserviceprovisioningerrors with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: shares-shares-user.sharescreatedbyuserserviceprovisioningerrorsgetcountabf4 with: ConsistencyLevel: tools.ConsistencyLevel outputParameters: - type: object mapping: $. - name: microsoft-graph-get-lastmodifiedbyuser-shares description: Microsoft Graph Get lastModifiedByUser from shares hints: readOnly: true destructive: false idempotent: true call: shares-shares-user.sharesgetlastmodifiedbyuser with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-mailboxsettings-property-2 description: Microsoft Graph Get mailboxSettings property value hints: readOnly: true destructive: false idempotent: true call: shares-shares-user.shareslastmodifiedbyusergetmailboxsettings with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-property-mailboxsettings-2 description: Microsoft Graph Update property mailboxSettings value. hints: readOnly: false destructive: false idempotent: true call: shares-shares-user.shareslastmodifiedbyuserupdatemailboxsettings with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-get-serviceprovisioningerrors-property-2 description: Microsoft Graph Get serviceProvisioningErrors property value hints: readOnly: true destructive: false idempotent: true call: shares-shares-user.shareslastmodifiedbyuserlistserviceprovisioningerrors with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource-2 description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: shares-shares-user.shareslastmodifiedbyuserserviceprovisioningerrorsgetcounta885 outputParameters: - type: object mapping: $.