AnsweredAssumed Answered

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

Question asked by JensPr on Jul 11, 2016
Latest reply on May 23, 2020 by LalBabuShaik

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": [] }

Outcomes