diff options
author | Jonathan Weth <git@jonathanweth.de> | 2020-07-29 17:49:15 +0200 |
---|---|---|
committer | Jonathan Weth <git@jonathanweth.de> | 2020-07-29 17:49:15 +0200 |
commit | c1b88b5944156a7b5e7f34abe735047cff7092d7 (patch) | |
tree | f49db13af2ab8c3d016bd96f252b2333e125755a | |
parent | 25ab2800a5818e91db6c0ef545c90a8f05e8e187 (diff) | |
download | RWA.Support.SessionService-c1b88b5944156a7b5e7f34abe735047cff7092d7.tar.gz RWA.Support.SessionService-c1b88b5944156a7b5e7f34abe735047cff7092d7.tar.bz2 RWA.Support.SessionService-c1b88b5944156a7b5e7f34abe735047cff7092d7.zip |
Remove legacy API documentation
-rw-r--r-- | API.rst | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/API.rst b/API.rst deleted file mode 100644 index 9cec20b..0000000 --- a/API.rst +++ /dev/null @@ -1,69 +0,0 @@ -API documentation for Session Service -===================================== - -General information -------------------- - -Bus name: ``org.ArcticaProject.RWA`` - -Object name: ``/RWA`` - -Methods -------- - -start -^^^^^ -Start a new remote session and register it in RWA - -**Arguments:** none - -**Return type:** string (JSON) - -**Structure of returned JSON (success):** - -:: - - {"status": "success", "id": <pid>, "url": "<url>", "pin": <pin>} - -**Structure of returned JSON (error):** - -:: - - {"status": "error"} - - -status -^^^^^^ -Return the status of a session - -.. note:: - - This uses the last status version got by the update service in the background. - -**Arguments:** pid/id (integer) - -**Return type:** string (JSON) - - -**Structure of returned JSON:** - -:: - - {"id": <pid>, "status": <status>} - -**Possible status options:** - -- ``running``: The session is running and ready for connecting. -- ``joined``: The session is running and a the remote connected to the session. - -refresh_status -^^^^^^^^^^^^^^ -Same as ``status``, but updates status from Django before returning it here. - -stop -^^^^ -Stop a remote session - -**Arguments:** pid/id (integer) - -**Return type:** none |