Add tag filtering to ListObjects
jan-pokorny opened this issue · 3 comments
jan-pokorny commented
Right now there is no way how to filter objects by tag when listing them.
Proposal:
public ListObjectsArgs WithTags(IDictionary<string, string> tags);
public ListObjectsArgs WithTag(string key, string value);
Usage:
var args = new ListObjectsArgs()
.WithBucket(bucket)
.WithPrefix(folder)
.WithTag("category", "image")
.WithRecursive(true);
klauspost commented
@jan-pokorny The S3 API does not provide tag based listing.
jan-pokorny commented
Ah, so what are they there for, then?
klauspost commented
@jan-pokorny Ask AWS ;)