Return RPM management build log

This function returns build log content.

SecurityBasicAuth
Request
query Parameters
build
required
integer >= 1

The build process ID returned by the package_manager_submit_actions function.

Example: build=1234
offset
required
integer <bytes> >= 0

The position in the build log from which you wish to display entries.

Example: offset=4567
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/package_manager_get_build_log
Request samples
whmapi1 --output=jsonpretty \
  package_manager_get_build_log \
  build='1234' \
  offset='4567'
Response samples
application/json
{
  • "data": {
    • "content": [
      • "line1",
      • "line2",
      • "line3"
      ],
    • "offset": 9672,
    • "still_running": 1
    },
  • "metadata": {
    • "command": "package_manager_get_build_log",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}