检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
消息体的媒体类型,默认取值为“application/json”。 鉴权接口的Content-Type值为“application/x-www-form-urlencoded”。 其他API的Content-Type值为“application/json”。 app_key 鉴权接口不选 其他接口必选
LOGIN_CONFIG_APPID, GatewayInfo.getAppID()); LoginConfig.setConfig(LoginConfig.LOGIN_CONFIG_SECRET, GatewayInfo.getSecret()); LoginConfig
https://{host}:{port}/iocm/app/devgroup/v1.3.0/devGroups/{devGroupId}?accessAppId={accessAppId} Content-Type: application/json app_key: ****** Authorization:
OK 请求示例 POST https://{host}:{port}/iodm/app/sub/v1.1.0/subscribe Content-Type: application/json app_key: ****** Authorization: Bearer ***** {
https://{host}:{port}/iocm/app/dm/v1.1.0/devices/deleteDevGroupTagFromDevices?accessAppId={accessAppId} Content-Type: application/json app_key: ****** Authorization:
100025 AppId for auth not exist. 获取不到appId鉴权信息。 处理建议: 请检查请求结构体的Header头域中是否给字段app_key赋值。 若通过HTTP调用,请联系物联网平台维护人员确认Header头域中放置appId的字段名是app_key还是x-app-key。
GET https://{host}:{port}/iocm/app/reg/v1.1.0/deviceCredentials/{deviceId} Content-Type: application/json app_key: ****** Authorization: Bearer
https://{host}:{port}/iocm/app/dm/v1.4.0/devices/{deviceId}?appId={appId}&cascade={cascade} Content-Type: application/json app_key: ****** Authorization:
100025 AppId for auth not exist. 获取不到appId鉴权信息。 处理建议: 请检查请求结构体的Header头域中是否给字段app_key赋值。 若通过HTTP调用,请联系物联网平台维护人员确认Header头域中放置appId的字段名是app_key还是x-app-key。
iocm/app/dm/v1.2.0/devices/ids?devGroupId={devGroupId}&accessAppId={accessAppId}&pageNo={pageNo}&pageSize={pageSize} Content-Type: application/json
100025 AppId for auth not exist. 获取不到appId鉴权信息。 处理建议: 请检查请求结构体的Header头域中是否给字段app_key赋值。 若通过HTTP调用,请联系物联网平台维护人员确认Header头域中放置appId的字段名是app_key还是x-app-key。
https://{host}:{port}/iocm/app/devgroup/v1.3.0/devGroups?accessAppId={accessAppId}&pageNo={pageNo}&pageSize={pageSize}&name={name} Content-Type: application/json
/iocm/app/sub/v1.2.0/subscriptions?appId={appId}¬ifyType={notifyType}&callbackUrl={callbackUrl}&channel={channel} Content-Type: application/json
https://{host}:{port}/iocm/app/devgroup/v1.3.0/devGroups/{devGroupId}?accessAppId={accessAppId} Content-Type: application/json app_key: ****** Authorization:
https://{host}:{port}/iocm/app/signaltrans/v1.1.0/devices/{deviceId}/services/{serviceId}/sendCommand Content-Type: application/json app_key: ****** Authorization:
0/category/{fileId} Content-Type: application/json app_key: ****** Authorization: Bearer ****** 正常响应示例 Status Code: 200 OK Content-Type: application/json {
https://{host}:{port}/iocm/app/dm/v1.1.0/devices/addDevGroupTagToDevices?accessAppId={accessAppId} Content-Type: application/json app_key: ****** Authorization:
请求示例 POST https://{host}:{port}/iocm/app/devgroup/v1.3.0/devGroups Content-Type: application/json app_key: ****** Authorization: Bearer ******
请求示例 POST https://{host}:{port}/iocm/app/cmd/v1.4.0/deviceCommands Content-Type: application/json app_key: ****** Authorization: Bearer ******
https://{host}:{port}/iocm/app/sub/v1.2.0/subscriptions Content-Type: application/json app_key: ****** Authorization: Bearer ***** { "appId": "*******"