Skip to content

Commit 4bba009

Browse files
committed
a bit of documenting
1 parent a68830e commit 4bba009

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

WeatherControl/Wissance.WeatherControl.WebApi.V2/Controllers/MeasurementController.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@
99

1010
namespace Wissance.WeatherControl.WebApi.V2.Controllers
1111
{
12+
/// <summary>
13+
/// This controller has ability to recieve all possible query params, but EdgeDbManager could work with 3 of them:
14+
/// * sensor - id of sensor
15+
/// * from - measurements that were captured from specific datetime
16+
/// * to - measurements that were captured previously to specific date
17+
/// I.e.: parameters usage : http://localhost:8058/api/Measurement?sensor=30ac8366-ea4b-11ed-ab17-e38db76a95f0&to=2023-05-01T12:01:00%2B05:00&from=2023-05-01T11:31:00%2B05:00
18+
/// Note: + MUST BE ENCODED AS %2B
19+
/// </summary>
1220
public class MeasurementController : BasicCrudController<MeasurementDto, MeasurementEntity, Guid>
1321
{
1422
public MeasurementController(EdgeDBClient edgeDbClient)

0 commit comments

Comments
 (0)