feat(api): статистика по заданиям для роботов и роботам.

This commit is contained in:
Mikhail Trubnikov
2023-12-12 15:56:42 +10:00
parent ff6be4966f
commit 2069d7b75f
8 changed files with 227 additions and 0 deletions

View File

@@ -22,6 +22,11 @@ namespace PARR.API.Contracts.V1
public const string Base = Root + "/" + Version;
/// <summary>
/// Статистика
/// </summary>
public const string BaseStat = Base + "/statistics";
public static class ApiStatus
{
public const string Version = Base + "/version";
@@ -160,6 +165,20 @@ namespace PARR.API.Contracts.V1
#endregion
#region Статистика
public static class StatRobotTask
{
public const string Get = BaseStat + "/robot-tasks/";
}
public static class StatRobotStatus
{
public const string Get = BaseStat + "/robot-statuses/";
}
#endregion
}
}