mogan/api-ref/source/v1/instance_serial_console.inc
liusheng ddf694a7c8 Expose the API of getting console info
Change-Id: I41c95d924b29885148077e418e0453e3ed001c9e
Partially-Implements: bp console-support
2017-04-01 11:44:32 +08:00

36 lines
658 B
ReStructuredText

.. -*- rst -*-
========================
Instance Serial Console
========================
Instances Serial Console can be managed through serial_console sub-resource.
Instance Serial Console Summary
===============================
.. rest_method:: GET /v1/instances/{instance_uuid}/serial_console
Get the console url info of the Instance.
Normal response code: 200
Request
-------
.. rest_parameters:: parameters.yaml
- instance_uuid: instance_ident
Response
--------
.. rest_parameters:: parameters.yaml
- console: console_info
**Example instance network:**
.. literalinclude:: samples/instance_console/instance-serial-console-get.json