1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

New: Add backup size information

Closes #4830

(cherry picked from commit 78aeda1a2cc217c367c5c3c6fd281c101b28413c)
This commit is contained in:
Zack Eckersley Pallett
2022-02-21 20:11:12 +00:00
committed by Robin Dadswell
parent 07bb5e416b
commit 36da57f87b
6 changed files with 18 additions and 0 deletions
@@ -42,6 +42,7 @@ namespace Radarr.Api.V3.System.Backup
Name = b.Name,
Path = $"/backup/{b.Type.ToString().ToLower()}/{b.Name}",
Type = b.Type,
Size = b.Size,
Time = b.Time
})
.OrderByDescending(b => b.Time)
@@ -9,6 +9,7 @@ namespace Radarr.Api.V3.System.Backup
public string Name { get; set; }
public string Path { get; set; }
public BackupType Type { get; set; }
public long Size { get; set; }
public DateTime Time { get; set; }
}
}