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

missing description for columns in zabbix 4.0 API for mediatype

    XMLWordPrintable

    Details

    • Team:
      Team D

      Description

      The documentation for the fields is missing on API documentation

      https://www.zabbix.com/documentation/4.0/manual/api/reference/mediatype/object

      • smtp_port
      • smtp_security
      • smtp_verify_host
      • smtp_verify_peer
      • smtp_authentication

      Result of executing mediatype.get of API.

      ]# curl -d '{"auth":null,"method":"mediatype.get","id":1,"params":{"output": "extend", "filter":{"mediatypeid":["1"]}},"auth": "c77fd96e7409600a13a67ffed593634d","jsonrpc":"2.0"}' -H "Content-Type: application/json-rpc" http://localhost/zabbix/api_jsonrpc.php 
      {"jsonrpc":"2.0","result":[{"mediatypeid":"1","type":"0","description":"Email","smtp_server":"mail.example.com","smtp_helo":"example.com","smtp_email":"[email protected]","exec_path":"","gsm_modem":"","username":"","passwd":"","status":"0","smtp_port":"25","smtp_security":"0","smtp_verify_peer":"0","smtp_verify_host":"0","smtp_authentication":"0","exec_params":"","maxsessions":"1","maxattempts":"3","attempt_interval":"10s"}],"id":1}
      

        Attachments

          Activity

            People

            Assignee:
            martins-v Martins Valkovskis
            Reporter:
            k.mizutani Kazuhiro Mizutani
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: