Help Center> Object Storage Service> SDK Reference> Python> Data Types> Response Result of the Request for Listing Objects

Response Result of the Request for Listing Objects

Namespace

obs.ListObjectsResponse

Parameter Description

Field

Type

Description

name

str

Bucket name

location

str

Bucket location

prefix

str

Object name prefix, which is consistent with that set in the request

marker

str

Start position for listing objects, which is consistent with that set in the request

delimiter

str

Character used to group object names, which is consistent with that set in the request

max_keys

int

Maximum number of listed objects, which is consistent with that set in the request

is_truncated

bool

Whether all objects are returned. If the field value is True, not all objects are returned. If the field value is False, all objects are returned.

next_marker

str

Object name to start with upon next request for listing objects

contents

list of Content

List of objects in the bucket

commonPrefixs

list of CommonPrefix

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