installer

POST /v2/clusters/{cluster_id}/logs

Changed on

Agent API to upload logs.

Request

  • Base URL
    http://api.openshift.com/api/assisted-install
  • URL
    http://api.openshift.com/api/assisted-install/v2/clusters/{cluster_id}/logs
  • Auth
    API key in header X-Secret-Key

Path parameters

cluster_idstring uuid required

The cluster whose logs should be uploaded.

Query parameters

logs_type'host' | 'controller' required

The type of log file to be uploaded.

infra_env_idstring uuid

The infra-env ID of the host.

host_idstring uuid

The host whose logs should be uploaded.

Request body multipart/form-data

upfilestring binary

The log file to be uploaded.

Response

Success.

Changes