{ "opencollection": "1.0.0", "info": { "name": "Microsoft Graph Admin Admin.admin shares.driveItem API", "version": "1.0.0" }, "items": [ { "info": { "name": "shares.driveItem", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Graph Accessing shared DriveItems", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/shares/:sharedDriveItem-id/driveItem", "params": [ { "name": "sharedDriveItem-id", "value": "", "type": "path", "description": "The unique identifier of sharedDriveItem" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token." }, { "info": { "name": "Microsoft Graph Get content for the navigation property driveItem from shares", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/shares/:sharedDriveItem-id/driveItem/content", "params": [ { "name": "sharedDriveItem-id", "value": "", "type": "path", "description": "The unique identifier of sharedDriveItem" }, { "name": "$format", "value": "", "type": "query", "description": "Format of the content" } ] }, "docs": "The content stream, if the item represents a file." }, { "info": { "name": "Microsoft Graph Update content for the navigation property driveItem in shares", "type": "http" }, "http": { "method": "PUT", "url": "https://graph.microsoft.com/v1.0/shares/:sharedDriveItem-id/driveItem/content", "params": [ { "name": "sharedDriveItem-id", "value": "", "type": "path", "description": "The unique identifier of sharedDriveItem" } ] }, "docs": "The content stream, if the item represents a file." }, { "info": { "name": "Microsoft Graph Delete content for the navigation property driveItem in shares", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/shares/:sharedDriveItem-id/driveItem/content", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "sharedDriveItem-id", "value": "", "type": "path", "description": "The unique identifier of sharedDriveItem" } ] }, "docs": "The content stream, if the item represents a file." }, { "info": { "name": "Microsoft Graph Get items from shares", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/shares/:sharedDriveItem-id/items", "params": [ { "name": "sharedDriveItem-id", "value": "", "type": "path", "description": "The unique identifier of sharedDriveItem" }, { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "All driveItems contained in the sharing root. This collection cannot be enumerated." }, { "info": { "name": "Microsoft Graph Get items from shares", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/shares/:sharedDriveItem-id/items/:driveItem-id", "params": [ { "name": "sharedDriveItem-id", "value": "", "type": "path", "description": "The unique identifier of sharedDriveItem" }, { "name": "driveItem-id", "value": "", "type": "path", "description": "The unique identifier of driveItem" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "All driveItems contained in the sharing root. This collection cannot be enumerated." }, { "info": { "name": "Microsoft Graph Get content for the navigation property items from shares", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/shares/:sharedDriveItem-id/items/:driveItem-id/content", "params": [ { "name": "sharedDriveItem-id", "value": "", "type": "path", "description": "The unique identifier of sharedDriveItem" }, { "name": "driveItem-id", "value": "", "type": "path", "description": "The unique identifier of driveItem" }, { "name": "$format", "value": "", "type": "query", "description": "Format of the content" } ] }, "docs": "The content stream, if the item represents a file." }, { "info": { "name": "Microsoft Graph Update content for the navigation property items in shares", "type": "http" }, "http": { "method": "PUT", "url": "https://graph.microsoft.com/v1.0/shares/:sharedDriveItem-id/items/:driveItem-id/content", "params": [ { "name": "sharedDriveItem-id", "value": "", "type": "path", "description": "The unique identifier of sharedDriveItem" }, { "name": "driveItem-id", "value": "", "type": "path", "description": "The unique identifier of driveItem" } ] }, "docs": "The content stream, if the item represents a file." }, { "info": { "name": "Microsoft Graph Delete content for the navigation property items in shares", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/shares/:sharedDriveItem-id/items/:driveItem-id/content", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "sharedDriveItem-id", "value": "", "type": "path", "description": "The unique identifier of sharedDriveItem" }, { "name": "driveItem-id", "value": "", "type": "path", "description": "The unique identifier of driveItem" } ] }, "docs": "The content stream, if the item represents a file." }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/shares/:sharedDriveItem-id/items/$count", "params": [ { "name": "sharedDriveItem-id", "value": "", "type": "path", "description": "The unique identifier of sharedDriveItem" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" }, { "info": { "name": "Microsoft Graph Get root from shares", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/shares/:sharedDriveItem-id/root", "params": [ { "name": "sharedDriveItem-id", "value": "", "type": "path", "description": "The unique identifier of sharedDriveItem" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Used to access the underlying driveItem. Deprecated -- use driveItem instead." }, { "info": { "name": "Microsoft Graph Get content for the navigation property root from shares", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/shares/:sharedDriveItem-id/root/content", "params": [ { "name": "sharedDriveItem-id", "value": "", "type": "path", "description": "The unique identifier of sharedDriveItem" }, { "name": "$format", "value": "", "type": "query", "description": "Format of the content" } ] }, "docs": "The content stream, if the item represents a file." }, { "info": { "name": "Microsoft Graph Update content for the navigation property root in shares", "type": "http" }, "http": { "method": "PUT", "url": "https://graph.microsoft.com/v1.0/shares/:sharedDriveItem-id/root/content", "params": [ { "name": "sharedDriveItem-id", "value": "", "type": "path", "description": "The unique identifier of sharedDriveItem" } ] }, "docs": "The content stream, if the item represents a file." }, { "info": { "name": "Microsoft Graph Delete content for the navigation property root in shares", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/shares/:sharedDriveItem-id/root/content", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "sharedDriveItem-id", "value": "", "type": "path", "description": "The unique identifier of sharedDriveItem" } ] }, "docs": "The content stream, if the item represents a file." } ] } ], "bundled": true }