summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil <phil.buschmann@tum.de>2018-07-26 02:37:05 +0200
committerPhil <phil.buschmann@tum.de>2018-07-26 02:37:05 +0200
commit974ec01a83adc04d296ff9508c5ae1db4f4d379b (patch)
treeb60d0c79fe6046f0bb6ced246b259236a7715ad8
parent6042f0bbcd0e9783a95bc7eb254b05312fbda6d0 (diff)
downloadgnunet-rest-api-974ec01a83adc04d296ff9508c5ae1db4f4d379b.tar.gz
gnunet-rest-api-974ec01a83adc04d296ff9508c5ae1db4f4d379b.zip
-wip documentation
-rw-r--r--source/gns.rst4
-rw-r--r--source/identity.rst2
-rw-r--r--source/namestore.rst6
3 files changed, 9 insertions, 3 deletions
diff --git a/source/gns.rst b/source/gns.rst
index 70ac34c..aa76b88 100644
--- a/source/gns.rst
+++ b/source/gns.rst
@@ -1,11 +1,11 @@
1GNUnet GNS API Service 1GNUnet GNS API Service
2====================== 2======================
3 3
4Variables in single quotes ``'...'`` can and must be changed according to your specific case. 4Variables in single quotes ``'...'`` can or must be changed according to your specific case.
5 5
6``name`` is the name of an identity. 6``name`` is the name of an identity.
7 7
8``record_type`` is the record_type integer, the system returns. For example, ``0`` = ANY, ``65536`` = PKEY. For more information look into the source code of "gnunet_gnsrecord_lib.h". 8``record_type`` is the record_type. For example, ANY, PKEY... For more information look into the source code of "gnunet_gnsrecord_lib.h".
9 9
10============ 10============
11GET Requests 11GET Requests
diff --git a/source/identity.rst b/source/identity.rst
index 21c1714..ee2b1e7 100644
--- a/source/identity.rst
+++ b/source/identity.rst
@@ -1,7 +1,7 @@
1GNUnet Identity API Service 1GNUnet Identity API Service
2=========================== 2===========================
3 3
4Variables in single quotes ``'...'`` can and must be changed according to your specific case. 4Variables in single quotes ``'...'`` can or must be changed according to your specific case.
5 5
6``pubkey`` or ``public_key`` is the public key of an identity. 6``pubkey`` or ``public_key`` is the public key of an identity.
7 7
diff --git a/source/namestore.rst b/source/namestore.rst
new file mode 100644
index 0000000..39d21d3
--- /dev/null
+++ b/source/namestore.rst
@@ -0,0 +1,6 @@
1GNUnet Namestore API Service
2===========================
3
4Variables in single quotes ``'...'`` can or must be changed according to your specific case.
5
6namestore add: identity_name, record_name, record_type, expiration_time, value, flag(?)