diff options
author | 2021-05-31 17:36:35 +0200 | |
---|---|---|
committer | 2021-05-31 17:36:35 +0200 | |
commit | 6ac6f8d614d17910d929981bde7d80d8ec2c0b6e (patch) | |
tree | e7a51ba572a7cc880bbc22dacb999236ac6e36e6 /internal/api/client/status/status.go | |
parent | Move a lot of stuff + tidy stuff (#37) (diff) | |
download | gotosocial-6ac6f8d614d17910d929981bde7d80d8ec2c0b6e.tar.xz |
Tidy + timeline embetterment (#38)
* tidy up timelines a bit + stub out some endpoints
* who's faved and who's boosted, reblog notifs
* linting
* Update progress with new endpoints
Diffstat (limited to 'internal/api/client/status/status.go')
-rw-r--r-- | internal/api/client/status/status.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/api/client/status/status.go b/internal/api/client/status/status.go index e71764eb1..c5959edb0 100644 --- a/internal/api/client/status/status.go +++ b/internal/api/client/status/status.go @@ -95,8 +95,12 @@ func (m *Module) Route(r router.Router) error { r.AttachHandler(http.MethodPost, FavouritePath, m.StatusFavePOSTHandler) r.AttachHandler(http.MethodPost, UnfavouritePath, m.StatusUnfavePOSTHandler) + r.AttachHandler(http.MethodGet, FavouritedPath, m.StatusFavedByGETHandler) r.AttachHandler(http.MethodPost, ReblogPath, m.StatusBoostPOSTHandler) + r.AttachHandler(http.MethodGet, RebloggedPath, m.StatusBoostedByGETHandler) + + r.AttachHandler(http.MethodGet, ContextPath, m.StatusContextGETHandler) r.AttachHandler(http.MethodGet, BasePathWithID, m.muxHandler) return nil |