{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"ApiTemplateVariable":{"properties":{"id":{"description":"变量id","example":15003394,"format":"int64","maximum":2147483647,"minimum":0,"type":"integer"},"temp_name":{"description":"模板名称","example":"test","maxLength":128,"minLength":1,"type":"string"},"user_name":{"description":"用户名","example":"autotest789","maxLength":128,"minLength":1,"type":"string"},"variable_desc":{"description":"变量描述","example":"******bb-d48c-4c4d-b3da-baa8e4664852","maxLength":100,"minLength":0,"type":"string"},"variable_index":{"description":"变量索引","example":1,"format":"int32","maximum":20,"minimum":1,"type":"integer"},"variable_length":{"description":"变量长度","example":"******bb-d48c-4c4d-b3da-baa8e4664852","format":"int32","maximum":2147483647,"minimum":1,"type":"integer"},"variable_type":{"description":"变量类型","example":"URL","pattern":"PHONE|CHARDIGIT|DATETIME|MONEY|TEXT|NEWTEXT|LONGTEXT","type":"string"}},"title":"ApiTemplateVariable"},"VariablePageQueryResponse":{"properties":{"results":{"description":"查询结果","items":{"$ref":"#/definitions/ApiTemplateVariable"},"maxItems":10000,"minItems":0,"type":"array"},"total":{"description":"总数","example":1,"format":"int64","maximum":2147483647,"minimum":0,"type":"integer"}},"title":"VariablePageQueryResponse","type":"object"}},"description":null,"group_id":"6ec12426d3234d80b6da21f8367b6607","host":"msgsms.cn-north-4.myhuaweicloud.com","id":"09118cb2f2914996abcabcdc63dfc6b6","info_version":"v2","method":"get","name":"ListTemplateVarilableDetails","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/templates/{id}/varilable":{"get":{"deprecated":false,"description":"该接口用于用户查询模板参数。","operationId":"ListTemplateVarilableDetails","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"}],"produces":["*/*"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/VariablePageQueryResponse"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"schemes":["https"],"summary":"查询模板变量","tags":["TemplateManagement"],"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.msgtemplate.variables\", 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"}