Table of Contents |
---|
...
Operation | Method | URL | Response | Example | ||
---|---|---|---|---|---|---|
Authenticate | POST | http://host/en/omk/admin/login | http://uburnto.opmantek.net/en/omk/admin/login
|
...
cluster_id
is the uuid of which opHA server the node belongs to.
E.x.
Create Remote | POST | http://host/en/omk/admin/api/v2/nodes.json | It will return the json node, the same structure that the CREATE. | http://uburnto.opmantek.net/en/omk/admin/api/v2/nodes.json It will return the same output as for a local node:
|
...
cluster_id
is the uuid of which opHA server the node belongs to.
E.x.
Update Remote | PUT | http://host/en/omk/admin/api/v2/nodes/node_uuid.json | It will return the json node, the same structure that the CREATE. | http://volla.opmantek.net:6042/en/omk/admin/api/v2/nodes/6ce5fd5c-d703-4d03-b36c-b8e01439a9f2.json
|
...