Skip to content
Snippets Groups Projects
Commit 54d4b00a authored by Andrzej Lisak's avatar Andrzej Lisak
Browse files

[ABW]: _readme decriptions simplified since most of described routines are...

[ABW]: _readme decriptions simplified since most of described routines are simple aliases to condenser_api
fixed placement of two _readme
parent ba1fa0de
No related branches found
No related tags found
1 merge request!151Follow_api readme files.
Lists accounts and their raw reputations.
Call implementation in condenser_api.
method: "follow_api.get_account_reputations"
params:
{
"limit":"{number}",
mandatory, 1..1000
"account_lower_bound":"{account}",
optional, account or fragment; paging mechanism
}
Nearly an alias for condenser_api.get_account_reputations, except the results are given in condenser_api style (original condenser_api.get_account_reputations
implementation), while current condenser_api.get_account_reputations uses database_api style (since it was made to match Fat Node implementation)
Lists posts for given author from the most recent
(equivalent to get_discussions_by_blog, but uses offset-based pagination/ interface like get_blog_entries but returns more post references).
Entry_id and limit for paging mechanism (start_entry_id can be at least smaller one than limit [start_index - limit + 1 >= 0])
Call implementation in condenser_api.
method: "follow_api.get_blog"
params:
{
"author":"{author}"
mandatory, points to account
"start_entry_id":"{number}"
optional; default = 0
"limit":"{limit}"
optional, range 0...500; default = "start_entry_id" + 1
}
Alias for condenser_api.get_blog
Lists posts for given author from the most recent
(equivalent to get_discussions_by_blog, but uses offset-based pagination/ interface like get_blog_entries but returns more post references).
Entry_id and limit for paging mechanism.
Call implementation in condenser_api.
method: "follow_api.get_blog"
params:
{
"author":"{author}"
mandatory, points to account
"start_entry_id":"{number}"
optional, default = 0; if it is passed without limit must be smaller than 500
"limit":"{limit}"
optional, range 0...500; default = "start_entry_id" + 1
}
Alias for condenser_api.get_blog_entries
Gives following and followers count for given account.
Call implementation in condenser_api.
method: "follow_api.get_follow_count"
params:
{
"account":"{account}",
mandatory, point to valid account
}
Alias for condenser_api.get_follow_count
Gives accounts which follow given account.
Call implementation in condenser_api.
method: "follow_api.get_followers"
params:
{
"account":"{account}",
mandatory, points on valid account
"start":"{account}"
optional, when given have to point on start account of followers
"limit:"{number}"
mandatory, range of 1...1000;
"follow_type":"{follow_type}"
optional; default = 'blog'; other option 'ignore' to account which muted given account
}
Alias for condenser_api.get_followers
Lists rebloggers of given post.
Call implementation in condenser_api.
method: "follow_api.get_reblogged_by"
params:
{
"author":"{author}" + "permlink":"{permlink}",
mandatory, have to point on valid post; paging mechanism
}
Alias for condenser_api.get_following
Alias for condenser_api.get_reblogged_by
Gives accounts which given account follow.
Call implementation in condenser_api.
method: "follow_api.get_following"
params:
{
"account":"{account}",
mandatory, points on valid account
"start":"{account}"
optional, when given have to point on start account of following
"limit:"{number}"
mandatory, range of 1...1000;
"follow_type":"{follow_type}"
optional; default = 'blog'; other option 'ignore' to account which given account muted
}
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