Add server api definition
This commit is contained in:
95
MusicCast.Net.Api.Server/Controllers/SystemController.cs
Normal file
95
MusicCast.Net.Api.Server/Controllers/SystemController.cs
Normal file
@@ -0,0 +1,95 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using MusicCast.Net.Api.Server.Models;
|
||||
|
||||
namespace MusicCast.Net.Api.Server.Controllers;
|
||||
|
||||
[ApiController]
|
||||
[Route("/YamahaExtendedControl/v1/system/")]
|
||||
public class SystemController : ControllerBase
|
||||
{
|
||||
[HttpGet]
|
||||
[Route("getFeatures")]
|
||||
[EndpointSummary("Get the available features for this device")]
|
||||
public GetFeaturesResponse GetFeatures()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[Route("getLocationInfo")]
|
||||
public GetLocationInfoResponse GetLocationInfo()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[Route("getNameText")]
|
||||
[EndpointSummary("Get sources friendly names")]
|
||||
public GetNameTextResponse GetNameText()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[Route("getDeviceInfo")]
|
||||
public GetDeviceInfoResponse GetDeviceInfo()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[Route("isNewFirmwareAvailable")]
|
||||
public IsNewFirmwareAvailableResponse IsNewFirmwareAvailable([FromQuery] string type)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[Route("getFuncStatus")]
|
||||
public GetFuncStatusResponse GetFuncStatus()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[Route("getDisklavierSettings")]
|
||||
public GetDisklavierSettingsResponse GetDisklavierSettings()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[Route("getTag")]
|
||||
public GetTagResponse GetTag()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[Route("getYpaoConfig")]
|
||||
public GetYpaoConfigResponse GetYpaoConfig()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[Route("setSpeakerA")]
|
||||
public BaseResponse setSpeakerA([FromQuery] bool enable)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[Route("setSpeakerB")]
|
||||
public BaseResponse setSpeakerB([FromQuery] bool enable)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[Route("getNetworkStandby")]
|
||||
public GetNetworkStandbyResponse GetNetworkStandby()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user