Skip to content

Commit 1745fe9

Browse files
committed
docs: added missing unit, removed 'took' from doc
1 parent 5e174a5 commit 1745fe9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/web/api-doc.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,11 @@ you should not rely on them! The JSON result contains the following structure:
3939

4040
JSON path/attribute | Description
4141
:--------------------------|:------------
42-
info.took | How many ms the request took on the server, of course without network latency taken into account.
4342
paths | An array of possible paths
4443
paths[0].distance | The total distance of the route, in meter
4544
paths[0].time | The total time of the route, in ms
46-
paths[0].ascend | The total ascend (uphill) of the route
47-
paths[0].descend | The total descend (downhill) of the route
45+
paths[0].ascend | The total ascend (uphill) of the route, in meter
46+
paths[0].descend | The total descend (downhill) of the route, in meter
4847
paths[0].points | The polyline encoded coordinates of the path. Order is lat,lon,elelevation as it is no geoJson!
4948
paths[0].points_encoded | Is true if the points are encoded, if not paths[0].points contains the geo json of the path (then order is lon,lat,elevation), which is easier to handle but consumes more bandwidth compared to encoded version
5049
paths[0].bbox | The bounding box of the route, format: <br> minLon, minLat, maxLon, maxLat
@@ -61,7 +60,6 @@ paths[0].instructions[0].turn_angle | [optional] Only available for US
6160

6261
```json
6362
{
64-
"info": {"took": 4},
6563
"paths": [{
6664
"bbox": [
6765
13.362853824187303,

0 commit comments

Comments
 (0)