diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-05-08 15:16:00 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-05-08 15:33:57 +0300 |
commit | 5b91b1f5b4df2e5603b3facba0b77bf4bcd8612f (patch) | |
tree | d00a9f7fb27c9dde531ed82a8e79e9238aff12f9 /appinfo | |
parent | 4b519d5b6dd4d1260f133ee4b977a6bd2829fee1 (diff) |
Make it possible to mark a folder as read
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index f62548940..c8711a065 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -54,6 +54,11 @@ return [ 'verb' => 'GET' ], [ + 'name' => 'folders#markAllAsRead', + 'url' => '/api/accounts/{accountId}/folders/{folderId}/read', + 'verb' => 'POST' + ], + [ 'name' => 'folders#stats', 'url' => '/api/accounts/{accountId}/folders/{folderId}/stats', 'verb' => 'GET' |