readme: duration is a float, not a string (#4338)

This commit is contained in:
Bouke van der Bijl
2025-04-12 11:37:49 +02:00
committed by GitHub
parent 77a3c7ae6e
commit bb741235d8

View File

@@ -1622,12 +1622,12 @@ The server will return a list of timespans in JSON format:
[
{
"start": "2006-01-02T15:04:05Z07:00",
"duration": "60.0",
"duration": 60.0,
"url": "http://localhost:9996/get?path=[mypath]&start=2006-01-02T15%3A04%3A05Z07%3A00&duration=60.0"
},
{
"start": "2006-01-02T15:07:05Z07:00",
"duration": "32.33",
"duration": 32.33,
"url": "http://localhost:9996/get?path=[mypath]&start=2006-01-02T15%3A07%3A05Z07%3A00&duration=32.33"
}
]