summaryrefslogtreecommitdiff
path: root/api-common.rst
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-01-18 16:23:36 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-01-18 16:23:36 +0100
commit3dc2005d296e72bd4c22e9ccf9dea0ac73dcab01 (patch)
treeda2b795e7d78dc0bf6e1b171057200af002667ab /api-common.rst
parent50aaba11517b67d00819238ac67c6586f469de84 (diff)
downloaddocs-3dc2005d296e72bd4c22e9ccf9dea0ac73dcab01.tar.gz
docs-3dc2005d296e72bd4c22e9ccf9dea0ac73dcab01.tar.bz2
docs-3dc2005d296e72bd4c22e9ccf9dea0ac73dcab01.zip
remove redundant header info
Diffstat (limited to 'api-common.rst')
-rw-r--r--api-common.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/api-common.rst b/api-common.rst
index a6a41038..d2bf3a50 100644
--- a/api-common.rst
+++ b/api-common.rst
@@ -93,6 +93,7 @@ Common encodings
This section describes how certain types of values are represented throughout the API.
.. _base32:
+.. _tsref-type-Base32:
Binary Data
^^^^^^^^^^^
@@ -104,6 +105,9 @@ Large numbers
Large numbers such as RSA blinding factors and 256 bit keys, are transmitted as other binary data in Crockford Base32 encoding.
+
+.. _tsref-type-Timestamp:
+
Timestamps
^^^^^^^^^^
Timestamps are represented in JSON as a string literal `"\\/Date(x)\\/"`, where `x` is the decimal representation of the number of seconds past the Unix Epoch (January 1, 1970). The escaped slash (`\\/`) is interpreted in JSON simply as a normal slash, but distinguishes the timestamp from a normal string literal. We use the type "date" in the documentation below. Additionally, the special strings "\\/never\\/" and "\\/forever\\/" are recognized to represent the end of time.