HeadObject
Returns the metadata of the object.
The method is equivalent to the GetObject method , but the object itself is missing from the response.
Request
Path parameters
Parameter | Description |
| Bucket name. |
| Object key. |
Headings
Use the required common headers in the request .
You can also use the following headers in the request:
Heading | Description |
| Specifies the range of bytes to load from the object. Read more about the Range header in the HTTP specification http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35 . |
| If specified, ColdStack returns:
- Object. If it changed after the specified time.
- Code 304. If the object has not changed after the specified time.
If the query at the same time there are headers |
| If specified, ColdStack returns:
- Object. If it hasn't changed since the specified time.
- Code 412. If the object has not changed since the specified time.
If the request headers are present simultaneously |
| If specified, ColdStack returns:
- Object. If it |
| If specified, ColdStack returns:
- Object. If its |
Answer
Headings
In addition to the general headers, you can see the headers listed in the table below in the response.
Heading | Description |
| The custom metadata of the object, saved with the object. |
| Object storage class.
Matters |
| The encryption algorithm used to encrypt the object. Returned if the object was loaded with encryption enabled . |
| KMS key identifier . Returned if the object was loaded with encryption enabled . |
Answer codes
For a list of possible answers, see the Answers section .
Last updated