About this endpoint
What it does
Generates a PNG preview from a remote file URL and returns a signed link to the generated preview. The request body supplies the source file URL, and the response returns the preview URL in data.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| width | Integer | No | Preview width in pixels. Minimum: 0. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | Remote file URL to preview. Format: URI. |
Response
Returns a JSON object with a data string field containing a URI for the generated PNG preview.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | String | Yes | Signed URI for the generated PNG preview. |