feat: improve recording automation and task workflows
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using LiveRecorder.Application.Abstractions.Logging;
|
||||
using LiveRecorder.Application.Models.Logs;
|
||||
using LiveRecorder.Domain.Enums;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace LiveRecorder.WebApi.Controllers;
|
||||
@@ -20,7 +21,8 @@ public sealed class LogsController : ControllerBase
|
||||
[FromQuery] Guid? liveRoomId,
|
||||
[FromQuery] Guid? recordSessionId,
|
||||
[FromQuery] Guid? recordTaskId,
|
||||
[FromQuery] SystemLogLevel? level,
|
||||
[FromQuery] int take = 200,
|
||||
CancellationToken cancellationToken = default) =>
|
||||
Ok(await _systemLogService.ListAsync(liveRoomId, recordSessionId, recordTaskId, take, cancellationToken));
|
||||
Ok(await _systemLogService.ListAsync(liveRoomId, recordSessionId, recordTaskId, level, take, cancellationToken));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user