You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Http/Controllers/Api/UserDiskController.php
+29-4Lines changed: 29 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -22,9 +22,9 @@ class UserDiskController extends Controller
22
22
* @apiGroup StorageDisks
23
23
* @apiName StoreStorageDisk
24
24
* @apiPermission editor
25
-
* @apiDescription Depending on the storage disk type, different additional arguments are required.
25
+
* @apiDescription Depending on the storage disk type, different additional arguments are required. Not all storage disk types listed here may be enabled for your BIIGLE instance.
26
26
*
27
-
* @apiParam (Required arguments) {String} type The storage disk type. One of `s3` or `aos`.
27
+
* @apiParam (Required arguments) {String} type The storage disk type. One of `s3`, `webdav`, 'elements' or 'aruna'.
28
28
* @apiParam (Required arguments) {String} name The name of the storage disk.
@@ -33,7 +33,19 @@ class UserDiskController extends Controller
33
33
* @apiParam (S3 required arguments) {String} region The S3 region. Example: `us-east-1`.
34
34
* @apiParam (S3 required arguments) {String} endpoint The S3 endpoint URL. Example `https://s3.example.com`.
35
35
*
36
-
* @apiParam (S3 optional arguments) {Boolean} use_path_style_endpoint Set to `true` to use the S3 "path style endpoint" (e.g. `https://s3.example.com/BUCKETNAME`) instead of the subdomain-style (e.g. `https://BUCKETNAME.s3.example.com`). Default: `false`.
36
+
* @apiParam (WebDAV required arguments) {String} baseUri The base URI of the WebDAV server.
37
+
*
38
+
* @apiParam (WebDAV optional arguments) {String} userName User name for authentication. Required if a password is given.
39
+
* @apiParam (WebDAV optional arguments) {String} password Password for authentication. Required if a user name is given.
40
+
* @apiParam (WebDAV optional arguments) {String} pathPrefix Path prefix to use for all requests. If your baseUri contains a path, it is automatically used as pathPrefix.
41
+
*
42
+
* @apiParam (Elements required arguments) {String} baseUri The base URI of the Elements server.
43
+
* @apiParam (Elements required arguments) {String} token The Elements API token.
44
+
*
45
+
* @apiParam (Aruna required arguments) {String} endpoint The Aruna data proxy endpoint URL.
* @throws ValidationException if the disk configuration is invalid
@@ -86,7 +98,20 @@ public function store(StoreUserDisk $request)
86
98
* @apiParam (S3 attributes that can be updated) {String} bucket The S3 bucket name.
87
99
* @apiParam (S3 attributes that can be updated) {String} region The S3 region. Example: `us-east-1`.
88
100
* @apiParam (S3 attributes that can be updated) {String} endpoint The S3 endpoint URL. Example `https://s3.example.com`.
89
-
* @apiParam (S3 attributes that can be updated) {Boolean} use_path_style_endpoint Set to `true` to use the S3 "path style endpoint" (e.g. `https://s3.example.com/BUCKETNAME`) instead of the subdomain-style (e.g. `https://BUCKETNAME.s3.example.com`).
101
+
*
102
+
*
103
+
* @apiParam (WebDAV attributes that can be updated) {String} baseUri The base URI of the WebDAV server.
104
+
* @apiParam (WebDAV attributes that can be updated) {String} userName User name for authentication. Required if a password is given.
105
+
* @apiParam (WebDAV attributes that can be updated) {String} password Password for authentication. Required if a user name is given.
106
+
* @apiParam (WebDAV attributes that can be updated) {String} pathPrefix Path prefix to use for all requests. If your baseUri contains a path, it is automatically used as pathPrefix.
107
+
*
108
+
* @apiParam (Elements attributes that can be updated) {String} baseUri The base URI of the Elements server.
109
+
* @apiParam (Elements attributes that can be updated) {String} token The Elements API token.
110
+
*
111
+
* @apiParam (Aruna attributes that can be updated) {String} endpoint The Aruna data proxy endpoint URL.
112
+
* @apiParam (Aruna attributes that can be updated) {String} bucket The Aruna project name.
113
+
* @apiParam (Aruna attributes that can be updated) {String} key The Aruna S3 access key.
114
+
* @apiParam (Aruna attributes that can be updated) {String} secret The Aruna S3 secret key.
90
115
*
91
116
* @param UpdateUserDisk $request
92
117
* @throws ValidationException if the disk configuration is invalid
0 commit comments