-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
steemd-compatible APIs #19
Comments
The full set of fields from steemd:
Condenser also makes heavy use of these calculated 'stats':
The steemd response is quite verbose, so the goal is to get rid of any rarely-used fields, keep widely-used fields, and replace a few with derived data which would be more convenient anyway. |
Based on Not used
Not used - potentially important
Important - core fields
Important - derived
In use - to replace/remove?
Condenser derived fields
|
For busy.org: Here are the fields we are using currently: We plan to use this ones (could be hidden if using default value): We also use these ones but can move if necessary: |
Based on
ONLY ABOVE IS USED
NOT USED YET
USED
USED |
@bonustrack, @feruzm thanks for the input! Here's some more questions:
Currently, hive sums these 3 fields. It's just
What do you guys use these for? Are you interested in raw amount or just a boolean "payout_declined"/"fully_powered_up"?
|
I would transition busy.org away from using id unless there is a compelling reason not to. |
Well, I imagine some UIs might offer different set of reward sharing and removing those kinda feels limiting some possibilities but if it is overhead we might as well not include that or change as suggested
|
@feruzm: with regards to Do you need all votes or would top 50 with extra stats (total votes, net votes, vote state of current user) be enough? |
When user taps on number of votes additional screen gives them some details:
… On 8 Dec 2017, at 20:52, roadscape ***@***.***> wrote:
@feruzm: with regards to active_votes, how do you make use reputation/time values?
Do you need all votes or would top 50 with extra stats (total votes, net votes, vote state of current user) be enough?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@feruzm is that option available for "post lists" or only on viewing specific post? |
@roadscape it is on all pages, post, list, profile blog, etc. |
It seems the best way forward is to create a compatibility layer which will be mostly a drop-in replacement, to give devs more time to switch to the new & improved API. #41 is relevant to backwards-compatible pagination. If this will be available in 1.0 or shortly after is TBD. It should probably be considered deprecated from the start. |
Ok, for 1.0 it's now a requirement to support the legacy API request/response formats. Here are the ones I've identified:
There's an issue with |
I've made an issue in the steemd repo regarding removal of the 6 deprecated queries: steemit/steem#1903 -- please comment there is any are still in use. |
Request formats and functionality now implemented for:
Need to fix non-standard request format (takes array, not dict):
TODO: For the above calls, implement steemd-formatted responses. To implement:
Not used:
|
The following have been implemented in hive and tested to work with condenser.
Closing; any minor issues w/ API can be filed under "frontend implementation" #33 |
Responses should be as close as possible to steemd, making it easy for devs to switch to hive APIs.
The text was updated successfully, but these errors were encountered: