mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 06:23:03 +03:00
added more attributes for api docs
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using MediaBrowser.Common;
|
||||
using MediaBrowser.Common.Extensions;
|
||||
using MediaBrowser.Common.Extensions;
|
||||
using MediaBrowser.Controller;
|
||||
using MediaBrowser.Controller.Configuration;
|
||||
using MediaBrowser.Model.Configuration;
|
||||
@@ -17,6 +16,7 @@ namespace MediaBrowser.Api
|
||||
/// Class GetSystemInfo
|
||||
/// </summary>
|
||||
[Route("/System/Info", "GET")]
|
||||
[ServiceStack.ServiceHost.Api(Description = "Gets information about the server")]
|
||||
public class GetSystemInfo : IReturn<SystemInfo>
|
||||
{
|
||||
|
||||
@@ -32,6 +32,7 @@ namespace MediaBrowser.Api
|
||||
}
|
||||
|
||||
[Route("/System/Shutdown", "POST")]
|
||||
[ServiceStack.ServiceHost.Api(("Shuts down the application"))]
|
||||
public class ShutdownApplication
|
||||
{
|
||||
}
|
||||
@@ -40,6 +41,7 @@ namespace MediaBrowser.Api
|
||||
/// Class GetConfiguration
|
||||
/// </summary>
|
||||
[Route("/System/Configuration", "GET")]
|
||||
[ServiceStack.ServiceHost.Api(("Gets application configuration"))]
|
||||
public class GetConfiguration : IReturn<ServerConfiguration>
|
||||
{
|
||||
|
||||
@@ -49,6 +51,7 @@ namespace MediaBrowser.Api
|
||||
/// Class UpdateConfiguration
|
||||
/// </summary>
|
||||
[Route("/System/Configuration", "POST")]
|
||||
[ServiceStack.ServiceHost.Api(("Updates application configuration"))]
|
||||
public class UpdateConfiguration : ServerConfiguration, IReturnVoid
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user