Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RestApiConfig

Configuration of the RestApi. The {AccessConfig} properties are used as URL suffixes (see {RestApiConfig#update})

Hierarchy

Index

Properties

busses

busses: string

host_url

host_url: string

The URL of the backend server

lines

lines: string

routes

routes: string

rt_data

rt_data: string

The url suffix to fetch the real time bus data from the backend. {host_url}/{rt_data}{id} is called to fetch the update data where id refers to the bus id

stops

stops: string

update

update: string

The url suffix to fetch the update data from the backend. i.e. host_url/update is called to fetch update data