{"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:aliyun-cms-export/batch-get":{"post":{"operationId":"cloud_aliyun_cms_export_batch_get","summary":"Exports monitoring data defined in the Cursor operation","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Namespace","Metric","Cursor","Length"],"properties":{"endpoint":{"type":"string","enum":["https://cms-export.cn-shanghai.aliyuncs.com"],"default":"https://cms-export.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://cms-export.cn-shanghai.aliyuncs.com"},"Namespace":{"type":"string","description":"The data namespace of the cloud service. For information about how to obtain the data namespace of a cloud service, see…"},"Metric":{"type":"string","description":"The metric name of the cloud service. For information about how to obtain the metric name of a cloud service, see…"},"Cursor":{"type":"string","description":"The cursor value that must be specified when you call this operation in a loop to export data. You can obtain the cursor value by using…"},"Length":{"type":"integer","description":"The maximum number of records returned per request. Valid values: 1 to 10000"},"CompressionType":{"type":"string","description":"The compression type of the monitoring data. Only `normal` (no compression) is supported"},"RecordKeyWhiteList":{"type":"string","description":"The whitelist of statistical methods for the metric. If this parameter is not specified, monitoring data of all statistical methods for…"}}}}}},"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"}},"/v1/cloud:aliyun-cms-export/cursor":{"post":{"operationId":"cloud_aliyun_cms_export_cursor","summary":"Defines the scope of monitoring data to export and returns the Cursor parameter for the initial call to the…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Namespace","Metric","Period","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://cms-export.cn-shanghai.aliyuncs.com"],"default":"https://cms-export.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://cms-export.cn-shanghai.aliyuncs.com"},"Namespace":{"type":"string","description":"The namespace of the cloud service. For information about how to obtain the namespace of a cloud service, see…"},"Metric":{"type":"string","description":"The metric name of the cloud service. For information about how to obtain the metric name of a cloud service, see…"},"Period":{"type":"integer","description":"The interval of the metric. Unit: seconds. The interval of a metric is typically 60 seconds. For special values, see the `Period`…"},"StartTime":{"type":"integer","description":"The start timestamp. Unit: milliseconds. Because monitoring data in CloudMonitor is retained for only 90 days, the interval between the…"},"EndTime":{"type":"integer","description":"The end timestamp. Unit: milliseconds. The end time has no limit and can be set to a future time"},"Matchers":{"type":"string","description":"The dimension information of the metric (JSON-encoded)"}}}}}},"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"}},"/v1/cloud:aliyun-cms-export/version":{"post":{"operationId":"cloud_aliyun_cms_export_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://cms-export.cn-shanghai.aliyuncs.com"],"default":"https://cms-export.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://cms-export.cn-shanghai.aliyuncs.com"}}}}}},"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"}}}}}}}