{ "opencollection": "1.0.0", "info": { "name": "Windmill Apps Scripts API", "version": "1.745.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Scripts", "type": "folder" }, "items": [ { "info": { "name": "List scripts", "type": "http" }, "http": { "method": "GET", "url": "https://app.windmill.dev/api/w/:workspace/scripts/list", "params": [ { "name": "workspace", "value": "", "type": "path", "description": "The workspace id (tenant) the resource belongs to." } ] }, "docs": "Lists scripts in a workspace, most recent version per path." }, { "info": { "name": "Create a script", "type": "http" }, "http": { "method": "POST", "url": "https://app.windmill.dev/api/w/:workspace/scripts/create", "params": [ { "name": "workspace", "value": "", "type": "path", "description": "The workspace id (tenant) the resource belongs to." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new script (or a new version of an existing path)." }, { "info": { "name": "Get a script by path", "type": "http" }, "http": { "method": "GET", "url": "https://app.windmill.dev/api/w/:workspace/scripts/get/p/:path", "params": [ { "name": "workspace", "value": "", "type": "path", "description": "The workspace id (tenant) the resource belongs to." }, { "name": "path", "value": "", "type": "path", "description": "The runnable/resource path (e.g. u/username/my_script or f/folder/name)." } ] }, "docs": "Retrieves the latest version of a script at the given path." }, { "info": { "name": "Archive a script", "type": "http" }, "http": { "method": "POST", "url": "https://app.windmill.dev/api/w/:workspace/scripts/archive/p/:path", "params": [ { "name": "workspace", "value": "", "type": "path", "description": "The workspace id (tenant) the resource belongs to." }, { "name": "path", "value": "", "type": "path", "description": "The runnable/resource path (e.g. u/username/my_script or f/folder/name)." } ] }, "docs": "Archives the script at the given path." } ] } ], "bundled": true }