Actions
Feature #3779
openExpose console access through the API
Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Description
As a user I'd like to open the console through the API. Note that this is very similar as how the current UI does it.
Technically I'd see it something like this:- The user calls PUT /api/hosts/:id/console
- Foreman returns the following information
- URL
- Protocol (ws:// or ws:///)
- Host (I think foreman should proxy itself, but this prepares it in case you want to split the proxy to its own host or if you're behind a load balancer and need to connect to a specific foreman host)
- Port
- Display type (VNC or spice)
- Password
- URL
This will allow me to build extra functionality in our own product, but tools like Hammer could use it as well.
Actions