This function lists domains with hotlink protection.
Important:
When you disable the Web Server role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Mime \ list_hotlinks
{- "apiversion": 3,
- "func": "list_hotlinks",
- "module": "Mime",
- "result": {
- "data": {
- "allow_null": 1,
- "extensions": "jpg,jpeg,gif,png,bmp",
- "state": "disabled",
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}