diff --git a/Iceshrimp.Backend/Controllers/Mastodon/AccountController.cs b/Iceshrimp.Backend/Controllers/Mastodon/AccountController.cs index 64564b27..4885ceb9 100644 --- a/Iceshrimp.Backend/Controllers/Mastodon/AccountController.cs +++ b/Iceshrimp.Backend/Controllers/Mastodon/AccountController.cs @@ -434,6 +434,20 @@ public class AccountController( return Ok(res); } + [HttpGet("{id}/featured_tags")] + [ProducesResponseType(StatusCodes.Status200OK, Type = typeof(IEnumerable))] + [ProducesResponseType(StatusCodes.Status404NotFound, Type = typeof(MastodonErrorResponse))] + public async Task GetUserFeaturedTags(string id) + { + _ = await db.Users + .Include(p => p.UserProfile) + .FirstOrDefaultAsync(p => p.Id == id) ?? + throw GracefulException.RecordNotFound(); + + var res = Array.Empty(); + return Ok(res); + } + [HttpGet("/api/v1/follow_requests")] [Authorize("read:follows")] [LinkPagination(40, 80)]