Response Result of the Request for Listing Versioned Objects in a Bucket
Type Definition
type ListVersionsOutput struct
Parameter Description
| Field | Type | Description |
|---|---|---|
| StatusCode | int | HTTP status code |
| RequestId | string | Request ID returned by the OBS server |
| ResponseHeaders | map[string][]string | HTTP response headers |
| Location | string | Bucket location |
| Name | string | Bucket name |
| Prefix | string | Object name prefix, which is consistent with that set in the request |
| KeyMarker | string | Object name to start with for listing versioning objects, which is consistent with that set in the request |
| VersionIdMarKer | string | Start position for listing objects, which is consistent with that set in the request |
| Delimiter | string | Character used to group object names, which is consistent with that set in the request |
| MaxKeys | int | Maximum number of listed versioning objects, which is consistent with that set in the request |
| IsTruncated | bool | Whether all versioning objects are returned. If the field value is true, not all versioning objects are returned. If the field value is false, all versioning objects are returned. |
| NextKeyMarker | string | Object name to start with upon the next request for listing versioning objects in a bucket |
| NextVersionIdMarker | string | Version ID to start with upon the next request for listing versioning objects. It is used with the NextKeyMarker parameter. |
| Versions | []Version | List of versioning objects in the bucket |
| DeleteMarkers | List of versioning delete markers in the bucket | |
| CommonPrefixes | []string | List of object name prefixes grouped according to the Delimiter parameter (if specified) |
Last Article: Request Parameters of Listing Versioned Objects in a Bucket
Next Article: Versioning Object in a Bucket
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.