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
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
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,