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

Implement range support for /v1/cycles/{n}/signers endpoint #32

Open
zone117x opened this issue Nov 2, 2024 · 0 comments
Open

Implement range support for /v1/cycles/{n}/signers endpoint #32

zone117x opened this issue Nov 2, 2024 · 0 comments

Comments

@zone117x
Copy link
Member

zone117x commented Nov 2, 2024

Add query parameter(s) to support specifying a time range for the /v1/cycles/{n}/signers endpoint.

E.g. ?from={timestamp}&to=${timestamp}

Where timestamp could be specifying using various useful forms like:

  • ?from=now-2h&to=now (relative time ranges)
  • ?from=2024-11-01T15:16:53.891Z&to=2024-11-02T15:16:53.891Z (human readable ISO timestamp)
  • ?from={unix_timestamp}&to={unix_timestamp}

The timestamp sql queries should probably filter using block_proposal receipt times.

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

No branches or pull requests

1 participant