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

leave API method "usermedia.get" and remove other "usermedia.*" for 2.0 which duplicates user.addMedia .deleteMedia .updateMedia

XMLWordPrintable

      A file "CUserMedia.php" has been added in rev 18100 (2011/02/25) according a ZBXNEXT-629 development and there used only one function - get.
      The get used in another API method user.get with selectMedias parameter.

      Note that methods usermedia.* missing for 1.8 at all.

      There even was an attempt to document it:
      http://www.zabbix.com/documentation/2.0/manual/appendix/api/usermedia
      http://www.zabbix.com/documentation/1.8/api/usermedia

      Interesting, both 1.8 and 2.0 branches pages have been added 2010/08/09 14:15 - created aly (current)
      Why they added when they was missing in the code? :/

      So, please consider do remove usermedia.* methods (except .get) as redundant, but take a look, maybe there source code is better than currently in the user.addMedia() .deleteMedia() .updateMedia()

      Please update documentation as well.

            martins-v Martins Valkovskis
            zalex_ua Oleksii Zagorskyi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: