List a WordPress install's themes.
$cpapi=https://{USER}:{PASS}@{SERVER_IP}:2083/3rdparty/installatron/index.cgi? # cpanel
#$cpapi=https://{USER}:{PASS}@{SERVER_IP}:2087/3rdparty/installatron/index.cgi? # whm
#$cpapi=https://{USER}:{PASS}@{SERVER_IP}:2222/CMD_PLUGINS/installatron/index.raw? # directadmin
curl -X POST $cpapi/installs/1234567890abcdefghij12345/themes \
-H 'X-HTTP-Method-Override: GET' \
-H 'Accept: application/json'
{
"status": 200,
"result": true,
"message": "The task is complete.\n",
"total_count": 1,
"has_more": false,
"data": [
{
"id": "twentytwentyfour",
"activated": true,
"autoup": "none",
"version": "3.4",
"name": "Twenty Twenty-Four",
"description": null,
"author": "the WordPress team",
"version_available": null
},
{
"id": "twentytwentyfive",
"activated": true,
"autoup": "none",
"version": "1.2",
"name": "Twenty Twenty-Five",
"description": null,
"author": "the WordPress team",
"version_available": null
},
]
}