summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-07-19 12:53:28 -0100
committerMaxence Lange <maxence@artificial-owl.com>2019-07-19 12:53:28 -0100
commitb90ddcda033ce882ce41e06e721832e1a87844dc (patch)
treed03c1abb36a66b90d9cc13f54880b66c20f11652 /appinfo
parente9a63421a708787687720f2f0430acee16d40a58 (diff)
/local/v1/post?id=Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 32306f89..310ac3b7 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -70,6 +70,8 @@ return [
['name' => 'Local#streamDirect', 'url' => '/api/v1/stream/direct', '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'],