forked from ddrilling/AsbCloudServer
CS2-107: Fixed rop stat methods routes
This commit is contained in:
parent
2a4c76611c
commit
6412c24a3e
@ -32,7 +32,7 @@ namespace AsbCloudWebApi.Controllers
|
|||||||
/// <param name="idWell">id скважины с данного куста (через нее будут полуены данные)</param>
|
/// <param name="idWell">id скважины с данного куста (через нее будут полуены данные)</param>
|
||||||
/// <param name="token"></param>
|
/// <param name="token"></param>
|
||||||
/// <returns>Возвращает данные по среднему и максимальному МСП на кусту</returns>
|
/// <returns>Возвращает данные по среднему и максимальному МСП на кусту</returns>
|
||||||
[HttpGet("cluster/{idWell}/idWellRopStat")]
|
[HttpGet("well/{idWell}/ropStat")]
|
||||||
[ProducesResponseType(typeof(ClusterRopStatDto), (int)System.Net.HttpStatusCode.OK)]
|
[ProducesResponseType(typeof(ClusterRopStatDto), (int)System.Net.HttpStatusCode.OK)]
|
||||||
public async Task<IActionResult> GetClusterRopStatByIdWellAsync([FromRoute] int idWell,
|
public async Task<IActionResult> GetClusterRopStatByIdWellAsync([FromRoute] int idWell,
|
||||||
CancellationToken token = default)
|
CancellationToken token = default)
|
||||||
@ -52,8 +52,9 @@ namespace AsbCloudWebApi.Controllers
|
|||||||
/// <param name="uid">id передающей данные панели</param>
|
/// <param name="uid">id передающей данные панели</param>
|
||||||
/// <param name="token"></param>
|
/// <param name="token"></param>
|
||||||
/// <returns>Возвращает данные по среднему и максимальному МСП на кусту</returns>
|
/// <returns>Возвращает данные по среднему и максимальному МСП на кусту</returns>
|
||||||
[HttpGet("cluster/{uid}/uidRopStat")]
|
[HttpGet("telemetry/{uid}/ropStat")]
|
||||||
[ProducesResponseType(typeof(ClusterRopStatDto), (int)System.Net.HttpStatusCode.OK)]
|
[ProducesResponseType(typeof(ClusterRopStatDto), (int)System.Net.HttpStatusCode.OK)]
|
||||||
|
[AllowAnonymous]
|
||||||
public async Task<IActionResult> GetClusterRopStatByUidAsync([FromRoute] string uid,
|
public async Task<IActionResult> GetClusterRopStatByUidAsync([FromRoute] string uid,
|
||||||
CancellationToken token = default)
|
CancellationToken token = default)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user