cloud_bbb/appinfo/routes.php

14 lines
570 B
PHP
Raw Normal View History

2020-04-26 11:36:41 +02:00
<?php
return [
'resources' => [
'room' => ['url' => '/rooms'],
'room_api' => ['url' => '/api/0.1/rooms'],
2020-04-26 11:36:41 +02:00
],
'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'],
2020-04-26 11:36:41 +02:00
['name' => 'room_api#preflighted_cors', 'url' => '/api/0.1/{path}',
'verb' => 'OPTIONS', 'requirements' => ['path' => '.+']]
]
];