Skip to content
Snippets Groups Projects
Commit 4fedc415 authored by Paulina Czempiel's avatar Paulina Czempiel
Browse files

tags_api readme files

parent 3d3daf0c
No related branches found
No related tags found
1 merge request!153Tags_api readme files.
Showing
with 252 additions and 0 deletions
Lists discussions based on payout sort.
Call implemented in condenser_api.
method: "tags_api.get_comment_discussion_by_payout"
params:
{
"start_author":"{author}", "start_permlink":"{permlink}"
optional, when given have to point to valid start post; paging mechanism
"limit":"{limit}"
optional, range 1...100; default = 20
"tag":"{tag}"
optional, when given have to point on valid tag
"truncate_body":{number}
optional, default = 0;
}
\ No newline at end of file
Lists replies for given post.
Call implemented in condenser_api.
method: "tags_api.get_content_replies"
params:
{
"author": "{author}", "permlink": {permlink},
mandatory, points to valid post
}
Gives post/ comment with its votes information.
Call impemented by condenser_api.get_content.
method: "tags_api.get_discussion"
params:
{
"author": "{author}", "permlink": {permlink},
mandatory, points to valid post
"observer": "{account}",
optional, used for muted votes and blacklists
}
Lists posts with votes based on author from the most recent.
Similar to get_discussions_by_blog but does NOT serve reblogs.
Call implemented in condenser_api.
method: "tags_api.get_discussions_by_author_before_date"
params:
{
"author":"{author}",
mandatory, points to valid start account
"start_permlink":"{permlink}"
optional, with author when given have to point to valid start post; paging mechanism
"limit":"{limit}",
optional, range 1...100; default = 10
"before_date":"{date}",
optional, when given should point on start date; completely ignored
"truncate_body":{number}
optional, default = 0;
}
Lists blog's posts including reblogs.
Call implemented in condenser_api.
method: "tags_api.get_discussions_by_blog"
params:
{
"tag":"{author}",
mandatory, points to valid account
"author":"{author}" + "start_permlink":"{permlink}",
optional, when given have to point on valid start post
"limit":"{number}",
optional, range 1...100; default = 20
"truncate_body":{number}
optional, default = 0;
}
Lists account's replies.
Call implemented in condenser_api.
method: "tags_api.get_discussions_by_comments"
params:
{
"start_author":"{author}",
mandatory, points to valid account
"start_permlink":"{permlink}",
optional, when given have to point on valid start comment
"limit":"{number}",
optional, range 1...100; default = 20
"truncate_body":{number}
optional, default = 0;
"filter_tags":"{list_of_tags}",
optional, not supported
}
Lists posts sorted by creation date.
Call implemented in condenser_api.
method: "tags_api.get_discussions_by_created"
params:
{
"start_author":"{author}" + "start_permlink":"{permlink}",
optional, should point to valid apost
"limit":"{number}",
optional, range 1...100; default = 20
"tag":"{tag}",
optional, turns on filtering for posts with given tag
"truncate_body":{number}
optional, default = 0;
"filter_tags":"{list_of_tags}",
optional, not supported
}
Lists posts sorted by hot score [sc_hot desc] (with a favourable ratio of votes to the time the post was created)
Call implemented in condenser_api.
method: "tags_api.get_discussions_by_hot"
params:
{
"start_author":"{author}" + "start_permlink":"{permlink}",
optional, should point to valid apost
"limit":"{number}",
optional, range 1...100; default = 20
"tag":"{account}",
optional, turns on filtering for posts with given tag
"truncate_body":{number}
optional, default = 0;
"filter_tags":"{list_of_tags}",
optional, not supported
}
Lists posts sorted by promoted amount.
Call implemented in condenser_api.
method: "tags_api.get_discussions_by_promoted"
params:
{
"start_author":"{author}" + "start_permlink":"{permlink}",
optional, should point to valid apost
"limit":"{number}",
optional, range 1...100; default = 20
"tag":"{account}",
optional, turns on filtering for posts with given tag
"truncate_body":{number}
optional, default = 0;
"filter_tags":"{list_of_tags}",
optional, not supported
}
Lists posts sorted by trending score [sc_trend desc] (similar to the by_hot sorting, but with longer period of time).
Call implemented in condenser_api.
method: "tags_api.get_discussions_by_trending"
params:
{
"start_author":"{author}" + "start_permlink":"{permlink}",
optional, should point to valid apost
"limit":"{number}",
optional, range 1...100; default = 20
"tag":"{account}",
optional, turns on filtering for posts with given tag
"truncate_body":{number}
optional, default = 0;
"filter_tags":"{list_of_tags}",
optional, not supported
}
Lists posts pending on payout.
Similar to bridge.get_ranked_posts with sort by payout.
Call implemented in condenser_api.
method: "tags_api.get_post_discussions_by_payout"
params:
{
"start_author":"{author}" + "start_permlink":"{permlink}",
optional, when given have to point on post; paging mechanism
"limit:"{number}",
optional, default = 20 range of 1...1000
"tag":"{tag}",
optional; turns on filtering for posts with given tag
"truncate_body":"{number}",
optional, default = 0
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment