| | |
| | | { |
| | | public class NewAPI |
| | | { |
| | | #region 新微服务接口 |
| | | //#region 新微服务接口 |
| | | //*********************************************** |
| | | //注意:和住宅相关的接口要请求住宅所在区域的域名 regionUrl |
| | | //*********************************************** |
| | |
| | | /// 更新个人信息 |
| | | /// </summary> |
| | | public const string API_POST_Member_UpdateMemberInfo = "/smart-footstone/member/memberInfo/updateMemberInfo"; |
| | | /// <summary> |
| | | /// 上传头像 |
| | | /// </summary> |
| | | public const string API_POST_Head_Upload = "/home-wisdom/app/head/portrait/upload"; |
| | | /// <summary> |
| | | /// 下载头像 |
| | | /// </summary> |
| | | public const string API_POST_Head_Down = "/home-wisdom/app/head/portrait/down"; |
| | | /// <summary> |
| | | /// 根据账号下载头像 |
| | | /// </summary> |
| | | public const string API_POST_Head_DownWithAccount = "/home-wisdom/app/head/portrait/downWithAccount"; |
| | | ///// <summary> |
| | | ///// 上传头像 |
| | | ///// </summary> |
| | | //public const string API_POST_Head_Upload = "/home-wisdom/app/head/portrait/upload"; |
| | | ///// <summary> |
| | | ///// 下载头像 |
| | | ///// </summary> |
| | | //public const string API_POST_Head_Down = "/home-wisdom/app/head/portrait/down"; |
| | | ///// <summary> |
| | | ///// 根据账号下载头像 |
| | | ///// </summary> |
| | | //public const string API_POST_Head_DownWithAccount = "/home-wisdom/app/head/portrait/downWithAccount"; |
| | | /// <summary> |
| | | /// 绑定认证(手机/邮箱) |
| | | /// </summary> |
| | |
| | | public const string API_POST_Member_UnbindWithAccount = "/smart-footstone/member/memberInfo/unbindWithAccount"; |
| | | #endregion |
| | | |
| | | /// <summary> |
| | | /// 查询功能介绍列表 |
| | | /// </summary> |
| | | public const string API_POST_FunctionIntroductionList = "/home-wisdom/app/functionIntroduction/list"; |
| | | #endregion |
| | | |
| | | #region ■ HomeCluster -- 住宅管理接口___________________________ |
| | | |
| | | /// <summary> |
| | | /// 绑定住宅 |
| | | /// </summary> |
| | | public const string Api_Post_BindlingResidence = "/app/home/deliver"; |
| | | /// <summary> |
| | | /// 获取住宅分页 |
| | | /// </summary> |
| | |
| | | /// 子账号管理员获取主账号授权Token |
| | | /// </summary> |
| | | public const string API_POST_Child_GetMasterToken = "/home-wisdom/app/child/account/masterToken/get"; |
| | | ///// <summary> |
| | | ///// 下载子账号头像 |
| | | ///// </summary> |
| | | //public const string API_POST_Child_DownloadHeadImage = "/home-wisdom/app/child/account/getHeadPortrait"; |
| | | /// <summary> |
| | | /// 下载子账号头像 |
| | | /// 下载账号头像 |
| | | /// </summary> |
| | | public const string API_POST_Child_DownloadHeadImage = "/home-wisdom/app/child/account/getHeadPortrait"; |
| | | public const string API_POST_DownloadHeadImage = "/home-wisdom/app/head/portrait/downWithAccount"; |
| | | |
| | | #region 数据分享 |
| | | /// <summary> |
| | | /// 分享指定文件给指定成员 |
| | |
| | | /// 获取住宅网关分页 |
| | | /// </summary> |
| | | public const string API_POST_GetGatewayList = "/home-wisdom/app/gateway/getGatewayList"; |
| | | /// <summary> |
| | | /// 获取网关信息 |
| | | /// </summary> |
| | | public const string Api_Post_GetGatewayInfo = "/home-wisdom/app/gateway/info"; |
| | | ///// <summary> |
| | | ///// 解绑绑网关到住宅 |
| | | ///// </summary> |
| | |
| | | /// <summary> |
| | | /// 检测更新,是否需要强制更新 |
| | | /// </summary> |
| | | public const string API_POST_CheckAppVersion= "/smart-footstone/app/checkAppVersion"; |
| | | /// <summary> |
| | | /// 查询APP最新版本 |
| | | /// </summary> |
| | | public const string API_POST_GetAppVersion = "/smart-footstone/app/getAppVersion"; |
| | | public const string API_POST_CheckAppVersion= "/smart-footstone/app/appVersion/check"; |
| | | ///// <summary> |
| | | ///// 查询APP最新版本 |
| | | ///// </summary> |
| | | //public const string API_POST_GetAppVersion = "/smart-footstone/app/getAppVersion"; |
| | | #endregion |
| | | |
| | | |
| | | |
| | | #region ■ -- 房间场景背景图片上传下载接口___________________________ |
| | | /// <summary> |
| | | /// 上传图片 |
| | | /// </summary> |
| | | public const string API_POST_UploadImage = "/home-wisdom/app/images/upload_image"; |
| | | /// <summary> |
| | | /// 查询图片路径 |
| | | /// </summary> |
| | | public const string API_POST_GetImageUrl = "/home-wisdom/app/images/get_image_url"; |
| | | #endregion |
| | | |
| | | |
| | | #region Kaede -- 设备接口____________________________ |
| | | /// <summary> |
| | |
| | | /// <summary> |
| | | /// 获取设备详情 |
| | | /// </summary> |
| | | public const string Api_Post_GetDevcieInfoList = "/home-wisdom/app/device/list"; |
| | | public const string Api_Post_GetDevcieInfoList = "/home-wisdom/app/device/info"; |
| | | /// <summary> |
| | | /// 刷新设备状 |
| | | /// </summary> |
| | | public const string Api_Post_RefreshDeviceStatus = "/home-wisdom/app/device/status/refresh"; |
| | | /// <summary> |
| | | /// 设备控制 |
| | | /// </summary> |
| | | public const string Api_Post_ControlDevice = "/home-wisdom/app/device/control"; |
| | | /// <summary> |
| | | /// 编辑设备信息 |
| | | /// </summary> |
| | | public const string Api_Post_EditDevice = "/home-wisdom/app/device/edit"; |
| | | /// <summary> |
| | | /// 设备绑定房间 |
| | | /// </summary> |
| | |
| | | /// <summary> |
| | | /// 取消收藏设备 |
| | | /// </summary> |
| | | public const string Api_Post_CancelCollectDevice = "/home-wisdom/app/device/cancelcollect"; |
| | | public const string Api_Post_CancelCollectDevice = "/home-wisdom/app/device/cancelCollect"; |
| | | /// <summary> |
| | | /// 获取环境传感器历史数据 小时/周/月统计数据 |
| | | /// </summary> |
| | | public const string Api_Post_EnvironmentalSensorHistoricalData = "/home-wisdom/app/statistics/device/hourWeekMonth"; |
| | | /// <summary> |
| | | /// 获取安防传感器历史数据 |
| | | /// </summary> |
| | | public const string Api_Post_ArmSensorHistoricalData = "/home-wisdom/app/device/message"; |
| | | #endregion |
| | | |
| | | #region Kaede -- 场景接口____________________________ |
| | |
| | | /// <summary> |
| | | /// 删除场景 |
| | | /// </summary> |
| | | public const string Api_Post_DeleteSecne = "/home-wisdom/app/scene/Delete"; |
| | | public const string Api_Post_DeleteSecne = "/home-wisdom/app/scene/delete"; |
| | | /// <summary> |
| | | /// 执行场景 |
| | | /// </summary> |
| | |
| | | /// <summary> |
| | | /// 取消收藏场景 |
| | | /// </summary> |
| | | public const string Api_Post_CancelCollectScene = "/home-wisdom/app/scene/cancelcollect"; |
| | | public const string Api_Post_CancelCollectScene = "/home-wisdom/app/scene/cancelCollect"; |
| | | #endregion |
| | | |
| | | #region Kaede -- 房间接口____________________________ |
| | |
| | | /// <summary> |
| | | /// 获取分享 |
| | | /// </summary> |
| | | public const string API_POST_Share_Get = "/home-wisdom/app/share/get"; |
| | | public const string API_POST_Share_GetList = "/home-wisdom/app/share/list"; |
| | | #endregion |
| | | |
| | | |
| | |
| | | public const string API_POST_Logic_Enable = "/home-wisdom/app/logic/enable"; |
| | | #endregion |
| | | |
| | | #region -- 第三方设备相关接口___________________________ |
| | | /// <summary> |
| | | /// 获取添加过的品牌列表 |
| | | /// </summary> |
| | | public const string Api_Post_GetBindBrandList = "/home-wisdom/app/product/brand/bindList"; |
| | | /// <summary> |
| | | /// 获取品牌列表 |
| | | /// </summary> |
| | | public const string Api_Post_GetBrandList = "/home-wisdom/app/product/brand/list"; |
| | | |
| | | #region ■ -- 红外宝接口___________________________ |
| | | /// <summary> |
| | | /// 红外宝设备定位 |
| | | /// </summary> |
| | | public const string API_POST_Ir_DeviceFind = "/home-wisdom/app/device/ir/deviceFind"; |
| | | /// <summary> |
| | | /// 红外宝下的遥控器列表 |
| | | /// </summary> |
| | | public const string API_POST_Ir_List = ":/home-wisdom/app/device/ir/list"; |
| | | /// <summary> |
| | | /// 遥控器红外码学习 |
| | | /// </summary> |
| | | public const string API_POST_Ir_CodeStudy = "/home-wisdom/app/device/ir/codeStudy"; |
| | | /// <summary> |
| | | ///红外宝红外码库试码 |
| | | /// </summary> |
| | | public const string API_POST_Ir_CodeTest = "/home-wisdom/app/device/ir/codeTest"; |
| | | /// <summary> |
| | | /// 红外宝遥控器添加 |
| | | /// </summary> |
| | | public const string API_POST_Ir_Add = "/home-wisdom/app/device/ir/add"; |
| | | /// <summary> |
| | | /// 遥控器自学按键删除 |
| | | /// </summary> |
| | | public const string API_POST_Ir_CodeRemove = "/home-wisdom/app/device/ir/codeRemove"; |
| | | |
| | | #endregion |
| | | |
| | | #endregion |
| | | |
| | | |
| | | #region ■ -- 萤石SDK相关接口___________________________ |
| | | /// <summary> |
| | | /// 河东获取萤石云子账号token的接口 |
| | | /// </summary> |
| | | public const string API_POST_EZ_GetChildToken = "/home-wisdom/platform/childToken"; |
| | | /// <summary> |
| | | /// 红外宝/遥控器删除 |
| | | /// </summary> |
| | | public const string API_POST_Ir_DeviceDel= "/home-wisdom/app/device/remove"; |
| | | /// <summary> |
| | | /// 修改红外宝名称 |
| | | /// </summary> |
| | | public const string API_POST_Ir_DeviceRename = "/home-wisdom/app/device/rename"; |
| | | |
| | | |
| | | #endregion |
| | | |
| | | #region ■ -- 丰林相关相关接口___________________________ |
| | | /// <summary> |
| | | /// 检查住宅是否绑定丰林,并获取门口机列表 |
| | | /// </summary> |
| | | public const string API_POST_FL_Check = "/home-wisdom/app/fl/vi/check"; |
| | | /// <summary> |
| | | /// 接听 |
| | | /// </summary> |
| | | public const string API_POST_FL_Answer = "/home-wisdom/app/fl/vi/answer"; |
| | | /// <summary> |
| | | /// 拒接 |
| | | /// </summary> |
| | | public const string API_POST_FL_Reject = "/home-wisdom/app/fl/vi/reject"; |
| | | /// <summary> |
| | | /// 开锁成功 |
| | | /// </summary> |
| | | public const string API_POST_FL_Unlock= "/home-wisdom/app/fl/vi/unlock"; |
| | | /// <summary> |
| | | /// 通话视频截图上传 |
| | | /// </summary> |
| | | public const string API_POST_FL_Screenshot = "/home-wisdom/app/fl/vi/screenshot"; |
| | | /// <summary> |
| | | /// 挂断 |
| | | /// </summary> |
| | | public const string API_POST_FL_HangUp = "/home-wisdom/app/fl/vi/hang-up"; |
| | | /// <summary> |
| | | /// 获取通话记录 |
| | | /// </summary> |
| | | public const string API_POST_FL_GetCallList = "/home-wisdom/app/fl/vi/list"; |
| | | /// <summary> |
| | | /// 删除通话记录 |
| | | /// </summary> |
| | | public const string API_POST_FL_DeleteCallInfo = "/home-wisdom/app/fl/vi/delete"; |
| | | #endregion |
| | | |
| | | } |
| | | |
| | | ///// <summary> |