Current Apply Change log (live streaming)

Current Apply Change log (live streaming)
Current Apply Change log (live streaming)

Streams logs for the currently running Apply Changes installation in real-time.

This endpoint always returns a Server-Sent Events stream (text/event-stream).

If an Apply Changes is currently in progress, logs are streamed live in an interleaved format with step_id for each log line, supporting parallel deployments. The connection remains open until the installation completes or the client disconnects.

If no Apply Changes is currently running, returns an immediate exit event with "no install in progress" message and closes the stream.

For historical logs of completed installations, use /api/v1/installations/{id}/logs instead.

Request
URI
GET
https://{opsmanager-installation}/api/v1/current_installation_logs
COPY
Responses
200

OK

Operation doesn't return any data structure

400

Setup is not completed

Returns RequireSetupCompleted of type(s) application/json
{
    "errors": {
        "errors": [
            "string"
        ]
    }
}
object
errors
Optional

errors


401

Unauthorized

Returns UnauthorizedResponse of type(s) application/json
{
    "errors": {
        "errors": [
            "string"
        ]
    }
}
object
errors
Optional

errors


403

Forbidden

Returns ForbiddenResponse of type(s) application/json
{
    "errors": {
        "errors": [
            "string"
        ]
    }
}
object
errors
Optional

errors


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/v1/current_installation_logs