mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 13:57:11 -04:00
23 lines
488 B
C#
23 lines
488 B
C#
using System.Collections.Generic;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace Prowlarr.Http
|
|
{
|
|
public class ApiInfoController : Controller
|
|
{
|
|
public ApiInfoController()
|
|
{
|
|
}
|
|
|
|
[HttpGet("/api")]
|
|
[Produces("application/json")]
|
|
public ApiInfoResource GetApiInfo()
|
|
{
|
|
return new ApiInfoResource
|
|
{
|
|
Current = "v1",
|
|
Deprecated = new List<string>()
|
|
};
|
|
}
|
|
}
|
|
}
|