这是原厂英文文档的翻译页面. 欢迎帮助我们 完善文档.

Zabbix API 在 6.0 中的变化

6.0.39

alert

Changes:
ZBX-26023 alert.get: Admin and User type users may now retrieve "message" (0) type alert data about users in their user group.

6.0.38

alert

Changes:
ZBX-26258 alert.get: Parameter selectUsers now returns data based on the restrictions added to user.get method.
ZBX-26258 alert.get: Admin and User type users may now retrieve "message" (0) type alert data only about their own user.

mediatype

Changes:
ZBX-26258 mediatype.get: parameter selectUsers now returns data based on the restrictions added to user.get method.

role

Changes:
ZBX-26258 role.get: parameter selectUsers now returns data based on the restrictions added to user.get method.

user

Changes:
ZBX-26258 user.get: when requesting user media, permissions, or role information, Admin and User type users may retrieve data only about their own user.
ZBX-26258 user.get: Admin and User type users may now retrieve only the following User object properties for their own user: userid, attempt_clock, attempt_failed, attempt_ip, autologin, autologout, lang, name, refresh, roleid, rows_per_page, surname, theme, timezone, url, username. For users in their user group: userid, name, surname, username.

usergroup

Changes:
ZBX-26258 usergroup.get: parameter selectUsers now returns data based on the restrictions added to user.get method.

6.0.34

mediatype

ZBX-25385 mediatype.get: Parameter selectMessageTemplates is now supported only for Super admin type users.
ZBX-25385 mediatype.get: Admin type users may now retrieve only the following Media type object properties: mediatypeid, name, type, status, maxattempts.
ZBX-25385 mediatype.get: When requesting user-related information of media types, Admin type users may now retrieve only data about their own user.

6.0.22rc1

hostprototype

Changes:
ZBX-23284 hostprototype.get, hostprototype.update: returned support for group_prototypeid property of Group prototype objects.

6.0.19

动作

变化: ZBX-21804 action.create, action.get, action.update, action.delete: 取消了对主机、主机组、模板、触发器、proxy 的写入权限要求。

6.0.15

脚本

变化: ZBX-19466script 对象的验证更改为通过两个属性的组合来保证唯一性:namemenu_path

6.0.14

用户

变化: ZBXNEXT-8012 user.checkAuthentication: 添加了新的参数 token

6.0.13

配置

变化: ZBXNEXT-7951 configuration.import, configuration.importcompare:对于 templateLinkage 的选项 deleteMissing: true 现在将取消链接缺失的模板(而不是取消链接并清除)。

发现规则

变化: ZBXNEXT-7951 discoveryrule.update:现在可以更新 uuid 参数。

图形

变化: ZBXNEXT-7951 graph.update:现在可以更新 uuid 参数。

图形原型

变化: ZBXNEXT-7951 graphprototype.update:现在可以更新 uuid 参数。

主机组

变化: ZBXNEXT-7951 hostgroup.update:现在可以更新 uuid 参数。

主机原型

变化: ZBXNEXT-7951 hostprototype.update:现在可以更新 uuid 参数。

HTTP测试

变化: ZBXNEXT-7951 httptest.update:现在可以更新 uuid 参数。

监控项

变化: ZBXNEXT-7951 item.update:现在可以更新 uuid 参数。

监控项原型

变化: ZBXNEXT-7951 itemprototype.update:现在可以更新 uuid 参数。

模板

变化: ZBXNEXT-7951 template.update:现在可以更新 uuid 参数。

模板仪表盘

变化: ZBXNEXT-7951 templatedashboard.update:现在可以更新 uuid 参数。

触发器

变化: ZBXNEXT-7951 trigger.update:现在可以更新 uuid 参数。

触发器原型

变化: ZBXNEXT-7951 triggerprototype.update:现在可以更新 uuid 参数。

值映射

变化: ZBXNEXT-7951 valuemap.update:现在可以更新 uuid 参数。

6.0.9

用户

变化: ZBXNEXT-7971 user.create, user.update:将“url”字段的最大长度增加到 2048 个字符。

6.0.7

图形

变化: ZBX-7706 graph.get:图形的可用性不再依赖于图形中 "ymin_itemid" 和 "ymax_itemid" 字段指定的监控项的权限。 具有链接到不可访问监控项的最小或最大Y轴的图形将仍然是可访问的,但最小/最大Y轴的工作方式将与指定的计算方法为 "已计算" 时的工作方式相同。

####图形原型

变化:
ZBX-7706graphprototype.get:图形原型可用性不依赖于图形原型“ymin_itemid”和“ymax_itemid”中指定监控项的权限字段。

6.0.3

发现规则

Bug修复:
ZBX-19118 discoveryrule.creatediscoveryrule.update:不再需要属性 interfaceid 来创建/更新 HTTP 代理类型LLD 规则。

发现规则

Bug修复:
ZBX-19118 item.createitem.update:不再需要属性 interfaceid 来创建/更新 HTTP 代理类型的监控项。

监控项原型

Bug修复:
ZBX-19118 itemprototype.createitemprototype.update:不再需要属性 interfaceid 来创建/更新 HTTP 代理类型监控项原型。