Policy > Networking > Connectivity > Tier-1 Gateways > Routing > Static Routes

Read Tier-1 static routes

Read Tier-1 static routes

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-1s/{tier-1-id}/static-routes/{route-id}
/policy/api/v1/global-infra/tier-1s/{tier-1-id}/static-routes/{route-id}
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/tier-1s/{tier-1-id}/static-routes/{route-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-1s/cgw/static-routes/site1

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
StaticRoutes+

Example Response:

{ "resource_type": "StaticRoutes", "id": "site1", "display_name": "/infra/tier-1s/cgw/static-routes/site1", "path": "/infra/tier-1s/cgw/static-routes/site1", "parent_path": "/infra/tier-1s/cgw", "relative_path": "site1", "next_hops": [ { "ip_address": "41.1.1.1", "admin_distance": 1 }, { "ip_address": "42.1.1.1", "admin_distance": 2 }, { "ip_address": "43.1.2.3", "admin_distance": 3 } ], "network": "45.1.1.0/24", "_create_user": "admin", "_create_time": 1516750267338, "_last_modified_user": "admin", "_last_modified_time": 1516750267338, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

read

Feature:

policy_t1

Additional Errors: