Readarr/src/Readarr.Http/ApiInfoController.cs
2023-05-11 19:29:57 +03:00

19 lines
431 B
C#

using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
namespace Readarr.Http
{
public class ApiInfoController : Controller
{
[HttpGet("/api")]
[Produces("application/json")]
public ApiInfoResource GetApiInfo()
{
return new ApiInfoResource
{
Current = "v1",
Deprecated = new List<string>()
};
}
}
}