{"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-xtee/meterage-open-service-query":{"post":{"operationId":"cloud_aliyun_xtee_meterage_open_service_query","summary":"Queries whether a service is activated","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TabCode"],"properties":{"endpoint":{"type":"string","enum":["https://riskcontrol-share.aliyuncs.com","https://riskcontrol-share.ap-southeast-1.aliyuncs.com"],"default":"https://riskcontrol-share.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://riskcontrol-share.ap-southeast-1.aliyuncs.com"},"TabCode":{"type":"string","description":"The tab code"}}}}}},"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-xtee/meterage-statistics-down-load":{"post":{"operationId":"cloud_aliyun_xtee_meterage_statistics_down_load","summary":"Downloads statistics","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://riskcontrol-share.aliyuncs.com","https://riskcontrol-share.ap-southeast-1.aliyuncs.com"],"default":"https://riskcontrol-share.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://riskcontrol-share.ap-southeast-1.aliyuncs.com"},"TabCode":{"type":"string","description":"The tab code"},"Scene":{"type":"string","description":"The scenario"},"Service":{"type":"string","description":"The service"},"StartDate":{"type":"integer","description":"The start date timestamp. Unit: milliseconds"},"EndDate":{"type":"integer","description":"The end date timestamp. Unit: milliseconds"},"Page":{"type":"integer","description":"The current page number"},"PageSize":{"type":"integer","description":"The page size. Default value: 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":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-xtee/meterage-sub-tally-service-and-scene-statistics":{"post":{"operationId":"cloud_aliyun_xtee_meterage_sub_tally_service_and_scene_statistics","summary":"Queries call volume statistics by RAM user","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://riskcontrol-share.aliyuncs.com","https://riskcontrol-share.ap-southeast-1.aliyuncs.com"],"default":"https://riskcontrol-share.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://riskcontrol-share.ap-southeast-1.aliyuncs.com"},"TabCode":{"type":"string","description":"The tab code"},"Scene":{"type":"string","description":"The scenario"},"Service":{"type":"string","description":"The service"},"StartDate":{"type":"integer","description":"The start date timestamp. Unit: milliseconds"},"EndDate":{"type":"integer","description":"The end timestamp. Unit: milliseconds"},"Page":{"type":"integer","description":"The current page number"},"PageSize":{"type":"integer","description":"The page size. Default value: 10"},"SubUserId":{"type":"integer","description":"The UID of the RAM user"}}}}}},"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-xtee/meterage-tally-global-statistics":{"post":{"operationId":"cloud_aliyun_xtee_meterage_tally_global_statistics","summary":"Queries global metering statistics","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TabCode"],"properties":{"endpoint":{"type":"string","enum":["https://riskcontrol-share.aliyuncs.com","https://riskcontrol-share.ap-southeast-1.aliyuncs.com"],"default":"https://riskcontrol-share.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://riskcontrol-share.ap-southeast-1.aliyuncs.com"},"TabCode":{"type":"string","description":"The tab code"}}}}}},"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-xtee/meterage-tally-service-and-scene-list":{"post":{"operationId":"cloud_aliyun_xtee_meterage_tally_service_and_scene_list","summary":"Retrieves the list of services and scenarios under a specific package for a user","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TabCode","StartDate","EndDate"],"properties":{"endpoint":{"type":"string","enum":["https://riskcontrol-share.aliyuncs.com","https://riskcontrol-share.ap-southeast-1.aliyuncs.com"],"default":"https://riskcontrol-share.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://riskcontrol-share.ap-southeast-1.aliyuncs.com"},"TabCode":{"type":"string","description":"The tab code"},"StartDate":{"type":"integer","description":"The start timestamp. Unit: milliseconds"},"EndDate":{"type":"integer","description":"The end date timestamp. Unit: milliseconds"}}}}}},"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-xtee/meterage-tally-service-and-scene-statistics":{"post":{"operationId":"cloud_aliyun_xtee_meterage_tally_service_and_scene_statistics","summary":"Retrieves the service and scenario call analysis for a specific package of a user","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TabCode","StartDate","EndDate"],"properties":{"endpoint":{"type":"string","enum":["https://riskcontrol-share.aliyuncs.com","https://riskcontrol-share.ap-southeast-1.aliyuncs.com"],"default":"https://riskcontrol-share.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://riskcontrol-share.ap-southeast-1.aliyuncs.com"},"TabCode":{"type":"string","description":"The tab code"},"Scene":{"type":"string","description":"The scenario"},"Service":{"type":"string","description":"The service"},"StartDate":{"type":"integer","description":"The start date timestamp. Unit: milliseconds"},"EndDate":{"type":"integer","description":"The end timestamp. Unit: milliseconds"},"Page":{"type":"integer","description":"The current page number"},"PageSize":{"type":"integer","description":"The page size. Default value: 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":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-xtee/meterage-tally-service-call-statistics":{"post":{"operationId":"cloud_aliyun_xtee_meterage_tally_service_call_statistics","summary":"Queries the daily deduction statistics of a metering package","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TabCode"],"properties":{"endpoint":{"type":"string","enum":["https://riskcontrol-share.aliyuncs.com","https://riskcontrol-share.ap-southeast-1.aliyuncs.com"],"default":"https://riskcontrol-share.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://riskcontrol-share.ap-southeast-1.aliyuncs.com"},"TabCode":{"type":"string","description":"The label item code"}}}}}},"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-xtee/version":{"post":{"operationId":"cloud_aliyun_xtee_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://riskcontrol-share.aliyuncs.com","https://riskcontrol-share.ap-southeast-1.aliyuncs.com"],"default":"https://riskcontrol-share.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://riskcontrol-share.ap-southeast-1.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"}}}}}}}