云服务器内容精选

  • 请求示例 HTTP的示例 POST /controller/campus/ui/v2/sdwan/openapi/maintenance/cli/export HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/octerstream,application/json Accept-Language: en-US X-AC CES S-TOKEN: x-yyyyyy { "exportPassword" : "Example@123", "exportAll" : true, "siteIds" : [ "00000000-0000-0000-0000-000000000000" ], "deviceIds" : [ "00000000-0000-0000-0000-000000000000" ], "esns" : [ "AR500102390000000001" ] }
  • 响应示例 返回状态码为200:导出成功。 HTTP/1.1 200 OK Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/octerstream,application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive 返回状态码为400:请求参数错误,响应体参考ExportCmdResponse。 HTTP/1.1 400 Bad Request Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/octerstream,application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive { "errcode" : "error", "errmsg" : "" } 返回状态码为500:系统内部错误。 HTTP/1.1 500 Internal Server Error Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/octerstream,application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive
  • 响应参数 返回状态码为200:导出成功。 返回状态码为400:请求参数错误,响应体参考ExportCmdResponse。 表3 ExportCmdResponse对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string - - 错误码,0表示成功,非0表示失败。 "error" errmsg string - - 错误信息。 "" 返回状态码为500:系统内部错误。 详细信息请参见实际响应消息体。