Files
MusicCast.Net/MusicCast.Net.Api.Server/Controllers/MainController.cs
2025-05-24 19:54:08 +02:00

59 lines
1.3 KiB
C#

using Microsoft.AspNetCore.Mvc;
using MusicCast.Net.Api.Server.Models;
namespace MusicCast.Net.Api.Server.Controllers;
[ApiController]
[Route("/YamahaExtendedControl/v1/main/")]
public class MainController
{
[HttpGet]
[Route("getStatus")]
public GetStatusResponse GetStatus()
{
throw new NotImplementedException();
}
[HttpGet]
[Route("getSignalInfo")]
public GetSignalInfoResponse GetSignalInfo()
{
throw new NotImplementedException();
}
[HttpGet]
[Route("setVolume")]
public BaseResponse SetVolume([FromQuery] int volume)
{
throw new NotImplementedException();
}
[HttpGet]
[Route("prepareInputChange")]
public BaseResponse PrepareInputChange([FromQuery] string input)
{
throw new NotImplementedException();
}
[HttpGet]
[Route("setInput")]
public BaseResponse SetInput([FromQuery] string input)
{
throw new NotImplementedException();
}
[EndpointSummary("Shutdown after the specified interval in minutes")]
[HttpGet]
[Route("setSleep")]
public BaseResponse SetSleep([FromQuery] int sleep)
{
throw new NotImplementedException();
}
[HttpGet]
[Route("setPower")]
public BaseResponse SetPower([FromQuery] PowerState power)
{
throw new NotImplementedException();
}
}