feat(api): статистика запросов на авторизацию не из КЭШа
This commit is contained in:
@@ -224,6 +224,12 @@
|
||||
public const string Send = BaseStat + "/robot-states/";
|
||||
}
|
||||
|
||||
public static class StatAuth
|
||||
{
|
||||
public const string Get = BaseStat + "/auth";
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region Наряды
|
||||
|
||||
10
PARR.API/Contracts/V1/Requests/Queries/StatAuthGetQuery.cs
Normal file
10
PARR.API/Contracts/V1/Requests/Queries/StatAuthGetQuery.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace PARR.API.Contracts.V1.Requests.Queries
|
||||
{
|
||||
public class StatAuthGetQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Начало данных (-3d, -2h, -15m). По умолчанию -2h
|
||||
/// </summary>
|
||||
public string? StartAt { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace PARR.API.Contracts.V1.Responses.Statistics
|
||||
{
|
||||
public class StatAuthResponse
|
||||
{
|
||||
public DateTimeOffset Date { get; set; }
|
||||
|
||||
public int Count { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user