Versioining

Part 4 : Reading versioned object and Delete Markers.

Anirudha | Wed, 03/18/2020 - 06:20

In the previous post we saw, how to enable versioning on bucket and how each versions are represented in the bucket. Now we will take a look at reading different version of object.

Get_object without VersionId :

If you don’t specify VersionId in get_object call, then this will always return the latest object version. If you see the previous code snippet, last version uploaded has content = 'The God Father'