Help Center> OBS GO SDK> API Reference> Data Types> Response Result of GET Object versions
Updated on 2022-02-10 GMT+08:00

Response Result of GET Object versions

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

[]DeleteMarker

List of versioning delete markers in the bucket

CommonPrefixes

[]string

List of object name prefixes grouped according to the Delimiter parameter (if specified)