huawei-cloud-api-definitions-KooMessage 0.1.20260108

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":null,"components":null,"consumes":"","definitions":{"SmsErrorMsg":{"description":"错误模型。","properties":{"error_code":{"description":"结果状态码。","maxLength":32,"minLength":0,"type":"string"},"error_msg":{"description":"结果详情。","maxLength":32,"minLength":0,"type":"string"}},"type":"object"},"SmsFileId":{"properties":{"file_id":{"description":"文件ID。","maxLength":50,"minLength":1,"type":"string"}},"type":"object"}},"description":null,"group_id":"57a445a5fb5d4ba5b80445bd4c5ec9b3","host":"koomessage.myhuaweicloud.cn","id":"646e37bef33c491cb0ad4499d2bea987","info_version":"v1","method":"post","name":"UploadAimMsgSignatureFile","parameters":{},"paths":{"/v1/sms/signatures/files":{"post":{"consumes":["multipart/form-data"],"description":"该接口用于用户上传创建短信签名所需的营业执照/授权委托书文件。","operationId":"UploadAimMsgSignatureFile","parameters":[{"description":"文件描述。","in":"query","name":"file_desc","required":false,"type":"string"},{"description":"请求体参数类型,该字段必须设置为:multipart/form-data。","in":"header","name":"Content-Type","required":true,"type":"string"},{"description":"用户Token。通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。","in":"header","name":"X-Auth-Token","required":true,"type":"string"},{"description":"营业执照/授权委托书文件。","format":"binary","in":"formData","name":"file","required":true,"type":"file"}],"produces":["application/json"],"responses":{"200":{"description":"返回文件id。","examples":{"application/json":{"file_id":"cec80a6b-95b6-405b-bbab-fbef0f****22"}},"schema":{"$ref":"#/definitions/SmsFileId"}},"400":{"description":"非法参数。","schema":{"$ref":"#/definitions/SmsErrorMsg"}},"500":{"description":"内部错误。","schema":{"$ref":"#/definitions/SmsErrorMsg"}}},"schemes":["https"],"security":[{"apig-auth-iam":[]}],"summary":"上传申请文件","tags":["AimSmsSignature"],"x-api-type":"open-api","x-apigateway-backend":{"httpVpcEndpoints":{"description":"","method":"POST","name":"lb-km-aim","path":"/v1/sms/signatures/files","scheme":"https","timeout":30000},"type":"HTTP-VPC"},"x-apigateway-cors":false,"x-apigateway-match-mode":"NORMAL","x-apigateway-query-string-encode":"ENABLE","x-apigateway-request-type":"public","x-is-registered":"Y","x-order":5,"x-request-examples-description-1":"上传营业执照/授权委托书文件。","x-request-examples-url-1":"https://koomessage.myhuaweicloud.cn/v1/sms/signatures/files","x-support-sdk":"Y"}}},"product_short":"KooMessage","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":{"apig-auth-app":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-type":"AppSigv1"},"apig-auth-app-optional":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-opt":{"access-auth-type":"optional"},"x-apigateway-auth-type":"AppSigv1"},"apig-auth-iam":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-type":"IAM"},"apig-auth-iam-none":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-type":"IAM_NONE"}},"summary":"上传申请文件","tags":"短信签名","uri":null,"version":"2.0"}