v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
PassengerApps
Application Manager

Return Passenger applications

This function lists an account’s Passenger applications.

Important:

When you disable the Web Server role, the system disables this function.

get/PassengerApps/list_applications

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "list_applications",
  "module": "PassengerApps",
  "result": {
    "data": {
      "Name of Application 1": {
        "base_uri": "/app1-uri",
        "deployment_mode": "production",
        "deps": {
          "gem": "0",
          "npm": "0",
          "pip": "cd /home/user/app1-dir && pip install --user -r requirements.txt"
        },
        "domain": "example.com",
        "enabled": 1,
        "envvars": {},
        "name": "Name of Application 1",
        "path": "/home/user/app1-dir"
      },
      "Name of Application 2": {
        "base_uri": "/app2-uri",
        "deployment_mode": "development",
        "deps": {
          "gem": "cd /home/user/app2-dir && BUNDLE_PATH=~/.gem /path/to/ruby/version/package/bundler install",
          "npm": "0",
          "pip": "0"
        },
        "domain": "example.com",
        "enabled": 1,
        "envvars": {},
        "name": "Name of Application 2",
        "path": "/home/user/app2-dir"
      }
    },
    "status": 1
  }
}