/range/sources endpoint doesn't include node IDs in response when multiple are requested

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: SolarQuery
    • None

      Currently the /range/sources endpoint is documented to return a list of objects with nodeId and sourceId values when multiple nodeIds are requested, however it only returns a list of sourcesIds.

      As the behaviour of the existing endpoint can't be changed either a new endpoint that returns this format is needed or, a param needs to be added to the existing endpoint to change the response content.

      The documentation will also need to be updated.

       

      Expected output:

      {
      "success": true,
      "data": [
      {"nodeId":1, "sourceId":"Main"},
      {"nodeId":2, "sourceId":"Main"},
      {"nodeId":2, "sourceId":"Main1"}
      ]
      }
      

            Assignee:
            Matt Magoffin
            Reporter:
            Max Duncan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: