manual:api:changes_3.4_-_4.0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
manual:api:changes_3.4_-_4.0 [2018/12/25 16:25]
manual:api:changes_3.4_-_4.0 [2019/01/16 12:50] (current)
gcalenko [ZBXNEXT-4573] user.login changes for HTTP authentication
Line 1: Line 1:
 +===== Appendix 2. Changes from 3.4 to 4.0 =====
  
 +==== Backward incompatible changes =====
 +=== General ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4247|ZBXNEXT-4247]] dropped support of the deprecated methods ''​user.updateprofile'',​ ''​user.addmedia'',​ ''​user.updatemedia'',​ ''​user.deletemedia'',​ ''​usergroup.massadd'',​ ''​usergroup.massupdate''​ and ''​usermedia.get''​ \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4175|ZBXNEXT-4175]] E-mail values in API methods ''​user.get'',​ ''​user.create''​ and ''​user.update''​ are represented as array if type of [[manual:​api:​reference:​mediatype:​object#​mediatype|Media type]] is e-mail. \\
 +[[https://​support.zabbix.com/​browse/​ZBX-3783|ZBX-3783]] ''​proxy.delete'':​ proxies cannot be deleted when are used in actions\\
 +=== action ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-413|ZBXNEXT-413]] renamed property ''​maintenance_mode''​ to ''​pause_suppressed''​.
 +
 +=== dashboard ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4516|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''​ \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4588|ZBXNEXT-4588]] added new dashboard widget type: ''​svggraph''​ \\
 +
 +=== drule ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBX-3783|ZBX-3783]] discovery rules cannot be deleted when are used in actions \\
 +
 +=== user ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4573|ZBXNEXT-4573]] ''​user.login'':​ password field is mandatory when HTTP authentication is enabled. \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4573|ZBXNEXT-4573]] ''​user.create'':​ password field can be omitted if user belongs only to groups that have LDAP access. \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4573|ZBXNEXT-4573]] ''​user.update'':​ password field can be empty string if user belongs only to groups that have LDAP access.
 +
 +=== usergroup ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4573|ZBXNEXT-4573]] changed ''​gui_access''​ type ''​2''​ ⇒ ''​3''​ - "​disable access to the frontend"​. \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4573|ZBXNEXT-4573]] added ''​gui_access''​ type ''​2''​ - "use LDAP authentication"​.
 +
 +==== Other changes and bug fixes ====
 +=== General ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4426|ZBXNEXT-4426]] added a new task API introducing a new method ''​task.create''​. \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4152|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: \\
 +[[https://​support.zabbix.com/​browse/​ZBX-3783|ZBX-3783]] added strict validation of input parameters for ''​version''​ method \\
 +
 +=== action ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-413|ZBXNEXT-413]] changed supported operators for action condition ''​16'':​ ''​4''​ - "​in"​ and ''​7''​ - "not in" to new ones ''​10''​ - "​Yes"​ and ''​11''​ - "​No"​. \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-2788|ZBXNEXT-2788]] added support for ''​not''​ operator in custom expression filter formula \\
 +[[https://​support.zabbix.com/​browse/​ZBX-3783|ZBX-3783]] added strict validation of input parameters for ''​delete''​ method; added audit \\
 +
 +=== correlation ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-2788|ZBXNEXT-2788]] added support for ''​not''​ operator in custom expression filter formula \\
 +[[https://​support.zabbix.com/​browse/​ZBX-3783|ZBX-3783]] added strict validation of input parameters for ''​delete''​ method; added audit \\
 +
 +=== discoveryrule ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-2788|ZBXNEXT-2788]] added support for ''​not''​ operator in custom expression filter formula \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-2788|ZBXNEXT-2788]] added support of value ''​9''​ in the filter condition operator \\
 +
 +=== drule ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBX-3783|ZBX-3783]] added strict validation of input parameters for ''​delete''​ method \\
 +
 +=== event ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-413|ZBXNEXT-413]] ''​event.get'':​ added new parameter ''​suppressed''​. \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-413|ZBXNEXT-413]] ''​event.get'':​ added new parameter ''​selectSuppressionData''​ that returns list of maintenances in the ''​suppression_data''​ property. \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4118|ZBXNEXT-4118]] ''​event.get'':​ added a new property ''​evaltype''​ and extended ''​tags''​ property to support new value "<​​operator>"​ \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4119|ZBXNEXT-4119]] ''​event.get'':​ returns only problems and corresponding recovery events that match the tag based permission filters \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4588|ZBXNEXT-4588]] ''​event.get'':​ added new parameters ''​problem_time_from''​ and ''​problem_time_till''​ \\
 +
 +=== hostprototype ===
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4656|ZBXNEXT-4656]] ''​hostprototype.create'',​ ''​hostprototype.update'':​ added strict validation of input parameters and added audit. \\
 +
 +=== item ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4358|ZBXNEXT-4358]] added new item type "HTTP agent"​. \\
 +
 +=== itemprototype ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4200|ZBXNEXT-4200]] ''​itemprototype.create'',​ ''​itemprototype.update'':​ added possibility to add regular items and web items as master items in ''​master_itemid''​ property. \\
 +
 +=== maintenance ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-413|ZBXNEXT-413]] added new property ''​tags_evaltype''​. \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-413|ZBXNEXT-413]] ''​maintenance.create'',​ ''​maintenance.update'':​ added new property ''​tags''​. \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-413|ZBXNEXT-413]] ''​maintenance.get'':​ added new option ''​selectTags''​ that returns maintenance problem tags in the ''​tags''​ property. \\
 +
 +=== map ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-413|ZBXNEXT-413]] added new property ''​show_suppressed''​. \\
 +
 +=== mediatype ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4144|ZBXNEXT-4144]] password field for authentication type "​Username and password"​ was made as optional. \\
 +
 +=== problem ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-413|ZBXNEXT-413]] ''​problem.get'':​ added new parameter ''​suppressed''​. \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-413|ZBXNEXT-413]] ''​problem.get'':​ added new parameter ''​selectSuppressionData''​ that returns list of maintenances in the ''​suppression_data''​ property. \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4118|ZBXNEXT-4118]] ''​problem.get'':​ added a new property ''​evaltype''​ and extended ''​tags''​ property to support new value "<​​operator>"​ \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4119|ZBXNEXT-4119]] ''​problem.get'':​ returns only those events that match the tag based permission filters \\
 +
 +=== proxy ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4411|ZBXNEXT-4411]] added a new property ''​auto_compress''​. \\
 +
 +=== trigger ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-3860|ZBXNEXT-3860]] ''​trigger.get'':​ added a new parameters ''​evaltype''​ and ''​tags''​ that allow to filter triggers by tags \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4357|ZBXNEXT-4357]] ''​trigger.get'':​ added a new ''​selectTriggerDiscovery''​ option that returns the trigger discovery object in the ''​triggerDiscovery''​ property \\
 +
 +=== usergroup ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4119|ZBXNEXT-4119]] ''​usergroup.get'':​ added a new ''​selectTagFilters''​ option that returns the array of the tag based permissions objects in the ''​tag_filters''​ property \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4119|ZBXNEXT-4119]] ''​usergroup.create''​ and ''​usergroup.update'':​ added a new ''​tag_filters''​ property \\