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

GITC-182 chore: add endpoint for GrantCLR metadata #9269

Merged
merged 2 commits into from
Jul 8, 2021

Conversation

thelostone-mc
Copy link
Member

@thelostone-mc thelostone-mc commented Jul 7, 2021

Description

Introduces a new endpoint for /clr_round_metadata to get information on rounds

URL: api/v0.1/grants/get_clr_round_metadata

Parameters:
Note: All parameters are optional

  • id=<number> -> returns specific CLR round
  • active=true -> returns only active rounds
  • from_timestamp -> returns CLR rounds which started after given date. Format: YYYY-MM-DD
  • to_timestamp -> returns CLR rounds which ended before given date. Format: YYYY-MM-DD
Refers/Fixes
Testing

Screenshot 2021-07-07 at 7 26 56 PM

@thelostone-mc thelostone-mc changed the title chore: add endpoint for GrantCLR metadata GITC-182 chore: add endpoint for GrantCLR metadata Jul 7, 2021
@thelostone-mc thelostone-mc merged commit ebecd1c into gitcoinco:stable Jul 8, 2021
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.

2 participants