Typescript / Javascript
List Files
List files in a bucket
This step assumes you have followed the installation steps and initialized the client.
The example belows shows how we would list files in a bucket.
index.ts
Parameters
Property | Description |
---|---|
prefix | Optional paramter to filter files by a folder |
limit | Optional parameter to limit the number of files returned, defaults to 1000 |
nextPageToken | Optional parameter to get the next page of files if the api returns hasMore = true |