From df3ded315cd2e7fced36671b503ea5f4f2c76530 Mon Sep 17 00:00:00 2001 From: tim Date: Fri, 25 Nov 2016 14:13:46 +0100 Subject: [PATCH] Remove retrieve vote by vote_id After talking to @r-marques and @libscott: - A vote's id is currently generated by RethinkDB - To verify a vote, the signature and the pubkey should be used - Vote's id will be removed from the "external" vote model in the future - Nobody would want to retrieve a vote, but rather a vote by block In case of the HTTP API, this means that a /votes/vote_id endpoint is not feasible to implement. --- .../source/drivers-clients/http-client-server-api.rst | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docs/server/source/drivers-clients/http-client-server-api.rst b/docs/server/source/drivers-clients/http-client-server-api.rst index d84c0991..98df59ed 100644 --- a/docs/server/source/drivers-clients/http-client-server-api.rst +++ b/docs/server/source/drivers-clients/http-client-server-api.rst @@ -636,14 +636,8 @@ Blocks Votes -------------------------------- -.. http:get:: /votes/{vote_id} - - Descriptions: TODO - .. http:get:: /votes?block_id={block_id} Descriptions: TODO .. http:get:: /votes?block_id={block_id}&voter={voter} - - Descriptions: TODO