REST Resource: networks.lines

Resource: Line

A line that is being operated at a given frequency.

JSON representation
{
  "name": string,
  "hubIds": [
    string
  ]
}
Fields
name

string

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.

delete

Deletes a Line.

get

Gets the details of a Line.

list

Lists the Lines.

makeAvailable

Makes a line available.

makeUnavailable

Makes a line unavailable.

patch

Updates a Line.