···16161717namespace Iceshrimp.Backend.Controllers.Web;
18181919+/// <summary>
2020+/// Operations that aren't well categorized and may be moved to a more appropriate section at a later date.
2121+/// </summary>
1922[ApiController]
2023[Authenticate]
2124[Authorize]
2525+[Tags("Miscellaneous")]
2226[EnableRateLimiting("sliding")]
2327[Route("/api/iceshrimp/misc")]
2428[Produces(MediaTypeNames.Application.Json)]
2529[EnableCors("iceshrimp")]
2630public class MiscController(DatabaseContext db, NoteRenderer noteRenderer, BiteService biteSvc) : ControllerBase
2731{
3232+ /// <summary>
3333+ /// Bite back
3434+ /// </summary>
3535+ /// <remarks>Bite a user back in response to a Bite activity</remarks>
3636+ /// <param name="id">The Bite's ID</param>
2837 [HttpPost("bite_back/{id}")]
2938 [Authenticate]
3039 [Authorize]
···4958 await biteSvc.BiteAsync(user, target);
5059 }
51606161+ /// <summary>
6262+ /// Get muted threads
6363+ /// </summary>
6464+ /// <remarks>Returns a paginated list of note threads that are muted by the user.</remarks>
6565+ /// <param name="pq">Pagination query</param>
6666+ /// <response code="200">Paginated list of muted note threads</response>
5267 [HttpGet("muted_threads")]
5368 [LinkPagination(20, 40)]
5469 [ProducesResults(HttpStatusCode.OK)]
···6681 return await noteRenderer.RenderManyAsync(notes.EnforceRenoteReplyVisibility(), user);
6782 }
68838484+ /// <summary>
8585+ /// Get user status
8686+ /// </summary>
8787+ /// <remarks>Returns status information for the user.</remarks>
8888+ /// <response code="200">Status information</response>
6989 [HttpGet("status")]
7090 [EnableRateLimiting("sliding")]
7191 [ProducesResults(HttpStatusCode.OK)]