Version 1.0
Connector Overview: This page documents all 13 actions for the Frontifyconnector v1.0.
General (13)
GET Crop an asset using focal point
/crop
Crop an asset based on specified width, height, focal point, and zoom
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
Width of the cropped image (1-4096) |
|
|
Height of the cropped image (1-4096) |
|
|
Focal point of the image in percentage (x,y) where x and y are floats ranging from 0.0 to 1.0 |
|
|
Specify focal point cropping |
|
|
Zoom percentage to zoom into the focal point (optional) |
|
|
The response format expected from the API (e.g. application/json). |
POST Delete Asset
/delete_asset
Delete Asset
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
The response format expected from the API (e.g. application/json). |
POST Query
/graphql
Query
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
The content type of the request payload sent to the API (e.g. application/json). |
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
The response format expected from the API (e.g. application/json). |
Options (1)
|
Option Name |
Description |
|---|---|
|
|
A JSON string containing the GraphQL query and any associated variables. |
GET Resize an asset
/resize
Resize and deliver your assets in the best possible size
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
Width of the resized image (1-4096) |
|
|
Height of the resized image (1-4096) |
|
|
The response format expected from the API (e.g. application/json). |
GET Retrieve Asset
/asset_by_id
Retrieve Asset
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
The response format expected from the API (e.g. application/json). |
GET Retrieve Brands
/brands
Retrieve Brands
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
The response format expected from the API (e.g. application/json). |
GET Retrieve Library
/libraries
Retrieve Library
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
The response format expected from the API (e.g. application/json). |
GET Set the quality of an image
/image_quality
Set the quality of an image for JPEG and WebP formats
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
Quality percentage of the image (1-100) |
|
|
The response format expected from the API (e.g. application/json). |
GET Show a preview of a specific video frame
/video_frame_preview
Show a preview of a specific video frame by specifying the time in seconds
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
Time in seconds to capture the video frame from (0 - X, where X is the duration of the video) |
|
|
The response format expected from the API (e.g. application/json). |
GET Show the correct page of a multipage asset
/page_preview
Show the correct page of a multipage asset (PDF / Office files) by specifying the page number
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
Page number to display (1 - X, where X is the total number of pages) |
|
|
The response format expected from the API (e.g. application/json). |
GET Transform the format of an asset
/transform_format
Transform the format of an asset to the specified format
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
Desired format of the asset (webp, png, jpeg, jpg, gif, mp4) |
|
|
The response format expected from the API (e.g. application/json). |
POST Update Asset
/update_asset
Update Asset
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
The response format expected from the API (e.g. application/json). |
PUT Update Asset Custom Metadata
/update_custom_metadata
Update Asset Custom Metadata
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
The response format expected from the API (e.g. application/json). |