{ "opencollection": "1.0.0", "info": { "name": "Daytona admin workspace API", "version": "1.0" }, "items": [ { "info": { "name": "workspace", "type": "folder" }, "items": [ { "info": { "name": "[DEPRECATED] List all workspaces", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:3000/workspace", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "params": [ { "name": "verbose", "value": "", "type": "query", "description": "Include verbose output" }, { "name": "labels", "value": "", "type": "query", "description": "JSON encoded labels to filter by" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "[DEPRECATED] List all workspaces" }, { "info": { "name": "[DEPRECATED] Create a new workspace", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3000/workspace", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "[DEPRECATED] Create a new workspace" }, { "info": { "name": "[DEPRECATED] Get workspace details", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:3000/workspace/:workspaceId", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "params": [ { "name": "workspaceId", "value": "", "type": "path", "description": "ID of the workspace" }, { "name": "verbose", "value": "", "type": "query", "description": "Include verbose output" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "[DEPRECATED] Get workspace details" }, { "info": { "name": "[DEPRECATED] Delete workspace", "type": "http" }, "http": { "method": "DELETE", "url": "http://localhost:3000/workspace/:workspaceId", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "params": [ { "name": "workspaceId", "value": "", "type": "path", "description": "ID of the workspace" }, { "name": "force", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "[DEPRECATED] Delete workspace" }, { "info": { "name": "[DEPRECATED] Start workspace", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3000/workspace/:workspaceId/start", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "params": [ { "name": "workspaceId", "value": "", "type": "path", "description": "ID of the workspace" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "[DEPRECATED] Start workspace" }, { "info": { "name": "[DEPRECATED] Stop workspace", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3000/workspace/:workspaceId/stop", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "params": [ { "name": "workspaceId", "value": "", "type": "path", "description": "ID of the workspace" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "[DEPRECATED] Stop workspace" }, { "info": { "name": "[DEPRECATED] Replace workspace labels", "type": "http" }, "http": { "method": "PUT", "url": "http://localhost:3000/workspace/:workspaceId/labels", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "params": [ { "name": "workspaceId", "value": "", "type": "path", "description": "ID of the workspace" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "[DEPRECATED] Replace workspace labels" }, { "info": { "name": "[DEPRECATED] Create workspace backup", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3000/workspace/:workspaceId/backup", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "params": [ { "name": "workspaceId", "value": "", "type": "path", "description": "ID of the workspace" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "[DEPRECATED] Create workspace backup" }, { "info": { "name": "[DEPRECATED] Update public status", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3000/workspace/:workspaceId/public/:isPublic", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "params": [ { "name": "workspaceId", "value": "", "type": "path", "description": "ID of the workspace" }, { "name": "isPublic", "value": "", "type": "path", "description": "Public status to set" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "[DEPRECATED] Update public status" }, { "info": { "name": "[DEPRECATED] Set workspace auto-stop interval", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3000/workspace/:workspaceId/autostop/:interval", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "params": [ { "name": "workspaceId", "value": "", "type": "path", "description": "ID of the workspace" }, { "name": "interval", "value": "", "type": "path", "description": "Auto-stop interval in minutes (0 to disable)" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "[DEPRECATED] Set workspace auto-stop interval" }, { "info": { "name": "[DEPRECATED] Set workspace auto-archive interval", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3000/workspace/:workspaceId/autoarchive/:interval", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "params": [ { "name": "workspaceId", "value": "", "type": "path", "description": "ID of the workspace" }, { "name": "interval", "value": "", "type": "path", "description": "Auto-archive interval in minutes (0 means the maximum interval will be used)" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "[DEPRECATED] Set workspace auto-archive interval" }, { "info": { "name": "[DEPRECATED] Archive workspace", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3000/workspace/:workspaceId/archive", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "params": [ { "name": "workspaceId", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "[DEPRECATED] Archive workspace" }, { "info": { "name": "[DEPRECATED] Get preview URL for a workspace port", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:3000/workspace/:workspaceId/ports/:port/preview-url", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "params": [ { "name": "workspaceId", "value": "", "type": "path", "description": "ID of the workspace" }, { "name": "port", "value": "", "type": "path", "description": "Port number to get preview URL for" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "[DEPRECATED] Get preview URL for a workspace port" }, { "info": { "name": "[DEPRECATED] Get build logs", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:3000/workspace/:workspaceId/build-logs", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "params": [ { "name": "workspaceId", "value": "", "type": "path", "description": "ID of the workspace" }, { "name": "follow", "value": "", "type": "query", "description": "Whether to follow the logs stream" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "[DEPRECATED] Get build logs" } ] } ], "bundled": true }