-
请求示例 HTTP的示例 PUT /controller/campus/v1/systemparameter/securityconfig/verify-controller HTTP/1.1
Host: 192.168.1.125:18002
Content-Type: application/json
Accept: application/json
Accept-Language: en-US
X-AC
CES S-TOKEN: x-yyyyyy
{
"controllerValidate" : "true"
}
-
响应参数 返回状态码为200:修改CPE接入非法控制器防范功能开关成功,响应体参考ControllerValidateModifyOutput。 表3 ControllerValidateModifyOutput对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string 0~64个字符。 - 错误码。 "0" errmsg string 0~2048个字符。 - 错误信息。 "OK" controllerValidate string 4~5个字符。 - 校验开关状态,该字段为“true”时,开关已开启,该字段为“false”时,开关未开启。 "true" 返回状态码为500:接口调用内部错误,无响应体。 详细信息请参见实际响应消息体。
-
响应示例 返回状态码为200:修改CPE接入非法控制器防范功能开关成功,响应体参考ControllerValidateModifyOutput。 HTTP/1.1 200 OK
Date: Sun,11 May 2025 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive
{
"errcode" : "0",
"errmsg" : "OK",
"controllerValidate" : "true"
} 返回状态码为500:接口调用内部错误,无响应体。 HTTP/1.1 500 Internal Server Error
Date: Sun,11 May 2025 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive
-
请求参数 表1 body参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 controllerValidateModifyInput 是 REFERENCE 详细请参见表2。 修改CPE接入非法控制器防范功能开关请求体。 - 表2 ControllerValidateModifyInput对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 controllerValidate 否 string 4~5个字符。 - 校验开关状态,该字段为“true”时,开关已开启,该字段为“false”时,开关未开启。 "true"
-
响应参数 返回状态码为200:查询证书校验安全开关信息成功,响应体参考ControllerValidateQueryOutput。 表1 ControllerValidateQueryOutput对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string 0~64个字符。 - 错误码。 "0" errmsg string 0~2048个字符。 - 错误信息。 "OK" controllerValidate string 4~5个字符。 - 校验开关状态,该字段为“true”时,开关已开启,该字段为“false”时,开关未开启。 "true" 返回状态码为500:接口调用内部错误,无响应体。 详细信息请参见实际响应消息体。
-
响应示例 返回状态码为200:查询证书校验安全开关信息成功,响应体参考ControllerValidateQueryOutput。 HTTP/1.1 200 OK
Date: Sun,11 May 2025 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive
{
"errcode" : "0",
"errmsg" : "OK",
"controllerValidate" : "true"
} 返回状态码为500:接口调用内部错误,无响应体。 HTTP/1.1 500 Internal Server Error
Date: Sun,11 May 2025 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive
-
请求示例 HTTP的示例 GET /controller/campus/v1/systemparameter/securityconfig/verify-controller HTTP/1.1
Host: 192.168.1.125:18002
Content-Type: application/json
Accept: application/json
Accept-Language: en-US
X-ACCESS-TOKEN: x-yyyyyy
-
请求示例 HTTP的示例 GET /controller/campus/v1/systemparameter/securityconfig/verify-device HTTP/1.1
Host: 192.168.1.125:18002
Content-Type: application/json
Accept: application/json
Accept-Language: en-US
X-ACCESS-TOKEN: x-yyyyyy
-
响应示例 返回状态码为200:查询校验设备证书ESN开关信息成功,响应体参考ControllerValidateQueryOutput。 HTTP/1.1 200 OK
Date: Sun,11 May 2025 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive
{
"errcode" : "0",
"errmsg" : "OK",
"controllerValidate" : "true"
} 返回状态码为500:接口调用内部错误,无响应体。 HTTP/1.1 500 Internal Server Error
Date: Sun,11 May 2025 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive