|
|
|
@ -32,6 +32,12 @@ namespace MediaBrowser.Api.System
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Route("/System/Ping", "POST")]
|
|
|
|
|
public class PingSystem : IReturnVoid
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Class RestartApplication
|
|
|
|
|
/// </summary>
|
|
|
|
@ -104,6 +110,11 @@ namespace MediaBrowser.Api.System
|
|
|
|
|
_security = security;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public object Post(PingSystem request)
|
|
|
|
|
{
|
|
|
|
|
return _appHost.Name;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public object Get(GetServerLogs request)
|
|
|
|
|
{
|
|
|
|
|
List<FileSystemMetadata> files;
|
|
|
|
|