Team

Get team member applications

get

Retrieves the list of applications that the authenticated user has team member access to

Authorizations
Responses
200

Team member applications retrieved successfully

application/json
get
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"
      ]
    }
  ]
}

Start application as team member

put

Starts an application that the authenticated user has team member access to

Authorizations
Path parameters
appIDstringRequired

ID of the application to start

Responses
200

Application start response

application/json
put
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."
}

Restart application as team member

put

Restarts an application that the authenticated user has team member access to

Authorizations
Path parameters
appIDstringRequired

ID of the application to restart

Responses
200

Application restart response

application/json
put
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."
}

Stop application as team member

put

Stops an application that the authenticated user has team member access to

Authorizations
Path parameters
appIDstringRequired

ID of the application to stop

Responses
200

Application stop response

application/json
put
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."
}

Update application code as team member

put

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

Authorizations
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
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."
}

Get application backup as team member

get

Generates and retrieves backup for an application that the authenticated user has team member access to

Authorizations
Path parameters
appIDstringRequired

ID of the application to generate backup for

Responses
200

Application backup generated successfully

application/json
get
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"
  }
}

Update application RAM as team member

put

Updates the RAM allocation for an application that the authenticated user has team member access to

Authorizations
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
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
  }
}

Get application status as team member

get

Retrieves status information for an application that the authenticated user has team member access to

Authorizations
Path parameters
appIDstringRequired

ID of the application to get status for

Responses
200

Application status retrieved successfully

application/json
get
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