{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://www.apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:aliyun-httpdns/add-domain":{"post":{"operationId":"cloud_aliyun_httpdns_add_domain","summary":"Adds a domain name based on the specified parameters","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["DomainName"],"properties":{"AccountId":{"type":"string","description":"The HTTPDNS account ID"},"DomainName":{"type":"string","description":"The domain name"}}}}}},"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-httpdns/delete-domain":{"post":{"operationId":"cloud_aliyun_httpdns_delete_domain","summary":"Deletes a domain name based on the specified parameters","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["DomainName"],"properties":{"AccountId":{"type":"string","description":"The HTTPDNS account ID"},"DomainName":{"type":"string","description":"The domain name"}}}}}},"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-httpdns/describe-domains":{"post":{"operationId":"cloud_aliyun_httpdns_describe_domains","summary":"Lists the domain names of a user based on the specified parameters","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"AccountId":{"type":"string","description":"The HTTPDNS account ID"},"PageNumber":{"type":"integer","description":"The current page number. Minimum value: 1. Default value: 1"},"PageSize":{"type":"integer","description":"The number of entries per page for a paged query. Maximum value: 100. Default value: 20"}}}}}},"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-httpdns/get-account-info":{"post":{"operationId":"cloud_aliyun_httpdns_get_account_info","summary":"Retrieves the current HTTPDNS account information","description":"POST /","tags":["cloud"],"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":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-httpdns/get-resolve-count-summary":{"post":{"operationId":"cloud_aliyun_httpdns_get_resolve_count_summary","summary":"Retrieves parse and billing statistics, corresponding to the \"Billing\" page feature in the console","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Granularity","TimeSpan"],"properties":{"Granularity":{"type":"string","description":"The data granularity of the statistics. Valid values: day and month"},"TimeSpan":{"type":"integer","description":"The time span for the statistics"}}}}}},"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-httpdns/get-resolve-statistics":{"post":{"operationId":"cloud_aliyun_httpdns_get_resolve_statistics","summary":"Retrieves the statistics information of parse requests for a specific domain name","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["DomainName","Granularity","TimeSpan"],"properties":{"DomainName":{"type":"string","description":"The domain name for which to retrieve statistics information"},"Granularity":{"type":"string","description":"The data granularity. Valid values: day and month"},"TimeSpan":{"type":"integer","description":"The length of the time span"},"ProtocolName":{"type":"string","description":"The protocol type for resolution. Valid values: http (default) and https"}}}}}},"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-httpdns/list-domains":{"post":{"operationId":"cloud_aliyun_httpdns_list_domains","summary":"Lists the domain names and resolution counts of a user based on the specified parameters","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"PageNumber":{"type":"integer","description":"The number of the current page. Starting value: 1. Default value: 1"},"PageSize":{"type":"integer","description":"The number of entries to return on each page for paging in a paged query. Settings: Maximum value: 100. Default value: 20"},"Search":{"type":"string","description":"The Search"},"WithoutMeteringData":{"type":"string","description":"The WithoutMeteringData"}}}}}},"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-httpdns/refresh-resolve-cache":{"post":{"operationId":"cloud_aliyun_httpdns_refresh_resolve_cache","summary":"Refreshes the domain name cache","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"Domains":{"type":"string","description":"The list of domain names to refresh (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-httpdns/version":{"post":{"operationId":"cloud_aliyun_httpdns_version","summary":"version","description":"POST /","tags":["cloud"],"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":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"}}}}}}}