From bf6b57145579f2c228929817d8c6a59c5f08f0b7 Mon Sep 17 00:00:00 2001 From: "Daniel J. Hofmann" Date: Thu, 9 Mar 2017 11:11:52 +0100 Subject: [PATCH] Documents `null` in Table response if no route can be found --- docs/http.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/http.md b/docs/http.md index 674514e48..f5cef18fc 100644 --- a/docs/http.md +++ b/docs/http.md @@ -247,7 +247,7 @@ curl 'http://router.project-osrm.org/table/v1/driving/polyline(egs_Iq_aqAppHzbHu - `code` if the request was successful `Ok` otherwise see the service dependent and general status codes. - `durations` array of arrays that stores the matrix in row-major order. `durations[i][j]` gives the travel time from - the i-th waypoint to the j-th waypoint. Values are given in seconds. + the i-th waypoint to the j-th waypoint. Values are given in seconds. Can be `null` if no route between `i` and `j` can be found. - `sources` array of `Waypoint` objects describing all sources in order - `destinations` array of `Waypoint` objects describing all destinations in order