From 4d5b331a0fb99d4a1eef3a45e4eea9cd23548052 Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 19 Sep 2019 23:20:19 +0200 Subject: [PATCH] Removed /api/v1/search. Because it is not documented by tootsuite anymore. --- src/api/get.cpp | 5 ----- src/mastodon-cpp.hpp | 10 ++++++---- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/api/get.cpp b/src/api/get.cpp index 5ce5fed..92dfc0f 100644 --- a/src/api/get.cpp +++ b/src/api/get.cpp @@ -151,11 +151,6 @@ const return_call API::get(const Mastodon::API::v1 &call, strcall = "/api/v1/notifications/" + strid; break; } - case v1::search: - { - strcall = "/api/v1/search"; - break; - } case v1::statuses_id: { strcall = "/api/v1/statuses/" + strid; diff --git a/src/mastodon-cpp.hpp b/src/mastodon-cpp.hpp index 6e06235..b70f846 100644 --- a/src/mastodon-cpp.hpp +++ b/src/mastodon-cpp.hpp @@ -226,8 +226,8 @@ namespace Mastodon lists, accounts_id_lists, - lists_id, lists_id_accounts, + lists_id, media, media_id, @@ -244,19 +244,20 @@ namespace Mastodon notifications_dismiss, push_subscription, + // polls_id, + // polls_id_votes, + reports, // scheduled_statuses, // scheduled_statuses_id, - search, - - statuses, statuses_id, statuses_id_context, statuses_id_card, statuses_id_reblogged_by, statuses_id_favourited_by, + statuses, statuses_id_reblog, statuses_id_unreblog, statuses_id_pin, @@ -268,6 +269,7 @@ namespace Mastodon timelines_tag_hashtag, timelines_list_list_id, + // streaming_health, streaming_user, streaming_public, streaming_public_local,