{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/transport:wmata-rail-realtime/547636a6f918230da8553640":{"get":{"operationId":"transport_wmata_rail_realtime_547636a6f918230da8553640","summary":"XML - Next Trains","description":"GET /GetPrediction/{StationCodes}","tags":["transport"],"parameters":[{"name":"StationCodes","in":"query","required":true,"description":"Comma-separated list of station codes. For all predictions, use \"All\".","schema":{"type":"string","enum":["B03","All"],"default":"B03","description":"Comma-separated list of station codes. For all predictions, use \"All\"."}}],"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":"byok"}},"/v1/transport:wmata-rail-realtime/547636a6f918230da855363f":{"get":{"operationId":"transport_wmata_rail_realtime_547636a6f918230da855363f","summary":"JSON - Next Trains","description":"GET /json/GetPrediction/{StationCodes}","tags":["transport"],"parameters":[{"name":"StationCodes","in":"query","required":true,"description":"Comma-separated list of station codes. For all predictions, use \"All\".","schema":{"type":"string","enum":["B03","All"],"default":"B03","description":"Comma-separated list of station codes. For all predictions, use \"All\"."}}],"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":"byok"}}},"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"}}}}}}}