Appendix 2. Changes from 5.0 to 5.2
Backward incompatible changes
General
configuration
Changes:
ZBXNEXT-6270
configuration.import, configuration.export changed the storage
format of preprocessing parameters in export files\
user
Changes:
ZBXNEXT-6148
user.create, user.update, user.get: dropped support of type
property.\
Other changes and bug fixes
General
Changes:
ZBXNEXT-82 added a new
authentication API introducing new methods authentication.get and
authentication.update
ZBXNEXT-82 added a new
housekeeping API introducing new methods housekeeping.get and
housekeeping.update
ZBXNEXT-82 added a new
settings API introducing new methods settings.get,
settings.getglobal and settings.update\
configuration
Changes:
ZBXNEXT-2754
configuration.export added YAML support and new property prettyprint
for XML and JSON formats.
ZBXNEXT-2754
configuration.import added YAML support.\
discoveryrule
Changes:
ZBXNEXT-5969 added new
discovery rule type with value 21 (script) and support of timeout
and params for that type.
ZBXNEXT-5969
discoveryrule.create, discoveryrule.update, discoveryrule.get:
added new property parameters.
ZBXNEXT-6085
discoveryrule.create, discoveryrule.update: added support of optag
property for override operations with operationobject value "3".\
host
Changes:
ZBXNEXT-2156
host.create: parameter interfaces is no longer a mandatory field.
ZBXNEXT-2156
host.update: parameter interfaces can be empty.\
hostprototype
Changes:
ZBXNEXT-6085
hostprototype.create, hostprototype.update: added new property
tags.
ZBXNEXT-6085
hostprototype.get: added new query option selectTags that returns
host prototype tags in the tags property.
ZBXNEXT-2072
hostprototype.get, hostprototype.create, hostprototype.update:
added new property custom_interfaces to select source of interfaces
for discovered hosts.
ZBXNEXT-2072
hostprototype.create, hostprototype.update: added new property
interfaces.
ZBXNEXT-2072
hostprototype.get: added new query option selectInterfaces that
returns host prototype custom interfaces in the interfaces property.\
item
Changes:
ZBXNEXT-5969 added new
item type with value 21 (script) and support of timeout and
params for that type.
ZBXNEXT-5969
item.create, item.update, item.get: added new property
parameters.\
itemprototype
Changes:
ZBXNEXT-5969 added new
item prototype type with value 21 (script) and support of timeout
and params for that type.
ZBXNEXT-5969
itemprototype.create, itemprototype.update, itemprototype.get:
added new property parameters.\
role
Changes:
ZBXNEXT-6148 added a
new role API introducing new methods role.create, role.update,
role.get and role.delete.\
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.\
trigger
Changes:
ZBXNEXT-6140
trigger.create, trigger.update, trigger.get: added new property
event_name.\
triggerprototype
Changes:
ZBXNEXT-6140
triggerprototype.create, triggerprototype.update,
triggerprototype.get: added new property event_name.\
user
Changes:
ZBXNEXT-6148
user.get: added new option selectRole which returns user role data
in the role property.
ZBXNEXT-6148
user.create, user.update, user.get: added new property roleid.
ZBXNEXT-3362 changed
default for lang in user object from en_GB to default.
ZBX-17955 user.create,
user.update: renamed parameter user_medias to medias.
user_medias parameter is now deprecated.
ZBXNEXT-250 added new
optional timezone property in user object.\
usermacro
Changes:
ZBXNEXT-1660 added new
type of macro with type value "2".\