summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-07-21 09:57:56 -0100
committerGitHub <noreply@github.com>2019-07-21 09:57:56 -0100
commit0b84625c9238e139863b0794a460c75505b66bc9 (patch)
tree8cf7aa22df67e4c5605998db461f50ea6f8180a0 /appinfo
parent523e08505ceca0b358b136fc6b9c341eedec9913 (diff)
parent201196a7d734c193d5a7f28a9394655a62c0d7f3 (diff)
Merge pull request #626 from StCyr/stCyr_showAttachments
show post attachments
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 8d293d13..85578a5d 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -45,6 +45,8 @@ return [
],
['name' => 'Navigation#documentGet', 'url' => '/document/get', 'verb' => 'GET'],
['name' => 'Navigation#documentGetPublic', 'url' => '/document/public', 'verb' => 'GET'],
+ ['name' => 'Navigation#resizedGet', 'url' => '/document/get/resized', 'verb' => 'GET'],
+ ['name' => 'Navigation#resizedGetPublic', 'url' => '/document/public/resized', 'verb' => 'GET'],
['name' => 'ActivityPub#actor', 'url' => '/users/{username}', 'verb' => 'GET'],
['name' => 'ActivityPub#actorAlias', 'url' => '/@{username}/', 'verb' => 'GET'],
@@ -69,6 +71,8 @@ return [
['name' => 'Local#streamLiked', 'url' => '/api/v1/stream/liked', 'verb' => 'GET'],
['name' => 'Local#streamAccount', 'url' => '/api/v1/account/{username}/stream', 'verb' => 'GET'],
+ ['name' => 'Local#postData', 'url' => '/local/v1/post', 'verb' => 'GET'],
+
['name' => 'Local#postCreate', 'url' => '/api/v1/post', 'verb' => 'POST'],
['name' => 'Local#postDelete', 'url' => '/api/v1/post', 'verb' => 'DELETE'],