Applications Endpoints
Upload a new application to Discloud
Application file to upload (.ZIP format)
Upload response
Authentication error
Missing required file
POST /v2/upload HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17
{
"file": "binary"
}
No content
Retrieves information about a specific application or all applications
ID of the application or "all" to retrieve all applications
Application information retrieved successfully
Authentication error
Application not found
GET /v2/app/{appID} HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "ok",
"message": "The information of your application has been loaded.",
"apps": {
"id": "1745338954955",
"avatarURL": "https://i.ibb.co/xSxd0Hv1/Uma105.png",
"name": "Temp2 - JS",
"type": 0,
"online": true,
"ramKilled": false,
"exitCode": 0,
"ram": 100,
"mainFile": "src/index.js",
"lang": "javascript",
"mods": [],
"autoDeployGit": "no",
"autoRestart": false
}
}
Retrieves status information about a specific application or all applications
ID of the application or "all" to retrieve status for all applications
Application status retrieved successfully
Authentication error
Application not found
GET /v2/app/{appID}/status HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "ok",
"message": "The status of your applications were loaded",
"apps": {
"id": "1745338954955",
"container": "Online",
"cpu": "0.00%",
"memory": "39.9MB/100MB",
"ssd": "1.999GB",
"netIO": {
"down": "61KB",
"up": "16KB"
},
"last_restart": "30 minutes",
"startedAt": "2025-04-22T16:24:55.978921501Z"
}
}
Retrieves logs for a specific application or all applications
ID of the application or "all" to retrieve logs for all applications
Application logs retrieved successfully
Authentication error
Application not found
GET /v2/app/{appID}/logs HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "ok",
"message": "The logs of your applications were loaded",
"apps": {
"id": "1745338954955",
"terminal": {
"big": "2025-04-22T14:30:00.123Z Application starting...\n2025-04-22T14:30:01.234Z Environment: production\n2025-04-22T14:30:01.567Z Loading configuration files...\n2025-04-22T14:30:02.123Z Database connection established\n2025-04-22T14:30:02.456Z Initializing server modules\n2025-04-22T14:30:03.678Z Server listening on port 8080\n2025-04-22T14:30:04.123Z WebSocket service initialized\n2025-04-22T14:30:04.567Z Cache warming up\n2025-04-22T14:30:05.234Z Application startup complete\n2025-04-22T14:30:06.123Z Processing initial requests",
"small": "2025-04-22T14:30:00.123Z Application starting...\n2025-04-22T14:30:02.123Z Database connection established\n2025-04-22T14:30:03.678Z Server listening on port 8080\n2025-04-22T14:30:05.234Z Application startup complete",
"url": "discloud.app"
}
}
}
Generates and retrieves backup for a specific application or all applications
ID of the application or "all" to retrieve backups for all applications
Application backup generated successfully
Authentication error
Application not found
GET /v2/app/{appID}/backup HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "ok",
"message": "The backup of your application will be generated successfully",
"backups": {
"id": "1745338954955",
"url": "https://discloud.app/backup/A1B2C3D4E5F6G7H8I9J0K1L2M3N4O5P6Q7R8S9T0U1V2W3X4Y5Z6.zip"
}
}
Starts a specific application or all applications
ID of the application or "all" to start all applications
Application started successfully
Authentication error
Application not found
PUT /v2/app/{appID}/start HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "ok",
"message": "Its application was connected.",
"appStatus": {
"online": true,
"ramKilled": false,
"exitCode": 0
}
}
Restarts a specific application or all applications
ID of the application or "all" to restart all applications
Application restarted successfully
Authentication error
Application not found
PUT /v2/app/{appID}/restart HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "ok",
"message": "Its application was restarted."
}
Stops a specific application or all applications
ID of the application or "all" to stop all applications
Application stop response
Authentication error
Application not found
PUT /v2/app/{appID}/stop HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "ok",
"message": "Your application has been turned off."
}
Updates the RAM allocation for a specific application
ID of the application to update RAM for
The amount of RAM in MB to allocate to the application
200
RAM update response
Authentication error
Application not found or plan limitation
PUT /v2/app/{appID}/ram HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"ramMB": 200
}
{
"status": "ok",
"statusCode": 200,
"message": "The memory of your application has been successfully changed."
}
Updates an existing application by uploading a new version of the code
ID of the application to update
Application file to upload (.ZIP format)
Commit response
Authentication error
Application not found
PUT /v2/app/{appID}/commit HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17
{
"file": "binary"
}
{
"summary": "Successful commit (may timeout)",
"description": "When successful, the request may timeout without returning a response"
}
Updates the profile information (avatar and name) for a specific application
ID of the application to update profile for
URL to the application's avatar image
https://i.ibb.co/0yJhZw92/Uma01.png
Name of the application
Discloud App
Profile updated successfully
Authentication error
Application not found
PUT /v2/app/{appID}/profile HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 73
{
"avatarURL": "https://i.ibb.co/0yJhZw92/Uma01.png",
"name": "Discloud App"
}
{
"status": "ok",
"statusCode": 200,
"message": "Profile successfully modified!"
}
Permanently deletes an application
ID of the application to delete
Application deleted successfully
Authentication error
Application not found
DELETE /v2/app/{appID}/delete HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "ok",
"message": "Your application has been removed."
}
Last updated