forked from ddrilling/AsbCloudServer
Doc wits info methods
This commit is contained in:
parent
ac130e3efc
commit
e95c04c91e
@ -28,6 +28,11 @@ namespace AsbCloudWebApi.Controllers.WITS
|
||||
return Ok(result);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Список всех WITS items для конкретной record
|
||||
/// </summary>
|
||||
/// <param name="idRecord"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("item/{idRecord}")]
|
||||
[ProducesResponseType(typeof(IEnumerable<object>), (int)System.Net.HttpStatusCode.OK)]
|
||||
public IActionResult GetItems(int idRecord)
|
||||
@ -36,6 +41,10 @@ namespace AsbCloudWebApi.Controllers.WITS
|
||||
return Ok(result);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Список описаний всех wits records
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet("record")]
|
||||
[ProducesResponseType(typeof(IEnumerable<object>), (int)System.Net.HttpStatusCode.OK)]
|
||||
public IActionResult GetRecordInfo()
|
||||
@ -44,6 +53,11 @@ namespace AsbCloudWebApi.Controllers.WITS
|
||||
return Ok(result);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Описание конкретной record
|
||||
/// </summary>
|
||||
/// <param name="idRecord"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("record/{idRecord}")]
|
||||
[ProducesResponseType(typeof(IEnumerable<object>), (int)System.Net.HttpStatusCode.OK)]
|
||||
public IActionResult GetRecordInfo(int idRecord)
|
||||
|
Loading…
Reference in New Issue
Block a user