v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-138134216.7 KB
objects

Retrieves a list of objects matching the criteria.

get/b/{bucket}/o

Path parameters

bucketstring required

Name of the bucket in which to look for objects.

Query parameters

delimiterstring

Returns results in a directory-like mode. items will contain only objects whose names, aside from the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain delimiter will have their name, truncated after the delimiter, returned in prefixes. Duplicate prefixes are omitted.

endOffsetstring

Filter results to objects whose names are lexicographically before endOffset. If startOffset is also set, the objects listed will have names between startOffset (inclusive) and endOffset (exclusive).

filterstring

Filter the returned objects. Currently only supported for the contexts field. If delimiter is set, the returned prefixes are exempt from this filter.

includeFoldersAsPrefixesboolean

Only applicable if delimiter is set to '/'. If true, will also include folders and managed folders (besides objects) in the returned prefixes.

includeTrailingDelimiterboolean

If true, objects that end in exactly one instance of delimiter will have their metadata included in items in addition to prefixes.

matchGlobstring

Filter results to objects and prefixes that match this glob pattern.

maxResultsinteger

Maximum number of items plus prefixes to return in a single page of responses. As duplicate prefixes are omitted, fewer total results may be returned than requested. The service will use this parameter or 1,000 items, whichever is smaller.

pageTokenstring

A previously-returned page token representing part of the larger set of results to view.

prefixstring

Filter results to objects whose names begin with this prefix.

projection'full' | 'noAcl'

Set of properties to return. Defaults to noAcl.

softDeletedboolean

If true, only soft-deleted object versions will be listed. The default is false. For more information, see Soft Delete.

startOffsetstring

Filter results to objects whose names are lexicographically equal to or after startOffset. If endOffset is also set, the objects listed will have names between startOffset (inclusive) and endOffset (exclusive).

userProjectstring

The project to be billed for this request. Required for Requester Pays buckets.

versionsboolean

If true, lists all versions of an object as distinct results. The default is false. For more information, see Object Versioning.

Response

Successful response