-
Notifications
You must be signed in to change notification settings - Fork 0
REST GET profiles
Timon Home edited this page Mar 19, 2026
·
1 revision
Returns all stored profiles.
GET /profiles
No parameters, no body.
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.
-
javaPathempty string means "usejavafrom PATH" -
workingDirempty string means "use the directory containing the JAR" - Disabled items in
jvmArgs,systemProperties, andprogramArgsare stored but not passed to the JVM when starting
See Profile Schema for full field documentation.