huawei-cloud-api-definitions-MSGSMS 0.1.20240201

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"AppCountResponse":{"properties":{"total":{"description":"总数","example":395,"format":"int32","maximum":2147483647,"minimum":0,"type":"integer"},"used":{"description":"已使用数","example":108,"format":"int32","maximum":2147483647,"minimum":0,"type":"integer"}},"title":"AppCountResponse"}},"description":null,"group_id":"6ec12426d3234d80b6da21f8367b6607","host":"msgsms.cn-north-4.myhuaweicloud.com","id":"ff314fd9386a48bba4bfdf90218705e9","info_version":"v2","method":"get","name":"ShowAppCount","parameters":{"Content-Type":{"default":"application/json;charset=utf8","description":"请求体参数类型,该字段必须设置为:application/json;charset=utf8","in":"header","maxLength":255,"minLength":1,"name":"Content-Type","required":true,"type":"string","x-example":"application/json;charset=utf8"},"X-Auth-Token":{"description":"用户Token。通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)","in":"header","maxLength":32768,"minLength":1,"name":"X-Auth-Token","required":true,"type":"string","x-example":"******JKoZIhvcNAQcCoIIDgzCCXXXXX"},"project_id":{"description":"项目ID。获取方法请参见 [获取帐号、用户、项目的名称和ID](https://support.huaweicloud.com/api-msgsms/sms_05_0020.html)。","in":"path","name":"project_id","pattern":"^[a-fA-F0-9]{1,32}$","required":true,"type":"string","x-example":"******c55c3c4526b2ed7a0213bc9871"}},"paths":{"/v2/{project_id}/msgsms/apps-count":{"get":{"deprecated":false,"description":"该接口用于用户查询应用使用的数量信息。","operationId":"ShowAppCount","parameters":[{"$ref":"#/parameters/X-Auth-Token"},{"$ref":"#/parameters/Content-Type"},{"$ref":"#/parameters/project_id"},{"description":"地域\n1. cn:国内\n2. intl:国际","in":"query","maxLength":20,"minLength":1,"name":"region","required":true,"type":"string","x-example":"cn"}],"produces":["*/*"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AppCountResponse"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"schemes":["https"],"summary":"查询应用数量","tags":["AppManagement"],"x-api-type":"open-api","x-imports":["com.huawei.cloud.common.operation.*;","com.huawei.cloud.common.log.SourceType;"],"x-internal":false,"x-is-registered":"Y","x-methodAnnotations":["@Operation(name = \"获取应用详情\", action = OperateType.QUERY, resource = \"console.root.message.app.count\", requireLog = true, source = SourceType.API)"],"x-service":"messageService","x-support-sdk":"Y"}}},"product_short":"MSGSMS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询应用数量","tags":"短信应用API","uri":null,"version":"2.0"}