Skip to content
Snippets Groups Projects

#8 parameter fix

Merged inertia requested to merge 8-find-comments-params into develop
1 file
+ 4
3
Compare changes
  • Side-by-side
  • Inline
@@ -237,11 +237,12 @@
@@ -237,11 +237,12 @@
- '[beem](https://beem.readthedocs.io/en/latest/beem.blockchain.html#beem.blockchain.Blockchain.find_change_recovery_account_requests)'
- '[beem](https://beem.readthedocs.io/en/latest/beem.blockchain.html#beem.blockchain.Blockchain.find_change_recovery_account_requests)'
- '[hive-ruby](https://www.rubydoc.info/gems/hive-ruby/Hive/Api)'
- '[hive-ruby](https://www.rubydoc.info/gems/hive-ruby/Hive/Api)'
- api_method: database_api.find_comments
- api_method: database_api.find_comments
purpose: Search for comments.
purpose: Search for comments by author/permlink.
parameter_json: '{"start":[["",""]], "limit":0, "order":""}'
parameter_json: '{"comments":[["author", "permlink"]]}'
expected_response_json: '{"comments":[]}'
expected_response_json: '{"comments":[]}'
curl_examples:
curl_examples:
- '{"jsonrpc":"2.0", "method":"database_api.find_comments", "params": {"start":[["temp","test1"],["temp","foobar"]], "limit":10, "order":"by_account"}, "id":1}'
- '{"jsonrpc":"2.0", "method":"database_api.find_comments", "params": {"comments":[["hiveio", "around-the-hive-reflections"]]}, "id":1}'
 
- '{"jsonrpc":"2.0", "method":"database_api.find_comments", "params": {"comments":[["alice", "a-post-by-alice"]]}, "id":1}'
client_docs:
client_docs:
- '[hive-js](https://gitlab.syncad.com/hive/hive-js/tree/master/doc#get-content)'
- '[hive-js](https://gitlab.syncad.com/hive/hive-js/tree/master/doc#get-content)'
- '[beem](https://beem.readthedocs.io/en/latest/apidefinitions.html#get-content)'
- '[beem](https://beem.readthedocs.io/en/latest/apidefinitions.html#get-content)'
Loading