{ "opencollection": "1.0.0", "info": { "name": "Polymath API Service CANBus filesystem API", "version": "2.0.0" }, "items": [ { "info": { "name": "filesystem", "type": "folder" }, "items": [ { "info": { "name": "Health check for dufs service", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v2/fs/health" }, "docs": "Checks whether the dufs service is reachable. Always returns HTTP 200 and reports health in the response body." }, { "info": { "name": "List files and directories recursively", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v2/fs/recursive-list", "params": [ { "name": "depth", "value": "", "type": "query" }, { "name": "path", "value": "", "type": "query" } ] }, "docs": "Returns a recursive file and directory tree from the robot data directory." }, { "info": { "name": "Get file or directory", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v2/fs/:path", "params": [ { "name": "path", "value": "", "type": "path" } ] }, "docs": "Returns file content or a directory listing from the robot data directory. Use `?zip` to download a zip archive. Use `?json` for directory listings in JSON format." }, { "info": { "name": "Delete file or directory", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v2/fs/:path", "params": [ { "name": "path", "value": "", "type": "path" } ] }, "docs": "Deletes a file or directory from the robot data directory." } ] } ], "bundled": true }