naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Subscriptions — Shares.list description: 'Microsoft Graph Subscriptions — Shares.list. 7 operations. Lead operation: Microsoft Graph Get subscriptions from shares. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - Shares.list 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: subscriptions-shares-list baseUri: '' description: Microsoft Graph Subscriptions — Shares.list business capability. Self-contained, no shared references. resources: - name: shares-sharedDriveItem-id-list-subscriptions path: /shares/{sharedDriveItem-id}/list/subscriptions operations: - name: shareslistlistsubscriptions method: GET description: Microsoft Graph Get subscriptions from shares 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: shareslistcreatesubscriptions method: POST description: Microsoft Graph Create new navigation property to subscriptions for shares 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-list-subscriptions-$count path: /shares/{sharedDriveItem-id}/list/subscriptions/$count operations: - name: shareslistsubscriptionsgetcount4363 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: shares-sharedDriveItem-id-list-subscriptions-subscription-id path: /shares/{sharedDriveItem-id}/list/subscriptions/{subscription-id} operations: - name: shareslistgetsubscriptions method: GET description: Microsoft Graph Get subscriptions 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: shareslistupdatesubscriptions method: PATCH description: Microsoft Graph Update the navigation property subscriptions in shares outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: shareslistdeletesubscriptions method: DELETE description: Microsoft Graph Delete navigation property subscriptions for shares outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: shares-sharedDriveItem-id-list-subscriptions-subscription-id-reauthorize path: /shares/{sharedDriveItem-id}/list/subscriptions/{subscription-id}/reauthorize operations: - name: sharesshareddriveitemlistsubscriptionssubscriptionreauthorize method: POST description: Microsoft Graph Invoke action reauthorize outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: subscriptions-shares-list-rest port: 8080 description: REST adapter for Microsoft Graph Subscriptions — Shares.list. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/shares/{shareddriveitem-id}/list/subscriptions name: shares-shareddriveitem-id-list-subscriptions description: REST surface for shares-sharedDriveItem-id-list-subscriptions. operations: - method: GET name: shareslistlistsubscriptions description: Microsoft Graph Get subscriptions from shares call: subscriptions-shares-list.shareslistlistsubscriptions with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: shareslistcreatesubscriptions description: Microsoft Graph Create new navigation property to subscriptions for shares call: subscriptions-shares-list.shareslistcreatesubscriptions with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/shares/{shareddriveitem-id}/list/subscriptions/count name: shares-shareddriveitem-id-list-subscriptions-count description: REST surface for shares-sharedDriveItem-id-list-subscriptions-$count. operations: - method: GET name: shareslistsubscriptionsgetcount4363 description: Microsoft Graph Get the number of the resource call: subscriptions-shares-list.shareslistsubscriptionsgetcount4363 outputParameters: - type: object mapping: $. - path: /v1/shares/{shareddriveitem-id}/list/subscriptions/{subscription-id} name: shares-shareddriveitem-id-list-subscriptions-subscription-id description: REST surface for shares-sharedDriveItem-id-list-subscriptions-subscription-id. operations: - method: GET name: shareslistgetsubscriptions description: Microsoft Graph Get subscriptions from shares call: subscriptions-shares-list.shareslistgetsubscriptions with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: shareslistupdatesubscriptions description: Microsoft Graph Update the navigation property subscriptions in shares call: subscriptions-shares-list.shareslistupdatesubscriptions with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: shareslistdeletesubscriptions description: Microsoft Graph Delete navigation property subscriptions for shares call: subscriptions-shares-list.shareslistdeletesubscriptions with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/shares/{shareddriveitem-id}/list/subscriptions/{subscription-id}/reauthorize name: shares-shareddriveitem-id-list-subscriptions-subscription-id-reauthorize description: REST surface for shares-sharedDriveItem-id-list-subscriptions-subscription-id-reauthorize. operations: - method: POST name: sharesshareddriveitemlistsubscriptionssubscriptionreauthorize description: Microsoft Graph Invoke action reauthorize call: subscriptions-shares-list.sharesshareddriveitemlistsubscriptionssubscriptionreauthorize outputParameters: - type: object mapping: $. - type: mcp namespace: subscriptions-shares-list-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Subscriptions — Shares.list. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-get-subscriptions-shares description: Microsoft Graph Get subscriptions from shares hints: readOnly: true destructive: false idempotent: true call: subscriptions-shares-list.shareslistlistsubscriptions with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-new-navigation description: Microsoft Graph Create new navigation property to subscriptions for shares hints: readOnly: false destructive: false idempotent: false call: subscriptions-shares-list.shareslistcreatesubscriptions with: body: tools.body 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: subscriptions-shares-list.shareslistsubscriptionsgetcount4363 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-subscriptions-shares-2 description: Microsoft Graph Get subscriptions from shares hints: readOnly: true destructive: false idempotent: true call: subscriptions-shares-list.shareslistgetsubscriptions with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property description: Microsoft Graph Update the navigation property subscriptions in shares hints: readOnly: false destructive: false idempotent: true call: subscriptions-shares-list.shareslistupdatesubscriptions with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property description: Microsoft Graph Delete navigation property subscriptions for shares hints: readOnly: false destructive: true idempotent: true call: subscriptions-shares-list.shareslistdeletesubscriptions with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-action-reauthorize description: Microsoft Graph Invoke action reauthorize hints: readOnly: false destructive: false idempotent: false call: subscriptions-shares-list.sharesshareddriveitemlistsubscriptionssubscriptionreauthorize outputParameters: - type: object mapping: $.