Get an S3 Object

You can call the get an S3 object command on your S3 client to download a file by specifying the branch.repo.project it lives in. For example, let’s get the test.csv file from master.foo.bar.

Versioning

Most operations act on the HEAD of the given branch. However, if your object store library or tool supports versioning, you can get objects in non-HEAD commits by using the commit ID as the S3 object version ID or use the following syntax --bucket <commit>.<branch>.<repo>.<project>

To retrieve the file file.txt in the commit a5984442ce6b4b998879513ff3da17da on the master branch of the repo foo in project bar: