v1

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

Moves the source object to the destination object in the same bucket.

post/b/{bucket}/o/{sourceObject}/moveTo/o/{destinationObject}

Path parameters

bucketstring required

Name of the bucket in which the object resides.

sourceObjectstring required

Name of the source object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.

destinationObjectstring required

Name of the destination object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.

Query parameters

ifGenerationMatchstring

Makes the operation conditional on whether the destination object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object. ifGenerationMatch and ifGenerationNotMatch conditions are mutually exclusive: it's an error for both of them to be set in the request.

ifGenerationNotMatchstring

Makes the operation conditional on whether the destination object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.ifGenerationMatch and ifGenerationNotMatch conditions are mutually exclusive: it's an error for both of them to be set in the request.

ifMetagenerationMatchstring

Makes the operation conditional on whether the destination object's current metageneration matches the given value. ifMetagenerationMatch and ifMetagenerationNotMatch conditions are mutually exclusive: it's an error for both of them to be set in the request.

ifMetagenerationNotMatchstring

Makes the operation conditional on whether the destination object's current metageneration does not match the given value. ifMetagenerationMatch and ifMetagenerationNotMatch conditions are mutually exclusive: it's an error for both of them to be set in the request.

ifSourceGenerationMatchstring

Makes the operation conditional on whether the source object's current generation matches the given value. ifSourceGenerationMatch and ifSourceGenerationNotMatch conditions are mutually exclusive: it's an error for both of them to be set in the request.

ifSourceGenerationNotMatchstring

Makes the operation conditional on whether the source object's current generation does not match the given value. ifSourceGenerationMatch and ifSourceGenerationNotMatch conditions are mutually exclusive: it's an error for both of them to be set in the request.

ifSourceMetagenerationMatchstring

Makes the operation conditional on whether the source object's current metageneration matches the given value. ifSourceMetagenerationMatch and ifSourceMetagenerationNotMatch conditions are mutually exclusive: it's an error for both of them to be set in the request.

ifSourceMetagenerationNotMatchstring

Makes the operation conditional on whether the source object's current metageneration does not match the given value. ifSourceMetagenerationMatch and ifSourceMetagenerationNotMatch conditions are mutually exclusive: it's an error for both of them to be set in the request.

projection'full' | 'noAcl'

Set of properties to return. Defaults to noAcl.

userProjectstring

The project to be billed for this request. Required for Requester Pays buckets.

Response

Successful response