From 7974696ed0836ee0c2cf9dae82f54de781652505 Mon Sep 17 00:00:00 2001 From: Claire Date: Thu, 31 Aug 2023 18:18:04 +0200 Subject: [PATCH] Mention followed hashtags in /api/v1/timelines/home (#1282) * Mention followed hashtags in /api/v1/timelines/home * Update timelines.md --- content/en/methods/timelines.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/en/methods/timelines.md b/content/en/methods/timelines.md index a8a38f92..954ae3f5 100644 --- a/content/en/methods/timelines.md +++ b/content/en/methods/timelines.md @@ -231,7 +231,7 @@ Hashtag does not exist GET /api/v1/timelines/home HTTP/1.1 ``` -View statuses from followed users. +View statuses from followed users and hashtags. **Returns:** Array of [Status]({{}})\ **OAuth:** User + `read:statuses`\ @@ -239,6 +239,7 @@ View statuses from followed users. 0.0.0 - added\ 2.6.0 - add `min_id`\ 3.3.0 - both `min_id` and `max_id` can be used at the same time now +4.0.0 - as users can now follow hashtags, statuses from non-followed users may appear in the timeline #### Request @@ -448,4 +449,4 @@ Invalid or missing Authorization header. {{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/timelines/public_controller.rb" caption="app/controllers/api/v1/timelines/public_controller.rb" >}} -{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/timelines/tag_controller.rb" caption="app/controllers/api/v1/timelines/tag_controller.rb" >}} \ No newline at end of file +{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/timelines/tag_controller.rb" caption="app/controllers/api/v1/timelines/tag_controller.rb" >}}