Skip to main content

Server Configuration

PropertyTypeDescriptionInformation
idintIdentifierUnique for single server.
domainstringDomain--
server_idintServer identifierReferences Server.
project_idintProject identifierReferences Project.
enginestringEngine typeMust be one of following strings - php, static.
php_versionstringPHP versionMust be a string matching following pattern /[0-9]{1,2}.[0-9]/.
scheduler_enabledboolScheduler state--
queue_enabledboolQueue state--
queue_enginestringQueue engine typeMust be one of following strings - worker, horizon.
queue_processesintAmount of queue processes--
password_protectedboolPassword protection--
loginstringLogin--
passwordstringPassword--
cleanersarray[]Array of ServerCleaners.Must be array of ServerCleaners.
aliasesarray[]Array of ServerAliases.Must be array of ServerAliases.
created_attimestamp----
updated_attimestamp----

Example:

{
"items": [
{
"id": 1,
"domain": "test@simplo.cz",
"project_id": 1,
"server_id": 1,
"engine": "php",
"php_version": "8.1",
"public_dir": "/public",
"scheduler_running": true,
"queue_running": true,
"queue_engine": "worker",
"queue_processes": 3,
"password_protected": true,
"encrypted_credentials": "pech:ey...",
"is_removed": false,
"created_at": "2023-10-09T08:32:23.000000Z",
"updated_at": "2023-10-09T08:32:23.000000Z",
"_links": [
{
"href": "/api/v0/server-configurations/1",
"rel": "self",
"type": "GET"
}
]
}
]
}