mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user