Zabbix Documentation 1.8

3.04.04.4 (current)| In development:5.0 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


Sidebar

api:apiinfo:version

Table of Contents

version()

Available since version: 1.8.1
Get Zabbix API version.

Parameters

This method does not accept any parameters.

Returns

ParameterDescription
resultOperation successful. Result will contain API version string.
errorIn case of any errors

Example

Get Zabbix API version:

{
"jsonrpc":"2.0",
"method":"apiinfo.version",
"params":[],
"auth":"a6e895b98fde40f4f7badf112fd983bf",
"id":2
}
Retrieved API version:

{
"jsonrpc":"2.0",
"result":"1.3",
"id":2
}