{"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/cloud:azure-monitor-ingestion/upload":{"post":{"operationId":"cloud_azure_monitor_ingestion_upload","summary":"Ingestion API used to directly ingest data using Data Collection Rules.","description":"POST /dataCollectionRules/{ruleId}/streams/{stream}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","ruleId","stream","body"],"properties":{"endpoint":{"type":"string","description":"The Data Collection Endpoint for the Data Collection Rule. For example, https://dce-name.eastus-2.ingest.monitor.azure.com"},"api-version":{"type":"string","default":"2023-01-01","description":"The API version to use for this operation."},"ruleId":{"type":"string","description":"The immutable ID of the Data Collection Rule resource."},"stream":{"type":"string","description":"The streamDeclaration name as defined in the Data Collection Rule."},"Content-Encoding":{"type":"string","description":"The content encoding of the request body which is always 'gzip'."},"x-ms-client-request-id":{"type":"string","description":"An opaque, globally-unique, client-generated string identifier for the request."},"body":{"type":"object","description":"JSON request body"}}}}}},"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":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"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"}}}}}}}