Team
Retrieves the list of applications that the authenticated user has team member access to
Team member applications retrieved successfully
Authentication error
Not on any team
GET /v2/team HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "ok",
"apps": [
{
"id": "1745287471226",
"name": "Temp1 - JS",
"type": 0,
"ram": 100,
"online": true,
"ramKilled": false,
"exitCode": 0,
"lang": "javascript",
"perms": [
"start_app",
"stop_app",
"restart_app",
"logs_app",
"commit_app",
"edit_ram",
"backup_app",
"status_app"
]
}
]
}
Starts an application that the authenticated user has team member access to
ID of the application to start
Application start response
Authentication error
Authorization error
PUT /v2/team/{appID}/start HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "ok",
"message": "Its application was connected."
}
Restarts an application that the authenticated user has team member access to
ID of the application to restart
Application restart response
Authentication error
Authorization error
PUT /v2/team/{appID}/restart HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "ok",
"message": "Its application was restarted."
}
Stops an application that the authenticated user has team member access to
ID of the application to stop
Application stop response
Authentication error
Authorization error
PUT /v2/team/{appID}/stop HTTP/1.1
Host: api.discloud.app
api-token: YOUR_API_KEY
Accept: */*
{
"status": "ok",
"message": "Its application was off."
}
Updates an existing application by uploading a new version of the code as a team member
ID of the application to update
Application file to upload (.ZIP format)
Commit response
Authentication error
Authorization error
Missing required file
PUT /v2/team/{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"
}
{
"status": "ok",
"statusCode": 200,
"message": "The files of your application have been successfully updated."
}
Generates and retrieves backup for an application that the authenticated user has team member access to
ID of the application to generate backup for
Application backup generated successfully
Authentication error
Authorization error
GET /v2/team/{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": "1745287471226",
"url": "https://discloud.app/backup/276406526fb8229ae090c92fddcfedd74aa722ea4d3eb6b12da6540e5d82a30a.zip"
}
}
Updates the RAM allocation for an application that the authenticated user has team member access to
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
Authorization error
PUT /v2/team/{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": "A memória do seu aplicativo foi alterada com sucesso.",
"ram": {
"totalRamOwner": 16384,
"totalUsedRamOwner": 3386
}
}
Retrieves status information for an application that the authenticated user has team member access to
ID of the application to get status for
Application status retrieved successfully
Authentication error
Authorization error
GET /v2/team/{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": "1745287471226",
"container": "Online",
"cpu": "0.00%",
"memory": "22.5MB/100MB",
"ssd": "2GB",
"netIO": {
"down": "42KB",
"up": "5KB"
},
"last_restart": "a minute",
"startedAt": "2025-04-22T20:01:36.77032131Z"
}
}
Last updated