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.
20 lines
421 B
20 lines
421 B
2 years ago
|
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>()
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
}
|