Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you get a version list for a specific file within a bucket? #277

Open
lshep opened this issue Dec 6, 2018 · 0 comments
Open

Can you get a version list for a specific file within a bucket? #277

lshep opened this issue Dec 6, 2018 · 0 comments

Comments

@lshep
Copy link

lshep commented Dec 6, 2018

I would like to use the get_versions function for just a specific file in a given bucket rather than returning all the results of the bucket. Is this possible without first downloading all the version content of the bucket?

i.e.
For get_bucket
I list all results with

get_bucket("lori-test-version"

But then I can limit to a certain file

get_bucket("lori-test-version", prefix="LoriTestFile"

I would like to be able to do the same with get_version and limit to versions of a single file rather than getting all the content - The following lists all content of bucket lori-test-version

get_versions(bucket="lori-test-version", prefix="LoriTestFile",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant