Skip to content

Is there a way to get the routedetails when requesting routelist? #1

Description

@rretsiem

Not an issue at all,
It would be nice if it is possible to get the routeList on request returned with the details instad of only the id and display_name.
Is this possible?
like:
for /agencies/sf-muni/routes.json
{"items": [{"display_name": "F-Market & Wharves", "id": "F"}, {"display_name": "J-Church", "id": "J"}...]}
get this:
{"items": [{"bg_color": "#003399", "display_name": "N-Judah", "id": "N", "fg_color": "#ffffff"}, {...}, {...}, ...]}

To have the colors also avail. in the list and not request it for each route.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions