- Created by Documentation, last modified on Apr 09, 2018
disable_authentication_provider
disable_failing_authentication_providers
enable_authentication_provider
get_available_authentication_providers
get_provider_client_configurations
get_provider_configuration_fields
get_provider_display_configurations
get_users_authn_linked_accounts
set_provider_client_configurations
set_provider_display_configurations
twofactorauth_generate_tfa_config
twofactorauth_get_user_configs
cpgreylist_is_server_netblock_trusted
cpgreylist_list_entries_for_common_mail_provider
cpgreylist_load_common_mail_providers_config
cpgreylist_save_common_mail_providers_config
cpgreylist_trust_entries_for_common_mail_provider
cpgreylist_untrust_entries_for_common_mail_provider
create_cpgreylist_trusted_host
delete_cpgreylist_trusted_host
Description
This function returns build log content.
Examples
https://hostname.example.com:2087/cpsess##########/json-api/package_manager_get_build_log?api.version=1&build=1234&offset=4567
https://hostname.example.com:2087/cpsess##########/xml-api/package_manager_get_build_log?api.version=1&build=1234&offset=4567
whmapi1 package_manager_get_build_log build=1234 offset=4567
Notes:
- You must URI-encode values.
- For more information and additional output options, read our Guide to WHM API 1 documentation or run the
whmapi1 --help
command. If you run CloudLinux™, you must use the full path of the
whmapi1
command:/usr/local/cpanel/bin/whmapi1
{ "data":{ "offset":9672, "content":[ "line1", "line2", "line2" ] }, "metadata":{ "version":1, "reason":"OK", "result":1, "command":"package_manager_get_build_log" } }
<result> <data> <offset>9672</offset> <content>line1</content> <content>line2</content> <content>line3</content> </data> <metadata> <version>1</version> <reason>OK</reason> <result>1</result> <command>package_manager_get_build_log</command> </metadata> </result>
Note:
Parameters
Parameter | Type | Description | Possible values | Example |
---|---|---|---|---|
build | integer | Required This parameter identifies the build process when the system performs WHM's | An integer value. | 1234 |
offset | integer | Required This parameter indicates the start position, in bytes, in the build log from which you wish to display entries. | An integer value. | 4567 |
Returns
Return | Type | Description | Possible values | Example |
---|---|---|---|---|
offset | integer | This return displays the last position, in bytes, that the system read to in the build log. You can use it for subsequent calls. | An integer value. | 9672 |
content | array | This returns displays the most recent build log entries. | A valid array. | line2 |
still_running | Boolean | Whether the build process is in progress. |
| 1 |
Function information
API Version:
Available in:
WHM 11.52
Methods:
GET, POST
Required Parameters:
build
, offset
Return Formats:
About WHM API 1
WHM API 1 performs functions and accesses data in WHM.
Notes:
- Some functions and parameters may require that you authenticate as the
root
user. - You must use the appropriate WHM ports (
2086
or2087
) to call WHM API functions.
Find a function
Related functions
-
Page:WHM API 1 Functions - list_rpms — This function lists RPMs that the server needs, but the server owner has not yet installed.
-
Page:WHM API 1 Functions - get_rpm_version_data — This function lists a key's available RPMs.
-
Page:WHM API 1 Functions - edit_rpm_version — This function edits RPM data.
-
Page:WHM API 1 Functions - delete_rpm_version — This function removes RPM data.
-
Page:WHM API 1 Functions - update_updateconf — This function modifies a server's
/etc/cpupdate.conf
file.