v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-138134216.7 KB
objects

Initiates a long-running bulk restore operation on the specified bucket.

post/b/{bucket}/o/bulkRestore

Path parameters

bucketstring required

Name of the bucket in which the object resides.

Request body

allowOverwriteboolean

If false (default), the restore will not overwrite live objects with the same name at the destination. This means some deleted objects may be skipped. If true, live objects will be overwritten resulting in a noncurrent object (if versioning is enabled). If versioning is not enabled, overwriting the object will result in a soft-deleted object. In either case, if a noncurrent object already exists with the same name, a live version can be written without issue.

softDeletedAfterTimestring date-time

Restores only the objects that were soft-deleted after this time.

softDeletedBeforeTimestring date-time

Restores only the objects that were soft-deleted before this time.

matchGlobsstring[]

Restores only the objects matching any of the specified glob(s). If this parameter is not specified, all objects will be restored within the specified time range.

copySourceAclboolean

If true, copies the source object's ACL; otherwise, uses the bucket's default object ACL. The default is false.

createdAfterTimestring date-time

Restores only the objects that were created after this time.

createdBeforeTimestring date-time

Restores only the objects that were created before this time.

Response

Successful response