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

✨(api) add dynamic enpoint filters #49

Merged
merged 1 commit into from
May 15, 2024
Merged

Conversation

jmaupetit
Copy link
Member

Purpose

We need to filter:

  • status list by:
    • station
    • pdc
    • lower limit horodatage date
  • PDC status history by:
    • lower limit horodatage date

Proposal

  • implement station, pdc and from filters for the /dynamique/status GET endpoint
  • implement from filter for the /dynamique/status/{id_pdc_itinerance}/history GET endpoint

⚠️ Note that filters are cumulative.

@jmaupetit jmaupetit self-assigned this May 15, 2024
We are now able to filter:

- status list by:
    * station
    * pdc
    * lower limit horodatage date
- PDC status history by:
    * lower limit horodatage date
@jmaupetit jmaupetit force-pushed the api-add-status-filters branch from 6a7f773 to 605f642 Compare May 15, 2024 09:36
@jmaupetit jmaupetit merged commit 5156dc0 into main May 15, 2024
7 of 8 checks passed
@jmaupetit jmaupetit deleted the api-add-status-filters branch May 15, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant