Skip to content

DBC22-6238: added filters to timelapse api - #1304

Merged
wmuldergov merged 2 commits into
mainfrom
feature/DBC22-6238
Apr 21, 2026
Merged

DBC22-6238: added filters to timelapse api#1304
wmuldergov merged 2 commits into
mainfrom
feature/DBC22-6238

Conversation

@bcgov-brwang

@bcgov-brwang bcgov-brwang commented Apr 20, 2026

Copy link
Copy Markdown
Collaborator

📝 Submitter

🔗 JIRA Ticket


✅ Quality Assurance & Requirements

  • Requirements Met: I have confirmed that all acceptance criteria from the JIRA ticket are fulfilled.
  • Tested desktop in local or dev envs
  • Tested mobile in local or dev envs
  • Ran unit tests locally
  • SonarCloud: I have verified that the SonarCloud analysis is clean/passing for this branch.

⚙️ Configuration & Environment

  • New Env Variables: Does this PR require new environment variables? (Yes/No)

    If yes, please list them here and ensure they are added to secret manager, the .env.example. and the Vault by an STA.

🧪 How to Test (if required)

  1. Verify if timelapse api can be filtered by from/to date, time and timezone:

Examples:
http://localhost:8000/api/webcams/67/timelapse/

http://localhost:8000/api/webcams/67/timelapse/?from=2026-04-19&to=2026-04-19&time_from=08:00&time_to=18:00&timezone=America/Vancouver

http://localhost:8000/api/webcams/67/timelapse/?timezone=America/Vancouver

with or without parameter, verify if the response can be filtered out as expected.


🔍 Reviewer Checklist

  • Reviewed code for logic and cleanliness
  • Re-tested desktop/mobile in local or dev envs
  • Verified no new console warnings/errors
  • Confirmed that any new env variables are understood/documented- [ ]

@sonarqubecloud

Copy link
Copy Markdown

@wmuldergov wmuldergov left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested in dev and confirmed to be working as expected.

@wmuldergov
wmuldergov merged commit ada3b79 into main Apr 21, 2026
12 checks passed
@wmuldergov
wmuldergov deleted the feature/DBC22-6238 branch April 21, 2026 15:17
wmuldergov pushed a commit that referenced this pull request May 12, 2026
* DBC22-6238: added filters to timelapse api

* DBC22-6238: added test cases for timelapse endpoint
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