summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Boggs <scott@tams.tech>2023-09-03 06:19:31 -0400
committerGitHub <noreply@github.com>2023-09-03 06:19:31 -0400
commit9b73e2dc7f4636580000f39bc8e6662c3eac1b95 (patch)
treea0835d45aed1ecca7fcbc7e65adb40ce73e54740
parenta8e493ebc4d73efa8113b6b4dfd83128d8a0f3b7 (diff)
parent93321c7f0daee84f1d8ab5fdcfec1f6111a16ae1 (diff)
Merge pull request #114 from dscottboggs/fix/public-timeline-should-be-paged
Fix: public timeline should be paged
-rw-r--r--src/mastodon.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mastodon.rs b/src/mastodon.rs
index fbf4330..e5248dc 100644
--- a/src/mastodon.rs
+++ b/src/mastodon.rs
@@ -56,6 +56,7 @@ impl Mastodon {
(get) instance_domain_blocks: "instance/domain_blocks" => DomainBlock,
(get) follow_requests: "follow_requests" => Account,
(get) get_home_timeline: "timelines/home" => Status,
+ (get (local: bool,)) get_public_timeline: "timelines/public" => Status,
(get) get_emojis: "custom_emojis" => CustomEmoji,
(get) mutes: "mutes" => Account,
(get) notifications: "notifications" => Notification,
@@ -82,7 +83,6 @@ impl Mastodon {
(post (domain: String,)) block_domain: "domain_blocks" => Empty,
(post (id: &str,)) authorize_follow_request: "accounts/follow_requests/authorize" => Empty,
(post (id: &str,)) reject_follow_request: "accounts/follow_requests/reject" => Empty,
- (get (local: bool,)) get_public_timeline: "timelines/public" => Vec<Status>,
(post (uri: Cow<'static, str>,)) follows: "follows" => Account,
(post) clear_notifications: "notifications/clear" => Empty,
(post (id: &str,)) dismiss_notification: "notifications/dismiss" => Empty,