Read a file
get_objectUse this when a table row points at a file (a photo, a document) the user wants to see. Read one file of a catalog's file storage by its key, e.g. a photo whose key a table holds (garden.images.object_key). Images come back as an image, downscaled to max_dimension on the long edge; small text files (64 KB or less) as text; anything else as metadata with a 15-minute download link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | the object's key (its full path in the catalog's files) | |
| catalog | Yes | the catalog, by name or id | |
| max_dimension | No | images: the long edge in pixels (default 1500) |