Re-implemented everything using ASP.NET. Changed some requests to use JSON instead of FORM data. Some work towards deleting the FIXMEGlobal instance. Auth is missing, XSRF does not work correctly.
11 lines
434 B
C#
11 lines
434 B
C#
namespace Duplicati.WebserverCore.Dto;
|
|
|
|
/// <summary>
|
|
/// DTO for the repair endpoint
|
|
/// </summary>
|
|
/// <param name="only_paths">Whether to only repair paths</param>
|
|
/// <param name="time">The time to repair to</param>
|
|
/// <param name="version">The version to repair to</param>
|
|
/// <param name="paths">The paths to repair</param>
|
|
public sealed record RepairInputDto(bool? only_paths, string? time, string? version, string[]? paths);
|