Obtaining the General-Purpose File System List (To Be Discarded)
Function
This API is used to obtain the list of general-purpose file systems of a user.
Calling Method
For details, see Calling APIs.
Authorization
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see the required permissions in Permissions Policies and Supported Actions.
- If you are using identity policy-based authorization, no identity policy-based permissions are required for calling this API.
URI
GET /api/v3.1/storage/sfs30/volumes
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
region |
No |
String |
Definition (Optional) If this parameter is specified, the OBS resource list in the specified region will be returned. If this parameter is not specified, the OBS resource list in all regions will be returned. For details about the AZs supported by the general-purpose file systems, see Regions and Endpoints. Constraints N/A Range N/A Default Value N/A |
|
vpcid |
No |
String |
Definition (Optional) If this parameter is specified, the list of general-purpose file systems authorized for the specified VPC will be returned. If this parameter is not specified, the list of all general-purpose file systems will be returned. Constraints N/A Range N/A Default Value N/A |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Cluster-ID |
No |
String |
Cluster ID. This parameter is mandatory when the URL format https://Endpoint/uri is used. For details about how to obtain the value, see How to Obtain Parameters in the API URI. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
Name |
String |
Definition The name of a general-purpose file system Range N/A |
|
CreationDate |
String |
Definition The time when a general-purpose file system was created Range N/A |
|
Location |
String |
Definition AZ where a general-purpose file system resides Range N/A |
Example Requests
Obtain the list of the general-purpose file systems of a user.
GET /api/v3.1/storage/sfs30/volumes
[ {
"Name" : "xxxxxxxxxxxxx",
"CreationDate" : "2025-12-08T06:59:27.088Z",
"Location" : "cn-north-7"
} ]
Example Responses
Status code: 200
The general-purpose file system list has been obtained.
[ {
"Name" : "xxxxxxxxxxxxx",
"CreationDate" : "2025-12-08T06:59:27.088Z",
"Location" : "cn-north-7"
} ]
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
The general-purpose file system list has been obtained. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot