Это перевод страницы документации с английского языка. Помогите нам сделать его лучше.

Zabbix API changes in 5.0

5.0.47

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.

5.0.46

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.

user

Changes:
ZBX-26258 user.get: when requesting user media or permissions, 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, alias, attempt_clock, attempt_failed, attempt_ip, autologin, autologout, lang, name, refresh, rows_per_page, surname, theme, type, url. For users in their user group: userid, alias, name, surname.

usergroup

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

5.0.44

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.

5.0.26

graph

Changes:
ZBX-7706 graph.get: Graph availability doesn't depend on permissions to items specified in graph "ymin_itemid" and "ymax_itemid" fields.
Graph having MIN or MAX Y axis linked to inaccessible items will still be accessible but MIN/MAX Y axis works the same way as if specified calculation method is "Calculated".

graphprototype

Changes:
ZBX-7706 graphprototype.get: Graph prototype availability doesn't depend on permissions to items specified in graph prototype "ymin_itemid" and "ymax_itemid" fields.

5.0.16

usergroup

Bug fixes:
ZBX-19857 usergroup.get: dropped support for the non-working option web_gui_access

5.0.13

configuration

Bug fixes:
ZBX-8999 configuration.export: fixed exporting of images separately from other objects

graph

Bug fixes:
ZBX-19200 graph.get removed discover field from request
ZBX-19388 graph.update: fixed method to properly change values on template graph instead of making a new inherited graph if case user has no permissions to child host or template

graphprototype

Bug fixes:
ZBX-19388 graphprototype.update: fixed method to properly change values on template graph prototype instead of making a new inherited graph prototype if case user has no permissions to child host or template

host

ZBX-19200 host.get removed discover field from request

item

ZBX-19200 item.get removed discover field from request

mediatype

Changes:
ZBXNEXT-6582 increased maxattempts from 10 to 100 and attempt_interval from 60s to 1h

task

Bug fixes:
ZBX-18941 task.create: improved error message by adding item or discovery rule and host name if any of them are not monitored for task with type value 6

template

ZBX-19200 template.get removed discover field from request

trigger

Bug fixes:
ZBX-19200 trigger.get removed discover field from request
ZBX-19424 trigger.create: fixed trigger creation on PostgreSQL with host name consisting of only numbers

5.0.5

task

Changes:
ZBXNEXT-6167 added a new method task.get.
ZBXNEXT-6167 added a new type of task for task.get method.
ZBXNEXT-6167 changed format of task.create request. See task.create for more details.