Applications

Upload application

post

Upload a new application to Discloud

Authorizations
api-tokenstringRequired
Body
filestring · binaryRequired

Application file to upload (.ZIP format)

Responses
200

Upload response

application/json
Responseone of
or
post
/upload

No content

Get application information

get

Retrieves information about a specific application or all applications

Authorizations
api-tokenstringRequired
Path parameters
appIDstringRequired

ID of the application or "all" to retrieve all applications

Responses
200

Application information retrieved successfully

application/json
get
/app/{appID}

Get application status

get

Retrieves status information about a specific application or all applications

Authorizations
api-tokenstringRequired
Path parameters
appIDstringRequired

ID of the application or "all" to retrieve status for all applications

Responses
200

Application status retrieved successfully

application/json
get
/app/{appID}/status

Get application logs

get

Retrieves logs for a specific application or all applications

Authorizations
api-tokenstringRequired
Path parameters
appIDstringRequired

ID of the application or "all" to retrieve logs for all applications

Responses
200

Application logs retrieved successfully

application/json
get
/app/{appID}/logs

Get application backup

get

Generates and retrieves backup for a specific application or all applications

Authorizations
api-tokenstringRequired
Path parameters
appIDstringRequired

ID of the application or "all" to retrieve backups for all applications

Responses
200

Application backup generated successfully

application/json
get
/app/{appID}/backup

Start application

put

Starts a specific application or all applications

Authorizations
api-tokenstringRequired
Path parameters
appIDstringRequired

ID of the application or "all" to start all applications

Responses
200

Application started successfully

application/json
put
/app/{appID}/start

Restart application

put

Restarts a specific application or all applications

Authorizations
api-tokenstringRequired
Path parameters
appIDstringRequired

ID of the application or "all" to restart all applications

Responses
200

Application restarted successfully

application/json
put
/app/{appID}/restart

Stop application

put

Stops a specific application or all applications

Authorizations
api-tokenstringRequired
Path parameters
appIDstringRequired

ID of the application or "all" to stop all applications

Responses
200

Application stop response

application/json
put
/app/{appID}/stop

Update application RAM

put

Updates the RAM allocation for a specific application

Authorizations
api-tokenstringRequired
Path parameters
appIDstringRequired

ID of the application to update RAM for

Body
ramMBintegerRequired

The amount of RAM in MB to allocate to the application

Example: 200
Responses
200

RAM update response

application/json
put
/app/{appID}/ram

Update application code

put

Updates an existing application by uploading a new version of the code

Authorizations
api-tokenstringRequired
Path parameters
appIDstringRequired

ID of the application to update

Body
filestring · binaryRequired

Application file to upload (.ZIP format)

Responses
200

Commit response

application/json
put
/app/{appID}/commit

Update application profile

put

Updates the profile information (avatar and name) for a specific application

Authorizations
api-tokenstringRequired
Path parameters
appIDstringRequired

ID of the application to update profile for

Body
avatarURLstringRequired

URL to the application's avatar image

Example: https://i.ibb.co/0yJhZw92/Uma01.png
namestringRequired

Name of the application

Example: Discloud App
Responses
200

Profile updated successfully

application/json
put
/app/{appID}/profile

List files and directories

get

List files and directories in the application's directory

Authorizations
api-tokenstringRequired
Path parameters
appIDstringRequired

ID of the application

Query parameters
cPathstringOptional

Directory path (defaults to app workDir)

Responses
200

Files and directories listed successfully

application/json
get
/app/{appID}/explorer

Create file or directory

post

Create a new file or directory in the application

Authorizations
api-tokenstringRequired
Path parameters
appIDstringRequired

ID of the application

Body
typeFilestring · enumRequired

Type to create

Possible values:
cPathstringRequired

Full path for new file or directory

Responses
200

File or directory created successfully

application/json
post
/app/{appID}/explorer

Open/read file

get

Read the contents of a file in the application

Authorizations
api-tokenstringRequired
Path parameters
appIDstringRequired

ID of the application

Query parameters
cPathstringRequired

Full file path

Responses
200

File opened successfully

application/json
get
/app/{appID}/explorer/open

Edit file

put

Edit the contents of a file in the application

Authorizations
api-tokenstringRequired
Path parameters
appIDstringRequired

ID of the application

Body
fileContentstringRequired

New file content

cPathstringRequired

Full file path

Responses
200

File edited successfully

application/json
put
/app/{appID}/explorer/edit

Execute command in container

put

Execute a command inside the application container

Authorizations
api-tokenstringRequired
Path parameters
appIDstringRequired

ID of the application

Body
cmdstringRequired

Command to execute in the container

Responses
200

Command executed successfully

application/json
put
/app/{appID}/exec

Delete application

delete

Permanently deletes an application

Authorizations
api-tokenstringRequired
Path parameters
appIDstringRequired

ID of the application to delete

Responses
200

Application deleted successfully

application/json
delete
/app/{appID}/delete

Last updated