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

    Interface GBFSVersionsV31RC

    GBFS Versions Schema V3.1-RC

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

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

    Properties

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

    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" | "3.1-RC";
      }[]

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

    last_updated: string

    Last time the data in the feed was updated in RFC3339 format. format date-time

    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: "3.1-RC"

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