mirror of
https://github.com/ZuneDev/ZuneNetApi.git
synced 2026-07-27 13:13:20 -07:00
26 lines
591 B
C#
26 lines
591 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace Zune.Net.MetaServices.Controllers
|
|
{
|
|
[ApiController]
|
|
[Route("/ZuneAPI/")]
|
|
public class ZuneApi : ControllerBase
|
|
{
|
|
private readonly ILogger<ZuneApi> _logger;
|
|
|
|
public ZuneApi(ILogger<ZuneApi> logger)
|
|
{
|
|
_logger = logger;
|
|
}
|
|
|
|
[HttpGet, Route("EndPoints.aspx"), Route("EndPoints")]
|
|
public IActionResult EndPoints()
|
|
{
|
|
return Content(@"<METADATA>
|
|
<ENDPOINTS>
|
|
<ENDPOINT/>
|
|
</ENDPOINTS>
|
|
</METADATA>", Atom.Constants.XML_MIMETYPE);
|
|
}
|
|
}
|
|
} |