I’m excited about the release of the public-use Radar APIs! Just have a little feedback and a few questions about routes.
[Solved, with comment] When calling https://api.cloudflare.com/client/v4/radar/attacks/layer3/timeseries?aggInterval=1d&dateStart=2022-09-01T08:41:43.377Z&dateEnd=2022-10-01T08:41:43.377Z&format=json
, I get the error
{
"errors": [
{
"message": "1 validation error: end_time must be before now (utc)",
"code": "BAD_USER_INPUT"
}
],
"success": false
}
I have confirmed that the error was due to the timestamps having millisecond values, which they shouldn’t have. It would be nice for the error message to be different, if possible. Maybe Malformed end_date. Value must be UTC String with second precision
, would that be good?
Secondly, I was wondering if there are, or are plans for, API routes serving Traffic Trends
which I would assume would go under Radar HTTP, and Domain Categorization
which might fall under Radar Ranking, though that one might be better if it were called Radar Domains. It also might be possible that these routes do, in fact, exist, and I am just blind. If so, I sincerely apologize for the trouble!
Lastly, in the Domain display box shown above, it would be nice if the Domain Name were displayed in large text, just to easily know what domain it pertains to, maybe like so:
(Though there is probably someone who could make it look a lot better, as this is just a quick sketch made by a dev that isn’t very good at web design, I’m trying to change that.)
All in all though, great revamp, and can’t wait to see where y’all will take it next!