From d3135ef869df33f01bf9cb660f325744808de5c0 Mon Sep 17 00:00:00 2001 From: jukkap Date: Fri, 26 Jan 2024 15:53:21 +0200 Subject: [PATCH] Docs: add an example datetime to /position endpoint --- api/routers/edr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/routers/edr.py b/api/routers/edr.py index 51c0f1ff..adb61420 100644 --- a/api/routers/edr.py +++ b/api/routers/edr.py @@ -87,7 +87,7 @@ async def get_data_location_id( async def get_data_position( coords: str = Query(..., example="POINT(5.179705 52.0988218)"), parameter_name: str = Query(..., alias="parameter-name", example="dd,ff,rh,pp,tn"), - datetime: str | None = None, + datetime: str = Query(None, example="2024-01-31T00:00Z/2024-02-01T00:00Z"), f: str = Query(default="covjson", alias="f", description="Specify return format."), ): point = wkt.loads(coords)