summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2020-09-03 17:49:55 -0100
committerMaxence Lange <maxence@artificial-owl.com>2020-09-03 17:49:55 -0100
commitc827dd3ef2ec0d2ed475f65c8f70471b0ad6788b (patch)
treec2d50ff00619cb8dd448bfba33d1d8b59d0f1497 /appinfo
parent3cc446aa9d39d209d2d96d92783e92120a4a7f52 (diff)
better navigation
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 303816d6..54105fd1 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -40,9 +40,9 @@ return [
['name' => 'Config#local', 'url' => '/local/', 'verb' => 'GET'],
['name' => 'Config#remote', 'url' => '/test/{account}/', 'verb' => 'GET'],
[
- 'name' => 'Navigation#timeline', 'url' => '/timeline/{path}', 'verb' => 'GET',
+ 'name' => 'Navigation#timeline', 'url' => '/timeline/{path}', 'verb' => 'GET',
'requirements' => ['path' => '.+'],
- 'defaults' => ['path' => '']
+ 'defaults' => ['path' => '']
],
['name' => 'Navigation#documentGet', 'url' => '/document/get', 'verb' => 'GET'],
['name' => 'Navigation#documentGetPublic', 'url' => '/document/public', 'verb' => 'GET'],
@@ -76,12 +76,12 @@ return [
['name' => 'OAuth#appsCredentials', 'url' => '/api/v1/apps/verify_credentials', 'verb' => 'GET'],
// Api for 3rd party
- [
- 'name' => 'Api#verifyCredentials', 'url' => '/api/v1/accounts/verify_credentials',
- 'verb' => 'GET'
- ],
+ ['name' => 'Api#verifyCredentials', 'url' => '/api/v1/accounts/verify_credentials', 'verb' => 'GET'],
['name' => 'Api#instance', 'url' => '/api/v1/instance/', 'verb' => 'GET'],
+ ['name' => 'Api#customEmojis', 'url' => '/api/v1/custom_emojis', 'verb' => 'GET'],
+ ['name' => 'Api#savedSearches', 'url' => '/api/saved_searches/list.json', 'verb' => 'GET'],
['name' => 'Api#timelines', 'url' => '/api/v1/timelines/{timeline}/', 'verb' => 'GET'],
+ ['name' => 'Api#notifications', 'url' => '/api/v1/notifications', 'verb' => 'GET'],
// Api for local front-end
// TODO: front-end should be using the new ApiController