Mime
Direct Link Protection (Hotlink)
Return domains with hotlink protection
This function lists domains with hotlink protection.
Important:
When you disable the Web Server role, the system disables this function.
get/Mime/list_hotlinks
Request
- Base URLhttps://cpanel-server.tld:2083/execute
- AuthHTTP basic
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "list_hotlinks",
"module": "Mime",
"result": {
"data": {
"allow_null": 1,
"extensions": "jpg,jpeg,gif,png,bmp",
"redirect_url": "http://redirect.example.com/",
"state": "disabled",
"urls": [
"http://example.com/"
]
},
"status": 1
}
}Changes
No recorded changes to this operation across all 5 revisions of this API.