Skip to main content

Create Preset

POST 

/api/preset/create

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
    name stringrequired

    The name of the preset

    rapidCompactCoreVersion string

    The minimum version of RapidCompact for the preset

    config objectrequired

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

    object

Responses

success

Schema

    string

Loading...