Created
April 23, 2015 17:58
-
-
Save timwis/8ab6607d8f744e70437c to your computer and use it in GitHub Desktop.
bike share swagger
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: "2.0" | |
info: | |
description: | | |
Locations of Indego bike share stations in Philadelphia | |
**Endpoint:** http://api.phila.gov/bike-share-stations/v1 | |
version: "1.0" | |
title: Bike Share Stations | |
host: api.phila.gov | |
basePath: /bike-share-stations/v1 | |
schemes: | |
- http | |
paths: | |
/: | |
get: | |
summary: Get Bike Share Stations | |
produces: | |
- application/json | |
responses: | |
200: | |
description: GeoJSON | |
schema: | |
$ref: '#/definitions/features' | |
definitions: | |
features: | |
properties: | |
name: | |
type: string | |
description: Name of station | |
addressStreet: | |
type: string | |
description: Street portion of station address | |
addressCity: | |
type: string | |
description: City portion of station address | |
addressState: | |
type: string | |
description: State portion of station address | |
addressZipCode: | |
type: string | |
description: Zip code portion of station address | |
bikesAvailable: | |
type: integer | |
format: int32 | |
description: Number of bikes available at station | |
trikesAvailable: | |
type: integer | |
docksAvailable: | |
type: string | |
totalDocks: | |
type: integer | |
format: int32 | |
description: Total bike docks at station | |
openTime: | |
type: string | |
closeTime: | |
type: string | |
kioskId: | |
type: integer | |
description: Unique identifier of station | |
kioskPublicStatus: | |
type: string | |
timeZone: | |
type: string | |
description: Timezone of station times | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment