You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/src/Lidarr.Http/ApiInfoController.cs

20 lines
421 B

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