fix(api): Статистика по шаблонам
This commit is contained in:
@@ -182,6 +182,11 @@ namespace PARR.API.Contracts.V1
|
||||
public const string Get = BaseStat + "/robot-histories/";
|
||||
}
|
||||
|
||||
public static class StatTemplate
|
||||
{
|
||||
public const string Get = BaseStat + "/templates/";
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
namespace PARR.API.Contracts.V1.Responses.Statistics
|
||||
{
|
||||
public class StatTemplateResponse
|
||||
{
|
||||
public int TemplateCount { get; set; }
|
||||
|
||||
public int ActivateTemplateCount { get; set; }
|
||||
|
||||
public int ActivateScheduleCount { get; set; }
|
||||
|
||||
public int TemplateAgentCount { get; set; }
|
||||
|
||||
public int SyncEsppTemplatesCount { get;set; }
|
||||
|
||||
public int SyncEsppScheduleCount { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user