检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
modified_time String 后端API修改时间 scripts Array of LdApiScript objects 后端API脚本信息 roma_app_name String 后端API归属的集成应用名称 表6 LdApiParameter 参数 参数类型 描述 name String
modified_time String 后端API修改时间 scripts Array of LdApiScript objects 后端API脚本信息 roma_app_name String 后端API归属的集成应用名称 表6 LdApiParameter 参数 参数类型 描述 name String
合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。 ip_call_limits 否 Integer 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。 响应参数
debug,且API配置了凭据流量限制时,返回此参数 X-Apig-RateLimit-ip 源IP流量限制信息 示例:remain:9,limit:10,time:10 second 仅在请求消息头包含X-Apig-Mode: debug,且API配置了源IP流量限制时,返回此参数 X-Apig-RateLimit-api-allenv
modified_time String 后端API修改时间 scripts Array of LdApiScript objects 后端API脚本信息 roma_app_name String 后端API归属的集成应用名称 表6 LdApiParameter 参数 参数类型 描述 name String
debug,且API配置了凭据流量限制时,返回此参数 X-Apig-RateLimit-ip 源IP流量限制信息 示例:remain:9,limit:10,time:10 second 仅在请求消息头包含X-Apig-Mode: debug,且API配置了源IP流量限制时,返回此参数 X-Apig-RateLimit-api-allenv
待导出设备ID列表。 最小长度:0 最大长度:999999 数组长度:1 - 500 password_type 否 Integer 0-无密码 1-明文密码 最小值:0 最大值:1 file_export_type 否 String 导出文件类型xls和csv。 缺省值:csv 最小长度:1
description: "default response" x-livedata-scripts: - type: "function" content: "custom-script-content"
description: "default response" x-livedata-scripts: - type: "function" content: "custom-script-content"
modified_time String 后端API修改时间 scripts Array of LdApiScript objects 后端API脚本信息 roma_app_name String 后端API归属的集成应用名称 表6 LdApiParameter 参数 参数类型 描述 name String
服务集成 后端服务调用失败 调用API时报“No backend available”错误 使用JavaScript调用API报“{error_msg: "The API does not exist or has not been published in an environment"
modified_time String 后端API修改时间 scripts Array of LdApiScript objects 后端API脚本信息 roma_app_name String 后端API归属的集成应用名称 表6 LdApiParameter 参数 参数类型 描述 name String
modified_time String 后端API修改时间 scripts Array of LdApiScript objects 后端API脚本信息 roma_app_name String 后端API归属的集成应用名称 表6 LdApiParameter 参数 参数类型 描述 name String
最大长度:64 product_type Integer 产品类型,0-普通产品(不支持子设备) 1-网关产品。 最小值:0 最大值:10 description String 产品描述,长度0-200。 最小长度:0 最大长度:200 protocol_type Integer 产品的协议类型,0-mqtt
支持跨域(CORS) 是否支持跨域访问API。 浏览器出于安全性考虑,限制从页面脚本内发起的跨域请求,此时页面只能访问同源的资源。而CORS允许浏览器向跨域服务器发送XMLHttpRequest请求,从而实现跨域访问。跨域访问API请参见配置跨域访问API。 父主题: 开放函数API
开发准备 APP认证工作原理 Java SDK使用说明 Go SDK使用说明 Python SDK使用说明 C# SDK使用说明 JavaScript SDK使用说明 PHP SDK使用说明 C++ SDK使用说明 C SDK使用说明 Android SDK使用说明 curl SDK使用说明
"product_template", "description" : "product template", "status" : 0 } 响应示例 状态码: 201 Created { "id" : 2235, "name" : "template", "description" : "description"
modified_time String 后端API修改时间 scripts Array of LdApiScript objects 后端API脚本信息 roma_app_name String 后端API归属的集成应用名称 表6 LdApiParameter 参数 参数类型 描述 name String
{iam_endpoint}请参见地区和终端节点获取。 username为用户名。 domainname为用户所属的账号名称。 ********为用户登录密码。 xxxxxxxx为项目ID。 项目ID可以在管理控制台上,单击用户名,在下拉列表中单击“我的凭证”,查看“项目ID”。 调用业务接口,
"topic_name" : "/3.0/${deviceId}/t1", "version" : "3.0", "description" : "description" } 状态码: 400 Bad Request { "error_code" : "SCB.00000000"