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

Find entities based on GTFS ID #942

Closed
irees opened this issue Jan 28, 2017 · 0 comments
Closed

Find entities based on GTFS ID #942

irees opened this issue Jan 28, 2017 · 0 comments
Assignees

Comments

@irees
Copy link
Member

irees commented Jan 28, 2017

Add scope to EntityImportedFromFeed to find by gtfs_id.

Add query paramter imported_with_gtfs_id and imported_from_active_feed_version to Operators, Stop, Route, and RouteStopPattern controllers.

e.g.

Find by GTFS ID from the active feed for BART:
imported_with_gtfs_id=19th&imported_from_feed_onestop_id=f-9q9-bart&imported_from_active_feed_version=true

Find by GTFS ID given the SHA1 of a Feed, even if we don't know BART's onestop_id
imported_with_gtfs_id=19th&imported_from_feed_version=0123abcd...

@irees irees self-assigned this Jan 28, 2017
@irees irees mentioned this issue Jan 28, 2017
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

No branches or pull requests

1 participant