Tools/Utils
File types
OneFirewall revertive each file flagged as malware and associates it with a specific file type (when possible), or more precisely, a MIME type. Currently, OneFirewall only accepts file types from a predetermined list provided by this API.
GET
/
file_types
curl --request GET \
--url https://app.onefirewall.com/api/v1/file_types \
--header 'Authorization: <api-key>'
[
{
"name": "application/x-krita",
"description": "KRA is the file format for Krita, a raster graphics editor. It is a ZIP archive containing a number of files, including the image data, the layer structure, and the document settings.<br /><br />It is similar in function to PSD files for photoshop.<br /><br />A .krz file is a compressed version of a .kra file and only missing the mergedimage.png contained within it to save storage. The lack of this file can affect interchange with other applications such as Scribus.",
"types": [
".kra",
".krz"
],
"alternatives": [],
"furtherReading": [
{
"title": "Krita File Format",
"url": "https://docs.krita.org/en/general_concepts/file_formats/file_kra.html"
}
]
}
]
Authorizations
Authorization Token
Response
200 - application/json
The response is of type string
.
curl --request GET \
--url https://app.onefirewall.com/api/v1/file_types \
--header 'Authorization: <api-key>'
[
{
"name": "application/x-krita",
"description": "KRA is the file format for Krita, a raster graphics editor. It is a ZIP archive containing a number of files, including the image data, the layer structure, and the document settings.<br /><br />It is similar in function to PSD files for photoshop.<br /><br />A .krz file is a compressed version of a .kra file and only missing the mergedimage.png contained within it to save storage. The lack of this file can affect interchange with other applications such as Scribus.",
"types": [
".kra",
".krz"
],
"alternatives": [],
"furtherReading": [
{
"title": "Krita File Format",
"url": "https://docs.krita.org/en/general_concepts/file_formats/file_kra.html"
}
]
}
]
Assistant
Responses are generated using AI and may contain mistakes.