{ "opencollection": "1.0.0", "info": { "name": "Scrapybara Auth States Filesystem API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "x-api-key", "value": "{{x-api-key}}", "placement": "header" } }, "items": [ { "info": { "name": "Filesystem", "type": "folder" }, "items": [ { "info": { "name": "Run edit actions", "type": "http" }, "http": { "method": "POST", "url": "https://api.scrapybara.com/v1/instances/:instance_id/edit", "params": [ { "name": "instance_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Run a text-editor file action (view, create, str_replace, insert, undo_edit) against a path on the instance." }, { "info": { "name": "Run file actions", "type": "http" }, "http": { "method": "POST", "url": "https://api.scrapybara.com/v1/instances/:instance_id/file", "params": [ { "name": "instance_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Run a filesystem action (read, write, list, exists, delete) against a path on the instance." }, { "info": { "name": "Upload file", "type": "http" }, "http": { "method": "POST", "url": "https://api.scrapybara.com/v1/instances/:instance_id/upload", "params": [ { "name": "instance_id", "value": "", "type": "path" } ], "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" }, { "name": "path", "type": "text", "value": "" } ] } }, "docs": "Upload a binary file to a path on the instance filesystem." } ] } ], "bundled": true }