Get All Supported APIs
Body
{
"getSupportAPIs": {},
"systemTags": [],
"userTags": []
}In the above example, the systemTags and userTags fields can be omitted. They are listed to indicate that these two fields can be included in the body.
Curl Example
curl -H "Content-Type: application/json;charset=UTF-8" \
-X PUT -d '{"getSupportAPIs":{}}' \
http://localhost:8080/zstack/v1/management-nodes/actionsParameter List
| Name | Type | Location | Description | Allowed Values | Starting Version |
|---|---|---|---|---|---|
| systemTags (Optional) | List | body | System tags | 0.6 | |
| userTags (Optional) | List | body | User tags | 0.6 |
API Response
Response Example
{
"supportApis": []
}| Name | Type | Description | Starting Version |
|---|---|---|---|
| supportApis | List | 4.5.0 | |
| success | boolean | 0.6 | |
| error | ErrorCode | The error code. If not null, the operation has failed. This field is null when the operation succeeds. For details, see error | 0.6 |
error
| Name | Type | Description | Starting Version |
|---|---|---|---|
| code | String | The error code number. A globally unique identifier for the error, for example, SYS.1000, HOST.1001. | 0.6 |
| description | String | A brief description of the error. | 0.6 |
| details | String | The detailed error information. | 0.6 |
| elaboration | String | A reserved field. Default is null. | 0.6 |
| opaque | LinkedHashMap | A reserved field. Default is null. | 0.6 |
| cause | ErrorCode | The root error. The source error that caused the current error. If there is no root error, this field is null. | 0.6 |
SDK Examples
Java SDK
GetSupportAPIsAction action = new GetSupportAPIsAction();
GetSupportAPIsAction.Result res = action.call();Python SDK
GetSupportAPIsAction action = GetSupportAPIsAction()
GetSupportAPIsAction.Result res = action.call()