cPanel module
Pushbullet
1 functions, invoked through the cpanel_uapi tool.
scope cpanel:uapi
Call any function with
cpanel_uapi(service_id, module="Pushbullet", function, params). Live availability depends on the cPanel features JetHost has enabled on your account — call list_cpanel_operations to see what is active.send_test_message GET#
Validate Pushbullet token
This function sends a Pushbullet™ test message to determine that the token is valid and that the account holder can receive the message.
access_tokenstringRequired
The Pushbullet access token. Note: * Your Pushbullet token is available on Pushbullet's My Account page under the Access Token heading. * This is confidential information that your server sends via a secure channel.
Response — normalized as { ok, data, errors[], warnings[] }; data contains:
message_idstring
The test message's ID.
payloadobject
The payload from the Pushbullet server. For more information, read Pushbullet's API documentation. Warning: This return may contain values that are Boolean primitives. JSON properly represents these, but XML represents them as 0 or 1.