Return RPM management build log

This function returns build log content.

Authorizations:
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

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  package_manager_get_build_log \
  build='1234' \
  offset='4567'

Response samples

Content type
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
    }
}