Skip to content

Story: Route Summary Endpoint (Selected Route Only) #20

Description

@Phoenixxo

Story: Route Summary Endpoint (Selected Route Only)

User story

  • As a student, when I tap a route, I want only the key info (coming from, going to, ETA).

Scope

  • Add GET /bus/live/:routeId/summary.

Acceptance criteria

  1. Endpoint returns routeId, routeName, fromStop, toStop, etaMinutes, status, lastUpdated.
  2. Unknown route returns not-found style error.
  3. Inactive route returns ROUTE_NOT_ACTIVE.

Definition of done

  • Endpoint documented and validated with real response sample.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions