Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-7953

Documentation for mediatype API has a minor error

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • 2.2.2
    • Documentation (D)
    • 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
      }
      

            martins-v Martins Valkovskis
            bunjiboys Asbjorn Kjaer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: