{ "opencollection": "1.0.0", "info": { "name": "Xano Metadata API Groups Files API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Files", "type": "folder" }, "items": [ { "info": { "name": "List files in the workspace file library.", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.xano.io/api:meta/workspace/:workspace_id/files", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "page", "value": "", "type": "query" }, { "name": "per_page", "value": "", "type": "query" } ] }, "docs": "List files in the workspace file library." }, { "info": { "name": "Upload a file to the workspace file library.", "type": "http" }, "http": { "method": "POST", "url": "https://{instance}.xano.io/api:meta/workspace/:workspace_id/files/upload", "params": [ { "name": "workspace_id", "value": "", "type": "path" } ], "body": { "type": "multipart-form", "data": [ { "name": "content", "type": "text", "value": "" } ] } }, "docs": "Upload a file to the workspace file library." }, { "info": { "name": "Delete a file.", "type": "http" }, "http": { "method": "DELETE", "url": "https://{instance}.xano.io/api:meta/workspace/:workspace_id/files/:file_id", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "file_id", "value": "", "type": "path" } ] }, "docs": "Delete a file." }, { "info": { "name": "Delete multiple files.", "type": "http" }, "http": { "method": "POST", "url": "https://{instance}.xano.io/api:meta/workspace/:workspace_id/files/delete-batch", "params": [ { "name": "workspace_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Delete multiple files." } ] } ], "bundled": true }