2021-08-21 10:58:00 +00:00
|
|
|
<?php
|
2021-08-21 14:17:14 +00:00
|
|
|
|
2021-08-21 10:58:00 +00:00
|
|
|
return [
|
2021-08-21 14:17:14 +00:00
|
|
|
'resources' => [
|
2021-09-18 19:15:03 +00:00
|
|
|
'ticket_api' => ['url' => '/api/v1/tickets']
|
2021-08-21 14:17:14 +00:00
|
|
|
],
|
|
|
|
'routes' => [
|
|
|
|
['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
|
2021-09-18 17:28:10 +00:00
|
|
|
[
|
|
|
|
'name' => 'ticket_api#preflighted_cors',
|
2021-09-18 19:15:03 +00:00
|
|
|
'url' => '/api/v1/tickets',
|
2021-09-18 17:28:10 +00:00
|
|
|
'verb' => 'OPTIONS',
|
|
|
|
'requirements' => ['path' => '.+'],
|
|
|
|
],
|
2022-02-26 18:40:21 +00:00
|
|
|
[
|
|
|
|
'name' => 'ticket_api#fetch_chat',
|
|
|
|
'url' => '/api/v1/tickets/{id}/chat',
|
|
|
|
'verb' => 'GET',
|
|
|
|
],
|
2021-09-18 17:28:10 +00:00
|
|
|
],
|
2021-08-21 10:58:00 +00:00
|
|
|
];
|