Request line (COPY object)

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, 2020 Hitachi Vantara LLC. All rights reserved.