List objects
list_objects(prefix="", recursive=False, last_key=None)
Lists all object metadata from Storage.
page1 = storage.list_objects(prefix="directory/data")
page2 = storage.list_objects(prefix="directory/data", last_key=page1[-1])
Parameters
Param | Type | Description | Required |
---|---|---|---|
prefix | str | Object key starts with prefix | False |
recursive | bool | List recursively through directory structure | False |
last_key | str | List objects after this key name | False |