Merge development into production - #479
Merged
Merged
Conversation
timestampStart is now the optional lower bound (timestamp >= start) and timestampEnd the upper bound (timestamp <= end, default now), matching DigiVol and DoeDat. The reversed bounds made WeDigBio Reports' requests (start = last seen, end = now) match nothing. Pagination, response shape and the timestamp desc sort are unchanged. Closes #477
Use conventional timestamp bounds in the WeDigBio dashboard API Fixes #477
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Included
GET /v1/wedigbio-dashboard:timestampStartis now the optional lower bound andtimestampEndthe upper bound (default now), matching DigiVol and DoeDat. Previously the reversed bounds made WeDigBio Reports' requests returnnumFound: 0for Notes From Nature.Deployment
update_queries_operationis'').https://api.biospex.org/v1/wedigbio-dashboard?timestampStart=<now-1d ISO>×tampEnd=<now ISO>(with a bearer token) should returnnumFound > 0; the reversed order should return 0.Validation
devapi.biospex.org:timestampStart=2026-07-26T01:40:34Z×tampEnd=2026-07-27T02:00:00ZreturnednumFound: 14(newest first); the reversed order returnednumFound: 0