This function lists all of Apache's MIME handlers.
Important:
When you disable the WebServer role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Mime \ list_handlers \ type='user'
{- "apiversion": 3,
- "func": "list_handlers",
- "module": "Mime",
- "result": {
- "data": [
- {
- "extension": ".foo",
- "handler": "text-foo",
- "origin": "user"
}
], - "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}