{ "opencollection": "1.0.0", "info": { "name": "Microsoft OneDrive API (Microsoft Graph) DriveItems API", "version": "v1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "DriveItems", "type": "folder" }, "items": [ { "info": { "name": "Get root driveItem of a drive", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/drives/:driveId/root", "params": [ { "name": "driveId", "value": "", "type": "path" } ] }, "docs": "Get root driveItem of a drive" }, { "info": { "name": "List children of root", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/drives/:driveId/root/children", "params": [ { "name": "driveId", "value": "", "type": "path" } ] }, "docs": "List children of root" }, { "info": { "name": "Get driveItem by id", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/drives/:driveId/items/:itemId", "params": [ { "name": "driveId", "value": "", "type": "path" }, { "name": "itemId", "value": "", "type": "path" } ] }, "docs": "Get driveItem by id" }, { "info": { "name": "Update driveItem", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/drives/:driveId/items/:itemId", "params": [ { "name": "driveId", "value": "", "type": "path" }, { "name": "itemId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update driveItem" }, { "info": { "name": "Delete driveItem", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/drives/:driveId/items/:itemId", "params": [ { "name": "driveId", "value": "", "type": "path" }, { "name": "itemId", "value": "", "type": "path" } ] }, "docs": "Delete driveItem" }, { "info": { "name": "List children of driveItem", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/drives/:driveId/items/:itemId/children", "params": [ { "name": "driveId", "value": "", "type": "path" }, { "name": "itemId", "value": "", "type": "path" } ] }, "docs": "List children of driveItem" }, { "info": { "name": "Create folder in driveItem", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/drives/:driveId/items/:itemId/children", "params": [ { "name": "driveId", "value": "", "type": "path" }, { "name": "itemId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create folder in driveItem" }, { "info": { "name": "Download file content", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/drives/:driveId/items/:itemId/content", "params": [ { "name": "driveId", "value": "", "type": "path" }, { "name": "itemId", "value": "", "type": "path" } ] }, "docs": "Download file content" }, { "info": { "name": "Upload file content (small file replace)", "type": "http" }, "http": { "method": "PUT", "url": "https://graph.microsoft.com/v1.0/drives/:driveId/items/:itemId/content", "params": [ { "name": "driveId", "value": "", "type": "path" }, { "name": "itemId", "value": "", "type": "path" } ] }, "docs": "Upload file content (small file replace)" }, { "info": { "name": "Copy driveItem", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/drives/:driveId/items/:itemId/copy", "params": [ { "name": "driveId", "value": "", "type": "path" }, { "name": "itemId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Copy driveItem" } ] } ], "bundled": true }