This commit is contained in:
2020-05-13 23:15:47 +00:00
parent dc6e8113a3
commit 1fb475827b
18 changed files with 31 additions and 31 deletions

View File

@@ -18,7 +18,7 @@ namespace AyaNova.Api.Controllers
/// </summary>
[ApiController]
[ApiVersion("8.0")]
[Route("api/v{version:apiVersion}/[controller]")]
[Route("api/v{version:apiVersion}/event-log")]
[Authorize]
public class EventLogController : ControllerBase
{
@@ -50,7 +50,7 @@ namespace AyaNova.Api.Controllers
///
/// </summary>
/// <returns>Event log entry list for object</returns>
[HttpGet("ObjectLog")]
[HttpGet("objectlog")]
public async Task<IActionResult> GetObjectLog([FromQuery] EventLogOptions opt)
{
if (serverState.IsClosed)
@@ -77,7 +77,7 @@ namespace AyaNova.Api.Controllers
///
/// </summary>
/// <returns>Event log for user</returns>
[HttpGet("UserLog")]
[HttpGet("userlog")]
public async Task<IActionResult> GetUserLog([FromQuery] UserEventLogOptions opt)
{
if (serverState.IsClosed)