huawei-cloud-api-definitions-DNS 0.1.20250117

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"","definitions":{"ErrorResponse":{"description":"失败时返回的错误对象","properties":{"code":{"description":"错误码","maxLength":36,"minLength":8,"type":"string"},"message":{"description":"错误描述","maxLength":512,"minLength":2,"type":"string"}},"required":["code","message"]},"LinksItem":{"description":"指向当前资源或者其他资源的链接。当查询需要分页时,需要包含一个next链接指向下一页。","properties":{"href":{"description":"对应快捷链接。","type":"string"},"rel":{"description":"快捷链接标记名称。","type":"string"}},"required":["href","rel"]},"VersionItem":{"properties":{"id":{"description":"版本ID(版本号),如v2。","example":"v2","type":"string"},"links":{"description":"API的URL地址。","items":{"$ref":"#/definitions/LinksItem"},"type":"array"},"min_version":{"description":"支持的最小微版本号。若该版本API不支持微版本,则为空。","type":"string"},"status":{"description":"版本状态,为如下3种:\nCURRENT:表示该版本为主推版本。\nSUPPORTED:表示为老版本,但是现在还继续支持。\nDEPRECATED:表示为废弃版本,存在后续删除的可能。","type":"string"},"updated":{"description":"版本发布时间。","type":"string"},"version":{"description":"支持的最大微版本号。若该版本API不支持微版本,则为空。","type":"string"}}},"VersionsInfoResp":{"properties":{"version":{"$ref":"#/definitions/VersionItem","description":"待查询版本号。以v开头,如v2。"}},"required":["version"]}},"description":null,"group_id":"2ab479966f0f4e20b884fafa72e0161b","host":"dns.cn-north-4.myhuaweicloud.com","id":"f29632752a2046d4abbdac3d3b46020e","info_version":"v2","method":"get","name":"ShowApiInfo","parameters":{},"paths":{"/{version}":{"get":{"description":"查询指定的云解析服务API版本号","operationId":"ShowApiInfo","parameters":[{"description":"待查询版本号。以v开头,如v2。","in":"path","maxLength":36,"minLength":1,"name":"version","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"API对象信息。","examples":{"application/json":{"version":{"id":"v2","links":[{"href":"https://Endpoint/v2/","rel":"self"}],"min_version":"","status":"CURRENT","updated":"2018-09-18T00:00:00Z","version":""}}},"schema":{"$ref":"#/definitions/VersionsInfoResp"}},"400":{"description":"接口错误响应。","schema":{"$ref":"#/definitions/ErrorResponse"}},"404":{"description":"接口错误响应。","schema":{"$ref":"#/definitions/ErrorResponse"}},"500":{"description":"接口错误响应。","schema":{"$ref":"#/definitions/ErrorResponse"}}},"summary":"查询指定的云解析服务API版本号","tags":["版本管理"],"x-is-registered":"Y","x-support-sdk":"Y"}}},"product_short":"DNS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询指定的云解析服务API版本号","tags":"版本管理","uri":null,"version":"2.0"}