2019-09-20 18:39:40 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2019-04-14 06:36:34 +02:00
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2019-09-20 18:39:40 +02:00
< meta name = "generator" content = "Doxygen 1.8.15" / >
2019-04-14 06:36:34 +02:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > mastodon-cpp: Mastodon::Easy::API Class Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectalign" style = "padding-left: 0.5em;" >
< div id = "projectname" > mastodon-cpp
2019-09-20 18:39:40 +02:00
  < span id = "projectnumber" > 0.110.0< / span >
2019-04-14 06:36:34 +02:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2019-09-20 18:39:40 +02:00
<!-- Generated by Doxygen 1.8.15 -->
2019-04-14 06:36:34 +02:00
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */< / script >
< div id = "main-nav" > < / div >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "namespaceMastodon.html" > Mastodon< / a > < / li > < li class = "navelem" > < a class = "el" href = "namespaceMastodon_1_1Easy.html" > Easy< / a > < / li > < li class = "navelem" > < a class = "el" href = "classMastodon_1_1Easy_1_1API.html" > API< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "classMastodon_1_1Easy_1_1API-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > Mastodon::Easy::API Class Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
2019-09-20 18:39:40 +02:00
< p > Child of < a class = "el" href = "classMastodon_1_1API.html" title = "Interface to the Mastodon API." > Mastodon::API< / a > with abstract methods.
2019-04-14 06:36:34 +02:00
< a href = "classMastodon_1_1Easy_1_1API.html#details" > More...< / a > < / p >
< p > < code > #include < < a class = "el" href = "easy_8hpp_source.html" > easy.hpp< / a > > < / code > < / p >
< div class = "dynheader" >
Inheritance diagram for Mastodon::Easy::API:< / div >
< div class = "dyncontent" >
< div class = "center" >
< img src = "classMastodon_1_1Easy_1_1API.png" usemap = "#Mastodon::Easy::API_map" alt = "" / >
< map id = "Mastodon::Easy::API_map" name = "Mastodon::Easy::API_map" >
2019-09-20 18:39:40 +02:00
< area href = "classMastodon_1_1API.html" title = "Interface to the Mastodon API." alt = "Mastodon::API" shape = "rect" coords = "0,0,127,24" / >
< / map >
< / div > < / div >
2019-04-14 06:36:34 +02:00
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a0d63c28695e08a43a059982973791468" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1Easy_1_1API.html#a0d63c28695e08a43a059982973791468" > API< / a > (const string & instance, const string & access_token)< / td > < / tr >
< tr class = "memdesc:a0d63c28695e08a43a059982973791468" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Constructs a new < a class = "el" href = "namespaceMastodon_1_1Easy.html" title = "Collection of things that make it easier to interface with server software that implements the Mastod..." > Easy< / a > object. < a href = "#a0d63c28695e08a43a059982973791468" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a0d63c28695e08a43a059982973791468" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a74e30389f87f8e06708c6fbc401093ba" > < td class = "memItemLeft" align = "right" valign = "top" > const < a class = "el" href = "classMastodon_1_1Easy_1_1Link.html" > Link< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1Easy_1_1API.html#a74e30389f87f8e06708c6fbc401093ba" > get_link< / a > () const< / td > < / tr >
< tr class = "memdesc:a74e30389f87f8e06708c6fbc401093ba" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets the links from the last answer. < a href = "#a74e30389f87f8e06708c6fbc401093ba" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a74e30389f87f8e06708c6fbc401093ba" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a13b07bb00e1ba7705786396e57a2b6e4" > < td class = "memItemLeft" align = "right" valign = "top" > const < a class = "el" href = "structMastodon_1_1Easy_1_1return__entity.html" > return_entity< / a > < < a class = "el" href = "classMastodon_1_1Easy_1_1Status.html" > Easy::Status< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1Easy_1_1API.html#a13b07bb00e1ba7705786396e57a2b6e4" > send_post< / a > (const < a class = "el" href = "classMastodon_1_1Easy_1_1Status.html" > Status< / a > & status)< / td > < / tr >
< tr class = "memdesc:a13b07bb00e1ba7705786396e57a2b6e4" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Sends a post. < a href = "#a13b07bb00e1ba7705786396e57a2b6e4" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a13b07bb00e1ba7705786396e57a2b6e4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa80df556fd6ac3dc2900a00e9d9ce287" > < td class = "memItemLeft" align = "right" valign = "top" > const < a class = "el" href = "structMastodon_1_1Easy_1_1return__entity.html" > return_entity< / a > < < a class = "el" href = "classMastodon_1_1Easy_1_1Status.html" > Easy::Status< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1Easy_1_1API.html#aa80df556fd6ac3dc2900a00e9d9ce287" > send_toot< / a > (const < a class = "el" href = "classMastodon_1_1Easy_1_1Status.html" > Status< / a > & status)< / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memdesc:aa80df556fd6ac3dc2900a00e9d9ce287" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Alias for < a class = "el" href = "classMastodon_1_1Easy_1_1API.html#a13b07bb00e1ba7705786396e57a2b6e4" title = "Sends a post." > send_post()< / a > < a href = "#aa80df556fd6ac3dc2900a00e9d9ce287" > More...< / a > < br / > < / td > < / tr >
2019-04-14 06:36:34 +02:00
< tr class = "separator:aa80df556fd6ac3dc2900a00e9d9ce287" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a1f21337db033b46ec9d1c4beb73211c9" > < td class = "memItemLeft" align = "right" valign = "top" > const < a class = "el" href = "structMastodon_1_1Easy_1_1return__entity__vector.html" > return_entity_vector< / a > < < a class = "el" href = "classMastodon_1_1Easy_1_1Notification.html" > Easy::Notification< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1Easy_1_1API.html#a1f21337db033b46ec9d1c4beb73211c9" > get_notifications< / a > (const uint16_t limit=20, const string since_id=" " , const string max_id=" " )< / td > < / tr >
< tr class = "memdesc:a1f21337db033b46ec9d1c4beb73211c9" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets notifications. < a href = "#a1f21337db033b46ec9d1c4beb73211c9" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a1f21337db033b46ec9d1c4beb73211c9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pub_methods_classMastodon_1_1API" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_methods_classMastodon_1_1API')" > < img src = "closed.png" alt = "-" / >   Public Member Functions inherited from < a class = "el" href = "classMastodon_1_1API.html" > Mastodon::API< / a > < / td > < / tr >
< tr class = "memitem:a627a687d2f211d714d2e1d2bd3faf7ff inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#a627a687d2f211d714d2e1d2bd3faf7ff" > API< / a > (const string & instance, const string & access_token)< / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memdesc:a627a687d2f211d714d2e1d2bd3faf7ff inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Constructs a new < a class = "el" href = "classMastodon_1_1API.html" title = "Interface to the Mastodon API." > API< / a > object. < a href = "classMastodon_1_1API.html#a627a687d2f211d714d2e1d2bd3faf7ff" > More...< / a > < br / > < / td > < / tr >
2019-04-14 06:36:34 +02:00
< tr class = "separator:a627a687d2f211d714d2e1d2bd3faf7ff inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a583ec65b542b44e4b7013f5fc830fdcd inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > virtual  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#a583ec65b542b44e4b7013f5fc830fdcd" > ~API< / a > ()< / td > < / tr >
< tr class = "memdesc:a583ec65b542b44e4b7013f5fc830fdcd inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Destroys the object. < a href = "classMastodon_1_1API.html#a583ec65b542b44e4b7013f5fc830fdcd" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a583ec65b542b44e4b7013f5fc830fdcd inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ae25c5e6eabb8e783d7034ee1c79ae741 inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#ae25c5e6eabb8e783d7034ee1c79ae741" > set_useragent< / a > (const string & useragent)< / td > < / tr >
< tr class = "memdesc:ae25c5e6eabb8e783d7034ee1c79ae741 inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Sets the useragent. Default is mastodon-cpp/version. < a href = "classMastodon_1_1API.html#ae25c5e6eabb8e783d7034ee1c79ae741" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ae25c5e6eabb8e783d7034ee1c79ae741 inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad7f0c4bbdfff6ebb769e34624329a4d0 inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > const string  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#ad7f0c4bbdfff6ebb769e34624329a4d0" > get_useragent< / a > () const< / td > < / tr >
< tr class = "memdesc:ad7f0c4bbdfff6ebb769e34624329a4d0 inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets the useragent. < a href = "classMastodon_1_1API.html#ad7f0c4bbdfff6ebb769e34624329a4d0" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ad7f0c4bbdfff6ebb769e34624329a4d0 inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a06ad0990a9c21f20fbd2e17f03d1f75b inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > const string  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#a06ad0990a9c21f20fbd2e17f03d1f75b" > get_instance< / a > () const< / td > < / tr >
< tr class = "memdesc:a06ad0990a9c21f20fbd2e17f03d1f75b inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns the instance. < a href = "classMastodon_1_1API.html#a06ad0990a9c21f20fbd2e17f03d1f75b" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a06ad0990a9c21f20fbd2e17f03d1f75b inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aaca8304e4665ba8ca41c460e016e4cc4 inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "structMastodon_1_1return__call.html" > return_call< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#aaca8304e4665ba8ca41c460e016e4cc4" > register_app1< / a > (const string & client_name, const string & redirect_uri, const string & scopes, const string & website, string & client_id, string & client_secret, string & url)< / td > < / tr >
< tr class = "memdesc:aaca8304e4665ba8ca41c460e016e4cc4 inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Register application, step 1/2. < a href = "classMastodon_1_1API.html#aaca8304e4665ba8ca41c460e016e4cc4" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:aaca8304e4665ba8ca41c460e016e4cc4 inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a525be6cb5787e431b75d1e851fb49a57 inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "structMastodon_1_1return__call.html" > return_call< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#a525be6cb5787e431b75d1e851fb49a57" > register_app2< / a > (const string & client_id, const string & client_secret, const string & redirect_uri, const string & code, string & access_token)< / td > < / tr >
< tr class = "memdesc:a525be6cb5787e431b75d1e851fb49a57 inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Register application, step 2/2. < a href = "classMastodon_1_1API.html#a525be6cb5787e431b75d1e851fb49a57" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a525be6cb5787e431b75d1e851fb49a57 inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad7392af31cff2a6b446aea1e6b58cbaf inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > const string  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#ad7392af31cff2a6b446aea1e6b58cbaf" > get_header< / a > (const string & header) const< / td > < / tr >
< tr class = "memdesc:ad7392af31cff2a6b446aea1e6b58cbaf inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets the header from the last answer. < a href = "classMastodon_1_1API.html#ad7392af31cff2a6b446aea1e6b58cbaf" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ad7392af31cff2a6b446aea1e6b58cbaf inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a4e8d254c512c2038323437a1be1641d7 inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#a4e8d254c512c2038323437a1be1641d7" > exceptions< / a > (const bool & value)< / td > < / tr >
< tr class = "memdesc:a4e8d254c512c2038323437a1be1641d7 inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Turn exceptions on or off. Defaults to off. < a href = "classMastodon_1_1API.html#a4e8d254c512c2038323437a1be1641d7" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a4e8d254c512c2038323437a1be1641d7 inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a98bc9bbca936ddacab18df7854ec80fe inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a98bc9bbca936ddacab18df7854ec80fe" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#a98bc9bbca936ddacab18df7854ec80fe" > exceptions< / a > () const< / td > < / tr >
< tr class = "memdesc:a98bc9bbca936ddacab18df7854ec80fe inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns true if exceptions are turned on, false otherwise. < br / > < / td > < / tr >
< tr class = "separator:a98bc9bbca936ddacab18df7854ec80fe inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memitem:a68fc414dbd80da0236dbcc19bf9634e3 inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#a68fc414dbd80da0236dbcc19bf9634e3" > set_proxy< / a > (const string & hostport, const string & userpw=" " )< / td > < / tr >
< tr class = "memdesc:a68fc414dbd80da0236dbcc19bf9634e3 inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Sets the proxy. < a href = "classMastodon_1_1API.html#a68fc414dbd80da0236dbcc19bf9634e3" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a68fc414dbd80da0236dbcc19bf9634e3 inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-04-14 06:36:34 +02:00
< tr class = "memitem:aaa9c68543d4778ba55d67f295fecdf5e inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > const < a class = "el" href = "structMastodon_1_1return__call.html" > return_call< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#aaa9c68543d4778ba55d67f295fecdf5e" > get< / a > (const < a class = "el" href = "classMastodon_1_1API.html#a3b88e9c1ff8daee1e730c3f3de1e2853" > Mastodon::API::v1< / a > & call)< / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memdesc:aaa9c68543d4778ba55d67f295fecdf5e inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Make a GET request that doesn't require parameters. < a href = "classMastodon_1_1API.html#aaa9c68543d4778ba55d67f295fecdf5e" > More...< / a > < br / > < / td > < / tr >
2019-04-14 06:36:34 +02:00
< tr class = "separator:aaa9c68543d4778ba55d67f295fecdf5e inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a241ccc182e920c377d3c6c473f7a99a5 inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > const < a class = "el" href = "structMastodon_1_1return__call.html" > return_call< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#a241ccc182e920c377d3c6c473f7a99a5" > get< / a > (const < a class = "el" href = "classMastodon_1_1API.html#a3b88e9c1ff8daee1e730c3f3de1e2853" > Mastodon::API::v1< / a > & call, const < a class = "el" href = "structMastodon_1_1parameters.html" > parameters< / a > & < a class = "el" href = "structMastodon_1_1parameters.html" > parameters< / a > )< / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memdesc:a241ccc182e920c377d3c6c473f7a99a5 inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Make a GET request that requires parameters. < a href = "classMastodon_1_1API.html#a241ccc182e920c377d3c6c473f7a99a5" > More...< / a > < br / > < / td > < / tr >
2019-04-14 06:36:34 +02:00
< tr class = "separator:a241ccc182e920c377d3c6c473f7a99a5 inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ace263f91446f93b6c2ed1c1a22bf148a inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > const < a class = "el" href = "structMastodon_1_1return__call.html" > return_call< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#ace263f91446f93b6c2ed1c1a22bf148a" > get< / a > (const < a class = "el" href = "classMastodon_1_1API.html#aa9bb595d2e7632ab9aa37a9bb6836ed0" > Mastodon::API::v2< / a > & call, const < a class = "el" href = "structMastodon_1_1parameters.html" > parameters< / a > & < a class = "el" href = "structMastodon_1_1parameters.html" > parameters< / a > )< / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memdesc:ace263f91446f93b6c2ed1c1a22bf148a inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Make a GET request that requires parameters. < a href = "classMastodon_1_1API.html#ace263f91446f93b6c2ed1c1a22bf148a" > More...< / a > < br / > < / td > < / tr >
2019-04-14 06:36:34 +02:00
< tr class = "separator:ace263f91446f93b6c2ed1c1a22bf148a inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a617e7c7b6d4733596a617418271929dd inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > const < a class = "el" href = "structMastodon_1_1return__call.html" > return_call< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#a617e7c7b6d4733596a617418271929dd" > get< / a > (const string & call)< / td > < / tr >
< tr class = "memdesc:a617e7c7b6d4733596a617418271929dd inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Make a custom GET request. < a href = "classMastodon_1_1API.html#a617e7c7b6d4733596a617418271929dd" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a617e7c7b6d4733596a617418271929dd inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memitem:a699e4557aef3419b05c4231d0b65388b inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#a699e4557aef3419b05c4231d0b65388b" > get_stream< / a > (const < a class = "el" href = "classMastodon_1_1API.html#a3b88e9c1ff8daee1e730c3f3de1e2853" > Mastodon::API::v1< / a > & call, const < a class = "el" href = "structMastodon_1_1parameters.html" > parameters< / a > & < a class = "el" href = "structMastodon_1_1parameters.html" > parameters< / a > , unique_ptr< < a class = "el" href = "classMastodon_1_1API_1_1http.html" > Mastodon::API::http< / a > > & ptr, string & stream)< / td > < / tr >
< tr class = "memdesc:a699e4557aef3419b05c4231d0b65388b inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Make a streaming GET request. < a href = "classMastodon_1_1API.html#a699e4557aef3419b05c4231d0b65388b" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a699e4557aef3419b05c4231d0b65388b inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ada9d03d7c11cb8ab27be6c5b1d0389dd inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#ada9d03d7c11cb8ab27be6c5b1d0389dd" > get_stream< / a > (const < a class = "el" href = "classMastodon_1_1API.html#a3b88e9c1ff8daee1e730c3f3de1e2853" > Mastodon::API::v1< / a > & call, unique_ptr< < a class = "el" href = "classMastodon_1_1API_1_1http.html" > Mastodon::API::http< / a > > & ptr, string & stream)< / td > < / tr >
< tr class = "memdesc:ada9d03d7c11cb8ab27be6c5b1d0389dd inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Make a streaming GET request. < a href = "classMastodon_1_1API.html#ada9d03d7c11cb8ab27be6c5b1d0389dd" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ada9d03d7c11cb8ab27be6c5b1d0389dd inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ada16cafe51288305a9d784a04df8b7f6 inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#ada16cafe51288305a9d784a04df8b7f6" > get_stream< / a > (const string & call, unique_ptr< < a class = "el" href = "classMastodon_1_1API_1_1http.html" > Mastodon::API::http< / a > > & ptr, string & stream)< / td > < / tr >
< tr class = "memdesc:ada16cafe51288305a9d784a04df8b7f6 inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Make a streaming GET request. < a href = "classMastodon_1_1API.html#ada16cafe51288305a9d784a04df8b7f6" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ada16cafe51288305a9d784a04df8b7f6 inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-04-14 06:36:34 +02:00
< tr class = "memitem:a078bd5bd28f29a0b748e2e6da753c4c1 inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "structMastodon_1_1return__call.html" > return_call< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#a078bd5bd28f29a0b748e2e6da753c4c1" > patch< / a > (const < a class = "el" href = "classMastodon_1_1API.html#a3b88e9c1ff8daee1e730c3f3de1e2853" > Mastodon::API::v1< / a > & call, const < a class = "el" href = "structMastodon_1_1parameters.html" > parameters< / a > & < a class = "el" href = "structMastodon_1_1parameters.html" > parameters< / a > )< / td > < / tr >
< tr class = "memdesc:a078bd5bd28f29a0b748e2e6da753c4c1 inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Make a PATCH request. < a href = "classMastodon_1_1API.html#a078bd5bd28f29a0b748e2e6da753c4c1" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a078bd5bd28f29a0b748e2e6da753c4c1 inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a3399557caf20d73656c4e720b8538c1a inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "structMastodon_1_1return__call.html" > return_call< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#a3399557caf20d73656c4e720b8538c1a" > post< / a > (const < a class = "el" href = "classMastodon_1_1API.html#a3b88e9c1ff8daee1e730c3f3de1e2853" > Mastodon::API::v1< / a > & call)< / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memdesc:a3399557caf20d73656c4e720b8538c1a inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Make a POST request that doesn't require parameters. < a href = "classMastodon_1_1API.html#a3399557caf20d73656c4e720b8538c1a" > More...< / a > < br / > < / td > < / tr >
2019-04-14 06:36:34 +02:00
< tr class = "separator:a3399557caf20d73656c4e720b8538c1a inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a73649c4d8eb408883e1cd7b590771d3a inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "structMastodon_1_1return__call.html" > return_call< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#a73649c4d8eb408883e1cd7b590771d3a" > post< / a > (const < a class = "el" href = "classMastodon_1_1API.html#a3b88e9c1ff8daee1e730c3f3de1e2853" > Mastodon::API::v1< / a > & call, const < a class = "el" href = "structMastodon_1_1parameters.html" > parameters< / a > & < a class = "el" href = "structMastodon_1_1parameters.html" > parameters< / a > )< / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memdesc:a73649c4d8eb408883e1cd7b590771d3a inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Make a POST request that requires parameters. < a href = "classMastodon_1_1API.html#a73649c4d8eb408883e1cd7b590771d3a" > More...< / a > < br / > < / td > < / tr >
2019-04-14 06:36:34 +02:00
< tr class = "separator:a73649c4d8eb408883e1cd7b590771d3a inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:abe779579d04033f6de4372c6690cb9af inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "structMastodon_1_1return__call.html" > return_call< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#abe779579d04033f6de4372c6690cb9af" > post< / a > (const string & call, const < a class = "el" href = "structMastodon_1_1parameters.html" > parameters< / a > & < a class = "el" href = "structMastodon_1_1parameters.html" > parameters< / a > )< / td > < / tr >
< tr class = "memdesc:abe779579d04033f6de4372c6690cb9af inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Make a custom POST request. < a href = "classMastodon_1_1API.html#abe779579d04033f6de4372c6690cb9af" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:abe779579d04033f6de4372c6690cb9af inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a062ed2f6d92af32c25d87fa0eb15a9ea inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "structMastodon_1_1return__call.html" > return_call< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#a062ed2f6d92af32c25d87fa0eb15a9ea" > put< / a > (const < a class = "el" href = "classMastodon_1_1API.html#a3b88e9c1ff8daee1e730c3f3de1e2853" > Mastodon::API::v1< / a > & call, const < a class = "el" href = "structMastodon_1_1parameters.html" > parameters< / a > & < a class = "el" href = "structMastodon_1_1parameters.html" > parameters< / a > )< / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memdesc:a062ed2f6d92af32c25d87fa0eb15a9ea inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Make a PUT request that requires parameters. < a href = "classMastodon_1_1API.html#a062ed2f6d92af32c25d87fa0eb15a9ea" > More...< / a > < br / > < / td > < / tr >
2019-04-14 06:36:34 +02:00
< tr class = "separator:a062ed2f6d92af32c25d87fa0eb15a9ea inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a2cd53f56bf1557a17cc5c6a388d86101 inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "structMastodon_1_1return__call.html" > return_call< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#a2cd53f56bf1557a17cc5c6a388d86101" > put< / a > (const string & call, const < a class = "el" href = "structMastodon_1_1parameters.html" > parameters< / a > & < a class = "el" href = "structMastodon_1_1parameters.html" > parameters< / a > )< / td > < / tr >
< tr class = "memdesc:a2cd53f56bf1557a17cc5c6a388d86101 inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Make a custom PUT request. < a href = "classMastodon_1_1API.html#a2cd53f56bf1557a17cc5c6a388d86101" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a2cd53f56bf1557a17cc5c6a388d86101 inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad36109d74db7fe1371db5f96e8a1275f inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "structMastodon_1_1return__call.html" > return_call< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#ad36109d74db7fe1371db5f96e8a1275f" > del< / a > (const < a class = "el" href = "classMastodon_1_1API.html#a3b88e9c1ff8daee1e730c3f3de1e2853" > Mastodon::API::v1< / a > & call, const < a class = "el" href = "structMastodon_1_1parameters.html" > parameters< / a > & < a class = "el" href = "structMastodon_1_1parameters.html" > parameters< / a > )< / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memdesc:ad36109d74db7fe1371db5f96e8a1275f inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Make a DELETE request that requires parameters. < a href = "classMastodon_1_1API.html#ad36109d74db7fe1371db5f96e8a1275f" > More...< / a > < br / > < / td > < / tr >
2019-04-14 06:36:34 +02:00
< tr class = "separator:ad36109d74db7fe1371db5f96e8a1275f inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0f47dc5316c8a151686187c415d068c1 inherit pub_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "structMastodon_1_1return__call.html" > return_call< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#a0f47dc5316c8a151686187c415d068c1" > del< / a > (const string & call, const < a class = "el" href = "structMastodon_1_1parameters.html" > parameters< / a > & < a class = "el" href = "structMastodon_1_1parameters.html" > parameters< / a > )< / td > < / tr >
< tr class = "memdesc:a0f47dc5316c8a151686187c415d068c1 inherit pub_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Make a custom DELETE request. < a href = "classMastodon_1_1API.html#a0f47dc5316c8a151686187c415d068c1" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a0f47dc5316c8a151686187c415d068c1 inherit pub_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "inherited" > < / a >
Additional Inherited Members< / h2 > < / td > < / tr >
< tr class = "inherit_header pub_types_classMastodon_1_1API" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_types_classMastodon_1_1API')" > < img src = "closed.png" alt = "-" / >   Public Types inherited from < a class = "el" href = "classMastodon_1_1API.html" > Mastodon::API< / a > < / td > < / tr >
< tr class = "memitem:a3b88e9c1ff8daee1e730c3f3de1e2853 inherit pub_types_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#a3b88e9c1ff8daee1e730c3f3de1e2853" > v1< / a > { < br / >
    < b > accounts_id< / b > ,
2019-04-19 07:05:28 +02:00
< b > accounts< / b > ,
2019-04-14 06:36:34 +02:00
< b > accounts_verify_credentials< / b > ,
< b > accounts_update_credentials< / b > ,
< br / >
2019-04-19 07:05:28 +02:00
    < b > accounts_id_followers< / b > ,
< b > accounts_id_following< / b > ,
2019-04-14 06:36:34 +02:00
< b > accounts_id_statuses< / b > ,
< b > accounts_id_follow< / b > ,
< br / >
2019-04-19 07:05:28 +02:00
    < b > accounts_id_unfollow< / b > ,
< b > accounts_relationships< / b > ,
2019-04-14 06:36:34 +02:00
< b > accounts_search< / b > ,
< b > apps< / b > ,
< br / >
2019-04-19 07:05:28 +02:00
    < b > apps_verify_credentials< / b > ,
< b > blocks< / b > ,
< b > accounts_id_block< / b > ,
2019-04-14 06:36:34 +02:00
< b > accounts_id_unblock< / b > ,
< br / >
2019-04-19 07:05:28 +02:00
    < b > custom_emojis< / b > ,
< b > domain_blocks< / b > ,
< b > endorsements< / b > ,
2019-04-14 06:36:34 +02:00
< b > accounts_id_pin< / b > ,
< br / >
2019-04-19 07:05:28 +02:00
    < b > accounts_id_unpin< / b > ,
< b > favourites< / b > ,
< b > statuses_id_favourite< / b > ,
2019-04-14 06:36:34 +02:00
< b > statuses_id_unfavourite< / b > ,
2019-04-19 07:05:28 +02:00
< br / >
    < b > filters< / b > ,
< b > filters_id< / b > ,
2019-04-14 06:36:34 +02:00
< b > follow_requests< / b > ,
< b > follow_requests_id_authorize< / b > ,
< br / >
    < b > follow_requests_id_reject< / b > ,
2019-09-20 18:39:40 +02:00
< b > suggestions< / b > ,
< b > suggestions_accountid< / b > ,
2019-04-14 06:36:34 +02:00
< b > instance< / b > ,
< br / >
2019-09-20 18:39:40 +02:00
    < b > lists< / b > ,
< b > accounts_id_lists< / b > ,
2019-04-14 06:36:34 +02:00
< b > lists_id_accounts< / b > ,
2019-09-20 18:39:40 +02:00
< b > lists_id< / b > ,
2019-04-14 06:36:34 +02:00
< br / >
2019-09-20 18:39:40 +02:00
    < b > media< / b > ,
< b > media_id< / b > ,
< b > mutes< / b > ,
2019-04-14 06:36:34 +02:00
< b > accounts_id_mute< / b > ,
< br / >
2019-09-20 18:39:40 +02:00
    < b > accounts_id_unmute< / b > ,
< b > statuses_id_mute< / b > ,
< b > statuses_id_unmute< / b > ,
2019-04-14 06:36:34 +02:00
< b > notifications< / b > ,
< br / >
2019-09-20 18:39:40 +02:00
    < b > notifications_id< / b > ,
< b > notifications_clear< / b > ,
< b > notifications_dismiss< / b > ,
2019-04-14 06:36:34 +02:00
< b > push_subscription< / b > ,
< br / >
2019-09-20 18:39:40 +02:00
    < b > polls_id< / b > ,
< b > polls_id_votes< / b > ,
< b > reports< / b > ,
2019-04-14 06:36:34 +02:00
< b > statuses_id< / b > ,
< br / >
2019-09-20 18:39:40 +02:00
    < b > statuses_id_context< / b > ,
< b > statuses_id_card< / b > ,
< b > statuses_id_reblogged_by< / b > ,
2019-04-14 06:36:34 +02:00
< b > statuses_id_favourited_by< / b > ,
2019-09-20 18:39:40 +02:00
< br / >
    < b > statuses< / b > ,
2019-04-14 06:36:34 +02:00
< b > statuses_id_reblog< / b > ,
< b > statuses_id_unreblog< / b > ,
2019-09-20 18:39:40 +02:00
< b > statuses_id_pin< / b > ,
2019-04-14 06:36:34 +02:00
< br / >
2019-09-20 18:39:40 +02:00
    < b > statuses_id_unpin< / b > ,
2019-04-14 06:36:34 +02:00
< b > timelines_home< / b > ,
2019-09-20 18:39:40 +02:00
< b > conversations< / b > ,
2019-04-14 06:36:34 +02:00
< b > timelines_public< / b > ,
< br / >
    < b > timelines_tag_hashtag< / b > ,
< b > timelines_list_list_id< / b > ,
2019-09-20 18:39:40 +02:00
< b > streaming_health< / b > ,
2019-04-14 06:36:34 +02:00
< b > streaming_user< / b > ,
< br / >
2019-09-20 18:39:40 +02:00
    < b > streaming_public< / b > ,
< b > streaming_public_local< / b > ,
2019-04-14 06:36:34 +02:00
< b > streaming_hashtag< / b > ,
2019-09-20 18:39:40 +02:00
< b > streaming_hashtag_local< / b > ,
< br / >
    < b > streaming_list< / b > ,
< b > streaming_direct< / b > ,
2019-04-14 06:36:34 +02:00
< b > bookmarks< / b > ,
2019-09-20 18:39:40 +02:00
< b > statuses_id_bookmark< / b > ,
2019-04-14 06:36:34 +02:00
< br / >
2019-09-20 18:39:40 +02:00
    < b > statuses_id_unbookmark< / b >
2019-04-14 06:36:34 +02:00
< br / >
}< / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memdesc:a3b88e9c1ff8daee1e730c3f3de1e2853" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > A list of all v1 < a class = "el" href = "classMastodon_1_1API.html" title = "Interface to the Mastodon API." > API< / a > calls. < a href = "classMastodon_1_1API.html#a3b88e9c1ff8daee1e730c3f3de1e2853" > More...< / a > < br / > < / td > < / tr >
2019-04-14 06:36:34 +02:00
< tr class = "separator:a3b88e9c1ff8daee1e730c3f3de1e2853 inherit pub_types_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa9bb595d2e7632ab9aa37a9bb6836ed0 inherit pub_types_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#aa9bb595d2e7632ab9aa37a9bb6836ed0" > v2< / a > { < b > search< / b >
}< / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memdesc:aa9bb595d2e7632ab9aa37a9bb6836ed0" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > A list of all v2 < a class = "el" href = "classMastodon_1_1API.html" title = "Interface to the Mastodon API." > API< / a > calls. < a href = "classMastodon_1_1API.html#aa9bb595d2e7632ab9aa37a9bb6836ed0" > More...< / a > < br / > < / td > < / tr >
2019-04-14 06:36:34 +02:00
< tr class = "separator:aa9bb595d2e7632ab9aa37a9bb6836ed0 inherit pub_types_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pub_static_methods_classMastodon_1_1API" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_static_methods_classMastodon_1_1API')" > < img src = "closed.png" alt = "-" / >   Static Public Member Functions inherited from < a class = "el" href = "classMastodon_1_1API.html" > Mastodon::API< / a > < / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memitem:a100eb453092465554a259715a6c1bee7 inherit pub_static_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > static const string  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#a100eb453092465554a259715a6c1bee7" > urlencode< / a > (const string & str)< / td > < / tr >
< tr class = "memdesc:a100eb453092465554a259715a6c1bee7 inherit pub_static_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Alias for < a class = "el" href = "namespaceMastodon.html#ac158102db9a826fb398440b80ff30d48" title = "Percent-encodes a string." > Mastodon::urlencode< / a > . < a href = "classMastodon_1_1API.html#a100eb453092465554a259715a6c1bee7" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a100eb453092465554a259715a6c1bee7 inherit pub_static_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a5e7f2c0e0a07ae1f8ee838c80a4abc79 inherit pub_static_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > static const string  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#a5e7f2c0e0a07ae1f8ee838c80a4abc79" > urldecode< / a > (const string & str)< / td > < / tr >
< tr class = "memdesc:a5e7f2c0e0a07ae1f8ee838c80a4abc79 inherit pub_static_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Alias for < a class = "el" href = "namespaceMastodon.html#acf85e4594279ae65238596ed94e82810" title = "Decodes a percent-encoded string." > Mastodon::urldecode< / a > . < a href = "classMastodon_1_1API.html#a5e7f2c0e0a07ae1f8ee838c80a4abc79" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a5e7f2c0e0a07ae1f8ee838c80a4abc79 inherit pub_static_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-04-14 06:36:34 +02:00
< tr class = "memitem:a52ea24477c513aa211cf724be7a570f6 inherit pub_static_methods_classMastodon_1_1API" > < td class = "memItemLeft" align = "right" valign = "top" > static const string  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1API.html#a52ea24477c513aa211cf724be7a570f6" > unescape_html< / a > (const string & html)< / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memdesc:a52ea24477c513aa211cf724be7a570f6 inherit pub_static_methods_classMastodon_1_1API" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Alias for < a class = "el" href = "namespaceMastodon.html#ae55e69517007dde071f01dcafd44ad36" title = "Replaces HTML entities with UTF-8 characters." > Mastodon::unescape_html< / a > . < a href = "classMastodon_1_1API.html#a52ea24477c513aa211cf724be7a570f6" > More...< / a > < br / > < / td > < / tr >
2019-04-14 06:36:34 +02:00
< tr class = "separator:a52ea24477c513aa211cf724be7a570f6 inherit pub_static_methods_classMastodon_1_1API" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
2019-09-20 18:39:40 +02:00
< div class = "textblock" > < p > Child of < a class = "el" href = "classMastodon_1_1API.html" title = "Interface to the Mastodon API." > Mastodon::API< / a > with abstract methods. < / p >
2019-04-14 06:36:34 +02:00
< p > Provides convenient functions to deal with the responses you get. < / p >
2019-09-20 18:39:40 +02:00
< dl class = "section examples" > < dt > Examples< / dt > < dd > < a class = "el" href = "example01_get_public_timeline_8cpp-example.html#_a0" > example01_get_public_timeline.cpp< / a > , and < a class = "el" href = "example02_stream_8cpp-example.html#_a0" > example02_stream.cpp< / a > .< / dd >
< / dl >
< / div > < h2 class = "groupheader" > Constructor & Destructor Documentation< / h2 >
2019-04-14 06:36:34 +02:00
< a id = "a0d63c28695e08a43a059982973791468" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a0d63c28695e08a43a059982973791468" > ◆ < / a > < / span > API()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > Easy::API::API < / td >
< td > (< / td >
< td class = "paramtype" > const string &   < / td >
< td class = "paramname" > < em > instance< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const string &   < / td >
< td class = "paramname" > < em > access_token< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > explicit< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Constructs a new < a class = "el" href = "namespaceMastodon_1_1Easy.html" title = "Collection of things that make it easier to interface with server software that implements the Mastod..." > Easy< / a > object. < / p >
2019-09-20 18:39:40 +02:00
< pre class = "fragment" > To register your application, leave access_token blank and
call register_app1() and register_app2().
< / pre > < dl class = "params" > < dt > Parameters< / dt > < dd >
2019-04-14 06:36:34 +02:00
< table class = "params" >
< tr > < td class = "paramname" > instance< / td > < td > The hostname of your instance < / td > < / tr >
< tr > < td class = "paramname" > access_token< / td > < td > The access token< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section since" > < dt > Since< / dt > < dd > 0.100.0 < / dd > < / dl >
2019-09-20 18:39:40 +02:00
< div class = "fragment" > < div class = "line" > < a name = "l00028" > < / a > < span class = "lineno" > 28< / span >   : < a class = "code" href = "classMastodon_1_1API.html" > Mastodon::API< / a > (instance, access_token)< / div > < div class = "line" > < a name = "l00029" > < / a > < span class = "lineno" > 29< / span >   {}< / div > < div class = "ttc" id = "classMastodon_1_1API_html" > < div class = "ttname" > < a href = "classMastodon_1_1API.html" > Mastodon::API< / a > < / div > < div class = "ttdoc" > Interface to the Mastodon API.< / div > < div class = "ttdef" > < b > Definition:< / b > mastodon-cpp.hpp:69< / div > < / div >
2019-04-14 06:36:34 +02:00
< / div > <!-- fragment -->
< / div >
< / div >
< h2 class = "groupheader" > Member Function Documentation< / h2 >
< a id = "a74e30389f87f8e06708c6fbc401093ba" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a74e30389f87f8e06708c6fbc401093ba" > ◆ < / a > < / span > get_link()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > const < a class = "el" href = "classMastodon_1_1Easy_1_1Link.html" > Easy::Link< / a > Easy::API::get_link < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > const< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Gets the links from the last answer. < / p >
< dl class = "section since" > < dt > Since< / dt > < dd > 0.100.0 < / dd > < / dl >
2019-09-20 18:39:40 +02:00
< div class = "fragment" > < div class = "line" > < a name = "l00096" > < / a > < span class = "lineno" > 96< / span >   {< / div > < div class = "line" > < a name = "l00097" > < / a > < span class = "lineno" > 97< / span >   < span class = "keywordflow" > return< / span > Link(< a class = "code" href = "classMastodon_1_1API.html#ad7392af31cff2a6b446aea1e6b58cbaf" > get_header< / a > (< span class = "stringliteral" > " Link" < / span > ));< / div > < div class = "line" > < a name = "l00098" > < / a > < span class = "lineno" > 98< / span >   }< / div > < div class = "ttc" id = "classMastodon_1_1API_html_ad7392af31cff2a6b446aea1e6b58cbaf" > < div class = "ttname" > < a href = "classMastodon_1_1API.html#ad7392af31cff2a6b446aea1e6b58cbaf" > Mastodon::API::get_header< / a > < / div > < div class = "ttdeci" > const string get_header(const string & header) const< / div > < div class = "ttdoc" > Gets the header from the last answer.< / div > < div class = "ttdef" > < b > Definition:< / b > mastodon-cpp.cpp:268< / div > < / div >
2019-04-14 06:36:34 +02:00
< / div > <!-- fragment -->
< / div >
< / div >
< a id = "a1f21337db033b46ec9d1c4beb73211c9" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a1f21337db033b46ec9d1c4beb73211c9" > ◆ < / a > < / span > get_notifications()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > const < a class = "el" href = "structMastodon_1_1Easy_1_1return__entity__vector.html" > return_entity_vector< / a > < < a class = "el" href = "classMastodon_1_1Easy_1_1Notification.html" > Notification< / a > > API::get_notifications < / td >
< td > (< / td >
< td class = "paramtype" > const uint16_t  < / td >
< td class = "paramname" > < em > limit< / em > = < code > 20< / code > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const string  < / td >
< td class = "paramname" > < em > since_id< / em > = < code > " " < / code > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const string  < / td >
< td class = "paramname" > < em > max_id< / em > = < code > " " < / code >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Gets notifications. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > limit< / td > < td > Maximum number of notifications < / td > < / tr >
< tr > < td class = "paramname" > since_id< / td > < td > Return notifications newer than ID < / td > < / tr >
< tr > < td class = "paramname" > max_id< / td > < td > Return notifications older than ID< / td > < / tr >
< / table >
< / dd >
< / dl >
2019-09-20 18:39:40 +02:00
< dl class = "section return" > < dt > Returns< / dt > < dd > vector of < a class = "el" href = "classMastodon_1_1Easy_1_1Notification.html" title = "Class to hold notifications." > Easy::Notification< / a > .< / dd > < / dl >
2019-04-14 06:36:34 +02:00
< dl class = "section since" > < dt > Since< / dt > < dd > 0.100.0 < / dd > < / dl >
2019-09-20 18:39:40 +02:00
< div class = "fragment" > < div class = "line" > < a name = "l00137" > < / a > < span class = "lineno" > 137< / span >   {< / div > < div class = "line" > < a name = "l00138" > < / a > < span class = "lineno" > 138< / span >   < a class = "code" href = "namespaceMastodon.html#aaf95922e677cfc5b25eb56b4b6406d51" > parameters< / a > params;< / div > < div class = "line" > < a name = "l00139" > < / a > < span class = "lineno" > 139< / span >   < / div > < div class = "line" > < a name = "l00140" > < / a > < span class = "lineno" > 140< / span >   params.push_back({ < span class = "stringliteral" > " limit" < / span > , { std::to_string(limit) } });< / div > < div class = "line" > < a name = "l00141" > < / a > < span class = "lineno" > 141< / span >   < span class = "keywordflow" > if< / span > (!since_id.empty())< / div > < div class = "line" > < a name = "l00142" > < / a > < span class = "lineno" > 142< / span >   {< / div > < div class = "line" > < a name = "l00143" > < / a > < span class = "lineno" > 143< / span >   params.push_back({ < span class = "stringliteral" > " since_id" < / span > , { since_id } });< / div > < div class = "line" > < a name = "l00144" > < / a > < span class = "lineno" > 144< / span >   }< / div > < div class = "line" > < a name = "l00145" > < / a > < span class = "lineno" > 145< / span >   < span class = "keywordflow" > if< / span > (!max_id.empty())< / div > < div class = "line" > < a name = "l00146" > < / a > < span class = "lineno" > 146< / span >   {< / div > < div class = "line" > < a name = "l00147" > < / a > < span class = "lineno" > 147< / span >   params.push_back({ < span class = "stringliteral" > " max_id" < / span > , { max_id } });< / div > < div class = "line" > < a name = "l00148" > < / a > < span class = "lineno" > 148< / span >   }< / div > < div class = "line" > < a name = "l00149" > < / a > < span class = "lineno" > 149< / span >   < / div > < div class = "line" > < a name = "l00150" > < / a > < span class = "lineno" > 150< / span >   < a class = "code" href = "namespaceMastodon.html#ade2bfe3f2cb66b2cb6ddfe24d05bcb19" > return_call< / a > ret = < a class = "code" href = "classMastodon_1_1API.html#aaa9c68543d4778ba55d67f295fecdf5e" > API::get< / a > (API::v1::notifications, params);< / div > < div class = "line" > < a name = "l00151" > < / a > < span class = "lineno" > 151< / span >   < / div > < div class = "line" > < a name = "l00152" > < / a > < span class = "lineno" > 152< / span >   < span class = "keywordflow" > if< / span > (ret.error_code == 0)< / div > < div class = "line" > < a name = "l00153" > < / a > < span class = "lineno" > 153< / span >   {< / div > < div class = "line" > < a name = "l00154" > < / a > < span class = "lineno" > 154< / span >   < span class = "keyword" > const< / span > vector< string> & answer_v = < a class = "code" href = "namespaceMastodon_1_1Easy.html#a1c5feb60d638df25a185f1bbc61cc691" > json_array_to_vector< / a > (ret.answer);< / div > < div class = "line" > < a name = "l00155" > < / a > < span class = "lineno" > 155< / span >   vector< Notification> notifications;< / div > < div class = "line" > < a name = "l00156" > < / a > < span class = "lineno" > 156< / span >   notifications.resize(answer_v.size());< / div > < div class = "line" > < a name = "l00157" > < / a > < span class = "lineno" > 157< / span >   < / div > < div class = "line" > < a name = "l00158" > < / a > < span class = "lineno" > 158< / span >   < span class = "comment" > // Transform vector of strings to vector of Notification.< / span > < / div > < div class = "line" > < a name = "l00159" > < / a > < span class = "lineno" > 159< / span >   std::transform(answer_v.begin(), answer_v.end(), notifications.begin(),< / div > < div class = "line" > < a name = "l00160" > < / a > < span class = "lineno" > 160< / span >   [](< span class = "keyword" > const< / span > < span class = "keywordtype" > string< / span > & s)< / div > < div class = "line" > < a name = "l00161" > < / a > < span class = "lineno" > 161< / span >   { < span class = "keywordflow" > return< / span > < a class = "code" href = "classMastodon_1_1Easy_1_1Notification.html" > Notification< / a > (s); });< / div > < div class = "line" > < a name = "l00162" > < / a > < span class = "lineno" > 162< / span >   < / div > < div class = "line" > < a name = "l00163" > < / a > < span class = "lineno" > 163< / span >   < span class = "keywordflow" > return< / span > { ret.error_code, ret.error_message, ret.http_error_code,< / div > < div class = "line" > < a name = "l00164" > < / a > < span class = "lineno" > 164< / span >   notifications };< / div > < d
< div class = "ttc" id = "namespaceMastodon_html_ade2bfe3f2cb66b2cb6ddfe24d05bcb19" > < div class = "ttname" > < a href = "namespaceMastodon.html#ade2bfe3f2cb66b2cb6ddfe24d05bcb19" > Mastodon::return_call< / a > < / div > < div class = "ttdeci" > Mastodon::return_call return_call< / div > < div class = "ttdoc" > Return type for API calls.< / div > < / div >
< div class = "ttc" id = "classMastodon_1_1Easy_1_1Notification_html" > < div class = "ttname" > < a href = "classMastodon_1_1Easy_1_1Notification.html" > Mastodon::Easy::Notification< / a > < / div > < div class = "ttdoc" > Class to hold notifications.< / div > < div class = "ttdef" > < b > Definition:< / b > notification.hpp:40< / div > < / div >
< div class = "ttc" id = "namespaceMastodon_html_aaf95922e677cfc5b25eb56b4b6406d51" > < div class = "ttname" > < a href = "namespaceMastodon.html#aaf95922e677cfc5b25eb56b4b6406d51" > Mastodon::parameters< / a > < / div > < div class = "ttdeci" > Mastodon::parameters parameters< / div > < div class = "ttdoc" > Vector of Mastodon::param, used for passing parameters in calls.< / div > < / div >
< div class = "ttc" id = "namespaceMastodon_1_1Easy_html_a1c5feb60d638df25a185f1bbc61cc691" > < div class = "ttname" > < a href = "namespaceMastodon_1_1Easy.html#a1c5feb60d638df25a185f1bbc61cc691" > Mastodon::Easy::json_array_to_vector< / a > < / div > < div class = "ttdeci" > const vector< string > json_array_to_vector(const string & json)< / div > < div class = "ttdoc" > Turns a JSON array into a vector of strings.< / div > < div class = "ttdef" > < b > Definition:< / b > easy.cpp:31< / div > < / div >
2019-04-14 06:36:34 +02:00
< / div > <!-- fragment -->
< / div >
< / div >
< a id = "a13b07bb00e1ba7705786396e57a2b6e4" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a13b07bb00e1ba7705786396e57a2b6e4" > ◆ < / a > < / span > send_post()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > const < a class = "el" href = "structMastodon_1_1Easy_1_1return__entity.html" > return_entity< / a > < < a class = "el" href = "classMastodon_1_1Easy_1_1Status.html" > Status< / a > > API::send_post < / td >
< td > (< / td >
< td class = "paramtype" > const < a class = "el" href = "classMastodon_1_1Easy_1_1Status.html" > Status< / a > &   < / td >
< td class = "paramname" > < em > status< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Sends a post. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2019-04-14 06:49:40 +02:00
< tr > < td class = "paramname" > status< / td > < td > The status to send< / td > < / tr >
2019-04-14 06:36:34 +02:00
< / table >
< / dd >
< / dl >
2019-09-20 18:39:40 +02:00
< dl class = "section return" > < dt > Returns< / dt > < dd > The new < a class = "el" href = "classMastodon_1_1Easy_1_1Status.html" title = "Class to hold statuses." > Easy::Status< / a > < / dd > < / dl >
2019-04-14 06:36:34 +02:00
< dl class = "section since" > < dt > Since< / dt > < dd > 0.100.0 < / dd > < / dl >
2019-09-20 18:39:40 +02:00
< div class = "fragment" > < div class = "line" > < a name = "l00032" > < / a > < span class = "lineno" > 32< / span >   {< / div > < div class = "line" > < a name = "l00033" > < / a > < span class = "lineno" > 33< / span >   < a class = "code" href = "namespaceMastodon.html#aaf95922e677cfc5b25eb56b4b6406d51" > parameters< / a > params;< / div > < div class = "line" > < a name = "l00034" > < / a > < span class = "lineno" > 34< / span >   < / div > < div class = "line" > < a name = "l00035" > < / a > < span class = "lineno" > 35< / span >   < span class = "keywordflow" > if< / span > (!status.< a class = "code" href = "classMastodon_1_1Easy_1_1Status.html#a08baa55aeca1317f5beef330b9e7ecf0" > content< / a > ().empty())< / div > < div class = "line" > < a name = "l00036" > < / a > < span class = "lineno" > 36< / span >   {< / div > < div class = "line" > < a name = "l00037" > < / a > < span class = "lineno" > 37< / span >   params.push_back({ < span class = "stringliteral" > " status" < / span > , { status.< a class = "code" href = "classMastodon_1_1Easy_1_1Status.html#a08baa55aeca1317f5beef330b9e7ecf0" > content< / a > () }});< / div > < div class = "line" > < a name = "l00038" > < / a > < span class = "lineno" > 38< / span >   }< / div > < div class = "line" > < a name = "l00039" > < / a > < span class = "lineno" > 39< / span >   < span class = "keywordflow" > else< / span > < / div > < div class = "line" > < a name = "l00040" > < / a > < span class = "lineno" > 40< / span >   {< / div > < div class = "line" > < a name = "l00041" > < / a > < span class = "lineno" > 41< / span >   ttdebug < < < span class = "stringliteral" > " ERROR: Easy::Status::content can not be empty.\n" < / span > ;< / div > < div class = "line" > < a name = "l00042" > < / a > < span class = "lineno" > 42< / span >   < span class = "keywordflow" > return< / span > { error::INVALID_ARGUMENT,< / div > < div class = "line" > < a name = "l00043" > < / a > < span class = "lineno" > 43< / span >   < span class = "stringliteral" > " Easy::Status::content can not be empty" < / span > , 0, < a class = "code" href = "classMastodon_1_1Easy_1_1Status.html" > Status< / a > () };< / div > < div class = "line" > < a name = "l00044" > < / a > < span class = "lineno" > 44< / span >   }< / div > < div class = "line" > < a name = "l00045" > < / a > < span class = "lineno" > 45< / span >   < / div > < div class = "line" > < a name = "l00046" > < / a > < span class = "lineno" > 46< / span >   < span class = "keywordflow" > if< / span > (!status.< a class = "code" href = "classMastodon_1_1Easy_1_1Status.html#a287ee57494a7c4b3d4e74917798d2f8b" > in_reply_to_id< / a > ().empty())< / div > < div class = "line" > < a name = "l00047" > < / a > < span class = "lineno" > 47< / span >   {< / div > < div class = "line" > < a name = "l00048" > < / a > < span class = "lineno" > 48< / span >   params.push_back({ < span class = "stringliteral" > " in_reply_to_id" < / span > ,< / div > < div class = "line" > < a name = "l00049" > < / a > < span class = "lineno" > 49< / span >   { status.< a class = "code" href = "classMastodon_1_1Easy_1_1Status.html#a287ee57494a7c4b3d4e74917798d2f8b" > in_reply_to_id< / a > () }});< / div > < div class = "line" > < a name = "l00050" > < / a > < span class = "lineno" > 50< / span >   }< / div > < div class = "line" > < a name = "l00051" > < / a > < span class = "lineno" > 51< / span >   < span class = "keywordflow" > if< / span > (status.< a class = "code" href = "classMastodon_1_1Easy_1_1Status.html#a089fc0c49c51c5b8f17101b3e6153d2a" > sensitive< / a > ())< / div > < div class = "line" > < a name = "l00052" > < / a > < span class = "lineno" > 52< / span >   {< / div > < div class = "line" > < a name = "l00053" > < / a > < span class = "lineno" > 53< / span >   params.push_back({ < span class = "stringliteral" > " sensitive" < / span > , { < span class = "stringliteral" > " true" < / span > }});< / div > < div class = "line" > < a name = "l00054" > < / a > < span class = "lineno" > 54< / span >   }< / div > < div class = "line" > < a name = "l00055" > < / a > < span class = "lineno" > 55< / span >   < span class = "keywordflow" > if< / span > (!status.< a class = "code" href = "classMastodon_1_1Easy_1_1Status.html#a7625754b87a0b8654092b7df577d885b" > spoiler_text< / a > ().empty())< / div > < div class = "line" > < a name = "l00056" > < / a > < span class = "lineno" > 56< / span >   {< / div > < div class = "line" > < a name = "l00057" > < / a > < span class = "lineno" > 57< / span >   params.push_back({ < span class = "stringliteral" > " spoiler_t
< div class = "ttc" id = "classMastodon_1_1Easy_1_1Status_html_a089fc0c49c51c5b8f17101b3e6153d2a" > < div class = "ttname" > < a href = "classMastodon_1_1Easy_1_1Status.html#a089fc0c49c51c5b8f17101b3e6153d2a" > Mastodon::Easy::Status::sensitive< / a > < / div > < div class = "ttdeci" > bool sensitive() const< / div > < div class = "ttdoc" > Returns true if the attachments should be hidden by default.< / div > < div class = "ttdef" > < b > Definition:< / b > status.cpp:233< / div > < / div >
< div class = "ttc" id = "classMastodon_1_1Easy_1_1Attachment_html" > < div class = "ttname" > < a href = "classMastodon_1_1Easy_1_1Attachment.html" > Mastodon::Easy::Attachment< / a > < / div > < div class = "ttdoc" > Class to hold attachments.< / div > < div class = "ttdef" > < b > Definition:< / b > attachment.hpp:40< / div > < / div >
< div class = "ttc" id = "namespaceMastodon_html_aaf95922e677cfc5b25eb56b4b6406d51" > < div class = "ttname" > < a href = "namespaceMastodon.html#aaf95922e677cfc5b25eb56b4b6406d51" > Mastodon::parameters< / a > < / div > < div class = "ttdeci" > Mastodon::parameters parameters< / div > < div class = "ttdoc" > Vector of Mastodon::param, used for passing parameters in calls.< / div > < / div >
< div class = "ttc" id = "classMastodon_1_1API_html_a3399557caf20d73656c4e720b8538c1a" > < div class = "ttname" > < a href = "classMastodon_1_1API.html#a3399557caf20d73656c4e720b8538c1a" > Mastodon::API::post< / a > < / div > < div class = "ttdeci" > return_call post(const Mastodon::API::v1 & call)< / div > < div class = "ttdoc" > Make a POST request that doesn't require parameters.< / div > < div class = "ttdef" > < b > Definition:< / b > post.cpp:213< / div > < / div >
< div class = "ttc" id = "classMastodon_1_1Easy_1_1Status_html_a9f23bb069483c54103c788393a33810d" > < div class = "ttname" > < a href = "classMastodon_1_1Easy_1_1Status.html#a9f23bb069483c54103c788393a33810d" > Mastodon::Easy::Status::media_attachments< / a > < / div > < div class = "ttdeci" > const std::vector< Attachment > media_attachments() const< / div > < div class = "ttdoc" > Returns the attachments.< / div > < div class = "ttdef" > < b > Definition:< / b > status.cpp:154< / div > < / div >
< div class = "ttc" id = "classMastodon_1_1Easy_1_1Status_html_a9b783410cd731e44599624b1bffecc8a" > < div class = "ttname" > < a href = "classMastodon_1_1Easy_1_1Status.html#a9b783410cd731e44599624b1bffecc8a" > Mastodon::Easy::Status::language< / a > < / div > < div class = "ttdeci" > const string language() const< / div > < div class = "ttdoc" > Returns the language of the status.< / div > < div class = "ttdef" > < b > Definition:< / b > status.cpp:143< / div > < / div >
< div class = "ttc" id = "classMastodon_1_1Easy_1_1Status_html" > < div class = "ttname" > < a href = "classMastodon_1_1Easy_1_1Status.html" > Mastodon::Easy::Status< / a > < / div > < div class = "ttdoc" > Class to hold statuses.< / div > < div class = "ttdef" > < b > Definition:< / b > status.hpp:46< / div > < / div >
< div class = "ttc" id = "classMastodon_1_1Easy_1_1Status_html_a30b94cb748b7c70c4d5928c349f72a3c" > < div class = "ttname" > < a href = "classMastodon_1_1Easy_1_1Status.html#a30b94cb748b7c70c4d5928c349f72a3c" > Mastodon::Easy::Status::visibility< / a > < / div > < div class = "ttdeci" > visibility_type visibility() const< / div > < div class = "ttdoc" > Returns the visibility of the status.< / div > < div class = "ttdef" > < b > Definition:< / b > status.cpp:280< / div > < / div >
< div class = "ttc" id = "classMastodon_1_1Easy_1_1Status_html_a08baa55aeca1317f5beef330b9e7ecf0" > < div class = "ttname" > < a href = "classMastodon_1_1Easy_1_1Status.html#a08baa55aeca1317f5beef330b9e7ecf0" > Mastodon::Easy::Status::content< / a > < / div > < div class = "ttdeci" > const string content() const< / div > < div class = "ttdoc" > Returns content of status.< / div > < div class = "ttdef" > < b > Definition:< / b > status.cpp:86< / div > < / div >
< div class = "ttc" id = "classMastodon_1_1Easy_1_1Status_html_a7625754b87a0b8654092b7df577d885b" > < div class = "ttname" > < a href = "classMastodon_1_1Easy_1_1Status.html#a7625754b87a0b8654092b7df577d885b" > Mastodon::Easy::Status::spoiler_text< / a > < / div > < div class = "ttdeci" > const string spoiler_text() const< / div > < div class = "ttdoc" > Returns the spoiler text.< / div > < div class = "ttdef" > < b > Definition:< / b > status.cpp:244< / div > < / div >
< div class = "ttc" id = "classMastodon_1_1Easy_1_1Status_html_a287ee57494a7c4b3d4e74917798d2f8b" > < div class = "ttname" > < a href = "classMastodon_1_1Easy_1_1Status.html#a287ee57494a7c4b3d4e74917798d2f8b" > Mastodon::Easy::Status::in_reply_to_id< / a > < / div > < div class = "ttdeci" > const string in_reply_to_id() const< / div > < div class = "ttdoc" > Returns the ID of the status it replies to.< / div > < div class = "ttdef" > < b > Definition:< / b > status.cpp:127< / div > < / div >
2019-04-14 06:36:34 +02:00
< / div > <!-- fragment -->
< / div >
< / div >
< a id = "aa80df556fd6ac3dc2900a00e9d9ce287" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aa80df556fd6ac3dc2900a00e9d9ce287" > ◆ < / a > < / span > send_toot()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > const < a class = "el" href = "structMastodon_1_1Easy_1_1return__entity.html" > return_entity< / a > < < a class = "el" href = "classMastodon_1_1Easy_1_1Status.html" > Status< / a > > API::send_toot < / td >
< td > (< / td >
< td class = "paramtype" > const < a class = "el" href = "classMastodon_1_1Easy_1_1Status.html" > Status< / a > &   < / td >
< td class = "paramname" > < em > status< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2019-09-20 18:39:40 +02:00
< p > Alias for < a class = "el" href = "classMastodon_1_1Easy_1_1API.html#a13b07bb00e1ba7705786396e57a2b6e4" title = "Sends a post." > send_post()< / a > < / p >
2019-04-14 06:36:34 +02:00
< dl class = "section since" > < dt > Since< / dt > < dd > 0.100.0 < / dd > < / dl >
2019-09-20 18:39:40 +02:00
< div class = "fragment" > < div class = "line" > < a name = "l00027" > < / a > < span class = "lineno" > 27< / span >   {< / div > < div class = "line" > < a name = "l00028" > < / a > < span class = "lineno" > 28< / span >   < span class = "keywordflow" > return< / span > < a class = "code" href = "classMastodon_1_1Easy_1_1API.html#a13b07bb00e1ba7705786396e57a2b6e4" > send_post< / a > (status);< / div > < div class = "line" > < a name = "l00029" > < / a > < span class = "lineno" > 29< / span >   }< / div > < div class = "ttc" id = "classMastodon_1_1Easy_1_1API_html_a13b07bb00e1ba7705786396e57a2b6e4" > < div class = "ttname" > < a href = "classMastodon_1_1Easy_1_1API.html#a13b07bb00e1ba7705786396e57a2b6e4" > Mastodon::Easy::API::send_post< / a > < / div > < div class = "ttdeci" > const return_entity< Easy::Status > send_post(const Status & status)< / div > < div class = "ttdoc" > Sends a post.< / div > < div class = "ttdef" > < b > Definition:< / b > simple_calls.cpp:31< / div > < / div >
2019-04-14 06:36:34 +02:00
< / div > <!-- fragment -->
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
< li > src/easy/< a class = "el" href = "easy_8hpp_source.html" > easy.hpp< / a > < / li >
< li > src/easy/easy.cpp< / li >
< li > src/easy/simple_calls.cpp< / li >
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
2019-09-20 18:39:40 +02:00
< / a > 1.8.15
2019-04-14 06:36:34 +02:00
< / small > < / address >
< / body >
< / html >