check_media
Check a file against a platform without storing it. With convert, also says whether conversion can fix it.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Seconds the URL stays valid, 3600-604800, default 86400. | |
| target | Yes | Platform the file is for. | |
| convert | No | Fix what fails the platform rules by cropping or padding and re-encoding. | |
| filename | No | ||
| source_url | No | Public http(s) URL to fetch the file from. | |
| data_base64 | No | The file, base64-encoded (max 10 MB). Use source_url for larger files. |