Steem LogoSDS API Reference0.1.10


posts_api

/ getPostById / :linkId / :withVotes? / :observer? / :fields?


Description

Returns the post data for the given :linkId.

Example

/posts_api/getPostById/1

Parameters

NameTypeOptionalDefaultMin.Allowed Values
:linkIdintNo1
:withVotesboolYestrue
- true
- false
- 1
- 0
:observeraccount_nameYes
:fieldsfixed_csvYes*One or multiple (comma-separated) of:
- link_id
- link_status
- author_reputation
- author_status
- author_role
- author_title
- author
- permlink
- parent_author
- parent_permlink
- parent_link_id
- root_author
- root_permlink
- root_title
- beneficiaries
- created
- last_update
- last_sync
- cashout_time
- payout
- total_payout_value
- curator_payout_value
- pending_payout_value
- net_rshares
- total_vote_weight
- max_accepted_payout
- percent_steem_dollars
- allow_curation_rewards
- allow_votes
- allow_replies
- depth
- children
- resteem_count
- upvote_count
- downvote_count
- word_count
- observer_follows_author
- observer_ignores_author
- observer_resteem
- observer_role
- observer_title
- observer_vote
- observer_vote_percent
- observer_vote_rshares
- is_author_muted
- is_muted
- is_pinned
- category
- community
- json_images
- json_metadata
- title
- body

Result

JSON Object