Skip to content
Snippets Groups Projects
Commit ee86645b authored by inertia's avatar inertia
Browse files

Merge branch '8-find-comments-params' into 'develop'

#8 parameter fix

Closes #8

See merge request !57
parents 45bc486d 146d3002
No related branches found
No related tags found
2 merge requests!61Deploy to Production,!57#8 parameter fix
......@@ -237,11 +237,12 @@
- '[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)'
- api_method: database_api.find_comments
purpose: Search for comments.
parameter_json: '{"start":[["",""]], "limit":0, "order":""}'
purpose: Search for comments by author/permlink.
parameter_json: '{"comments":[["author", "permlink"]]}'
expected_response_json: '{"comments":[]}'
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:
- '[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)'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment