Mastodon API 2.7.0 endpoint that is used in glitch-soc.
Cherry-picked from features/glitch-soc-frontend.
features/glitch-soc-frontend