Query the list of Cloud Smart Network
Updated at:2025-11-11
Description
Query the list of Cloud Smart Networks.
Request structure
Plain Text
1GET /v{version}/csn?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 | Type | Is it required | Parameter position | Description |
|---|---|---|---|---|
| version | String | Yes | URL parameter | API version number, current value is 1. |
| 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 | Type | Description |
|---|---|---|
| csns | List <[Csn](CSN/API Reference/Appendix.md#Csn)> | Cloud Smart Network list |
| marker | String | Mark the starting position of the query. |
| isTruncated | Boolean | true indicates there is more data later, false indicates it is the last page |
| nextMarker | String | Obtain the marker value required for retrieving the next page; this field will not appear when isTruncated is false |
| maxKeys | Integer | Maximum number of items included per page |
Request example
Plain Text
1GET /v1/csn?marker=csn-c5s0isempeiscgyc&maxKeys=1 HTTP/1.1
2Host: csn.baidubce.com
3Authorization: bce-auth-v1/5e5a8adf11ae475ba95f1bd38228b44f/2016-04-10T08:26:52Z/1800/host;x-bce-date/ec3c0069f9abb1e247773a62707224124b2b31b4c171133677f9042969791f02
Response example
Plain Text
1HTTP/1.1 200 OK
2x-bce-request-id: 1214cca7-4ad5-451d-9215-71cb844c0a50
3Date: Thu, 16 Mar 2017 06:29:48 GMT
4Content-Type: application/json;charset=UTF-8
5Server: BWS
6{
7 "nextMarker": "csn-pls0isempeiscg65",
8 "marker": "csn-c5s0isempeiscgyc",
9 "maxKeys": 1,
10 "isTruncated": true,
11 "csns": [
12 {
13 "csnId":"csn-c5s0isempeiscgyc",
14 "name":"csn",
15 "description":"desc",
16 "status":"active",
17 "createTime":"2023-11-19T12:46:01Z",
18 "instanceNum":5,
19 "csnBpNum":3,
20 "tags": [
21 {
22 "tagKey": "tagKey",
23 "tagValue": "tagValue"
24 }
25 ]
26 }
27 ]
28}
