HeadBucket
    • PDF

    HeadBucket

    • PDF

    Article summary

    Available in Classic and VPC

    View the bucket headers of Object Storage. No request query parameter or request body is used in the operation.

    Requests

    The following describes the request format for the endpoint. The request format is as follows.

    MethodURI
    HEAD{bucket-name}

    Request syntax

    HEAD https://{endpoint}/{bucket-name} # path style
    HEAD https://{bucket-name}.{endpoint} # virtual host style
    

    Request headers

    For headers common to all Object Storage APIs, see Object Storage common headers.

    Request path parameters

    The following describes the parameters.

    FieldTypeRequiredDescription
    bucket-nameStringRequiredName of the bucket to view headers in

    Request example

    The following is a sample request.

    HEAD /{bucket-name} HTTP/1.1
    Content-Type: text/plain
    Host: kr.object.ncloudstorage.com
    X-Amz-Date: {Timestamp}
    Authorization: {authorization-string}
    

    Responses

    The following describes the response format.

    Response headers

    For response headers common to all Object Storage APIs, see Object Storage common response headers.

    Response status codes

    For response status codes common to all Object Storage APIs, see Object Storage response status codes.

    Response example

    The following is a sample response.

    HTTP/1.1 200 OK
    Date: Wed, 24 Aug 2016 17:45:25 GMT
    Accept-Ranges: bytes
    x-amz-request-id: xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
    Content-Type: application/xml
    ibm-sse-kp-enabled: false
    Content-Length: 0
    

    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.