diff options
author | Robin Appelman <robin@icewind.nl> | 2018-06-29 15:34:55 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2018-06-29 15:34:55 +0300 |
commit | f07ca7fc888bbc917dd29fae8ecb00098f77a168 (patch) | |
tree | e018976655bae891057a4161d052c0b4fcd9f597 /appinfo | |
parent | a356346c44b921677f343b08f24b79ce1a9bc584 (diff) |
Add api endpoint to get single folder
Fixes #132
Signed-off-by: Robin Appelman <robin@icewind.nl>
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 ee98de42..27d4107e 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -7,6 +7,11 @@ return ['routes' => [ 'verb' => 'GET' ], [ + 'name' => 'Folder#getFolder', + 'url' => '/folders/{id}', + 'verb' => 'GET' + ], + [ 'name' => 'Folder#addFolder', 'url' => '/folders', 'verb' => 'POST' |