Query route table list
Updated at:2025-11-11
Description
Retrieve the list of route tables in the Cloud Smart Network.
Request structure
Plain Text
1GET /v{version}/csn/{csnId}/routeTable?marker={marker}&maxKeys={maxKeys} HTTP/1.1
2Host: csn.baidubce.com
3Authorization: authorization string
Request headers
There are no special headers required beyond the common headers.
Request parameters
| Parameter name | Types | Required or not | Parameter location | Description |
|---|---|---|---|---|
| version | String | Yes | URL parameter | API version number, current value is 1. |
| csnId | String | Yes | URL parameter | Cloud Smart Network ID |
| marker | String | No | Query | The starting position of the batch list query is a system-generated string |
| maxKeys | Integer | No | Query | Maximum number of items included per page, maximum: 1,000, default: 1,000 |
Response headers
No additional headers beyond standard ones.
Response parameters
| Parameter name | Types | Description |
|---|---|---|
| csnRts | List<[CsnRouteTable](CSN/API Reference/Appendix.md#CsnRouteTable)> | Route table list |
| marker | String | Marker indicating the starting position of the query. If the result list is empty, this field does not exist. |
| isTruncated | Boolean | true indicates there is more data later, false indicates it is the last page |
| nextMarker | String | The marker value needed to fetch the next page. This field is absent when isTruncated is false. |
| maxKeys | Integer | Maximum number of items included per page |
Request example
Plain Text
1GET /v1/csn/csn-v284figue9jk6epw/routeTable?maxKeys=1 HTTP/1.1
2Host: csn.baidubce.com
3authorization: bce-auth-v1/bf427691810a11e8a106475a8496ca04/2018-07-06T11:02:49Z/3600/host;x-bce-account;x-bce-client-ip;x-bce-date;x-bce-request-id;x-bce-security-token/e84ee938f6466428ff5c16b3562a1cbf3db5928e7f863cedec8820b5d98aa474
Response example
Plain Text
1HTTP/1.1 200 OK
2Date: Fri, 06 Jul 2018 11:12:34 GMT
3Content-Type: application/json;charset=UTF-8
4Server: BWS
5{
6 "marker": null,
7 "isTruncated": true,
8 "nextMarker": "csnBp-iuc756n5kkda",
9 "maxKeys": 1,
10 "csnRts": [
11 {
12 "csnRtId": "csn-rt-uezhhw306g5be3gb",
13 "name": "csnRtName",
14 "description": "desc",
15 "type": "default"
16 }
17 ]
18}
