Pārlūkot izejas kodu

restore changes

Luke Pulverenti 9 gadi atpakaļ
vecāks
revīzija
0e3dc12460
2 mainītis faili ar 12 papildinājumiem un 1 dzēšanām
  1. 11 0
      MediaBrowser.Api/System/SystemService.cs
  2. 1 1
      SharedVersion.cs

+ 11 - 0
MediaBrowser.Api/System/SystemService.cs

@@ -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;

+ 1 - 1
SharedVersion.cs

@@ -1,4 +1,4 @@
 using System.Reflection;
 
 //[assembly: AssemblyVersion("3.0.*")]
-[assembly: AssemblyVersion("3.0.5784.0")]
+[assembly: AssemblyVersion("3.0.5800.3")]