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

get_discussion, get_payout_stats, list_communities and list_community_roles readme files

parent 4e9aa953
No related branches found
No related tags found
1 merge request!150Readme files for bridge api calls.
Gives all information about post/ comment (replies, votes, information about author etc.).
method: "bridge.get_discussion"
params:
{
"auhtor":"{author}", "permlink":"permlink",
author + permlink : mandatory, have to point to valid post; paging mechanism
"observer":"{account}",
optional (can be skipped or passed empty), when passed has to point to valid account
used to hide authors blacklisted by observer
}
Lists communities order by payout with stats (total payout, number of posts and authors).
Similar to condenser_api.get_trending_tags but gives slightly different values and it is limited to communities.
method: "bridge.get_payout_stats"
params:
{
"limit":"{number}",
optional, range 1..250; default = 250
}
Lists information about communities.
method: "bridge.list_communities"
params:
{
"last":"{name}",
optional, name of community; given community not appear in result; used for paging mechanism
"limit":"{number}",
optional, range 1..100; default = 100
"query":"{title}",
optional, when given turns on filtering on given name/ part of name
"sort": "{order}",
optional, determines order of returned communities' default = "rank"
values:
"rank" - communities with highest rank (trending) score first
"new" - newest communities first
"subs" - communities with largest number of subscribers first
"observer":"{account}",
optional (can be skipped or passed empty), when passed has to point to valid account
used to hide show relation between account and community (subscribed, role and title)
}
Lists given community account-roles (anyone with non-guest status).
method: "bridge.list_community_roles"
params:
{
"community":"{name}",
mandatory, points to community
"last":"{name}",
optional, appears to be broken
"limit":"{number}",
optional, must be positive; default = 50;
}
\ 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