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'],
|
2020-08-27 17:21:34 +02:00
|
|
|
'restriction' => ['url' => '/restrictions'],
|
2020-06-19 09:28:58 +02:00
|
|
|
],
|
|
|
|
'routes' => [
|
2020-08-26 10:57:31 +02:00
|
|
|
['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
|
2022-03-17 14:59:47 +01:00
|
|
|
['name' => 'server#isRunning', 'url' => '/server/{roomUid}/isRunning', 'verb' => 'GET'],
|
|
|
|
['name' => 'server#insertDocument', 'url' => '/server/{roomUid}/insertDocument', 'verb' => 'POST'],
|
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'],
|
2024-05-29 17:25:29 +02:00
|
|
|
['name' => 'server#publish_record', 'url' => '/server/record/{recordId}/publish', 'verb' => 'POST'],
|
2021-01-22 19:12:55 +01:00
|
|
|
['name' => 'join#index', 'url' => '/b/{token}/{moderatorToken}', 'verb' => 'GET', 'defaults' => ['moderatorToken' => '']],
|
2020-08-27 17:21:34 +02:00
|
|
|
['name' => 'restriction#user', 'url' => '/restrictions/user', 'verb' => 'GET'],
|
2020-09-22 12:19:48 +02:00
|
|
|
['name' => 'hook#meetingEnded', 'url' => '/hook/ended/{token}/{mac}', 'verb' => 'GET'],
|
|
|
|
['name' => 'hook#recordingReady', 'url' => '/hook/recording/{token}/{mac}', 'verb' => 'GET'],
|
2020-06-19 09:28:58 +02:00
|
|
|
]
|
|
|
|
];
|