Alex Zakharenkov Posted May 23, 2015 Report 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
2600Hz Employees JR^ Posted May 26, 2015 2600Hz Employees Report Posted May 26, 2015 You found a bug. We'll work on fixing it, thanks for the report!
Administrators mc_ Posted May 26, 2015 Administrators Report 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
Administrators mc_ Posted May 26, 2015 Administrators Report Posted May 26, 2015 To add, this will be on the latest and 3.20 builds when those jobs are run.
Recommended Posts