hi guys,
quick question, i have a number of custom queries which are defined in the serverMethodsController.cs i.e.
[HttpGet]
public IActionResult GetSomething(string userId, Guid parentId)
{
try
{
var result =query.....
return Ok(System.Text.Json.JsonSerializer.Serialize(result, new JsonSerializerOptions { PropertyNamingPolicy = null }));
}
catch (Exception)
{
return BadRequest();
}
}
for general security of this end point, do i need to include [Authenticate] on it? or is this already taken care of?
also extention to that question, is there a way to make these API's publically available?