{ "opencollection": "1.0.0", "info": { "name": "Egnyte Public File System API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://{domain}.egnyte.com/puboauth/token", "accessTokenUrl": "https://{domain}.egnyte.com/puboauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "File System", "type": "folder" }, "items": [ { "info": { "name": "List folder contents or get file metadata", "type": "http" }, "http": { "method": "GET", "url": "https://{domain}.egnyte.com/pubapi/v1/fs/:path", "params": [ { "name": "path", "value": "", "type": "path" } ] }, "docs": "List folder contents or get file metadata" }, { "info": { "name": "Create folder or copy/move", "type": "http" }, "http": { "method": "POST", "url": "https://{domain}.egnyte.com/pubapi/v1/fs/:path", "params": [ { "name": "path", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create folder or copy/move" }, { "info": { "name": "Delete file or folder", "type": "http" }, "http": { "method": "DELETE", "url": "https://{domain}.egnyte.com/pubapi/v1/fs/:path", "params": [ { "name": "path", "value": "", "type": "path" } ] }, "docs": "Delete file or folder" }, { "info": { "name": "Download file content", "type": "http" }, "http": { "method": "GET", "url": "https://{domain}.egnyte.com/pubapi/v1/fs-content/:path", "params": [ { "name": "path", "value": "", "type": "path" } ] }, "docs": "Download file content" }, { "info": { "name": "Upload file content", "type": "http" }, "http": { "method": "POST", "url": "https://{domain}.egnyte.com/pubapi/v1/fs-content/:path", "params": [ { "name": "path", "value": "", "type": "path" } ] }, "docs": "Upload file content" } ] } ], "bundled": true }