chore: mention deletion of reference in endpoint documentation

This commit is contained in:
2025-07-24 13:26:11 +02:00
parent 89a4140b53
commit 8324ba8456

View File

@@ -154,9 +154,13 @@ public class UserContentController : ControllerBase
/// [AUTHED] Delete an image /// [AUTHED] Delete an image
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Deletes an image, granted it exists. <br/> /// Deletes an image, granted it exists.
/// <br/><br/>
/// <b>Note</b>: /// <b>Note</b>:
/// If the image is a file on disk, it's also deleted. /// If the image is a file on disk, it's also deleted.
/// <br/><br/>
/// <b>Warning</b>:
/// Any reference to deleted image in Quotes table will also be deleted (nullified).
/// </remarks> /// </remarks>
/// <returns>Json with status</returns> /// <returns>Json with status</returns>
/// <param name="id">Image id which will be deleted</param> /// <param name="id">Image id which will be deleted</param>