System Global Type/System Error Code Operations
GETSystem Error Code OperationsSince 3.3.0SynchronousAuth Required
GetElaborations
GetElaborations
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Query Parameters
Request Inputs
Query Parameters
categoryStringOptional. The error code category, which is consistent with resource or service category, such as HOST.
regexStringOptional. The error code keyword.
codeStringOptional. The error code, which is used with the error code category.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
GET/zstack/v1/errorcode/elaborations
/zstack/v1/errorcode/elaborations
Request Example
curl -X GET 'http://{host}/zstack/v1/errorcode/elaborations?category=<category>®ex=<regex>&code=<code>&systemTags=<systemTags>&userTags=<userTags>' -H 'Authorization: OAuth {sessionUuid}'
Response Example
200{ "contents": [ { "category": "HOST", "code": "1003", "regex": "host[uuid:%s, name:%s] is in status[%s], cannot perform required operation", "message_cn": "物理机正处于[停止]状态,不能进行该操作", "message_en": "Host is in status[Stopped], cannot perform required operation", "source": "zstack", "method": "distance", "distance": 0.0 } ] }Change History
This API has no change history records yet.
