Base code for settings and schedules

This commit is contained in:
Dane Everitt
2019-12-07 15:58:37 -08:00
parent 9b80546c0c
commit 2570b4e2d0
5 changed files with 64 additions and 0 deletions

View File

@@ -35,6 +35,10 @@ class ServerTransformer extends BaseClientTransformer
'uuid' => $server->uuid,
'name' => $server->name,
'node' => $server->node->name,
'sftp_details' => [
'ip' => $server->node->fqdn,
'port' => $server->node->daemonSFTP,
],
'description' => $server->description,
'allocation' => [
'ip' => $server->allocation->alias,