feat(api): StatTemplateAutoControlController статистика авто-контроля
This commit is contained in:
@@ -220,6 +220,11 @@
|
||||
public const string GetForPeriod = BaseStat + "/templates/period";
|
||||
}
|
||||
|
||||
public static class StatTemplateAutoControl
|
||||
{
|
||||
public const string GetForPeriod = BaseStat + "/template-auto-controls/";
|
||||
}
|
||||
|
||||
public static class StatHost
|
||||
{
|
||||
public const string Get = BaseStat + "/hosts/";
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace PARR.API.Contracts.V1.Responses.Statistics
|
||||
{
|
||||
public class StatTemplateAutoControlResponse
|
||||
{
|
||||
public DateOnly Date { get; set; }
|
||||
public int Сreations { get; set; }
|
||||
public int Activations { get; set; }
|
||||
public int Deactivations { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user