Version 1.8.3

This release fixes an issue where filtering for more than one URL in the filters parameter of the v1/articles endpoint would result in a 400 - bad query error.

For info, the example below shows the correct way to query for more than one URL using cURL.

Note the escaped " characters, as these are reserved (click here to learn more about special characters). This is not new in this version, but worth calling out seeing as I have the opportunity!

curl -H "Content-Type: application/json" -X POST -d '{
    "filters": ["href:(\"https://www.foo.com/bar/\" OR \"https://www.foo-two.com/bar/\")"],
        "from": 1517443200000,
        "to": 1524467356000
}' "https://api.newswhip.com/api/v1/articles?key=YOUR_API_KEY"

Changelog

  • fixed: [W-831] Exception when attempting to query for two hrefs on v1/articles