云服务器内容精选

  • 响应示例 返回状态码为200:查询租户全局高级参数配置成功。 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 { "data" : [ { "serviceType" : "serviceType", "configItemKey" : "configItemKey", "configItemValue" : "configItemValue" } ], "errcode" : "0", "errmsg" : "" } 返回状态码为400:校验异常。 HTTP/1.1 400 Bad Request 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 返回状态码为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
  • 响应参数 返回状态码为200:查询租户全局高级参数配置成功。 表2 ParameterConfigResponseDto对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 data ARRAY_REFERENCE 0-100个列表项,详细请参见表3。 高级参数配置 - errcode string 0~64个字符。 - 错误码。 "0" errmsg string 0~256个字符。 - 错误信息描述。 "" 表3 ParameterConfigItem对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 serviceType string 1~128个字符。 - 业务类型 "serviceType" configItemKey string 1~128个字符。 - 配置项key "configItemKey" configItemValue string 0~1024个字符。 - 配置项Value "configItemValue" 返回状态码为400:校验异常。 详细信息请参见实际响应消息体。 返回状态码为500:内部错误。 详细信息请参见实际响应消息体。
  • 请求示例 HTTP的示例 GET /v1/accountservice/parameterconfig?serviceType=serviceType&configItemKey=configItemKey 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
  • 请求示例 HTTP的示例 PUT /v1/accountservice/parameterconfig 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 { "parameterConfigList" : [ { "serviceType" : "serviceType", "configItemKey" : "configItemKey", "configItemValue" : "configItemValue" } ] }
  • 请求参数 表1 body参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 parameterConfigRequestDto 是 REFERENCE 详细请参见表2。 租户全局高级参数配置 - 表2 ParameterConfigRequestDto对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 parameterConfigList 否 ARRAY_REFERENCE 0-100个列表项,详细请参见表3。 参数配置列表 - 表3 ParameterConfigItem对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 serviceType 是 string 1~128个字符。 - 业务类型 "serviceType" configItemKey 是 string 1~128个字符。 - 配置项key "configItemKey" configItemValue 否 string 0~1024个字符。 - 配置项Value "configItemValue"
  • 响应参数 返回状态码为200:更新租户全局高级参数配置成功 表4 CommonResponseDto对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string 0~64个字符。 - 错误码。 "0" errmsg string 0~256个字符。 - 错误信息描述。 "" 返回状态码为400:校验异常。 详细信息请参见实际响应消息体。 返回状态码为500:内部错误。 详细信息请参见实际响应消息体。
  • 响应示例 返回状态码为200:更新租户全局高级参数配置成功 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" : "" } 返回状态码为400:校验异常。 HTTP/1.1 400 Bad Request 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 返回状态码为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