New to Nutbox?

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

69 comments

steemchiller
74
last yearSteemit5 min read

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.


Comments

Sort byBest