{"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:nexmo-audit/get-events":{"get":{"operationId":"open_data_nexmo_audit_get_events","summary":"Retrieve audit events","description":"GET /events","tags":["open-data"],"parameters":[{"name":"event_type","in":"query","required":false,"description":"Filter results by this event type.","schema":{"type":"string","enum":["USER_STATUS","USER_UPDATE","USER_BILLING_UPDATE","USER_CREATE","USER_LOGIN","USER_LOGOUT","USER_PRODUCT_SEARCH","USER_API_KEYS_UPDATE","ACCOUNT_SECRET_DELETE","ACCOUNT_SECRET_CREATE","ACCOUNT_UPDATE_SPAMMER","ACCOUNT_UPDATE_SETTINGS_API","NUMBER_ASSIGN","NUMBER_UPDATED","NUMBER_RELEASE","NUMBER_LINKED","NUMBER_UNLINKED","APP_CREATE","APP_UPDATE","APP_DELETE","APP_DISABLE","APP_ENABLE","IP_WHITELIST_CREATE","IP_WHITELIST_DELETE","AUTORELOAD_ENABLE","AUTORELOAD_UPDATE","AUTORELOAD_DISABLE"],"description":"Filter results by this event type."}},{"name":"date_from","in":"query","required":false,"description":"Start of time range for audit events. DateTime in ISO-8601 format.","schema":{"type":"string","description":"Start of time range for audit events. DateTime in ISO-8601 format."}},{"name":"date_to","in":"query","required":false,"description":"End of time range for audit events. DateTime in ISO-8601 format.","schema":{"type":"string","description":"End of time range for audit events. DateTime in ISO-8601 format."}},{"name":"search_text","in":"query","required":false,"description":"Return only audit events where the JSON object contains this search text. Must be legal text for a JSON attribute value, that is quotes…","schema":{"type":"string","description":"Return only audit events where the JSON object contains this search text. Must be legal text for a JSON attribute value, that is quotes…"}},{"name":"page","in":"query","required":false,"description":"Page number starting with page 1.","schema":{"type":"string","description":"Page number starting with page 1."}},{"name":"size","in":"query","required":false,"description":"Number of elements per page.","schema":{"type":"integer","default":30,"description":"Number of elements per page."}}],"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/open-data:nexmo-audit/get-event":{"get":{"operationId":"open_data_nexmo_audit_get_event","summary":"Retrieve individual audit event","description":"GET /events/{id}","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"description":"The UUID of the audit event to retrieve","schema":{"type":"string","description":"The UUID of the audit event to retrieve"},"example":"aaaaaaaa-bbbb-cccc-dddd-0123456789ab"}],"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"}}}}}}}