create_photo
Upload a photo from a local path, add a caption, and attach it to Hudu records like assets or companies.
Instructions
Upload a new Photo. Provide the local file path to the image file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pinned | No | ||
| caption | Yes | Caption for the photo | |
| file_path | Yes | Absolute local path to the image file to upload | |
| folder_id | No | ||
| company_id | No | ||
| photoable_id | No | ID of the record to attach to | |
| photoable_type | No | Type of record to attach to (e.g. Asset, Company, Article) |