Area
A single area. An area is defined by an id, a name and an outline polygone. The last cached date is also present. An area could be request with the "area request"
Fields
Name | Type | Description |
---|---|---|
id | Int | Area id. This id should by used in the city request. |
name | String | Area name. Used as informative. An area named "Paris" could not be exactly fit the area of the city. |
cost | Int | Cost of the area in units. |
outline | JSON | Outline polygon of the area. In geojson. |
cachedAt | String | Freshness of the data. Areas are actualized each ~2-4 minutes. |
gbfsManifestUrl | String | GBFS manifest url for the area. The manifest returns links with a token that is valid for a specific snapshot of the data. The links in the manifest (and the links in the feeds) will always return the data related to the snapshot of the data when the manifest was requested. They are valid for at least 5 minutes. After that they will return a 404. The cost will be billed each time the manifest is requested, even if there is no change in the data. Other requests will be free. |