hashicorp/terraform-website

New Releases API has broken query params

Closed this issue · 0 comments

jukie commented

There's currently no way to use the getReleasesV1 api and get a list of releases prior to the most recent 20 (or whatever is specified for limit, max 20). The after parameter always returns the latest available release instead of the most recent release after the given timestamp.

If I could offer additional feedback, even if this was fixed it'd still be challenging to get a list without hardcoding the timestamp from the first 0.1.0 release. Ideally there'd be an additional before param that could be used in conjunction with after to paginate through past releases.

There doesn't appear to be a git repo for this API so opening the issue here.