{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/transport:deutschebahn-fahrplan/get-arrival-board-id":{"get":{"operationId":"transport_deutschebahn_fahrplan_get_arrival_board_id","summary":"Get arrival board of a location","description":"GET /arrivalBoard/{id}","tags":["transport"],"parameters":[{"name":"id","in":"query","required":true,"description":"Id of location. Use attribute 'id' from the result of 'location'","schema":{"type":"string","description":"Id of location. Use attribute 'id' from the result of 'location'"}},{"name":"date","in":"query","required":true,"description":"Date and time in ISO-8601 format, yyyy-mm-ddThh:mm:ss, example: 2017-04-01 or 2017-04-01T10:30","schema":{"type":"string","description":"Date and time in ISO-8601 format, yyyy-mm-ddThh:mm:ss, example: 2017-04-01 or 2017-04-01T10:30"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/transport:deutschebahn-fahrplan/get-departure-board-id":{"get":{"operationId":"transport_deutschebahn_fahrplan_get_departure_board_id","summary":"Get departure board of a location","description":"GET /departureBoard/{id}","tags":["transport"],"parameters":[{"name":"id","in":"query","required":true,"description":"Id of a location. Use attribute 'id' from the result of 'location'","schema":{"type":"string","description":"Id of a location. Use attribute 'id' from the result of 'location'"}},{"name":"date","in":"query","required":true,"description":"Date and time in ISO-8601 format, yyyy-mm-ddThh:mm:ss, example: 2017-04-01 or 2017-04-01T10:30","schema":{"type":"string","description":"Date and time in ISO-8601 format, yyyy-mm-ddThh:mm:ss, example: 2017-04-01 or 2017-04-01T10:30"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/transport:deutschebahn-fahrplan/get-journey-details-id":{"get":{"operationId":"transport_deutschebahn_fahrplan_get_journey_details_id","summary":"Get details about a single journey","description":"GET /journeyDetails/{id}","tags":["transport"],"parameters":[{"name":"id","in":"query","required":true,"description":"Id of a journey. Use attribute 'detailsId' from the result of 'arrivalBoard' or 'departureBoard'","schema":{"type":"string","description":"Id of a journey. Use attribute 'detailsId' from the result of 'arrivalBoard' or 'departureBoard'"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/transport:deutschebahn-fahrplan/get-location-name":{"get":{"operationId":"transport_deutschebahn_fahrplan_get_location_name","summary":"Get location information","description":"GET /location/{name}","tags":["transport"],"parameters":[{"name":"name","in":"query","required":true,"description":"Name or name fragment of a location","schema":{"type":"string","description":"Name or name fragment of a location"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}