Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-3403

[inventory] v2 search endpoint returns null if no matching devices founds

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Days in progress:
      0

      Description

      When querying the new filters/search endpoint with a valid query, that doesn't match any devices a faulty response is sent to the API consumer. Currently the docs imply an array as return value, however only a null is sent in response.

        Attachments

          Activity

            People

            • Assignee:
              kjaskiewicz Krzysztof Jaƛkiewicz
              Reporter:
              mzedel Manuel Zedel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel