User Tools

Site Tools


ov:lavarest

The following REST interfaces are available on the Lava module:

  1. GET: /status/{id: string}/{where: string}
    • body: empty
    • return value: HTTP 200, xml
        <object>
          <id>{id: string }</id>
          <host>{where: string}</host>
          <status>{running / not running}</status>
        </object>
  1. POST: /start/{id: string}/{where: string}
    • It starts the object {id} on the host {where} using the configuration in the request body.
    • body: xml
      <some tags>...</some tags>
    • return value: HTTP 201, empty body
  1. PUT: /stop/{id: string}/{where: string}
  • It stops the object {id} on the host {where}
  • body: empty
  • return value: HTTP 200, empty body
  1. PUT: /migrate/{id: string}/{from: string}/{to: string}
  • It migrates the object {id} from the host {from} to the host {to}
  • body: empty
  • return value: HTTP 200, empty body
ov/lavarest.txt · Last modified: 2018/04/11 09:53 by 130.251.17.67