diff --git a/src/api/v1/index.ts b/src/api/v1/index.ts index 84addbf0..31d8e902 100644 --- a/src/api/v1/index.ts +++ b/src/api/v1/index.ts @@ -85,6 +85,28 @@ app.get("/announcements", (c) => { return c.json([]); }); +app.get("/trends/tags", (c) => { + return c.json([]); +}); + +app.get("/trends/statuses", (c) => { + return c.json([]); +}); + +app.get("/trends/links", (c) => { + return c.json([]); +}); + +// Mastodon clients also request /trends without a subpath, +// which is equivalent to /trends/tags: +app.get("/trends", (c) => { + return c.json([]); +}); + +app.get("/suggestions", (c) => { + return c.json([]); +}); + app.get( "/favourites", tokenRequired, diff --git a/src/api/v2/index.ts b/src/api/v2/index.ts index e50089bc..6d135936 100644 --- a/src/api/v2/index.ts +++ b/src/api/v2/index.ts @@ -46,6 +46,10 @@ app.route("/notifications", notificationsRoutes); app.post("/media", tokenRequired, scopeRequired(["write:media"]), postMedia); +app.get("/suggestions", (c) => { + return c.json([]); +}); + app.get( "/search", tokenRequired,