瀏覽代碼

restore changes

Luke Pulverenti 9 年之前
父節點
當前提交
0e3dc12460
共有 2 個文件被更改,包括 12 次插入1 次删除
  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>
     /// <summary>
     /// Class RestartApplication
     /// Class RestartApplication
     /// </summary>
     /// </summary>
@@ -104,6 +110,11 @@ namespace MediaBrowser.Api.System
             _security = security;
             _security = security;
         }
         }
 
 
+        public object Post(PingSystem request)
+        {
+            return _appHost.Name;
+        }
+
         public object Get(GetServerLogs request)
         public object Get(GetServerLogs request)
         {
         {
             List<FileSystemMetadata> files;
             List<FileSystemMetadata> files;

+ 1 - 1
SharedVersion.cs

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