devportal
devportal copied to clipboard
Community - Fix Reputation API Definitions
While I was debugging other reputation problem (https://github.com/steemit/steem/issues/3241), I found that there are several errors in the current definition.
-
accounts:string array
=>account_lower_bound:string
-
curl -s --data '{"jsonrpc":"2.0", "method":"reputation_api.get_account_reputations", "params": {"account_lower_bound": "steem"}, "id":1}
https://api.steemit.comdoesn't work! It should be
curl -s --data '{"jsonrpc":"2.0", "method":"reputation_api.get_account_reputations", "params": {"account_lower_bound": "steem", "limit":1}, "id":1}' https://api.steemit.com` - other minor errors and update.
I'll submit PR.