...
The user can select the expected GTFS-RT entities by using one of the GTFS-RT endpoints:
Global endpoint
/referential<referential_slugslug>/gtfs
provides all entities.Trip Update endpoint
/referential<referential_slugslug>/gtfs/trip-updates
provides only Trip Update entities.Vehicle Position endpoint
/referential<referential_slugslug>/gtfs/vehicle-positions
provides only Vehicle Position entities
...
The user can specify a credential in the GTFS-RT request by using an HTTP header Authorization
with this syntax : for secret
token, Authorization: Token token=secret
Code Block |
---|
GET /referential<referential_slugslug>/gtfs Authorization: Token token=secret |
...