transform #
Searches for assets corresponding to the specified expression and options
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_plugin/cloudinary/assets/transform
Method: POST
Body:
{
"public_id" : "sample",
"transformation" : {
"width" : 400,
"radius" : "100:0:100:100"
}
}
Other protocols #
{
"controller": "cloudinary/assets",
"action": "transform",
"body": {
"public_id" : "sample",
"transformation" : {
"width" : 400,
"radius" : "100:0:100:100"
}
}
}
Arguments #
public_id
: public_id of the asset to transformtransformation
: JSON object that describes your transformation. See Cloudinary documentation for syntax information
Response #
{
"status": 200,
"error": null,
"controller": "cloudinary/assets",
"action": "transform",
"requestId": "<unique request identifier>",
"result": "<transformed_asset_url>"
}
Possible Errors #
Edit this page on Github(opens new window)