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

Feature/maps #23

Draft
wants to merge 19 commits into
base: develop
Choose a base branch
from
Draft

Feature/maps #23

wants to merge 19 commits into from

Conversation

David-Lor
Copy link
Owner

No description provided.

@David-Lor

This comment has been minimized.

@David-Lor David-Lor force-pushed the feature/maps branch 2 times, most recently from ebfa2f9 to 5931a99 Compare September 26, 2021 09:22
…le to package; Validate at least one stop with location when getting multi-stop map
Write cache of queried Google Maps & Streetview pictures with metadata. Pending implementation of reading before requesting Google Maps API, and returning cached pictures; plus integration with Telegram File IDs.
Add aliases to routes, using plurals as standard ways (e.g. "/stops/{stop_id}" instead of "/stop/{stop_id}"), but supporting old form
@David-Lor

This comment has been minimized.

Rename stops-tags relation header on multi-stop map endpoint
Avoid conflict with /stops/map endpoint being handled as a /stop/{stop_id} endpoint.
Endpoints may end up being refactored in the future
@David-Lor David-Lor mentioned this pull request Oct 12, 2021
Instead of defining the TTL on the Mongo cached-stops index, define the TTL to 1 second of expiration, while a new datetime field on documents indicate when the document shall expire.
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.

1 participant