Management Plane API > Networking > Logical Routing And Services > Routing Configuration

Paginated List of IPPrefixLists

Paginated List of IPPrefixLists

Request:

Method:
GET
URI Path(s):
/api/v1/logical-routers/<logical-router-id>/routing/ip-prefix-lists
Request Headers:
n/a
Query Parameters:
ListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/logical-routers/7a62a0c5-1ea1-4b25-9d43-dce1c0fa4b8c/routing/ip-prefix-lists

Successful Response:

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

Example Response:

{ "cursor": "00365f22f70e-5725-4df3-9e25-46358642848fip-prefix-list1", "result_count": 1, "results": [ { "resource_type": "IPPrefixList", "description": "", "id": "5f22f70e-5725-4df3-9e25-46358642848f", "display_name": "ip-prefix-list1", "tags": [], "prefixes": [ { "action": "DENY", "network": "192.168.110.0/24" }, { "action": "DENY", "network": "192.168.210.0/24" } ], "_create_time": 1457128258723, "_last_modified_user": "admin", "_system_owned": false, "_last_modified_time": 1457128258723, "_create_user": "admin", "_revision": 0 } ] }

Required Permissions:

read

Feature:

routing_routers

Additional Errors: