Skip to content

Commit

Permalink
Added the response of search/stop and search/route
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajay9330 committed Apr 8, 2024
1 parent a17af0a commit c15f27c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api/where/methods/search (route).md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ example_response_file: search_route_crystal.json
* `input` - the string to search for, encoded directly in the URL:
* `http://api.pugetsound.onebusaway.org/api/where/search/route.json?input=[INPUT GOES HERE]`
* `maxCount` - the max number of results to return. Defaults to 20.
## Response
The method returns a [list result](../elements/list-result), so see additional documentation on controlling the number of elements returned and interpreting the results. The list contents are `<route/>` elements, so see details about the various properties of the [`<route/>` element](../elements/route).
3 changes: 3 additions & 0 deletions src/api/where/methods/search (stop).md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ example_response_file: search_stop_crystal.json
* `input` - the string to search for, encoded directly in the URL:
* `http://api.pugetsound.onebusaway.org/api/where/search/stop.json?input=[INPUT GOES HERE]`
* `maxCount` - the max number of results to return. Defaults to 20.

## Response
The method returns a [list result](../elements/list-result), so see additional documentation on controlling the number of elements returned and interpreting the results. The list contents are `<stop/>` elements, so see details about the various properties of the [`<stop/>` element](../elements/stop).

0 comments on commit c15f27c

Please sign in to comment.