diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2022-11-21 15:48:39 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2022-11-21 15:48:58 -0100 |
commit | b32fa07f9ca0c486379c2a493aac850d503fc698 (patch) | |
tree | b48b2c84b0c46e395839dba455a49e3d229b7e4e /appinfo/routes.php | |
parent | 72be81700039485ac4ef71fecd62eee969bc4a91 (diff) |
status creation from mastodon client
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r-- | appinfo/routes.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 861bcb93..bec44f7a 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -81,6 +81,7 @@ return [ ['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'], + ['name' => 'Api#statusNew', 'url' => '/api/v1/statuses', 'verb' => 'POST'], // Api for local front-end // TODO: front-end should be using the new ApiController |