From 36cf891b7fa22bffca8ae29d334a435dfed87330 Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Wed, 7 Aug 2024 20:52:29 -0700 Subject: feat(files): Update openapi Signed-off-by: Christopher Ng --- apps/files/lib/Controller/ApiController.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'apps/files/lib/Controller/ApiController.php') diff --git a/apps/files/lib/Controller/ApiController.php b/apps/files/lib/Controller/ApiController.php index 44e88c443e4..62ae4e6b0f0 100644 --- a/apps/files/lib/Controller/ApiController.php +++ b/apps/files/lib/Controller/ApiController.php @@ -261,10 +261,15 @@ class ApiController extends Controller { /** * Returns the folder tree of the user * - * @return JSONResponse|JSONResponse + * @param string $path The path relative to the user folder + * @param int $depth The depth of the tree + * + * @return JSONResponse|JSONResponse * * 200: Folder tree returned successfully + * 400: Invalid folder path * 401: Unauthorized + * 404: Folder not found */ #[NoAdminRequired] #[ApiRoute(verb: 'GET', url: '/api/v1/folder-tree')] -- cgit v1.2.3