PlayerManagement/Api/Controllers/v1/ValuesController.cs
Tomasi - Developing c48d8d8211 v.0.8.3
2025-04-10 15:41:00 +02:00

24 lines
554 B
C#

using Api.Helpers;
using Asp.Versioning;
using Microsoft.AspNetCore.Mvc;
namespace Api.Controllers.v1
{
[Route("api/v{version:apiVersion}/[controller]")]
[ApiController]
[ApiVersion("1.0")]
public class ValuesController : ControllerBase
{
[AllowApiKey]
[HttpGet]
public async Task<IActionResult> Test([FromQuery] Guid allianceId, [FromQuery] string? key)
{
return Ok(new
{
AllianceId = allianceId,
Key = key
});
}
}
}