Upload

Evaluate a dynamic upload-parameter expression

POST
/v1_1/{cloud_name}/eval

Evaluates a dynamic eval expression against the supplied upload parameters and returns the resulting upload parameters.

Authorization

AuthorizationBasic <token>

Basic authentication using Cloudinary API Key and API Secret.

In: header

Path Parameters

cloud_name*string

The cloud name of your product environment.

Request Body

application/json

The eval expression and the upload parameters to evaluate it against.

The eval expression and the upload parameters to evaluate it against. The eval field holds the dynamic expression; any other upload parameters may be supplied alongside it.

eval*string

The dynamic eval expression to evaluate against the upload parameters.

public_id?string

The public ID of the asset the eval expression applies to.

[key: string]?any

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1_1/my_cloud/eval" \  -H "Content-Type: application/json" \  -d '{    "eval": "string"  }'
{}