Entur Developer
Open
GraphQL

line

query

Get a single line based on its id

Arguments

id·ID!

Return Type

·Line
id·ID!
authority·Authority
operator·Operator
branding·Branding
publicCode·String

Publicly announced code for line, differentiating it from other lines for the same operator.

name·String
transportMode·TransportMode
transportSubmode·TransportSubmode
description·String
url·String
presentation·Presentation
bikesAllowed·BikesAllowed
journeyPatterns·[JourneyPattern]
quays·[Quay!]
serviceJourneys·[ServiceJourney!]
notices·[Notice!]!

Get all situations active for the line.

flexibleLineType·String

Type of flexible line, or null if line is not flexible.

bookingArrangements·BookingArrangementdeprecated

Booking arrangements for flexible line.

groupOfLines·[GroupOfLines!]

Groups of lines that line is a part of.

isReplacement·Boolean!

Is this a replacement Line? In NeTEx/SIRI-sourced data this can be set by either a replacement submode, or a replacement link in a DatedServiceJourney. Only true for GTFS-sourced data if set by the extended GTFS type.

replacementsExist·Boolean!

Are there replacement DatedServiceJourneys for this Line?

Did you find what you were looking for?