aboutsummaryrefslogtreecommitdiff
path: root/doc/REST-interface.md
diff options
context:
space:
mode:
authorJonas Schnelli <[email protected]>2014-12-16 10:50:44 +0100
committerJonas Schnelli <[email protected]>2015-07-05 15:48:33 +0200
commitc45c7ea0fa38fda453c596bd3161c9362d689381 (patch)
treea91f63201dd6fe52ea55209eeb0b75499f9cdcfa /doc/REST-interface.md
parentMerge pull request #6329 (diff)
downloaddiscoin-c45c7ea0fa38fda453c596bd3161c9362d689381.tar.xz
discoin-c45c7ea0fa38fda453c596bd3161c9362d689381.zip
[REST] add JSON support for /rest/headers/
Diffstat (limited to 'doc/REST-interface.md')
-rw-r--r--doc/REST-interface.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/REST-interface.md b/doc/REST-interface.md
index 2219ceb65..1ba01362d 100644
--- a/doc/REST-interface.md
+++ b/doc/REST-interface.md
@@ -26,13 +26,11 @@ The HTTP request and response are both handled entirely in-memory, thus making m
With the /notxdetails/ option JSON response will only contain the transaction hash instead of the complete transaction details. The option only affects the JSON response.
####Blockheaders
-`GET /rest/headers/<COUNT>/<BLOCK-HASH>.<bin|hex>`
+`GET /rest/headers/<COUNT>/<BLOCK-HASH>.<bin|hex|json>`
Given a block hash,
Returns <COUNT> amount of blockheaders in upward direction.
-JSON is not supported.
-
####Chaininfos
`GET /rest/chaininfo.json`