8 Replies Latest reply on Aug 31, 2016 10:11 PM by v.alves

    Pi Web API: Why is Search not working while points?nameFilter does?

    JensPr

      Hi there,

      finally Pi webAPI 2016 up and running, crawled.

      https://piwebserver/piwebapi/dataservers/s03rCkp0judEazHPxrmYHHRQUElIQVItU1RPLTAx/points?nameFilter=TK*123

       

      gives me results, but the docs say I should use something like this

       

      https://piwebserver/piwebapi/search/query?q=TK*123

       

      This results in an empty response. And I wonder why. Anyone a clue?


      { "Links": { 
           "Next": "https://piwebserver/piwebapi/search/query?q=TK%2A123&count=10&start=10",
           "First": "https://piwebserver/piwebapi/search/query?q=TK%2A123&count=10",
           "Last": "https://piwebserver/piwebapi/search/query?q=TK%2A123&count=10&start=0"
           },
      "Errors": [],
      "Items": [] }