17 #ifndef MASTODONPP_API_HPP
18 #define MASTODONPP_API_HPP
21 #include <string_view>
28 using std::string_view;
53 apps_verify_credentials,
56 accounts_verify_credentials,
57 accounts_update_credentials,
60 accounts_id_followers,
61 accounts_id_following,
63 accounts_id_identity_proofs,
72 accounts_relationships,
91 follow_requests_id_authorize,
92 follow_requests_id_reject,
98 featured_tags_suggestions,
103 suggestions_account_id,
108 statuses_id_reblogged_by,
109 statuses_id_favourited_by,
110 statuses_id_favourite,
111 statuses_id_unfavourite,
113 statuses_id_unreblog,
114 statuses_id_bookmark,
115 statuses_id_unbookmark,
128 scheduled_statuses_id,
131 timelines_tag_hashtag,
133 timelines_list_list_id,
137 conversations_id_read,
148 streaming_public_local,
150 streaming_hashtag_local,
157 notifications_id_dismiss,
173 admin_accounts_account_id_action,
174 admin_accounts_id_approve,
175 admin_accounts_id_reject,
176 admin_accounts_id_enable,
177 admin_accounts_id_unsilence,
178 admin_accounts_id_unsuspend,
181 admin_reports_id_assign_to_self,
182 admin_reports_id_unassign,
183 admin_reports_id_resolve,
184 admin_reports_id_reopen,
186 pleroma_notifications_read,
188 pleroma_accounts_id_subscribe,
189 pleroma_accounts_id_unsubscribe,
190 pleroma_accounts_id_favourites,
191 pleroma_accounts_update_avatar,
192 pleroma_accounts_update_banner,
193 pleroma_accounts_update_background,
194 pleroma_accounts_confirmation_resend,
198 pleroma_conversations_id_statuses,
199 pleroma_conversations_id,
254 admin_users_unfollow,
255 admin_users_nickname,
257 admin_users_nickname_permission_group,
258 admin_users_nickname_permission_group_permission_group,
259 admin_users_nickname_activation_status,
260 admin_users_nickname_or_id,
261 admin_users_nickname_or_id_statuses,
263 admin_users_invite_token,
265 admin_users_revoke_invite,
266 admin_users_email_invite,
267 admin_users_nickname_password_reset,
270 admin_reports_id_respond,
272 admin_config_migrate_to_db,
273 admin_config_migrate_from_db,
284 notification_settings,
315 return _endpoint_map.at(_endpoint);
320 static const map<endpoint_type,string_view> _endpoint_map;
325 #endif // MASTODONPP_API_HPP