Report this

What is the reason for this report?

Limit "GET /v2/actions" by date range?

Posted on September 28, 2017

Hello, I was wondering if there was, or could be, a way to limit the returned actions from the /v2/actions endpoint, by some kind of date range. It would be nice to be able to only retrieve actions from say, the last day, or week, or something. For example:

GET /v2/actions?since=<some date string/# of seconds since epoch, etc>&until=<another date string of some kind>

would limit the results to be between the since' and until’ parameters.

Is something like this possible and I’m just not seeing it? Or could it easily be added?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

As far as I’m aware there is no such option. You will have to develop it yourself.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.