Golos
Разработчикам Статистика Баунти Документация Партнеры Github
Public Member Functions | List of all members
golos::follow::follow_api Class Reference

#include <follow_api.hpp>

Public Member Functions

 follow_api (const golos::application::api_context &ctx)
 
void on_api_startup ()
 
std::vector< follow_api_objget_followers (std::string to, std::string start, follow_type type, uint16_t limit) const
 
std::vector< follow_api_objget_following (std::string from, std::string start, follow_type type, uint16_t limit) const
 
follow_count_api_obj get_follow_count (std::string account) const
 
std::vector< feed_entryget_feed_entries (std::string account, uint32_t entry_id=0, uint16_t limit=500) const
 
std::vector< comment_feed_entryget_feed (std::string account, uint32_t entry_id=0, uint16_t limit=500) const
 
std::vector< blog_entryget_blog_entries (std::string account, uint32_t entry_id=0, uint16_t limit=500) const
 
std::vector< comment_blog_entryget_blog (std::string account, uint32_t entry_id=0, uint16_t limit=500) const
 
std::vector< account_reputationget_account_reputations (std::string lower_bound_name, uint32_t limit=1000) const
 
std::vector< account_name_type > get_reblogged_by (const std::string &author, const std::string &permlink) const
 
std::vector< pair< account_name_type, uint32_t > > get_blog_authors (const account_name_type &blog_account) const
 

Detailed Description

Definition at line 72 of file follow_api.hpp.

Constructor & Destructor Documentation

◆ follow_api()

golos::follow::follow_api::follow_api ( const golos::application::api_context ctx)

Definition at line 271 of file follow_api.cpp.

Member Function Documentation

◆ get_account_reputations()

vector< account_reputation > golos::follow::follow_api::get_account_reputations ( std::string  lower_bound_name,
uint32_t  limit = 1000 
) const

Definition at line 320 of file follow_api.cpp.

◆ get_blog()

vector< comment_blog_entry > golos::follow::follow_api::get_blog ( std::string  account,
uint32_t  entry_id = 0,
uint16_t  limit = 500 
) const

Definition at line 314 of file follow_api.cpp.

◆ get_blog_authors()

vector< pair< account_name_type, uint32_t > > golos::follow::follow_api::get_blog_authors ( const account_name_type &  blog_account) const

Gets a list of authors that have had their content reblogged on a given blog account

Definition at line 342 of file follow_api.cpp.

◆ get_blog_entries()

vector< blog_entry > golos::follow::follow_api::get_blog_entries ( std::string  account,
uint32_t  entry_id = 0,
uint16_t  limit = 500 
) const

Definition at line 308 of file follow_api.cpp.

◆ get_feed()

vector< comment_feed_entry > golos::follow::follow_api::get_feed ( std::string  account,
uint32_t  entry_id = 0,
uint16_t  limit = 500 
) const

Definition at line 302 of file follow_api.cpp.

◆ get_feed_entries()

vector< feed_entry > golos::follow::follow_api::get_feed_entries ( std::string  account,
uint32_t  entry_id = 0,
uint16_t  limit = 500 
) const

Definition at line 296 of file follow_api.cpp.

◆ get_follow_count()

follow_count_api_obj golos::follow::follow_api::get_follow_count ( std::string  account) const

Definition at line 290 of file follow_api.cpp.

◆ get_followers()

vector< follow_api_obj > golos::follow::follow_api::get_followers ( std::string  to,
std::string  start,
follow_type  type,
uint16_t  limit 
) const

Definition at line 278 of file follow_api.cpp.

◆ get_following()

vector< follow_api_obj > golos::follow::follow_api::get_following ( std::string  from,
std::string  start,
follow_type  type,
uint16_t  limit 
) const

Definition at line 284 of file follow_api.cpp.

◆ get_reblogged_by()

vector< account_name_type > golos::follow::follow_api::get_reblogged_by ( const std::string &  author,
const std::string &  permlink 
) const

Gets list of accounts that have reblogged a particular post

Definition at line 326 of file follow_api.cpp.

◆ on_api_startup()

void golos::follow::follow_api::on_api_startup ( )

Definition at line 275 of file follow_api.cpp.


The documentation for this class was generated from the following files: