HCP Tenant Management Help


Response body (POST object upload)

If success_action_code is set to 201, HCP returns information about the object that results from a successful upload request in an XML response body, in this format:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <PostResponse xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
    <Location>url</Location>
    <Bucket>bucket</Bucket>
    <Key>key</Key>
    <ETag>"eTag"</ETag>
</PostResponse>

The table below describes the XML elements in the response body returned in response to a request to complete a POST object upload. The elements are listed in alphabetical order.

Element Description
Bucket

Child of the PostResponse element.

The Bucket element specifies the bucket where the object was created.

ETag

Child of the PostResponse element.

The ETag or entity tag element specifies the MD5 hash of the object. The element reflects the contents of an object, not its metadata.

You can do a conditional GET operation by combining the ETag tag with an If-Modified tag.

Key

Child of the PostResponse element.

The Key element specifies the name of the object.

Location

Child of the PostResponse element.

The Location element specifies the complete URL for the object.

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.