附录2. 从7.2到7.4的变更
向后不兼容的更改
地图
ZBXNEXT-8784 从地图链接触发器 object中移除了属性linktriggerid和linkid。
媒介类型
ZBX-26258 mediatype.get: 新增了对 selectUsers 参数的严格验证。\
用户
ZBX-26258 user.get: 新增了对方法参数的严格验证.
ZBX-26258 user.get: 属性 userid 现在仅在显式请求或当 output 设置为"extend"时返回.\
用户组
ZBX-26258 usergroup.get: 新增了对 mfaids, selectUsers 参数的严格验证.\
其他变更和错误修复
仪表盘
ZBXNEXT-9087 新增了仪表板小部件类型 itemcard。
发现规则原型
ZBXNEXT-1527 新增了LLD规则原型API,包含方法discoveryruleprototype.create、discoveryruleprototype.update、discoveryruleprototype.get、discoveryruleprototype.delete。\
graph
ZBXNEXT-1527 Added new parameter selectDiscoveryData to the graph.get method; deprecated the selectGraphDiscovery parameter.\
graphprototype
ZBXNEXT-1527 Added new parameters selectDiscoveryRulePrototype and selectDiscoveryData to the graphprototype.get method.\
host
ZBXNEXT-1527 Added new parameters selectDiscoveryData and selectDiscoveryRules to the host.get method; deprecated selectHostDiscovery and selectDiscoveries parameters.\
hostgroup
ZBXNEXT-1527 Added new parameter selectDiscoveryData to the hostgroup.get method; deprecated the selectGroupDiscoveries parameter.\
hostprototype
ZBXNEXT-1527 Added new parameters selectDiscoveryRulePrototype and selectDiscoveryData to the hostprototype.get method.\
item
ZBXNEXT-1527 Added new parameter selectDiscoveryData to the item.get method; deprecated the selectItemDiscovery parameter.\
itemprototype
ZBXNEXT-1527 Added new parameters selectDiscoveryRulePrototype and selectDiscoveryData to the itemprototype.get method.\
地图
ZBXNEXT-875 新增属性 zindex 至 地图元素 object.
ZBXNEXT-2122 新增属性 edit_own_media 和 edit_user_media 至角色 API 动作 object.
ZBXNEXT-8784 新增属性 background_scale, show_element_label, show_link_label 至 地图 object.
ZBXNEXT-8784 新增属性 show_label 至 地图元素 object.
ZBXNEXT-8784 新增属性 show_label, indicator_type, itemid, thresholds, highlights 至 地图链接 object.
ZBXNEXT-8784 新增 地图链接指示器 object.
媒介类型
ZBXNEXT-9805 新增了2选项("OAuth令牌")到媒介类型 object的smtp_authentication属性中。
ZBXNEXT-9805 向媒介类型 object添加了以下属性:redirection_url、client_id、client_secret、authorization_url、token_url、tokens_status、access_token、access_token_updated、access_expires_in、refresh_token。\
模板
ZBXNEXT-9872 新增了属性 readme 和 wizard_ready。
模板仪表盘
ZBXNEXT-9087 新增了模板仪表板部件类型 itemcard。
trigger
ZBXNEXT-1527 Added new parameter selectDiscoveryData to the trigger.get method; deprecated the selectTriggerDiscovery parameter.\
triggerprototype
ZBXNEXT-1527 Added new parameters selectDiscoveryRulePrototype and selectDiscoveryData to the triggerprototype.get method.\
用户宏
ZBXNEXT-9872 为主机宏object新增了config属性.\