Querying Configurations
Function
Query configurations.
URI
GET /v2/servicerequest/configurations/{config_key}
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| config_key | Yes | String | Specifies the key of a configuration item. Minimum length: 1 Maximum length: 128 |
Request Parameters
None
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| config_key | String | Specifies the key of a configuration item. Minimum length: 1 Maximum length: 128 |
| config_value | String | Specifies the value of a configuration item. Minimum length: 0 Maximum length: 65535 |
| error_code | String | Specifies the error code. Minimum length: 0 Maximum length: 32 |
| error_msg | String | Describes the error. Minimum length: 0 Maximum length: 32 |
Request Example
GET https://{endpoint}/v2/servicerequest/configurations/case.create-case.diagnose-list Response Example
Status code: 200
Code 200 is returned if the operation is successful.
{
"error_code" : 0,
"config_key" : "case.create-case.diagnose-list",
"config_value" : "test1,test2",
"error_msg" : ""
} Status Codes
| Status Code | Description |
|---|---|
| 200 | Code 200 is returned if the operation is successful. |
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.