Query mount client
Updated at:2025-11-11
Description
Retrieve client details mounted on the specified file system.
Request
Request structure
Bash
1GET /v{version}/cfs/clients?fsId={fsId}&marker={marker}&maxKeys={maxKeys} HTTP/1.1
2Host: cfs.bj.baidubce.com
3Authorization: authorization string
Request headers: No special headers beyond common headers
Request parameters
| Parameter name | Types | Whether required | Parameter location | Description |
|---|---|---|---|---|
| version | String | Yes | URL parameter | API version number, current value is 1. |
| fsId | String | Yes | Query | ID of FileSystem to be queried |
| 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 per page is 1,000, with a default value of 1000. |
Response
Response status code: Respond with 200 after successful operation, and respond with error codes after failed operation, as shown in Error Codes
Response headers: No special headers beyond common headers
Response parameters
| Parameter name | Types | Description |
|---|---|---|
| clientInfoList | List[ClientInfoModel](https://cloud.baidu.com/doc/CFS/s/Njwvy1rry#clientinfomodel) | List containing query results |
| 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 | The marker value required to get the next page |
| maxKeys | int | Number of items included in the results per page |
Example
Request:
Bsah
1GET /v1/cfs/clients?fsId=cfs-j6zB***Ovg HTTP/1.1
2Host: cfs.bj.baidubce.com
3Authorization: bce-auth-v1/5e5a8adf11ae475ba95f1bd38228b44f/2016-04-10T08:26:52Z/1800/host;x-bce-date/ec3c0069f9abb1e247773a62707224124b2b31b4c171133677f9042969791f02
Response:
Bsah
1HTTP/1.1 200 OK
2x-bce-request-id: 946002ee-cb4f-4aad-b686-5be55df27f09
3Date: Wed, 10 Apr 2016 08:26:52 GMT
4Transfer-Encoding: chunked
5Content-Type: application/json;charset=UTF-8
6Server: BWS
7{
8 "isTruncated": false,
9 "marker": "",
10 "nextMarker": "",
11 "maxKeys": 2,
12 "clientInfoList": [
13 {
14 "zone": "zoneB",
15 "vpcId": "vpc-vjf***pq9pkf",
16 "mountId": "6f495573706f41326******0706833347970646259773d3d",
17 "clientIp": "2400:da00:e003:a806::4"
18 },
19 {
20 "zone": "zoneB",
21 "vpcId": "vpc-vjf***pq9pkf",
22 "mountId": "6f495573706f41326******0706833347970646259773d3d",
23 "clientIp": "2400:da00:e003:a806::52"
24 }
25 ]
26}
