feat: improve recording automation and task workflows

This commit is contained in:
2026-04-23 23:18:11 +08:00
parent 1c892259a9
commit 23ead56781
88 changed files with 9579 additions and 1581 deletions
@@ -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));
}