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