REST Resource: networks.line

  • 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 create method, 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

string

Required. Identifier. Cannot be updated.

hubIds[]

string

Required. List of hubs that this line calls at, in the order vehicles stop at them.

Methods

create

Creates a Line.