diff --git a/server/AyaNova/Controllers/FormCustomController.cs b/server/AyaNova/Controllers/FormCustomController.cs index e0e72431..844b473a 100644 --- a/server/AyaNova/Controllers/FormCustomController.cs +++ b/server/AyaNova/Controllers/FormCustomController.cs @@ -48,6 +48,7 @@ namespace AyaNova.Api.Controllers /// /// Get form customizations for Client form display + /// Returns 304 not modified if concurrency token provided and unchanged /// /// Required roles: /// Any @@ -55,8 +56,8 @@ namespace AyaNova.Api.Controllers /// /// The official form key used by AyaNova /// A prior concurrency token used to check if there are any changes without using up bandwidth sending unnecessary data - /// A single FormCustom - [HttpGet("{formkey}")] + /// A single FormCustom or nothing and a header 304 not modified + [HttpGet("{formkey}")] public async Task GetFormCustom([FromRoute] string formkey, [FromQuery] uint? concurrencyToken) { if (serverState.IsClosed) @@ -149,7 +150,7 @@ namespace AyaNova.Api.Controllers } - /// + /// /// Get a list of all customizable form keys /// Used to build UI for customizing a form ///