Obtaining the Resource Lists
Function
This API is used to obtain the resource lists.
URI
GET /v1/{project_id}/resources
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Project ID, which is used for resource isolation. For details about how to obtain the project ID, see Obtaining a Project ID. |
Request
Response
Example
- Example of a successful response
{ "is_success": true, "clusters": [ { "id": "f53b3ee688fa4c95b609c2c6616823b7", "cluster_name": "res_cluster", "status": "success", "is_register": true } ] }
- Example of a failed response
{ "is_success": false, "error_code": "res.1006", "error_msg": "The content for the request is invalid." }
Status Code
For details about status codes, see Status Codes.
Last Article: Binding the Dependent Resources
Next Article: Unbinding the Dependent Resources
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.