Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AS-8430: Update history API to accept timestamp query params #888

Conversation

priyakvs
Copy link

Alert history API now have the ability to query by timestamp filter. This PR is to add that functionality to cloudflare-go integration as well.

@priyakvs priyakvs force-pushed the priya/AS-8430/update-history-api-to-accept-timestamp branch from 37a97e7 to 56ad0f3 Compare May 18, 2022 01:11
notifications.go Outdated Show resolved Hide resolved
@jacobbednarz
Copy link
Member

i pushed up a change in 19c9713 that swaps to using go-querystring (already in the package) for building and sending the URI parameters to save us manually doing it. do you want to do some quick tests locally with it and confirm it works as you'd expect before we merge this?

@jacobbednarz jacobbednarz force-pushed the priya/AS-8430/update-history-api-to-accept-timestamp branch from 19c9713 to 7d7b436 Compare May 18, 2022 03:19
@jacobbednarz jacobbednarz merged commit 6afe6ec into cloudflare:master May 18, 2022
@jacobbednarz
Copy link
Member

all good! i got this working locally using your test and confirmed it on a test account.

thanks for the PR 🌟

@priyakvs
Copy link
Author

Thanks a lot for updating this PR @jacobbednarz . Will keep this in mind for all future work :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants