diff options
author | jld3103 <jld3103yt@gmail.com> | 2023-09-19 14:12:17 +0200 |
---|---|---|
committer | jld3103 <jld3103yt@gmail.com> | 2023-09-27 08:05:21 +0200 |
commit | c2d45cb1728e2191e51424734e74cb2a56b323b0 (patch) | |
tree | 0c46d10f4e5ef18bf0771069dd2a896da788b4ba /apps/files_sharing/lib/Controller/RemoteController.php | |
parent | 912b18b1fc9fd90bfc78f942cd2043a5a0145e69 (diff) | |
download | nextcloud-server-c2d45cb1728e2191e51424734e74cb2a56b323b0.tar.gz nextcloud-server-c2d45cb1728e2191e51424734e74cb2a56b323b0.zip |
Add single status code descriptions for OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'apps/files_sharing/lib/Controller/RemoteController.php')
-rw-r--r-- | apps/files_sharing/lib/Controller/RemoteController.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/Controller/RemoteController.php b/apps/files_sharing/lib/Controller/RemoteController.php index 70cb55cae15..bb8933e8426 100644 --- a/apps/files_sharing/lib/Controller/RemoteController.php +++ b/apps/files_sharing/lib/Controller/RemoteController.php @@ -62,6 +62,8 @@ class RemoteController extends OCSController { * Get list of pending remote shares * * @return DataResponse<Http::STATUS_OK, FilesSharingRemoteShare[], array{}> + * + * 200: Pending remote shares returned */ public function getOpenShares() { return new DataResponse($this->externalManager->getOpenShares()); @@ -138,6 +140,8 @@ class RemoteController extends OCSController { * Get a list of accepted remote shares * * @return DataResponse<Http::STATUS_OK, FilesSharingRemoteShare[], array{}> + * + * 200: Accepted remote shares returned */ public function getShares() { $shares = $this->externalManager->getAcceptedShares(); |