Skip to content

REST GET profiles

Timon Home edited this page Mar 19, 2026 · 1 revision

REST: GET /profiles

Returns all stored profiles.


Request

GET /profiles

No parameters, no body.


Response

200 OK

[
  {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "My Server",
    "jarPath": "C:\\servers\\app.jar",
    "workingDir": "C:\\servers",
    "jvmArgs": [
      { "value": "-Xmx2g", "enabled": true },
      { "value": "-XX:+UseG1GC", "enabled": false }
    ],
    "systemProperties": [
      { "key": "server.port", "value": "8080", "enabled": true }
    ],
    "programArgs": [
      { "value": "--nogui", "enabled": true }
    ],
    "javaPath": "",
    "autoStart": false,
    "autoRestart": true,
    "autoRestartInterval": 10,
    "color": "#4ade80",
    "createdAt": 1700000000000,
    "updatedAt": 1700000001000
  }
]

Returns an empty array [] if no profiles exist.


Notes

  • javaPath empty string means "use java from PATH"
  • workingDir empty string means "use the directory containing the JAR"
  • Disabled items in jvmArgs, systemProperties, and programArgs are stored but not passed to the JVM when starting

See Profile Schema for full field documentation.

Clone this wiki locally