Interlaken
API referenceNetworkingLoad balancers

List LB routes

GET
/api/v1/load-balancers/{id}/routes

Requires the load_balancers:read permission.

Authorization

AuthorizationBearer <token>

An access token from this zone's POST /oauth/token, or a session token from POST /api/v1/auth/login. Send it as Authorization: Bearer <token>.

In: header

Path Parameters

id*string

Query Parameters

limit?integer
offset?integer
order?string
q?string
sort_by?string
tags?string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/load-balancers/string/routes"
{  "items": [    {      "backend_ca_trust_id": "6cb14c4e-61cc-4b3d-9c55-a3ca6c9eba2c",      "backend_port": 0,      "backend_sni": "string",      "backend_tls": true,      "created_at": "2019-08-24T14:15:22Z",      "host_match": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "idle_timeout_sec": 0,      "lb_id": "b47196c9-6035-40bd-9a5f-cac274dea299",      "method": "string",      "name": "string",      "path_match": "string",      "path_match_type": "string",      "prefix_rewrite": "string",      "priority": 0,      "redirect_status": 0,      "redirect_url": "string",      "request_headers_add": {        "property1": "string",        "property2": "string"      },      "request_headers_remove": [        "string"      ],      "request_timeout_sec": 0,      "response_headers_add": {        "property1": "string",        "property2": "string"      },      "response_headers_remove": [        "string"      ],      "status": "string",      "tags": {        "property1": "string",        "property2": "string"      },      "targets": [        {          "address": "string",          "health_state": "string",          "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b",          "nic_id": "ce3d4962-7adb-4068-8685-e44b64356707",          "weight": 0        }      ],      "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "total": 0}