Help Center/ Scalable File Service/ API Reference/ SFS Turbo APIs/ File System Management/ Obtaining IP Addresses of the Clients Who Have Mounted the File System
Updated on 2025-07-22 GMT+08:00

Obtaining IP Addresses of the Clients Who Have Mounted the File System

Function

This API is used to obtain the IP addresses of the clients who have mounted the file system.

URI

POST /v1/{project_id}/sfs-turbo/shares/{share_id}/action

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

The project ID.

share_id

Yes

String

The file system ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

The account token.

Content-Type

Yes

String

The MIME type.

Table 3 Request body parameters

Parameter

Mandatory

Type

Description

get_client_ips

Yes

ClientIpInfo object

Obtains the IP addresses of the clients who have mounted the file system.

Table 4 ClientIpInfo

Parameter

Mandatory

Type

Description

ips

No

String

The IP addresses of the clients who have mounted the file system.

Response Parameters

Status code: 200

Table 5 Response header parameters

Parameter

Type

Description

X-request-id

String

The request ID.

Table 6 Response body parameters

Parameter

Type

Description

id

String

The file system ID.

ips

Array of strings

The IP addresses of the clients who have mounted the file system.

Status code: 400

Table 7 Response header parameters

Parameter

Type

Description

X-request-id

String

The request ID.

Table 8 Response body parameters

Parameter

Type

Description

errCode

String

The error code.

errMsg

String

The error message.

Status code: 500

Table 9 Response header parameters

Parameter

Type

Description

X-request-id

String

The request ID.

Table 10 Response body parameters

Parameter

Type

Description

errCode

String

The error code.

errMsg

String

The error message.

Example Requests

None

Example Responses

Status code: 400

Error response

{
  "errCode" : "SFS.TURBO.0001",
  "errMsg" : "parameter error"
}

Status code: 500

Error response

{
  "errCode" : "SFS.TURBO.0005",
  "errMsg" : "Internal server error"
}

Status Codes

Status Code

Description

200

Success

400

Error response

500

Error response

Error Codes

See Error Codes.