installer
POST /v2/clusters/{cluster_id}/logs
Changed onAgent API to upload logs.
Request
- Base URLhttp://api.openshift.com/api/assisted-install
- URLhttp://api.openshift.com/api/assisted-install/v2/clusters/{cluster_id}/logs
- AuthAPI 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
Response
Success.
Changes
- info
added the non-success response with the status
- info
- info
removed the non-success response with the status
- info