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
- 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
- 200
success
- text/plain
- Schema
Schema
string
Loading...