This API is used to obtain the IP addresses of the clients who have mounted the file system.
POST /v1/{project_id}/sfs-turbo/shares/{share_id}/action
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
project_id |
Yes |
String |
The project ID. |
share_id |
Yes |
String |
The file system ID. |
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
X-Auth-Token |
Yes |
String |
The account token. |
Content-Type |
Yes |
String |
The MIME type. |
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
get_client_ips |
Yes |
ClientIpInfo object |
Obtaining IP addresses of the clients who have mounted the file system |
Status code: 200
Parameter |
Type |
Description |
|---|---|---|
X-request-id |
String |
The request ID. |
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
Parameter |
Type |
Description |
|---|---|---|
X-request-id |
String |
The request ID. |
Parameter |
Type |
Description |
|---|---|---|
errCode |
String |
The error code. |
errMsg |
String |
The error message. |
Status code: 500
Parameter |
Type |
Description |
|---|---|---|
X-request-id |
String |
The request ID. |
Parameter |
Type |
Description |
|---|---|---|
errCode |
String |
The error code. |
errMsg |
String |
The error message. |
None
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 Code |
Description |
|---|---|
200 |
Success |
400 |
Error response |
500 |
Error response |
See Error Codes.