NatLabRockies / NatLabRockies/developer.nlr.gov

Filter by Dates

Open
#349 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
60
Forks
57
Avg merge
1d 21h
Merged PRs (30d)
3

Description

Good day!

We are starting to use the api's in our company for transportation. Thank you for having them available!

I would like to throw a suggestion on the api's that would permit the ability to filter on some of the date fields. For example, the last_updated fields. If we could pass in a parameter and value that would let us only pull back the results matching the date or later. This would let us use the existing route when we make a request and only see the results that have changed or been added since the value provided. Making the payload much smaller when getting all, nearest, etc.

I look forward to your reply.

Sincerely,
Keith Nicholson

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing API routes, especially the all and nearest requests, and identify how the last_updated date fields are currently exposed. Clarify the supported date-filter syntax and affected endpoints before determining whether the requested filtering can be implemented consistently; done means clients can retrieve records changed since a supplied value with a smaller response.

Written by the indexing model from the issue text.

Assessment

Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.