@@ -67,7 +67,11 @@ paths:
67
67
/bucket :
68
68
put :
69
69
summary : Creates a bucket
70
- description : Creates a bucket in the COMS database. Bucket should exist in S3.
70
+ description : >-
71
+ Creates a bucket record. Bucket should exist in S3. If the set of
72
+ `bucket`, `endpoint` and `key` match an existing record, the user will
73
+ be added to that existing bucket with full permissions instead of
74
+ generating a new bucket record.
71
75
operationId : createBucket
72
76
tags :
73
77
- Bucket
@@ -100,8 +104,8 @@ paths:
100
104
get :
101
105
summary : Search for buckets
102
106
description : >-
103
- Returns a list of buckets matching all search criteria across all known
104
- versions of buckets.
107
+ Returns a list of buckets matching all search criteria across all bucket
108
+ records
105
109
operationId : searchBuckets
106
110
tags :
107
111
- Bucket
@@ -143,7 +147,7 @@ paths:
143
147
$ref : " #/components/responses/Error"
144
148
get :
145
149
summary : Returns a bucket
146
- description : Returns a bucket based on bucketId
150
+ description : Returns a bucket record based on bucketId
147
151
operationId : readBucket
148
152
tags :
149
153
- Bucket
@@ -162,7 +166,7 @@ paths:
162
166
$ref : " #/components/responses/Error"
163
167
patch :
164
168
summary : Updates a bucket
165
- description : Returns updated bucket
169
+ description : Updates the bucket record
166
170
operationId : updateBucket
167
171
tags :
168
172
- Bucket
@@ -188,7 +192,10 @@ paths:
188
192
$ref : " #/components/responses/Error"
189
193
delete :
190
194
summary : Deletes a bucket
191
- description : Deletes the bucket based on bucketId
195
+ description : >-
196
+ Deletes the bucket record based on bucketId. This request does not
197
+ dispatch an S3 operation to request the deletion of the associated
198
+ bucket.
192
199
operationId : deleteBucket
193
200
tags :
194
201
- Bucket
@@ -332,8 +339,8 @@ paths:
332
339
- $ref : " #/components/parameters/Path-ObjectId"
333
340
- $ref : " #/components/parameters/Query-Download"
334
341
- $ref : " #/components/parameters/Query-ExpiresIn"
335
- - $ref : " #/components/parameters/Query-VersionId"
336
342
- $ref : " #/components/parameters/Query-S3VersionId"
343
+ - $ref : " #/components/parameters/Query-VersionId"
337
344
responses :
338
345
" 200 " :
339
346
description : Returns the object
@@ -392,8 +399,8 @@ paths:
392
399
- Object
393
400
parameters :
394
401
- $ref : " #/components/parameters/Path-ObjectId"
395
- - $ref : " #/components/parameters/Query-VersionId"
396
402
- $ref : " #/components/parameters/Query-S3VersionId"
403
+ - $ref : " #/components/parameters/Query-VersionId"
397
404
responses :
398
405
" 204 " :
399
406
description : Returns object headers
@@ -565,8 +572,8 @@ paths:
565
572
parameters :
566
573
- $ref : " #/components/parameters/Header-Metadata"
567
574
- $ref : " #/components/parameters/Path-ObjectId"
568
- - $ref : " #/components/parameters/Query-VersionId"
569
575
- $ref : " #/components/parameters/Query-S3VersionId"
576
+ - $ref : " #/components/parameters/Query-VersionId"
570
577
responses :
571
578
" 204 " :
572
579
$ref : " #/components/responses/NoContent"
@@ -590,8 +597,8 @@ paths:
590
597
parameters :
591
598
- $ref : " #/components/parameters/Header-Metadata"
592
599
- $ref : " #/components/parameters/Path-ObjectId"
593
- - $ref : " #/components/parameters/Query-VersionId"
594
600
- $ref : " #/components/parameters/Query-S3VersionId"
601
+ - $ref : " #/components/parameters/Query-VersionId"
595
602
responses :
596
603
" 204 " :
597
604
$ref : " #/components/responses/NoContent"
@@ -617,8 +624,8 @@ paths:
617
624
parameters :
618
625
- $ref : " #/components/parameters/Header-Metadata"
619
626
- $ref : " #/components/parameters/Path-ObjectId"
620
- - $ref : " #/components/parameters/Query-VersionId"
621
627
- $ref : " #/components/parameters/Query-S3VersionId"
628
+ - $ref : " #/components/parameters/Query-VersionId"
622
629
responses :
623
630
" 204 " :
624
631
$ref : " #/components/responses/NoContent"
@@ -640,8 +647,8 @@ paths:
640
647
parameters :
641
648
- $ref : " #/components/parameters/Path-ObjectId"
642
649
- $ref : " #/components/parameters/Query-TagSet"
643
- - $ref : " #/components/parameters/Query-VersionId"
644
650
- $ref : " #/components/parameters/Query-S3VersionId"
651
+ - $ref : " #/components/parameters/Query-VersionId"
645
652
responses :
646
653
" 204 " :
647
654
$ref : " #/components/responses/NoContent"
@@ -664,8 +671,8 @@ paths:
664
671
parameters :
665
672
- $ref : " #/components/parameters/Path-ObjectId"
666
673
- $ref : " #/components/parameters/Query-TagSet"
667
- - $ref : " #/components/parameters/Query-VersionId"
668
674
- $ref : " #/components/parameters/Query-S3VersionId"
675
+ - $ref : " #/components/parameters/Query-VersionId"
669
676
responses :
670
677
" 204 " :
671
678
$ref : " #/components/responses/NoContent"
@@ -689,8 +696,8 @@ paths:
689
696
parameters :
690
697
- $ref : " #/components/parameters/Path-ObjectId"
691
698
- $ref : " #/components/parameters/Query-TagSet"
692
- - $ref : " #/components/parameters/Query-VersionId"
693
699
- $ref : " #/components/parameters/Query-S3VersionId"
700
+ - $ref : " #/components/parameters/Query-VersionId"
694
701
responses :
695
702
" 204 " :
696
703
$ref : " #/components/responses/NoContent"
@@ -2051,7 +2058,7 @@ components:
2051
2058
The unique identifier for the bucket. When `objectPerms=true`
2052
2059
response will include buckets containing objects with matching
2053
2060
permissions.
2054
- example : bf246e31-c807-496c-bc93-cd8bc2f1897hf
2061
+ example : bf246e31-c807-496c-bc93-cd8bc2f1897f
2055
2062
permissions :
2056
2063
type : array
2057
2064
items :
@@ -2135,10 +2142,9 @@ components:
2135
2142
type : boolean
2136
2143
example : true
2137
2144
s3VersionId :
2138
- type : integer
2139
- format : int32
2140
- description : a version identifier created in S3
2141
- example : 1647462569641
2145
+ type : string
2146
+ description : A version identifier created in S3
2147
+ example : " 1647462569641"
2142
2148
Response-ObjectDetails :
2143
2149
title : Response Object Details
2144
2150
type : object
@@ -2277,7 +2283,7 @@ components:
2277
2283
value :
2278
2284
type : object
2279
2285
description : Contents of the field that was in error.
2280
- example : utf-8x
2286
+ example : {}
2281
2287
message :
2282
2288
type : string
2283
2289
description : The error message for the field.
@@ -2297,7 +2303,7 @@ components:
2297
2303
s3VersionId :
2298
2304
type : string
2299
2305
description : a version identifier created in S3
2300
- example : 1647462569641
2306
+ example : " 1647462569641"
2301
2307
S3-Metadata :
2302
2308
title : S3 Metadata
2303
2309
type : object
@@ -2357,8 +2363,8 @@ components:
2357
2363
example : AES256
2358
2364
s3VersionId :
2359
2365
type : string
2360
- description : a version identifier created in S3
2361
- example : 1647462569641
2366
+ description : A version identifier created in S3
2367
+ example : " 1647462569641"
2362
2368
S3-Version :
2363
2369
title : S3 Version
2364
2370
type : object
@@ -2387,8 +2393,8 @@ components:
2387
2393
description : Key of the object
2388
2394
s3VersionId :
2389
2395
type : string
2390
- description : a version identifier created in S3
2391
- example : 1647462569641
2396
+ description : A version identifier created in S3
2397
+ example : " 1647462569641"
2392
2398
IsLatest :
2393
2399
description : >-
2394
2400
Specifies whether the object is (true) or is not (false) the latest
0 commit comments