At the moment, it is not possible to list object versions starting with particular version of choice.
versionIDMarker is initialized with empty string in api-list.go#L408.
On response, if result.NextVersionIDMarker is present, versionIDMarker is set to its value, api-list.go#L501.
That is the only place, where versionIDMarker is updated, and it is the only variable that supplies value for listObjectVersionsQuery, where version-id-marker is set.
It'd be nice, if there would be an opportunity to set VersionIDMarker as a list option.
minio.ListObjectsOptions{
WithVersions: true,
Prefix: objectKey,
VersionIDMarker: versionIDMarker,
}
The same is valid to key-marker; it is currently not present as an option as well.
At the moment, it is not possible to list object versions starting with particular version of choice.
versionIDMarkeris initialized with empty string in api-list.go#L408.On response, if
result.NextVersionIDMarkeris present,versionIDMarkeris set to its value, api-list.go#L501.That is the only place, where
versionIDMarkeris updated, and it is the only variable that supplies value forlistObjectVersionsQuery, whereversion-id-markeris set.It'd be nice, if there would be an opportunity to set
VersionIDMarkeras a list option.The same is valid to
key-marker; it is currently not present as an option as well.