This commit is contained in:
2020-05-13 23:47:30 +00:00
parent 594401ea68
commit 6c2033ad11

View File

@@ -434,7 +434,7 @@ namespace AyaNova.Api.Controllers
/// Get API server info for general display /// Get API server info for general display
/// </summary> /// </summary>
/// <returns>API server info</returns> /// <returns>API server info</returns>
[HttpGet("ServerInfo")] [HttpGet("server-info")]
public ActionResult ServerInfo() public ActionResult ServerInfo()
{ {
return Ok(new return Ok(new
@@ -455,7 +455,7 @@ namespace AyaNova.Api.Controllers
/// Get build mode of server, used for automated testing purposes /// Get build mode of server, used for automated testing purposes
/// </summary> /// </summary>
/// <returns>"DEBUG" or "RELEASE"</returns> /// <returns>"DEBUG" or "RELEASE"</returns>
[HttpGet("BuildMode")] [HttpGet("build-mode")]
public ActionResult BuildMode() public ActionResult BuildMode()
{ {
return Ok(new { data = new { BuildMode = "DEBUG" } }); return Ok(new { data = new { BuildMode = "DEBUG" } });
@@ -465,7 +465,7 @@ namespace AyaNova.Api.Controllers
/// Get build mode of server, used for automated testing purposes /// Get build mode of server, used for automated testing purposes
/// </summary> /// </summary>
/// <returns>"DEBUG" or "RELEASE"</returns> /// <returns>"DEBUG" or "RELEASE"</returns>
[HttpGet("BuildMode")] [HttpGet("build-mode")]
public ActionResult BuildMode() public ActionResult BuildMode()
{ {
return Ok(new { data = new { BuildMode = "RELEASE" } }); return Ok(new { data = new { BuildMode = "RELEASE" } });