mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
Add /api/client/{clientId} Endpoint
This endpoint returns general information about the client ID provided.
This commit is contained in:
17
SharedLibraryCore/Dtos/ClientInfoResult.cs
Normal file
17
SharedLibraryCore/Dtos/ClientInfoResult.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using Data.Models.Client;
|
||||
|
||||
namespace SharedLibraryCore.Dtos;
|
||||
|
||||
public class ClientInfoResult
|
||||
{
|
||||
public int ClientId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Level { get; set; }
|
||||
public long NetworkId { get; set; }
|
||||
public string? Tag { get; set; }
|
||||
public DateTime FirstConnection { get; set; }
|
||||
public DateTime LastConnection { get; set; }
|
||||
public int TotalConnectionTime { get; set; }
|
||||
public int Connections { get; set; }
|
||||
}
|
Reference in New Issue
Block a user