dcloud s3 bucket-objects list-versionsOne page (200) of object versions and delete markers under a prefix
IAM s3:ListBucketVersionsRead
Answers { prefix, prefixes, versions: [{ key, versionId, isLatest, deleteMarker, size, lastModified }], nextKeyMarker, nextVersionIdMarker }, newest first per key. Pass both markers back for the next page.
Synopsis
dcloud s3 bucket-objects list-versions name [flags]Arguments
<name>Requiredstring
Also accepted as
--name. Constraints: 3-63 chars, /^[a-z0-9][a-z0-9-]*[a-z0-9]$/
Flags
--prefixOptionalstring
The folder to list, e.g. photos/2026/; absent: the top level of the bucket
Constraints: max 1024 chars
--key-markerOptionalstring
nextKeyMarker from the previous page; absent: the first page
Constraints: max 1024 chars
--version-id-markerOptionalstring
nextVersionIdMarker from the previous page, sent together with keyMarker
Constraints: max 1024 chars
Example
dcloud s3 bucket-objects list-versions nameGenerated from the API description, the same one the API checks requests against and the CLI is built from.