Appendix 2. Changes from 3.4 to 4.0

Backward incompatible changes

General

Changes:
ZBXNEXT-4247 dropped support of the deprecated methods user.updateprofile, user.addmedia, user.updatemedia, user.deletemedia, usergroup.massadd, usergroup.massupdate and usermedia.get
ZBXNEXT-4175 E-mail values in API methods user.get, user.create and user.update are represented as array if type of Media type is e-mail.
ZBX-3783 proxy.delete: proxies cannot be deleted when are used in actions
=== action === Changes:
ZBXNEXT-413 renamed property maintenance_mode to pause_suppressed.

action

Changes:
ZBXNEXT-413 renamed property maintenance_mode to pause_suppressed.

dashboard

Changes:
ZBXNEXT-4516 renamed dashboard widget types: actlog => actionlog, dscvry => discovery, favgrph => favgraphs, favmap => favmaps, favscr => favscreens, hoststat => problemhosts, navigationtree => navtree, stszbx => systeminfo, sysmap => map, syssum => problemsbysv and webovr => web
ZBXNEXT-4588 added new dashboard widget type: svggraph

drule

Changes:
ZBX-3783 discovery rules cannot be deleted when are used in actions

user

Changes:
ZBXNEXT-4573 user.login: password field is mandatory when HTTP authentication is enabled.
ZBXNEXT-4573 user.create: password field can be omitted if user belongs only to groups that have LDAP access.
ZBXNEXT-4573 user.update: password field can be empty string if user belongs only to groups that have LDAP access.

usergroup

Changes:
ZBXNEXT-4573 changed gui_access type 23 - "disable access to the frontend".
ZBXNEXT-4573 added gui_access type 2 - "use LDAP authentication".

Other changes and bug fixes

General

Changes:
ZBXNEXT-4426 added a new task API introducing a new method task.create.
ZBXNEXT-4152 added possibility to filter IDs by zero. For example: host.get() with option {"proxyids": [0]} will return hosts monitored by server.

apiinfo

Changes:
ZBX-3783 added strict validation of input parameters for version method

action

Changes:
ZBXNEXT-413 changed supported operators for action condition 16: 4 - "in" and 7 - "not in" to new ones 10 - "Yes" and 11 - "No".
ZBXNEXT-2788 added support for not operator in custom expression filter formula
ZBX-3783 added strict validation of input parameters for delete method; added audit

correlation

Changes:
ZBXNEXT-2788 added support for not operator in custom expression filter formula
ZBX-3783 added strict validation of input parameters for delete method; added audit

discoveryrule

Changes:
ZBXNEXT-2788 added support for not operator in custom expression filter formula
ZBXNEXT-2788 added support of value 9 in the filter condition operator

drule

Changes:
ZBX-3783 added strict validation of input parameters for delete method

event

Changes:
ZBXNEXT-413 event.get: added new parameter suppressed.
ZBXNEXT-413 event.get: added new parameter selectSuppressionData that returns list of maintenances in the suppression_data property.
ZBXNEXT-4118 event.get: added a new property evaltype and extended tags property to support new value "<​operator>"
ZBXNEXT-4119 event.get: returns only problems and corresponding recovery events that match the tag based permission filters
ZBXNEXT-4588 event.get: added new parameters problem_time_from and problem_time_till

hostprototype

ZBXNEXT-4656 hostprototype.create, hostprototype.update: added strict validation of input parameters and added audit.

item

Changes:
ZBXNEXT-4358 added new item type "HTTP agent".

itemprototype

Changes:
ZBXNEXT-4200 itemprototype.create, itemprototype.update: added possibility to add regular items and web items as master items in master_itemid property.

maintenance

Changes:
ZBXNEXT-413 added new property tags_evaltype.
ZBXNEXT-413 maintenance.create, maintenance.update: added new property tags.
ZBXNEXT-413 maintenance.get: added new option selectTags that returns maintenance problem tags in the tags property.

map

Changes:
ZBXNEXT-413 added new property show_suppressed.

mediatype

Changes:
ZBXNEXT-4144 password field for authentication type "Username and password" was made as optional.

problem

Changes:
ZBXNEXT-413 problem.get: added new parameter suppressed.
ZBXNEXT-413 problem.get: added new parameter selectSuppressionData that returns list of maintenances in the suppression_data property.
ZBXNEXT-4118 problem.get: added a new property evaltype and extended tags property to support new value "<​operator>"
ZBXNEXT-4119 problem.get: returns only those events that match the tag based permission filters

proxy

Changes:
ZBXNEXT-4411 added a new property auto_compress.

trigger

Changes:
ZBXNEXT-3860 trigger.get: added a new parameters evaltype and tags that allow to filter triggers by tags
ZBXNEXT-4357 trigger.get: added a new selectTriggerDiscovery option that returns the trigger discovery object in the triggerDiscovery property

usergroup

Changes:
ZBXNEXT-4119 usergroup.get: added a new selectTagFilters option that returns the array of the tag based permissions objects in the tag_filters property
ZBXNEXT-4119 usergroup.create and usergroup.update: added a new tag_filters property