Steem Data Services (SDS) / Update Notice / Version 0.1.9

in hive-102132 •  last year  (edited)

Intro

SDS will be updated to version 0.1.9 in the coming weeks. The new version is already running on the Dev Server (sds0.steemworld.org).

If your app uses SDS, please read the update details provided in this post and check compatibility by switching to that instance to ensure a smooth transitioning.

Update Details

accounts_api


   [ ! ] getAccountsSortedBy replaces listAccounts
   [ ! ] getAccountsExt replaces getAccountsFields

  • New methods for retrieving extended account data (includes many more fields):

       - getAccountExt
       - getAccountsExt
       - getAccountExtById
       - getAccountsExtById

  • New method getAccountCountByVESTSRange which returns the number of accounts that own/delegated/received between :fromVESTS and :toVESTS vesting shares

  • New method getAccountsByPrefix that returns the extended Steem account data for accounts whose name starts with :prefix

blocks_api


chain_api


  • New method getDailyAverageShareRates that returns a list of all historical vesting share rates (daily average STEEM per VEST), grouped by day

  • New method getAccountNamesByPrefix that returns a list of all account names starting with :prefix

communities_api


   [ ! ] New parameter observer in method getCommunitiesBySubscriber

  • New fields returned when observer was set:

    - observer_role
    - observer_title

  • New fields returned for all community data requests:

    - account_reputation

content_search_api


feeds_api


   [ ! ] Field reply_count was renamed to children (as in posts_api)

  • New methods to get promoted posts:

    - getActivePostsByPromoted
    - getActivePostsByTagPromoted
    - getActiveCommunityPostsByPromoted
    - getActiveCommunityPostsByTagPromoted

    The post promotion logic in SDS has recently been improved so that the promoted amount now also includes the burned payout (by giving part of the total payout to the null beneficiary). As this change has just been implemented today, it might take a few days until all promoted posts will be returned with the correct amount.

  • New fields returned when observer was set:

    - observer_follows_author
    - observer_ignores_author
    - observer_resteem
    - observer_role
    - observer_title
    - observer_vote_percent
    - observer_vote_rshares

  • New fields returned in all methods:

    - author_reputation
    - author_role
    - author_title
    - cashout_time
    - json_images
    - max_accepted_payout
    - percent_steem_dollars
    - promoted

  • New field json_images

    Contains a JSON string with an array of all found image links. This enables us to show preview images without parsing the body. For now, the json_metadata.image (which is not getting filled by all Steem apps) will be returned as before for compatibility reasons.

    Extracting preview images from video links does currently not work for all major video platforms, but this will be fixed in one of the next SDS releases.

notifications_api


  • A completely new set of methods for retrieving account notifications. The notifications can be filtered by following account properties:

    - minSP
    - minReputation
    - minVoteAmount

  • Filters can be set for all notification types at once with filter.default or individually for each type with:

    - filter.follow
    - filter.mention
    - filter.reply
    - filter.resteem
    - filter.vote

  • To exclude one or more notification types completely, you can set exclude to 1 or true. For example, to exclude all vote notifications:

    filter.vote.exclude = 1


posts_api


   [ ! ] New parameter observer in following methods:

       - getPost
       - getPostById
       - getPostWithReplies
       - getPostReplies
       - getRootPostsByAuthor

  • New fields returned when observer was set:

    - observer_follows_author
    - observer_ignores_author
    - observer_resteem
    - observer_role
    - observer_title
    - observer_vote
    - observer_vote_percent
    - observer_vote_rshares

  • New fields returned in all methods:

    - json_images
    - parent_link_id
    - payout

  • New field json_images

    Contains a JSON string with an array of all found image links. This enables us to show preview images without parsing the body. For now, the json_metadata.image (which is not getting filled by all Steem apps) will be returned as before for compatibility reasons.

    Extracting preview images from video links does currently not work for all major video platforms, but this will be fixed in one of the next SDS releases.

system_api


witnesses_api


   [ ! ] New parameter observer in following methods:

       - getWitness
       - getWitnessesByRank

  • New field 'observer_votes_witness' returned when observer was set

Update Status

  • [x] Installing the new version on sds0
  • [x] Live testing the version on sds0
  • [x] Redistributing to sds and sds1 instances

Have a smooth transitioning! Steem on ~ 🚀


If you like what I do and you want me to be your Steem witness,
please vote for @steemchiller on steemit.com/~witnesses or steemworld.org/witnesses.


Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  
  ·  last year (edited)

Vielen Dank für die Hinweise und deine Arbeit am SDS.
Ich habe schon ein wenig von den neuen Methoden mitbekommen und insbesondere die neue getAccountsByPrefix-Abfrage für die Suche nach Autoren verwendet. Das war/ist sehr hilfreich.

Die content_search_apiist ja schon seit einiger Zeit in Erprobung und hat sich aus meiner Sicht auch sehr bewährt :-)

Bei den Methoden zu den Promoted Posts ist mir aufgefallen, dass diese anders gehandhabt werden, als von Hivemind. Nach welchen Kriterien werden denn die Posts im SDS als Promoted Post eingestuft?

Das Feld json_imagesfinde ich klasse! Für das Durchsuchen des gesamten Posts müsste ich sonst den vollständigen body extra abfragen (da die feeds_api ein Limit dafür hat). Mit dem neuen Feld kann ich mir das ersparen. Außerdem eröffnet es gleich neue Darstellungsmöglichkeiten bei der Post-Vorschau :-))

Insgesamt mehr als eine gelungene Weiterentwicklung!

Einen vielleicht etwas aufwändigeren Wunsch hätte ich noch: Beim feeds_api und content_search_api wäre ein Parameter zum maßgeblichen Feld bei der Sortierung richtig gut. Zum Beispiel last_replywenn ich die results nach dem letzten Kommentar im Post sortiert haben möchte.
Ich meine, dass du sowas in der Richtung schon mal angedeutet hattest. Vielleicht lässt sich das noch umsetzen :-)

Vielen Dank für das nette Feedback!

Nach welchen Kriterien werden denn die Posts im SDS als Promoted Post eingestuft?

Ich habe die Logik gerade heute nochmal überarbeitet. Für alle von jetzt an erstellten Posts enthält das Feld promoted (nach dem auch in der feeds_api sortiert wird) zusätzlich den an Beneficiary null gespendeten Betrag.

Es wird also der verbrannte Anteil des Auszahlungsbetrags zu dem von der Steem-Node gelieferten promoted Betrag addiert.

Zum Beispiel last_reply wenn ich die results nach dem letzten Kommentar im Post sortiert haben möchte.

Ich erinnere mich, dass ich so etwas mal hinzufügen wollte. Mal schauen, ob ich das noch in die jetzige Version bringen kann, ansonsten müssen wir bis zum nächsten Release warten.

Es wird also der verbrannte Anteil des Auszahlungsbetrags zu dem von der Steem-Node gelieferten promoted Betrag addiert.

Okay, dann wird es klar. Die Nodes liefern nur Posts, die SBD an @null gesendet haben, als promoted aus. Beim SDS kommen noch die Beneficiaries an @null dazu. Deshalb sind es dort so viele Posts.
Wegen der (aus diversen Gründen) verbreiteten Beneficiary an @null würde ich persönlich die Node-Variante bevorzugen.

Mal schauen, ob ich das noch in die jetzige Version bringen kann, ansonsten müssen wir bis zum nächsten Release warten.

Ich bin gespannt... kann aber auch warten. Es gibt ohnehin genug zu tun :-)

Wegen der (aus diversen Gründen) verbreiteten Beneficiary an @null würde ich persönlich die Node-Variante bevorzugen.

Mir gefällt es deutlich besser, wie es jetzt ist. Es fühlt sich irgendwie auch richtiger an, alle Autoren aufzulisten, die bereit dazu sind, einen Teil ihres Einkommens (egal ob in flüssiger oder noch nicht ausgezahlter Form) zu verbrennen.

So in etwa würde das Ergebnis aktuell ohne die Änderung aussehen... ^^ :
https://steemit.com/promoted

Ja, im Moment sieht es da ziemlich mau aus.
Die Möglichkeit, "Werbung" in Form eines Beitrags auf der Plattform zu schalten und dafür zu bezahlen, kommt aktuell wohl nicht so gut an. Ich könnte mir auch vorstellen, dass dies an der weng prominenten Einbindung der promoteten Posts liegt. Die müssten eigentlich eher direkt auf der Startseite erscheinen und nicht auf einer gesonderten Seite, die man nicht mal per Klick erreicht...

Thank you for listing all the addition and changes. All these new additions are very helpful.

Posted using SteemPro Mobile

Thank you very much for your great ideas and feature requests! There is no better way for taking SDS to the next level than having someone like you building professional, feature-rich Steem apps that actively use and test the APIs ;)

  ·  last year (edited)

Danke Chiller , ich weis natürlich nicht was Du hier gemacht hast , ich beneide Euch um das Verständnis dazu .
Die Steemblockchain zu nutzen ohne Dein Baby Steemworld wäre grausame !
Ich kann mich noch gut daran erinnern als ich Steemworld entdeckte es war irgendwie spannend weil ich null Plan hatte was das für Zahlen waren , ich fragte mich was sind das für Dollar beträgt meine Neugier war geweckt erst dann entdeckte ich Steemit und dann ging alles schnell anmelden mit email und TELNummer und eine Woche später abends kurz vor halb neun war ich dabei.
Steemworld hat mich hierhin gelockt 👍
VgA

Thank you very much sir we are happy to see these updates from your side
i wish it will be helpfull in our chat web

Thank you for this update! Will check to see if if some changes are needing from my end

Awesome update! I think I should update my Steemit-Search project to use the new APIs. Thank you.

  ·  last year 

The refinement of the interface is very helpful for the extension of the application, thank you!

👍


(Published through Steemit Dapp https://boylikegirl.club)

Hi Steemchiller,

I've noticed some discrepancy between what I'm seeing on Steemworld and there Steemit website, and I was wondering if I had cause for concern.

Thanks for everything.

Hi William, steemit.com seems to have some server issues recently and pages load very slow (sometimes impossible to load anything). Steemworld uses a different data source, which is always in sync with the blockchain.

I hope that they will find a way to fix those annoying issues soon.

I hope that they will find a way to fix those annoying issues soon.

Weißt dazu mittlerweile etwas mehr, also wer sich darum kümmert und ob das Problem bei denjenigen welche das Problem beheben könnten bekannt ist? Offensichtlich liegt es an api.steemit.com wie wir jetzt wissen. Wäre super, wenn du dazu vielleicht Neuigkeiten oder zumindest Infos zum aktuellen Stand der Dinge hättest.

Wir Witnesses hören dazu genauso wenig wie ihr. Beschwerden gab es schon viele und wurden von uns an @ety001 weitergeleitet. Es liegt meiner Meinung nach nicht an Hivemind sondern an einer neuen Caching-Logik, welche die zwischengespeicherten Inhalte nicht richtig aktualisiert.

Das geht jetzt schon Monate so und war auch ein Grund für mich die fast fertiggestellte SCT-Entwicklung erstmal abzubrechen, da ich einfach nicht mehr richtig testen konnte.

Danke für die Antwort! Hei, das hört sich nicht so gut an, so wie @stef1 in einem Kommentar meinte: "looks like nobody cares to fix it."

So sieht es nach außen aus. Mann, Mann, Mann... Pflegte mein Schwager in solchen Situationen immer zu sagen, z.B. wenn sein Auto ins Schleudern kam. Hab's erlebt, auf verschneiter Autobahn mit Sommerreifen. Aber irgendwie kam er immer durch. Hoffen wir mal, das es hier auch so ist.

So geht Vertrauen verloren, ohne SteemWorld wäre es grausam gerade bei direkten Interaktionen
VgA

Thank you.

Dickes Mercy für das Update, echt Klasse! Aber auch schrecklich :-) jetzt bekam ich doch wieder Lust, an meiner Suchfunktion weiter zu basteln. Wird die Woche, hoffe ich mal, wieder online gehen.

Das Feld payout ist mir ein kleines Rätsel, der Betrag stimmt nicht mit den $ die auf steemit angezeigt werden überein und einen fixen Umrechnungsfaktor scheint es nicht zu geben. Sind das die sogenannten STU? Gäbe es eine einfache Möglichkeit, die SDS-Rückgabe in den $-Wert vom Frontend umzurechen?

Thanks for this brilliant update. Also thanks for your contribution with steem development. I hope your new version will be helpful for all steem users and developers. All the best.

Thank you very much for your work. This is a step forward towards the development of our platform. I wish you success.

If you like what I do and you want me to be your Steem witness,
please vote for @steemchiller on steemit.com/~witnesses

Well, yes I do — and voted you as my Steem witness, though my vote ain't of much value right now.

Erm... My knowledge about the tech side is like 3 out of 10. But still, I can appreciate your work and tech savviness.

I joined somewhere in the start of October. Got some mentoring and explored most of the platform on my own. So my opinion about you is totally unbiased. I genuinely like your contribution towards this platform (a newbie's perspective) and I find your steemworld.org very helpful. I don't know, how people used to manage before this development.

So, I have 1 very basic inquiry... I know it's quite childish, still I'm gonna ask you:

Is there any code for underline text in markdown as there is none that I could find :(

Is there any code for underline text in markdown as there is none that I could find :(

There is no way to underline text with normal Markdown syntax. Some websites allow to use HTML tags for this, like <u>text</u> or <ins>text</ins>, but mainly for ensuring better readibility the common standard is defined to not allow underlining text.

Also, if users were to add underlined text everywhere, this could have a negative effect on the overall corporate design structure. So, in most cases the web master wants to decide for himself what has a line under it and what not.

So my quest for finding this code ends here!
Thank you for your reply :)

Sehr spezielle Materie - liest sich für mich wie Hieroglyphen. :o)

Aber ich denke es reicht, wenn einer sich mit dieser Zeichensprache auskennt und weiß wie man sie zu lesen hat.

@moecki ist ja scheinbar auch ein versierter Kenner dieser Schriften.

Das lässt gutes für die Zukunft erahnen.

Ich drücke Euch die Daumen und wünsche weiterhin viel Erfolg.

Mein Dank für eure großartige Arbeit ist Euch gewiss.

Thank you very much for this update. I hope this will be helpful for all of us. Your contribution to this platform is really admirable. Have a nice day.

Mal eine allgemein Frage, macht das ein ganzes Team oder nur du? Find sowas immer extrem faszinierend, auch wenn ich fast nichts verstehe.

Ich mach das alles soweit alleine, aber ich lasse natürlich auch Ideen für neue Features und Verbesserungsvorschläge von anderen Entwicklern mit ins Endprodukt einfließen.

Das ist echt cool! Wie lernt man sowas? Also insbesondere jetzt auf Steem oder Blockchain allgemein bezogen? Integriert man da Programme oder skripte in die Blockchain? Sorry falls ich nerve :D Find sowas nur interessant :D

Thank you for this wonderful update, we all grateful to you for your continuous support on development of steem. I'm hoping that this new version will be beneficial to all Steemit users like me.

Thank you! 🤛

Thank you for your work!

I have onequestion: getPostById cannot get the data for some posts. For example Id=8. It seems those posts do not have tag/categoty. Is it the reason?
https://sds0.steemworld.org/posts_api/getPostById/8

The post with id=8 has been deleted by the author, therefore it can't be retrieved ;)

Hello @steemchiller!
Can I use your SDS API for a service I'm developing, and do I need to pay to use it by any chance? Thanks for developing such a great service.

Hi @anpigon, as long as the provided servers can handle the load, the SDS APIs are free to use. Can you already estimate how many requests your service will make in a day?

Thank you. It's hard to estimate how many requests we'll get per day yet, but I expect the traffic to be very low since we're targeting active Steem users. Thank you for providing this service for free.

It's good to hear about your continuous support and development for Steem I feel that lately there as been many issues with the API so this is great to see.

Your post is manually rewarded by the
World of Xpilar Community Curation Trail

STEEM AUTO OPERATED AND MAINTAINED BY XPILAR TEAM
https://steemit.com/~witnesses vote xpilar.witness

"Become successful with @wox-helpfund!"
If you want to know more click on the link
https://steemit.com/@wox-helpfund ❤️

@steemchiller Thank you so much for your work. I am totally new to Steemit. I try to learn a lot from your posts. Your works are very useful for the Steemit platform. Best wish for you.

Good day @steemchiller, I was asked to contact you in cases of a hack by @patjewell, pls I'm in desperate need of your help in recovering the account of a friend @rockana I've tried all my best to recover her account but nothing worked so I hop you can help and reply as soon as possible, here's my discord name @bongk and my WhatsApp number +237653658371. I discovered the hack this morning and all the delegation has been recovered and in 4 days the hacker will commence power down

Hi @bongk, she needs to initiate the recovery via https://steemitwallet.com/recover_account_step_1. After the recovery was started, she should receive an email with instructions (in the email account that was used when registering the Steem account).

I've tried it sir but it's saying the "recent password has not been used for the past 30 days.

I guess, it's not the correct password then. Did she really enter her account password (it's not the same as the private key)? Please check if you can generate her private keys from the password with this tool: https://steemworld.org/key-generator

Ok sir

I've done so then I copied the posting key and used but no change

What I wanted you to do with the key generator is to check if the generated private keys match her last working private keys (it will always generate the same keys for the account name and password). In this way we can check if the account password is correct.

Please enter her account name (without @) and her account password (master password) in the tool and compare the appearing private posting key with her last working private posting key.

I did it sir and unfortunately it didn't match

Unfortunately there is nothing that we can do then. We need at least the correct account password to start the recovery.

Upvoted! Thank you for supporting witness @jswit.

Thank you very much sir for the Update.

Posted using SteemPro Mobile

@steemchiller good afternoon, not all SBDs returned on my internal exchange after the cancellation of the order on my account. Can you tell me what to do now?

limit_order_cancel
Owner steemit.contest
Orderid 1714029069

Limit Order Create|7.337 SBD|104.814 STEEM2024-04-25, 10:11
Owner steemit.contest
Orderid 1714029069
Amount To Sell 7.337 SBD
Min To Receive 104.814 STEEM
Fill Or Kill false
Expiration 2024-05-22, 10:10
Transaction Info Block 84533246 / Transaction 84533246-2

$0.454 everything has returned, how to be, please tell me!

Hi, it looks like you cancelled a different order. This is what I see on Steemworld:

Is this a glitch on the internal exchange? It is not pleasant to lose very much SBD

Thanks for the answer!

I made this order a week ago 2024-04-25, 10:11

Limit Order Create|7.337 SBD|104.814 STEEM2024-04-25, 10:11
Owner steemit.contest
Orderid 1714029069
Amount To Sell 7.337 SBD
Min To Receive 104.814 STEEM
Fill Or Kill false
Expiration 2024-05-22, 10:10
Transaction Info Block 84533246 / Transaction 84533246-2

I canceled it yesterday
order number 1714029069

I should have come back 7.337 SBD on account of a, everything returned $0.454.

6.883 SBD They disappeared somewhere. I don't understand why.

My current guess is that the order 1714029069 has been partially filled directly after creating it. The market will still show the full amount over the week in this case. I will try to find the missing amount later today. Pretty sure that we will find it somewhere.


Update

As I was guessing, the order has been partially filled (two times) here:

https://steemworld.org/block/84533650/virtual/1


https://steemworld.org/block/84533983/virtual/2


Result

7.337 - 5.972 - 0.911 = 0.454 SBD

Thank you very much! How did I not come up with this idea? I shouldn't have been upset.

👍👍👍

New witness voter!

Bro amazing nice

Greetings friend, can you contact me on discord? please.

adeljose#6334