refactor: Update Application model to include getDomainsByUuid method
This commit is contained in:
parent
44920944db
commit
2421f7c35c
@ -1177,6 +1177,8 @@ public static function getDomainsByUuid(string $uuid): array
|
|||||||
}
|
}
|
||||||
|
|
||||||
return [];
|
return [];
|
||||||
|
}
|
||||||
|
|
||||||
public function getMetrics(int $mins = 5)
|
public function getMetrics(int $mins = 5)
|
||||||
{
|
{
|
||||||
$server = $this->destination->server;
|
$server = $this->destination->server;
|
||||||
|
@ -38,9 +38,11 @@
|
|||||||
Route::get('/server/{uuid}', [Server::class, 'server_by_uuid']);
|
Route::get('/server/{uuid}', [Server::class, 'server_by_uuid']);
|
||||||
|
|
||||||
Route::get('/resources', [Resources::class, 'resources']);
|
Route::get('/resources', [Resources::class, 'resources']);
|
||||||
|
|
||||||
Route::get('/domains', [Domains::class, 'domains']);
|
Route::get('/domains', [Domains::class, 'domains']);
|
||||||
Route::put('/domains', [Domains::class, 'updateDomains']);
|
Route::put('/domains', [Domains::class, 'updateDomains']);
|
||||||
Route::delete('/domains', [Domains::class, 'deleteDomains']);
|
Route::delete('/domains', [Domains::class, 'deleteDomains']);
|
||||||
|
|
||||||
Route::get('/teams', [Team::class, 'teams']);
|
Route::get('/teams', [Team::class, 'teams']);
|
||||||
Route::get('/team/current', [Team::class, 'current_team']);
|
Route::get('/team/current', [Team::class, 'current_team']);
|
||||||
Route::get('/team/current/members', [Team::class, 'current_team_members']);
|
Route::get('/team/current/members', [Team::class, 'current_team_members']);
|
||||||
|
Loading…
Reference in New Issue
Block a user