• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (Python SDK)
  4. Data Types
  5. Request Parameter of GET Object versions

Request Parameter of GET Object versions

Namespace

Class

Module

Versions

com.obs.models.versions

Parameter Description

Field

Type

Optional or Mandatory

Description

prefix

str

Optional

Name prefix that the objects to be listed must contain

key_marker

str

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.

max_keys

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

str

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.)

version_id_marker

str

Optional

Version ID to start with when listing objects in a bucket. All objects are listed in the lexicographical order by object name and version ID. This parameter must be used together with key_marker.

If the value of version_id_marker is not a version ID specified by key_markerversion_id_marker does not take effect.