Return deprecated cPanel API 1 functions

This function returns the daily interface use of cPanel API 1 functions. Use this function to find out which API calls your custom interfaces or third-party plugins use.

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.

SecurityBasicAuth
Request
query Parameters
type
string
Default: "cpapi1"

The cPanel API type to query.

Value: "cpapi1"
Example: type=cpapi1
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/get_api_pages
Request samples
whmapi1 --output=jsonpretty \
  get_api_pages
Response samples
application/json
{
  • "data": {
    • "count": 200000,
    • "entry": "/usr/local/cpanel/base/frontend/jupiter/plugin1/index.html.tt",
    • "timestamp": 1548828000
    },
  • "metadata": {
    • "command": "get_api_pages",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}