Welcome to mirror list, hosted at ThFree Co, Russian Federation.

routes.php « appinfo - github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6dc7cfefb013e52b9539226ac254f70fd876ef71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
declare(strict_types=1);

namespace OCA\Text\AppInfo;

return [
	'routes' => [
		['name' => 'Navigation#navigate', 'url' => '/', 'verb' => 'GET'],

		['name' => 'Session#create', 'url' => '/session/create', 'verb' => 'GET'],
		['name' => 'Session#fetch', 'url' => '/session/fetch', 'verb' => 'GET'],
		['name' => 'Session#sync', 'url' => '/session/sync', 'verb' => 'POST'],
		['name' => 'Session#push', 'url' => '/session/push', 'verb' => 'POST'],
		['name' => 'Session#close', 'url' => '/session/close', 'verb' => 'GET'],

		['name' => 'PublicSession#create', 'url' => '/public/session/create', 'verb' => 'GET'],
		['name' => 'PublicSession#fetch', 'url' => '/public/session/fetch', 'verb' => 'GET'],
		['name' => 'PublicSession#sync', 'url' => '/public/session/sync', 'verb' => 'POST'],
		['name' => 'PublicSession#push', 'url' => '/public/session/push', 'verb' => 'POST'],
		['name' => 'PublicSession#close', 'url' => '/public/session/close', 'verb' => 'GET'],

	]
];