2020-04-26 11:36:41 +02:00
|
|
|
<?php
|
2020-06-19 09:28:58 +02:00
|
|
|
|
2020-04-26 11:36:41 +02:00
|
|
|
return [
|
2020-06-19 09:28:58 +02:00
|
|
|
'resources' => [
|
|
|
|
'room' => ['url' => '/rooms'],
|
|
|
|
'roomShare' => ['url' => '/roomShares'],
|
|
|
|
],
|
|
|
|
'routes' => [
|
2020-08-26 10:57:31 +02:00
|
|
|
['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
|
2020-06-19 09:28:58 +02:00
|
|
|
['name' => 'server#records', 'url' => '/server/{roomUid}/records', 'verb' => 'GET'],
|
|
|
|
['name' => 'server#check', 'url' => '/server/check', 'verb' => 'POST'],
|
|
|
|
['name' => 'server#version', 'url' => '/server/version', 'verb' => 'GET'],
|
|
|
|
['name' => 'server#delete_record', 'url' => '/server/record/{recordId}', 'verb' => 'DELETE'],
|
|
|
|
['name' => 'join#index', 'url' => '/b/{token}', 'verb' => 'GET'],
|
|
|
|
]
|
|
|
|
];
|