-
Type:
Incident report
-
Resolution: Fixed
-
Priority:
Trivial
-
None
-
Affects Version/s: 2.2.2
-
Component/s: Documentation (D)
-
Environment:N/A
The current 2.2 documentation for the mediatype API, has a typo in the example, it lists the smtp_server as smtp_smtp_server (https://www.zabbix.com/documentation/2.2/manual/api/reference/mediatype/create)
{
"jsonrpc": "2.0",
"method": "mediatype.create",
"params": {
"description": "E-mail",
"type": 0,
"smtp_smtp_server": "[email protected]",
"smtp_helo": "company.com",
"smtp_email": "[email protected]"
},
"auth": "038e1d7b1735c6a5436ee9eae095879e",
"id": 1
}