{"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-incidents/54763641281d830c946a3d78":{"get":{"operationId":"transport_wmata_incidents_54763641281d830c946a3d78","summary":"XML - Bus Incidents","description":"GET /BusIncidents","tags":["transport"],"parameters":[{"name":"Route","in":"query","required":false,"description":"Bus route. Use full route code, i.e.: C2 instead of C2v1, C2v2, etc.","schema":{"type":"string","enum":["90","X1"],"description":"Bus route. Use full route code, i.e.: C2 instead of C2v1, C2v2, etc."}}],"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-incidents/54763641281d830c946a3d79":{"get":{"operationId":"transport_wmata_incidents_54763641281d830c946a3d79","summary":"XML - Elevator/Escalator Outages","description":"GET /ElevatorIncidents","tags":["transport"],"parameters":[{"name":"StationCode","in":"query","required":false,"description":"Two-letter station code. Use the Station List method to return a list of all station codes.","schema":{"type":"string","enum":["A03","E09"],"description":"Two-letter station code. Use the Station List method to return a list of all station codes."}}],"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-incidents/54763641281d830c946a3d7a":{"get":{"operationId":"transport_wmata_incidents_54763641281d830c946a3d7a","summary":"XML - Rail Incidents","description":"GET /Incidents","tags":["transport"],"parameters":[],"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-incidents/54763641281d830c946a3d75":{"get":{"operationId":"transport_wmata_incidents_54763641281d830c946a3d75","summary":"JSON - Bus Incidents","description":"GET /json/BusIncidents","tags":["transport"],"parameters":[{"name":"Route","in":"query","required":false,"description":"Base bus route; variations are not recognized (i.e.: C2 instead of C2v1, C2v2, etc.).","schema":{"type":"string","enum":["90","X1"],"description":"Base bus route; variations are not recognized (i.e.: C2 instead of C2v1, C2v2, etc.)."}}],"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-incidents/54763641281d830c946a3d76":{"get":{"operationId":"transport_wmata_incidents_54763641281d830c946a3d76","summary":"JSON - Elevator/Escalator Outages","description":"GET /json/ElevatorIncidents","tags":["transport"],"parameters":[{"name":"StationCode","in":"query","required":false,"description":"Station code. Use the Station List method to return a list of all station codes.","schema":{"type":"string","enum":["A03","E09"],"description":"Station code. Use the Station List method to return a list of all station codes."}}],"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-incidents/54763641281d830c946a3d77":{"get":{"operationId":"transport_wmata_incidents_54763641281d830c946a3d77","summary":"JSON - Rail Incidents","description":"GET /json/Incidents","tags":["transport"],"parameters":[],"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"}}}}}}}