huawei-cloud-api-definitions-MSGSMS 0.1.20250110

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{},"description":null,"group_id":"6ec12426d3234d80b6da21f8367b6607","host":"msgsms.cn-north-4.myhuaweicloud.com","id":"e1755ea3425a422fb428536bb225857f","info_version":"v2","method":"put","name":"EnableSignature","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/signatures/{id}/active":{"put":{"consumes":["application/json"],"deprecated":false,"description":"该接口用于用户申请激活签名信息。","operationId":"EnableSignature","parameters":[{"$ref":"#/parameters/X-Auth-Token"},{"$ref":"#/parameters/Content-Type"},{"$ref":"#/parameters/project_id"},{"description":"签名ID","in":"path","maxLength":64,"minLength":1,"name":"id","required":true,"type":"string","x-example":"07cfacbb-d48c-4c4d-b3da-baa8e4664852"}],"produces":["*/*"],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"schemes":["https"],"summary":"申请激活签名","tags":["SignatureManagement"],"x-api-type":"open-api","x-imports":["com.huawei.cloud.common.RestrictCheck;","com.huawei.cloud.common.operation.*;","com.huawei.cloud.common.log.SourceType;","static com.huawei.cloud.common.restrictcheck.RestrictFrozenType.*;"],"x-internal":false,"x-is-registered":"Y","x-methodAnnotations":["@Operation(name = \"用户申请激活签名\", action = OperateType.UPDATE, resource = \"console.root.message.signatures\", requireLog = true, source = SourceType.API)","@RestrictCheck(serviceType = \"hws.service.type.rtcsms\", restrictScene = {TENANT_RESTRICT, TENANT_FROZEN, SERVICE_FROZEN})"],"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"}