Skip to main content

Convert Preset

POST 

/api/preset/rpdx

Convert a preset in API format to CLI format and CLI commands. The endpoint will return a zip file containing the requested files. The "Try it out" feature for this endpoint doesn't work, because the config gets sent as a string, but it needs to be a json object. Please check the example request on the right side

Request

Header Parameters

    Authorization string
    Example: Bearer {YOUR_AUTH_KEY}
    Content-Type string
    Example: application/json
    Accept string
    Example: application/json

Body

required
    preset objectrequired

    The config of the optimizer in API format as a json object complying with the API Optimize Schema

    object

Responses

success

Schema

    string

Loading...