Request Parameter of GET Object versions
Type Definition
type ListVersionsInput struct
Parameter Description
Field |
Type |
Optional or Mandatory |
Description |
---|---|---|---|
Bucket |
string |
Mandatory |
Bucket name |
KeyMarker |
string |
Optional |
Object name to start with when listing versioning objects in a bucket. All versioning objects following this parameter are listed in the lexicographical order. |
VersionIdMarker |
string |
Optional |
Object name to start with when listing versioning objects in a bucket. All versioning objects are listed in the lexicographical order by object name and version ID. This parameter must be used together with KeyMarker. If the value of VersionIdMarker is not a version ID specified by KeyMarker, VersionIdMarker is ineffective. |
Prefix |
string |
Optional |
Name prefix that the objects to be listed must contain |
MaxKeys |
int |
Optional |
Maximum number of objects returned. The value ranges from 1 to 1000. If the value is not in this range, 1000 is returned by default. |
Delimiter |
string |
Optional |
Character used to group object names. If the object name contains the Delimiter parameter, the character string from the first character to the first delimiter in the object name is grouped under a single result element, CommonPrefix. (If a prefix is specified in the request, the prefix must be removed from the object name.) |
Origin |
string |
Optional |
Origin specified in the preflight request. Generally, it is a domain name. |
RequestHeader |
string |
Optional |
HTTP headers in a cross-origin request |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot