API specification of console access

While working on Feature #3779: Expose console access through the API - Foreman I realized I
should define a proper API for console access.

Proposal:

{
"console": {
"host": "foreman.example.org",
"port": 5900,
"password": "something",
"type": "vnc"
}
}

Now I'm unsure about what fields spice defines. I've seen secure_port
for example.

A WIP PR is on https://github.com/theforeman/foreman/pull/1163 which
works for VNC. I'd appreciate any feedback because it would be a useful
thing for us to have.

Ping?

ยทยทยท On Thu, Jan 16, 2014 at 06:59:37PM +0100, Ewoud Kohl van Wijngaarden wrote: > While working on http://projects.theforeman.org/issues/3779 I realized I > should define a proper API for console access. > > Proposal: > > { > "console": { > "host": "foreman.example.org", > "port": 5900, > "password": "something", > "type": "vnc" > } > } > > Now I'm unsure about what fields spice defines. I've seen secure_port > for example. > > A WIP PR is on https://github.com/theforeman/foreman/pull/1163 which > works for VNC. I'd appreciate any feedback because it would be a useful > thing for us to have.