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

follow_api readme files

parent 3d3daf0c
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
}
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
}
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
}
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
}
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
}
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
}
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