Skip to content

Updates API

Alex O. Karasulu edited this page Mar 9, 2018 · 3 revisions

To fetch history of MH updates, use this REST endpoint:

GET https://{Peer-IP}:8443/rest/v1/system/updates_history

To update MH, use this REST endpoint (updates both Console and MH):

POST https://{Peer-IP}:8443/rest/v1/system/update_management

To update RH, use this REST endpoint:

POST https://{Peer-IP}:8443/rest/v1/peer/hosts/{RH-ID}/update

Response status 200 means update has been performed successfully, 204 means no updates.

Clone this wiki locally