Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: API (A)
    • Labels:
      None
    • Environment:
      1.8.5rc1

      Description

      template.get returns excessive and confusing output of duplicate hostid+templateid values.

      host.get request :

      {"auth":"4e1863827e2068815f6bdcfbea290bb2","method":"host.get","id":19,"params":{},"jsonrpc":"2.0"}

      {"jsonrpc":"2.0","result":[

      {"hostid":"10017"}

      ,

      {"hostid":"10054"}

      ,

      {"hostid":"10055"}

      ,

      {"hostid":"10056"}

      ,

      {"hostid":"10051"}

      ],"id":19}

      template.get request :

      {"auth":"4e1863827e2068815f6bdcfbea290bb2","method":"template.get","id":20,"params":{},"jsonrpc":"2.0"}

      {"jsonrpc":"2.0","result":[

      {"hostid":"10001","templateid":"10001"}

      ,

      {"hostid":"10002","templateid":"10002"}

      ,

      {"hostid":"10003","templateid":"10003"}

      ,... (trimmed)

      should not.

        Attachments

          Activity

            People

            • Assignee:
              oleg.egorov Oleg Egorov (Inactive)
              Reporter:
              richlv richlv
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: