File Storage Browse and Download a File
A 3-step recipe with Merge. We can help you get access.
Recipe · 3 steps
File Storage Browse and Download a File
with Merge
List files, read one file's metadata, and download its contents.
- List files on the linked account, optionally scoped to a folder.
- Retrieve the metadata for the first file returned by the listing.
- Download the binary contents of the resolved file.
What you'll need to have ready
- authorization: Production access token with the required "Bearer " prefix.
- accountToken: The account token identifying the linked file storage end user.
- folderId: Optional folder to scope the listing to.
- pageSize: Number of files to return per page (maximum 100).
For your developer
Arazzo workflow merge:browse-and-download, 3 operations: {$sourceDescriptions.subpackageFilesApi.url}#/paths/~1filestorage~1v1~1files/get → {$sourceDescriptions.subpackageFilesApi.url}#/paths/~1filestorage~1v1~1files~1{id}/get → {$sourceDescriptions.subpackageFilesApi.url}#/paths/~1filestorage~1v1~1files~1{id}~1download/get. Specs on APIs.io.