This commit is contained in:
@@ -38,11 +38,11 @@ namespace AyaNova.Api.Controllers
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get GlobalOpsSettings
|
||||
/// Get GlobalOpsBackupSettings
|
||||
/// </summary>
|
||||
/// <returns>Global ops settings object</returns>
|
||||
/// <returns>Global ops backup settings object</returns>
|
||||
[HttpGet]
|
||||
public async Task<IActionResult> GetGlobalOpsSettings()
|
||||
public async Task<IActionResult> GetGlobalOpsBackupSettings()
|
||||
{
|
||||
if (serverState.IsClosed)
|
||||
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
||||
@@ -65,12 +65,12 @@ namespace AyaNova.Api.Controllers
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// POST (replace) Global biz settings
|
||||
/// POST (replace) Global ops backup settings
|
||||
/// </summary>
|
||||
/// <param name="global"></param>
|
||||
/// <returns>nothing</returns>
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> ReplaceGlobalOpsSettings([FromBody] GlobalOpsBackupSettings global)
|
||||
public async Task<IActionResult> ReplaceGlobalOpsBackupSettings([FromBody] GlobalOpsBackupSettings global)
|
||||
{
|
||||
if (serverState.IsClosed)
|
||||
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
||||
@@ -92,11 +92,11 @@ namespace AyaNova.Api.Controllers
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get Client app relevant GlobalOpsSettings
|
||||
/// Get Client app relevant GlobalOpsBackupSettings
|
||||
/// </summary>
|
||||
/// <returns>Global settings object</returns>
|
||||
/// <returns>Global ops backup settings object</returns>
|
||||
[HttpGet("client")]
|
||||
public async Task<ActionResult> GetClientGlobalOpsSettings()
|
||||
public async Task<ActionResult> GetClientGlobalOpsBackupSettings()
|
||||
{
|
||||
//NOTE: currently this looks like a dupe of get above and it is
|
||||
//but it's kept here in case want to return a subset of the settings only to client users
|
||||
|
||||
Reference in New Issue
Block a user