curl --request GET \
--url https://routing.solvice.io/cube/{id}/response/url \
--header 'Authorization: <api-key>'{
"tableId": 123,
"durations": [
[
123
]
],
"distances": [
[
123
]
],
"sources": [
{
"hint": "<string>",
"distance": 123,
"name": "<string>",
"location": [
123
]
}
],
"destinations": [
{
"hint": "<string>",
"distance": 123,
"name": "<string>",
"location": [
123
]
}
],
"durationSlices": [
[
[
123
]
]
],
"coefficients": [
[
[
123
]
]
],
"slices": [
{
"sliceNumber": 123,
"startHour": 123,
"endHour": 123
}
]
}Get a signed URL that redirects to the cube response stored in Cloud Storage. Useful for large responses.
curl --request GET \
--url https://routing.solvice.io/cube/{id}/response/url \
--header 'Authorization: <api-key>'{
"tableId": 123,
"durations": [
[
123
]
],
"distances": [
[
123
]
],
"sources": [
{
"hint": "<string>",
"distance": 123,
"name": "<string>",
"location": [
123
]
}
],
"destinations": [
{
"hint": "<string>",
"distance": 123,
"name": "<string>",
"location": [
123
]
}
],
"durationSlices": [
[
[
123
]
]
],
"coefficients": [
[
[
123
]
]
],
"slices": [
{
"sliceNumber": 123,
"startHour": 123,
"endHour": 123
}
]
}API key authentication. Include your API key in the Authorization header.
Cube request id.
Redirect to cube response in Cloud Storage
Cube Response
Table response id. Not to be confused with table request id.
Time distance matrix. In order of sources to destinations indexes in request.
Distance matrix. In order of sources to destinations indexes in request.
Actual sources snapped to map.
Show child attributes
Actual destinations snapped to map.
Show child attributes
Time distance matrix. In order of sources to destinations indexes in request.
Travel Time cube. In order of sources to destinations indexes in request. Inner array is list of 6 coefficients.
Time slice information indicating which time periods each slice represents.
Show child attributes