Depending on whether the HSwift request uses a Keystone tenant ID or the account name, the request line for a request to copy an object has either of these formats:
•With the Keystone tenant ID:
COPY /swift/v1/tenant-ID/container-name/directory-name/object-name HTTP/1.1
"Destination: /container-name/object-name"
•With the account name:
COPY /swift/v1/account-name/container-name/directory-name/object-name HTTP/1.1
"Destination: /container-name/object-name"
© 2015 Hitachi Data Systems Corporation. All rights reserved.