Server Configuration
| Property | Type | Description | Information |
|---|---|---|---|
id | int | Identifier | Unique for single server. |
domain | string | Domain | -- |
server_id | int | Server identifier | References Server. |
project_id | int | Project identifier | References Project. |
engine | string | Engine type | Must be one of following strings - php, static. |
php_version | string | PHP version | Must be a string matching following pattern /[0-9]{1,2}.[0-9]/. |
scheduler_enabled | bool | Scheduler state | -- |
queue_enabled | bool | Queue state | -- |
queue_engine | string | Queue engine type | Must be one of following strings - worker, horizon. |
queue_processes | int | Amount of queue processes | -- |
password_protected | bool | Password protection | -- |
login | string | Login | -- |
password | string | Password | -- |
cleaners | array[] | Array of ServerCleaners. | Must be array of ServerCleaners. |
aliases | array[] | Array of ServerAliases. | Must be array of ServerAliases. |
created_at | timestamp | -- | -- |
updated_at | timestamp | -- | -- |
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"
}
]
}
]
}