mirror of https://github.com/sualko/cloud_bbb
14 lines
570 B
PHP
14 lines
570 B
PHP
<?php
|
|
return [
|
|
'resources' => [
|
|
'room' => ['url' => '/rooms'],
|
|
'room_api' => ['url' => '/api/0.1/rooms'],
|
|
],
|
|
'routes' => [
|
|
['name' => 'server#records', 'url' => '/server/{roomUid}/records', 'verb' => 'GET'],
|
|
['name' => 'server#delete_record', 'url' => '/server/record/{recordId}', 'verb' => 'DELETE'],
|
|
['name' => 'join#index', 'url' => '/b/{token}', 'verb' => 'GET'],
|
|
['name' => 'room_api#preflighted_cors', 'url' => '/api/0.1/{path}',
|
|
'verb' => 'OPTIONS', 'requirements' => ['path' => '.+']]
|
|
]
|
|
]; |