Get available contraction hierarchies networks
get
/chrest/v1/configuration/networks
List all available contraction hierarchies networks and status.
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
- application/xml
200 Response
Showing existed contraction hierarchies networks and status.
Nested Schema : AvailableNetworksResponse_networks
Type:
Show Source
object
-
chName(optional):
string
Name of generated contraction hierarchies network
-
networkName(optional):
string
Name of NDM network in databaseExample:
HERE_SF_NET
-
status(optional):
string
Allowed Values:
[ "Building", "Loaded", "Failed", "ReadyToLoad" ]
Examples
The following example shows how to view all contraction hierarchies networks.
curl -v -X GET "https://localhost:8011/chrest/v1/configuration/networks"
Example of Response Header
The following shows an example of the response header.
HTTP/1.1 200 OK Date: Tue, 14 Jan 2020 18:35:41 GMT Content-Type: application/json; charset=UTF-8
Example of Response Body
The following example shows the contents of the response body in JSON format.
{"networks":[{"chName":"sample","networkName":"OSM_NY","status":"Loaded"},{"chName":"heresf","networkName":"HERE_SF_NET","status":"Loaded"}]}