This function returns the cPanel API 1 functions that the system called on specific dates. This is useful, for example, to check whether your system calls any cPanel API 1 functions.
Important:
The function only returns cPanel API 1 functions. We deprecated cPanel API 1 and plan to remove those functions at a later date. For more information, read our Guide to Replacing cPanel API 1 Functions with UAPI Equivalents documentation.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ get_api_calls
{- "data": {
- "result": [
- {
- "count": 200000,
- "entry": "Email::printdomainoptions",
- "timestamp": 1548828000
}
]
}, - "metadata": {
- "command": "get_api_calls",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}