From a6115f21a121e954fa2714753b16c81bfcc05989 Mon Sep 17 00:00:00 2001 From: Jonathan Weth Date: Mon, 27 Jul 2020 11:43:43 +0200 Subject: Ensure that only one just can run Close #6 --- API.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'API.rst') diff --git a/API.rst b/API.rst index dd67cf1..9cec20b 100644 --- a/API.rst +++ b/API.rst @@ -19,11 +19,17 @@ Start a new remote session and register it in RWA **Return type:** string (JSON) -**Structure of returned JSON:** +**Structure of returned JSON (success):** + +:: + + {"status": "success", "id": , "url": "", "pin": } + +**Structure of returned JSON (error):** :: - {"id": , "url": "", "pin": } + {"status": "error"} status -- cgit v1.2.3