Personalization
2 functions, invoked through the cpanel_uapi tool.
cpanel_uapi(service_id, module="Personalization", 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 POST#
Retrieve NVData data from file
This function retrieves the data from an NVData file on disk. cPanel NVData is a per-account configuration storage mechanism that you can use to maintain persistent cPanel & WHM settings across multiple sessions. This includes custom settings for your own themes and plugins.
Note:
NVData keys and values are limited to 128 and 2048 bytes, respectively.
Response — normalized as { ok, data, errors[], warnings[] }; data contains:
set POST#
Save NVData data to file
This function saves its data to an NVData file on disk. cPanel NVData is a per-account configuration storage mechanism that you can use to maintain persistent cPanel & WHM settings across multiple sessions. This includes custom settings for your own themes and plugins.
Note:
NVData keys and values are limited to 128 and 2048 bytes, respectively.
Response — normalized as { ok, data, errors[], warnings[] }; data contains: