{"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/open-data:surrey-ca-trafficloops/get-traffic-loop-counts-fmw":{"get":{"operationId":"open_data_surrey_ca_trafficloops_get_traffic_loop_counts_fmw","summary":"Provides traffic loop counts for the input time interval. The LOOP_ID and DATETIME combinations are unique…","description":"GET /TrafficLoopCounts.fmw","tags":["open-data"],"parameters":[{"name":"startdatetime","in":"query","required":false,"description":"Beginning of the required date/time range in ISO 8601. For example March 24 2016 at 1:00 PM Pacific Standard Time would be…","schema":{"type":"number","description":"Beginning of the required date/time range in ISO 8601. For example March 24 2016 at 1:00 PM Pacific Standard Time would be…"}},{"name":"enddatetime","in":"query","required":false,"description":"End of the required date/time range. For details see the startdatetime parameter.","schema":{"type":"number","description":"End of the required date/time range. For details see the startdatetime parameter."}}],"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/open-data:surrey-ca-trafficloops/get-traffic-loops-fmw":{"get":{"operationId":"open_data_surrey_ca_trafficloops_get_traffic_loops_fmw","summary":"Provides all the traffic loops maintained by the City of Surrey in GeoJSON format. LANE_DIRECTION indicates…","description":"GET /TrafficLoops.fmw","tags":["open-data"],"parameters":[{"name":"proj_epsg","in":"query","required":false,"description":"The output projection EPSG code. Eg. WGS84 is 4326 and NAD 83 UTM Zone 10 is 26910. If this is left blank, the default is 4326. For more…","schema":{"type":"number","description":"The output projection EPSG code. Eg. WGS84 is 4326 and NAD 83 UTM Zone 10 is 26910. If this is left blank, the default is 4326. For more…"}}],"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"}}}}}}}