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

get_discussions all sort readme

parent 2f01b763
No related branches found
No related tags found
1 merge request!148Readme files to condenser_api calls
Lists blog's posts including reblogs.
method: "condenser_api.get_discussions_by_blog"
params:
{
"tag":"{author}",
mandatory, points to valid account
"start_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;
"filter_tags":"{list_of_tags}",
optional, not supported
}
\ No newline at end of file
Lists account's replies.
method: "condenser_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
}
\ No newline at end of file
Lists posts sorted by creation date.
method: "condenser_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
}
\ No newline at end of file
Lists posts created/reblogged by those followed by selected account.
Gives posts that were created/reblogged within last month.
method: "condenser_api.get_discussions_by_feed"
params:
{
"tag":"{account}",
mandatory, have to point on valid account whose feed we are looking at
"start_author":"{author}" + "start_permlink":"{permlink}",
optional, should point to valid apost
"limit":"{number}",
optional, range 1...100; default = 20
"truncate_body":{number}
optional, default = 0;
"filter_tags":"{list_of_tags}",
optional, not supported
}
\ No newline at end of file
Lists posts sorted by hot score [sc_hot desc] (with a favourable ratio of votes to the time the post was created)
method: "condenser_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
}
\ No newline at end of file
Lists posts sorted by promoted amount.
method: "condenser_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
}
\ No newline at end of file
Lists posts sorted by trending score [sc_trend desc] (similar to the by_hot sorting, but with longer period of time).
method: "condenser_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
}
\ No newline at end of file
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