[lxc-devel] [lxd/master] Updated documentation of /cluster/members/<name> to have correct keys

felix-engelmann on Github lxc-bot at linuxcontainers.org
Wed Dec 12 13:30:17 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 428 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20181212/af6a89d6/attachment.bin>
-------------- next part --------------
From 1aaabcbda2159bb4aee15cbbe7f325181db74057 Mon Sep 17 00:00:00 2001
From: Felix Engelmann <felix-lxd at nlogn.org>
Date: Wed, 12 Dec 2018 14:28:20 +0100
Subject: [PATCH] Updated documentation of /cluster/members/<name> to have
 correct keys

Signed-off-by: Felix Engelmann <felix-lxd at nlogn.org>
---
 doc/rest-api.md | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/rest-api.md b/doc/rest-api.md
index 92b5215f7b..ffed692874 100644
--- a/doc/rest-api.md
+++ b/doc/rest-api.md
@@ -2978,10 +2978,11 @@ Return:
 Return:
 
     {
-        "name": "lxd1",
+        "server_name": "lxd1",
         "url": "https://10.1.1.101:8443",
         "database": true,
-        "state": "Online"
+        "status": "Online",
+        "message":"fully operational"
     }
 
 #### POST


More information about the lxc-devel mailing list