Page Summary
-
A Line represents a route operated at a specific frequency, connecting a series of hubs.
-
Lines are defined by a unique name and an ordered list of hub identifiers (
hubIds). -
You can create new Lines using the
createmethod, but the name cannot be changed once set.
Resource: Line
A line that is being operated at a given frequency.
| JSON representation |
|---|
{ "name": string, "hubIds": [ string ] } |
| Fields | |
|---|---|
name |
Required. Identifier. Cannot be updated. |
hubIds[] |
Required. List of hubs that this line calls at, in the order vehicles stop at them. |
Methods |
|
|---|---|
|
Creates a Line. |