Alex Zakharenkov Posted May 23, 2015 Report Share Posted May 23, 2015 I have a device with username = Alex and internal caller id number set to 2501... I get an empty data[] element when filtering by caller_id.internal.number (matching the data returned from the API on a GET by username).Am I doing something wrong by submitting this GET request:/v1/accounts/{account_id}/devices?filter_caller_id.internal.number=2501while this works fine:/v1/accounts/{account_id}/devices?filter_sip.username=Alex Link to comment Share on other sites More sharing options...
2600Hz Employees JR^ Posted May 26, 2015 2600Hz Employees Report Share Posted May 26, 2015 You found a bug. We'll work on fixing it, thanks for the report! Link to comment Share on other sites More sharing options...
2600Hz Employees mc_ Posted May 26, 2015 2600Hz Employees Report Share Posted May 26, 2015 Hi Alex,I've patched the relevant code to support multi-nested keys in the querystring filters. The relevant commit if you care is here Link to comment Share on other sites More sharing options...
2600Hz Employees mc_ Posted May 26, 2015 2600Hz Employees Report Share Posted May 26, 2015 To add, this will be on the latest and 3.20 builds when those jobs are run. Link to comment Share on other sites More sharing options...
Alex Zakharenkov Posted May 26, 2015 Author Report Share Posted May 26, 2015 Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts