Gets the relation between the input format and the output format for file conversion.
Gets the relation between the input format and the output format for file conversion.
The input format. If the input format also has a type, separate it with a hyphen.
The output format. If the output format also has a type, separate it with a hyphen.
POST https://api.vertopal.com/v1/convert/graph
Authorization: Bearer [APP_TOKEN]
data={
"app": "[APP_ID]",
"parameters": {
"input": "png",
"output": "jpg"
}
}
curl -L -X POST 'https://api.vertopal.com/v1/convert/graph' \
-H 'Authorization: Bearer [APP_TOKEN]' \
-F 'data={
"app": "[APP_ID]",
"parameters": {
"input": "png",
"output": "jpg"
}
}'
vertopal api -v 1 convert/graph \
--app "[APP_ID]" \
--token "[APP_TOKEN]" \
-F data='{
"app": "%app-id%",
"parameters": {
"input": "png",
"output": "jpg"
}
}'
Indicates converter availability for converting the input format to the output format.
Assumes that the input and output are interchanged. Indicates converter availability for converting the output format to the input format.
The task has been executed successfully without any errors.
The [INPUT] format is not found in the valid input formats.
The [OUTPUT] format is not found in the valid output formats.
The input format has the wrong structure.
The output format has the wrong structure.
{
"result": {
"output": {
"is_match": true,
"is_reversable": true
},
"error": {},
"warning": {}
}
}