summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil <phil.buschmann@tum.de>2018-07-25 18:54:17 +0200
committerPhil <phil.buschmann@tum.de>2018-07-25 18:54:17 +0200
commit6042f0bbcd0e9783a95bc7eb254b05312fbda6d0 (patch)
tree4f2d653fd21ae87fe2665238d9a309008479265a
parent5e5750f669a42cfd392bafc00238a6d879ab4556 (diff)
downloadgnunet-rest-api-6042f0bbcd0e9783a95bc7eb254b05312fbda6d0.tar.gz
gnunet-rest-api-6042f0bbcd0e9783a95bc7eb254b05312fbda6d0.zip
added identity get
-rw-r--r--source/identity.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/source/identity.rst b/source/identity.rst
index 501745a..21c1714 100644
--- a/source/identity.rst
+++ b/source/identity.rst
@@ -49,6 +49,24 @@ GET Requests
49 49
50| 50|
51 51
52+--------------------+----------------------------------------------------+
53|**Title** |Returns only a specific identity |
54+--------------------+----------------------------------------------------+
55|**URL** |:literal:`/identity?name='name'` |
56+--------------------+----------------------------------------------------+
57|**Method** |**GET** |
58+--------------------+----------------------------------------------------+
59|**URL Params** |none |
60+--------------------+----------------------------------------------------+
61|**Data Params** |none |
62+--------------------+----------------------------------------------------+
63|**Success Response**|[{"pubkey":"*public_key*", "name":"*name*"}] |
64+--------------------+----------------------------------------------------+
65|**Error Response** |{"error":"*error_desc*"} |
66+--------------------+----------------------------------------------------+
67
68|
69
52+--------------------+---------------------------------------------------------------+ 70+--------------------+---------------------------------------------------------------+
53|**Title** |Returns default identity for specific subsystem | 71|**Title** |Returns default identity for specific subsystem |
54+--------------------+---------------------------------------------------------------+ 72+--------------------+---------------------------------------------------------------+