gis-tools-ts - v0.6.0
    Preparing search index...

    Interface GBFSVersionsV23

    GBFS Versions V2.3

    Lists all feed endpoints published according to versions of the GBFS documentation (added in v1.1).

    interface GBFSVersionsV23 {
        data: {
            versions: {
                url: string;
                version: "1.1" | "1.0" | "2.0" | "2.1" | "2.2" | "2.3" | "3.0";
            }[];
        };
        last_updated: number;
        ttl: number;
        version: "2.3";
    }
    Index

    Properties

    data: {
        versions: {
            url: string;
            version: "1.1" | "1.0" | "2.0" | "2.1" | "2.2" | "2.3" | "3.0";
        }[];
    }

    Response data in the form of name:value pairs.

    Type declaration

    • versions: { url: string; version: "1.1" | "1.0" | "2.0" | "2.1" | "2.2" | "2.3" | "3.0" }[]

      Contains one object for each of the available versions of a feed. The array must be sorted by increasing MAJOR and MINOR version number.

    last_updated: number

    Last time the data in the feed was updated in POSIX time. Minimum: 1450155600

    ttl: number

    Number of seconds before the data in the feed will be updated again (0 if the data should always be refreshed). Minimum: 0

    version: "2.3"

    GBFS version number to which the feed conforms, according to the versioning framework. Const: 2.3