POST /api-keys
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
Responses
Status Code | Description |
---|
201 | API key created successfully. |
403 | Insufficient permissions. |
500 | Error creating API key. |
GET /api-keys
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
Responses
Status Code | Description |
---|
200 | API keys retrieved successfully. |
500 | Error fetching API keys. |
GET /api-keys/{name}
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
name | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | API key retrieved successfully. |
404 | API key not found. |
500 | Error fetching API key. |
DELETE /api-keys/{name}
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
name | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
204 | API key deleted successfully. |
404 | API key not found. |
500 | Error deleting API key. |
GET /organizations/invitations
Responses
Status Code | Description |
---|
200 | List of organization invitations |
GET /organizations/invitations/count
Responses
Status Code | Description |
---|
200 | Count of organization invitations |
POST /organizations/invitations/{invitationId}/accept
Parameters
Name | Location | Required | Type | Description |
---|
invitationId | path | true | undefined | Invitation ID |
Responses
Status Code | Description |
---|
200 | Organization invitation accepted successfully |
POST /organizations/invitations/{invitationId}/decline
Parameters
Name | Location | Required | Type | Description |
---|
invitationId | path | true | undefined | Invitation ID |
Responses
Status Code | Description |
---|
200 | Organization invitation declined successfully |
POST /organizations
Responses
Status Code | Description |
---|
201 | Organization created successfully |
GET /organizations
Responses
Status Code | Description |
---|
200 | List of organizations |
GET /organizations/{organizationId}
Parameters
Name | Location | Required | Type | Description |
---|
organizationId | path | true | undefined | Organization ID |
Responses
Status Code | Description |
---|
200 | Organization details |
DELETE /organizations/{organizationId}
Parameters
Name | Location | Required | Type | Description |
---|
organizationId | path | true | undefined | Organization ID |
Responses
Status Code | Description |
---|
204 | Organization deleted successfully |
GET /organizations/{organizationId}/usage
Parameters
Name | Location | Required | Type | Description |
---|
organizationId | path | true | undefined | Organization ID |
Responses
Status Code | Description |
---|
200 | Current usage overview |
PUT /organizations/{organizationId}/quota
Parameters
Name | Location | Required | Type | Description |
---|
organizationId | path | true | undefined | Organization ID |
Responses
Status Code | Description |
---|
200 | Organization details |
POST /organizations/{organizationId}/leave
Parameters
Name | Location | Required | Type | Description |
---|
organizationId | path | true | undefined | Organization ID |
Responses
Status Code | Description |
---|
204 | Organization left successfully |
POST /organizations/{organizationId}/roles
Parameters
Name | Location | Required | Type | Description |
---|
organizationId | path | true | undefined | Organization ID |
Responses
Status Code | Description |
---|
201 | Organization role created successfully |
GET /organizations/{organizationId}/roles
Parameters
Name | Location | Required | Type | Description |
---|
organizationId | path | true | undefined | Organization ID |
Responses
Status Code | Description |
---|
200 | List of organization roles |
PUT /organizations/{organizationId}/roles/{roleId}
Parameters
Name | Location | Required | Type | Description |
---|
organizationId | path | true | undefined | Organization ID |
roleId | path | true | undefined | Role ID |
Responses
Status Code | Description |
---|
200 | Role updated successfully |
DELETE /organizations/{organizationId}/roles/{roleId}
Parameters
Name | Location | Required | Type | Description |
---|
organizationId | path | true | undefined | Organization ID |
roleId | path | true | undefined | Role ID |
Responses
Status Code | Description |
---|
204 | Organization role deleted successfully |
GET /organizations/{organizationId}/users
Parameters
Name | Location | Required | Type | Description |
---|
organizationId | path | true | undefined | Organization ID |
Responses
Status Code | Description |
---|
200 | List of organization members |
POST /organizations/{organizationId}/users/{userId}/role
Parameters
Name | Location | Required | Type | Description |
---|
organizationId | path | true | undefined | Organization ID |
userId | path | true | undefined | User ID |
Responses
Status Code | Description |
---|
200 | Role updated successfully |
POST /organizations/{organizationId}/users/{userId}/assigned-roles
Parameters
Name | Location | Required | Type | Description |
---|
organizationId | path | true | undefined | Organization ID |
userId | path | true | undefined | User ID |
Responses
Status Code | Description |
---|
200 | Assigned roles updated successfully |
DELETE /organizations/{organizationId}/users/{userId}
Parameters
Name | Location | Required | Type | Description |
---|
organizationId | path | true | undefined | Organization ID |
userId | path | true | undefined | User ID |
Responses
Status Code | Description |
---|
204 | User removed from organization successfully |
POST /organizations/{organizationId}/invitations
Parameters
Name | Location | Required | Type | Description |
---|
organizationId | path | true | undefined | Organization ID |
Responses
Status Code | Description |
---|
201 | Organization invitation created successfully |
GET /organizations/{organizationId}/invitations
Parameters
Name | Location | Required | Type | Description |
---|
organizationId | path | true | undefined | Organization ID |
Responses
Status Code | Description |
---|
200 | List of pending organization invitations |
PUT /organizations/{organizationId}/invitations/{invitationId}
Parameters
Name | Location | Required | Type | Description |
---|
organizationId | path | true | undefined | Organization ID |
invitationId | path | true | undefined | Invitation ID |
Responses
Status Code | Description |
---|
200 | Organization invitation updated successfully |
POST /organizations/{organizationId}/invitations/{invitationId}/cancel
Parameters
Name | Location | Required | Type | Description |
---|
organizationId | path | true | undefined | Organization ID |
invitationId | path | true | undefined | Invitation ID |
Responses
Status Code | Description |
---|
204 | Organization invitation cancelled successfully |
GET /users/me
Responses
Status Code | Description |
---|
200 | User details |
POST /users
Responses
Status Code | Description |
---|
201 | |
GET /users
Responses
Status Code | Description |
---|
200 | |
POST /users/{id}/regenerate-key-pair
Parameters
Name | Location | Required | Type | Description |
---|
id | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
201 | |
GET /workspace
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
verbose | query | false | undefined | Include verbose output |
labels | query | false | undefined | Filter workspaces by labels |
Responses
Status Code | Description |
---|
200 | List of all workspaces |
POST /workspace
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
Responses
Status Code | Description |
---|
200 | The workspace has been successfully created. |
GET /workspace/{workspaceId}
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
verbose | query | false | undefined | Include verbose output |
workspaceId | path | true | undefined | ID of the workspace |
Responses
Status Code | Description |
---|
200 | Workspace details |
DELETE /workspace/{workspaceId}
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | ID of the workspace |
force | query | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Workspace has been deleted |
POST /workspace/{workspaceId}/start
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | ID of the workspace |
Responses
Status Code | Description |
---|
200 | Workspace has been started |
POST /workspace/{workspaceId}/stop
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | ID of the workspace |
Responses
Status Code | Description |
---|
200 | Workspace has been stopped |
PUT /workspace/{workspaceId}/labels
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | ID of the workspace |
Responses
Status Code | Description |
---|
200 | Labels have been successfully replaced |
POST /workspace/{workspaceId}/snapshot
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | ID of the workspace |
Responses
Status Code | Description |
---|
200 | Workspace snapshot has been initiated |
POST /workspace/{workspaceId}/public/{isPublic}
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | ID of the workspace |
isPublic | path | true | undefined | Public status to set |
Responses
Status Code | Description |
---|
201 | |
POST /workspace/{workspaceId}/resize
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | ID of the workspace |
Responses
Status Code | Description |
---|
201 | |
POST /workspace/{workspaceId}/autostop/{interval}
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | ID of the workspace |
interval | path | true | undefined | Auto-stop interval in minutes (0 to disable) |
Responses
Status Code | Description |
---|
200 | Auto-stop interval has been set |
POST /workspace/{workspaceId}/archive
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Workspace has been archived |
GET /workspace/{workspaceId}/ports/{port}/preview-url
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | ID of the workspace |
port | path | true | undefined | Port number to get preview URL for |
Responses
Status Code | Description |
---|
200 | Preview URL for the specified port |
POST /nodes
Responses
Status Code | Description |
---|
201 | |
GET /nodes
Responses
Status Code | Description |
---|
200 | |
PATCH /nodes/{id}/scheduling
Parameters
Name | Location | Required | Type | Description |
---|
id | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | |
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Project directory retrieved successfully |
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
path | query | false | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Files listed successfully |
Delete file inside workspace
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
path | query | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | File deleted successfully |
Download file from workspace
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
path | query | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | File downloaded successfully |
Search for text/pattern inside workspace files
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
path | query | true | undefined | undefined |
pattern | query | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Search completed successfully |
POST /toolbox/{workspaceId}/toolbox/files/folder
Create folder inside workspace
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
path | query | true | undefined | undefined |
mode | query | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Folder created successfully |
Get file info inside workspace
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
path | query | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | File info retrieved successfully |
POST /toolbox/{workspaceId}/toolbox/files/move
Move file inside workspace
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
source | query | true | undefined | undefined |
destination | query | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | File moved successfully |
POST /toolbox/{workspaceId}/toolbox/files/permissions
Set file owner/group/permissions inside workspace
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
path | query | true | undefined | undefined |
owner | query | false | undefined | undefined |
group | query | false | undefined | undefined |
mode | query | false | undefined | undefined |
Responses
Status Code | Description |
---|
200 | File permissions updated successfully |
POST /toolbox/{workspaceId}/toolbox/files/replace
Replace text/pattern in multiple files inside workspace
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Text replaced successfully |
Search for files inside workspace
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
path | query | true | undefined | undefined |
pattern | query | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Search completed successfully |
POST /toolbox/{workspaceId}/toolbox/files/upload
Upload file inside workspace
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
path | query | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | File uploaded successfully |
POST /toolbox/{workspaceId}/toolbox/git/add
Add files to git commit
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Files added to git successfully |
Get branch list from git repository
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
path | query | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Branch list retrieved successfully |
POST /toolbox/{workspaceId}/toolbox/git/branches
Create branch on git repository
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Branch created successfully |
POST /toolbox/{workspaceId}/toolbox/git/clone
Clone git repository
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Repository cloned successfully |
POST /toolbox/{workspaceId}/toolbox/git/commit
Commit changes to git repository
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Changes committed successfully |
GET /toolbox/{workspaceId}/toolbox/git/history
Get commit history from git repository
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
path | query | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Commit history retrieved successfully |
POST /toolbox/{workspaceId}/toolbox/git/pull
Pull changes from remote
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Changes pulled successfully |
POST /toolbox/{workspaceId}/toolbox/git/push
Push changes to remote
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Changes pushed successfully |
Get status from git repository
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
path | query | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Git status retrieved successfully |
POST /toolbox/{workspaceId}/toolbox/process/execute
Execute command synchronously inside workspace
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Command executed successfully |
List all active sessions in the workspace
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Sessions retrieved successfully |
POST /toolbox/{workspaceId}/toolbox/process/session
Create a new session in the workspace
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | |
Get session by ID
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
sessionId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Session retrieved successfully |
Delete a specific session
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
sessionId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Session deleted successfully |
POST /toolbox/{workspaceId}/toolbox/process/session/{sessionId}/exec
Execute a command in a specific session
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
sessionId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Command executed successfully |
202 | Command accepted and is being processed |
Get session command by ID
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
sessionId | path | true | undefined | undefined |
commandId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Session command retrieved successfully |
Get logs for a specific command in a session
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
sessionId | path | true | undefined | undefined |
commandId | path | true | undefined | undefined |
follow | query | false | undefined | undefined |
Responses
Status Code | Description |
---|
200 | Command log stream |
POST /toolbox/{workspaceId}/toolbox/lsp/completions
The Completion request is sent from the client to the server to compute completion items at a given cursor position.
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | OK |
POST /toolbox/{workspaceId}/toolbox/lsp/did-close
The document close notification is sent from the client to the server when the document got closed in the client.
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | OK |
POST /toolbox/{workspaceId}/toolbox/lsp/did-open
The document open notification is sent from the client to the server to signal newly opened text documents.
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | OK |
The document symbol request is sent from the client to the server.
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
languageId | query | true | undefined | undefined |
pathToProject | query | true | undefined | undefined |
uri | query | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | OK |
POST /toolbox/{workspaceId}/toolbox/lsp/start
Start Lsp server process inside workspace project
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | OK |
POST /toolbox/{workspaceId}/toolbox/lsp/stop
Stop Lsp server process inside workspace project
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | OK |
The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
workspaceId | path | true | undefined | undefined |
languageId | query | true | undefined | undefined |
pathToProject | query | true | undefined | undefined |
query | query | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | OK |
POST /images
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
Responses
Status Code | Description |
---|
200 | The image has been successfully created. |
400 | Bad request - Images with tag ":latest
" are not allowed |
GET /images
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
limit | query | false | undefined | Number of items per page |
page | query | false | undefined | Page number |
Responses
Status Code | Description |
---|
200 | List of all images with pagination |
PATCH /images/{id}/toggle
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
id | path | true | undefined | Image ID |
Responses
Status Code | Description |
---|
200 | Image state has been toggled |
DELETE /images/{id}
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
id | path | true | undefined | Image ID |
Responses
Status Code | Description |
---|
200 | Image has been deleted |
PATCH /images/{id}/general
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
id | path | true | undefined | Image ID |
Responses
Status Code | Description |
---|
200 | Image general status has been set |
GET /preview/{workspaceId}/public
Parameters
Name | Location | Required | Type | Description |
---|
workspaceId | path | true | undefined | ID of the workspace |
Responses
Status Code | Description |
---|
200 | Public status of the workspace |
GET /preview/{workspaceId}/validate/{authToken}
Parameters
Name | Location | Required | Type | Description |
---|
workspaceId | path | true | undefined | ID of the workspace |
authToken | path | true | undefined | Auth token of the workspace |
Responses
Status Code | Description |
---|
200 | Workspace auth token validation status |
GET /preview/{workspaceId}/access
Parameters
Name | Location | Required | Type | Description |
---|
workspaceId | path | true | undefined | undefined |
Responses
Status Code | Description |
---|
200 | |
POST /docker-registry
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
Responses
Status Code | Description |
---|
201 | The docker registry has been successfully created. |
GET /docker-registry
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
Responses
Status Code | Description |
---|
200 | List of all docker registries |
GET /docker-registry/registry-push-access
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
Responses
Status Code | Description |
---|
200 | Temporary registry access has been generated |
GET /docker-registry/{id}
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
id | path | true | undefined | ID of the docker registry |
Responses
Status Code | Description |
---|
200 | The docker registry |
PATCH /docker-registry/{id}
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
id | path | true | undefined | ID of the docker registry |
Responses
Status Code | Description |
---|
200 | The docker registry has been successfully updated. |
DELETE /docker-registry/{id}
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
id | path | true | undefined | ID of the docker registry |
Responses
Status Code | Description |
---|
204 | The docker registry has been successfully deleted. |
POST /docker-registry/{id}/set-default
Parameters
Name | Location | Required | Type | Description |
---|
X-Daytona-Organization-ID | header | false | undefined | Use with JWT to specify the organization ID |
id | path | true | undefined | ID of the docker registry |
Responses
Status Code | Description |
---|
200 | The docker registry has been set as default. |