cPanel module
Notifications
1 functions, invoked through the cpanel_uapi tool.
scope cpanel:uapi
Call any function with
cpanel_uapi(service_id, module="Notifications", function, params). Live availability depends on the cPanel features JetHost has enabled on your account — call list_cpanel_operations to see what is active.get_notifications_count GET#
Return server notifications total
This function returns the number of server-wide notifications on an account.
No parameters.
Response — normalized as { ok, data, errors[], warnings[] }; data contains:
The number of server-wide notifications.