Gets the properties of a specific format.
Loading, Please Wait...
      Gets the properties of a specific format.
The specific format that you want to get its properties. If the format also has a type, separate it with a hyphen.
POST https://api.vertopal.com/v1/format/get
Authorization: Bearer [APP_TOKEN]
data={
    "app": "[APP_ID]",
    "parameters": {
        "format": "png"
    }
}
                                                    curl -L -X POST 'https://api.vertopal.com/v1/format/get' \
-H 'Authorization: Bearer [APP_TOKEN]' \
-F 'data={
    "app": "[APP_ID]",
    "parameters": {
        "format": "png"
    }
}'
                                                    vertopal api -v 1 format/get \
--app "[APP_ID]" \
--token "[APP_TOKEN]" \
-F data='{
    "app": "%app-id%",
    "parameters": {
        "format": "png"
    }
}'
                                                    The combination of format extension and format type with a hyphen. If the format has no type, it is just an extension.
The extension of format.
The type of format.
The full form of the format.
The format in a form that is easy for humans to read.
The category hierarchy for the format.
The task has been executed successfully without any errors.
The [FORMAT] format is not found in the valid formats.
The format has the wrong structure.
{
    "result": {
        "output": {
            "format": "png",
            "extension": "png",
            "type": null,
            "name": "Portable Network Graphics",
            "title": "PNG",
            "categories": [
                "image"
            ]
        },
        "error": {},
        "warning": {}
    }
}