{"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/communication:o2-cz-sociodemo/age":{"get":{"operationId":"communication_o2_cz_sociodemo_age","summary":"Presence in a location aggregated by age","description":"GET /age/{location}","tags":["communication"],"parameters":[{"name":"location","in":"query","required":true,"description":"basic residential unit","schema":{"type":"string","description":"basic residential unit"},"example":"127752"},{"name":"ageGroup","in":"query","required":true,"description":"age-group specification (1: 8-18, 2: 19-25, 3: 26-35, 4: 36-55, 5: 56+)","schema":{"type":"string","description":"age-group specification (1: 8-18, 2: 19-25, 3: 26-35, 4: 36-55, 5: 56+)"},"example":"2"},{"name":"occurenceType","in":"query","required":true,"description":"occurence type in the basic residential unit (1 - transit, 2 - visit)","schema":{"type":"string","description":"occurence type in the basic residential unit (1 - transit, 2 - visit)"},"example":"1"},{"name":"hour","in":"query","required":true,"description":"time interval for the count aggregation (from 0 to 23)","schema":{"type":"string","description":"time interval for the count aggregation (from 0 to 23)"},"example":"10"}],"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/communication:o2-cz-sociodemo/gender":{"get":{"operationId":"communication_o2_cz_sociodemo_gender","summary":"Presence in a location aggregated by gender","description":"GET /gender/{location}","tags":["communication"],"parameters":[{"name":"location","in":"query","required":true,"description":"basic residential unit","schema":{"type":"string","description":"basic residential unit"},"example":"127752"},{"name":"g","in":"query","required":true,"description":"gender specification (1 - male, 2 - female)","schema":{"type":"string","description":"gender specification (1 - male, 2 - female)"},"example":"1"},{"name":"occurenceType","in":"query","required":true,"description":"occurence type in the basic residential unit (1 - transit, 2 - visit)","schema":{"type":"string","description":"occurence type in the basic residential unit (1 - transit, 2 - visit)"},"example":"1"},{"name":"hour","in":"query","required":true,"description":"time interval for the count aggregation (from 0 to 23)","schema":{"type":"string","description":"time interval for the count aggregation (from 0 to 23)"},"example":"10"}],"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/communication:o2-cz-sociodemo/get-info":{"get":{"operationId":"communication_o2_cz_sociodemo_get_info","summary":"Information about versions of application and data.","description":"GET /info","tags":["communication"],"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":"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"}}}}}}}