{ "opencollection": "1.0.0", "info": { "name": "Daytona admin snapshots API", "version": "1.0" }, "items": [ { "info": { "name": "snapshots", "type": "folder" }, "items": [ { "info": { "name": "List all snapshots", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:3000/snapshots", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number of the results" }, { "name": "limit", "value": "", "type": "query", "description": "Number of results per page" }, { "name": "name", "value": "", "type": "query", "description": "Filter by partial name match" }, { "name": "sort", "value": "", "type": "query", "description": "Field to sort by" }, { "name": "order", "value": "", "type": "query", "description": "Direction to sort by" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List all snapshots" }, { "info": { "name": "Create a new snapshot", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3000/snapshots", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a new snapshot" }, { "info": { "name": "Get snapshot by ID or name", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:3000/snapshots/:id", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "Snapshot ID or name" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get snapshot by ID or name" }, { "info": { "name": "Delete snapshot", "type": "http" }, "http": { "method": "DELETE", "url": "http://localhost:3000/snapshots/:id", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "Snapshot ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete snapshot" }, { "info": { "name": "Get snapshot build logs", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:3000/snapshots/:id/build-logs", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "Snapshot ID" }, { "name": "follow", "value": "", "type": "query", "description": "Whether to follow the logs stream" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "This endpoint is deprecated. Use `getSnapshotBuildLogsUrl` instead." }, { "info": { "name": "Get snapshot build logs URL", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:3000/snapshots/:id/build-logs-url", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "Snapshot ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get snapshot build logs URL" }, { "info": { "name": "Activate a snapshot", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3000/snapshots/:id/activate", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "Snapshot ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Activate a snapshot" }, { "info": { "name": "Deactivate a snapshot", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3000/snapshots/:id/deactivate", "headers": [ { "name": "X-Daytona-Organization-ID", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "Snapshot ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Deactivate a snapshot" } ] } ], "bundled": true }