-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
You can learn about the stop search API here: https://developer.onebusaway.org/api/where/search/stop
User story
As a developer,
I want to perform full text searches for stop names,
so I can provide a better experience to my users
Implementation notes
- We should use sqlite's built in full text search capabilities instead of adding a separate search engine: https://www.sqlite.org/fts5.html
- Follow existing patterns for writing new APIs and API tests
Acceptance criteria
- Maglev responds to requests for
GET /api/where/search/stop.json?input={input}&key={key} - The schema of Maglev's response format for requests to this endpoint is identical to the current server's format (note that data will, by definition be different between different servers)
- Full test coverage exists for the endpoint
- The feature is implemented in a manner that follows the best practice set out for other API endpoints
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers