v1

latestOpenAPI 3.1.0AGPL-3.02026-07-1249126143.7 KB
Bucket

All fields (websiteAccess and quotas) are optional. If they are present, the corresponding modifications are applied to the bucket, otherwise nothing is changed.

In websiteAccess: if enabled is true, indexDocument must be specified. The field errorDocument is optional, if no error document is set a generic error message is displayed when errors happen. Conversely, if enabled is false, neither indexDocument nor errorDocument must be specified.

In quotas: new values of maxSize and maxObjects must both be specified, or set to null to remove the quotas. An absent value will be considered the same as a null. It is not possible to change only one of the two quotas.

post/v2/UpdateBucket

Query parameters

idstring required

ID of the bucket to update

Request body

Response

Bucket has been updated

bytesinteger required

Total number of bytes used by objects in this bucket

createdstring date-time required

Bucket creation date

globalAliasesstring[] required

List of global aliases for this bucket

idstring required

Identifier of the bucket

objectsinteger required

Number of objects in this bucket

unfinishedMultipartUploadBytesinteger required

Total number of bytes used by unfinished multipart uploads in this bucket

unfinishedMultipartUploadPartsinteger required

Number of parts in unfinished multipart uploads in this bucket

unfinishedMultipartUploadsinteger required

Number of unfinished multipart uploads in this bucket

unfinishedUploadsinteger required

Number of unfinished uploads in this bucket

websiteAccessboolean required

Whether website access is enabled for this bucket