Create a new PresetTransformationSearch. This is most commonly used for finding presets that are applicable to a set of assets, so that one can be selected for use to create some AssetDownloads.
Security
bearerToken
- Productionhttps://api-v2.dash.app/preset-transformation-searches
- Staginghttps://api-v2.dashstaging.app/preset-transformation-searches
- HAS_TRANSFORMATION_OF_TYPE
- APPLICABLE_FOR_ANY_ASSETS
- MATCH_ALL
- AND
- OR
- NOT
curl -i -X POST \
https://api-v2.dash.app/preset-transformation-searches \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"from": 0,
"pageSize": 100,
"criterion": {
"type": "AND",
"criteria": [
{
"type": "APPLICABLE_FOR_ANY_ASSETS",
"assetIds": [
"2b746f61-d36d-4627-a547-936f6f20594b"
]
},
{
"type": "NOT",
"criterion": {
"type": "HAS_TRANSFORMATION_OF_TYPE",
"transformationType": "CROP"
}
}
]
},
"sorts": []
}'Success
The specified page of PresetTransformation resources which match the search criterion
The total number of PresetTransformation resources which match the search criterion
Example:1337
Response
{ "results": [ { … }, { … } ], "totalResults": 2 }