SMN API 20251105 VERSION. API problem modification.

Reviewed-by: Daniel Kováč <a86700324@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: wanghuijuan738 <wanghuijuan738@huawei.com>
Co-committed-by: wanghuijuan738 <wanghuijuan738@huawei.com>
This commit is contained in:
2025-12-11 08:04:34 +00:00
committed by zuul
parent cd7925dbd2
commit b59645e299
21 changed files with 219 additions and 161 deletions

View File

@ -5,7 +5,7 @@
</li></ul>
<ul id="smn_api_53001__ul20998054203745"><li id="smn_api_53001__li46884910203750">Function<p id="smn_api_53001__p161662387455"><a name="smn_api_53001__li46884910203750"></a><a name="li46884910203750"></a>Create a message template for quick message sending to reduce the request data volume.</p>
<p id="smn_api_53001__p5295386410442">By default, a user can create a maximum of 100 message templates. However, in a high-concurrency scenario, which is rare, extra templates may be successfully created.</p>
<p id="smn_api_53001__p3742153519563">Message templates are identified by name, but you can create different templates with the same name as long as they are configured for different protocols. All template messages must include a <strong id="smn_api_53001__en-us_topic_0043394889_b1631511361618">Default</strong> template or they cannot be sent out. The <strong id="smn_api_53001__en-us_topic_0043394889_b14265659365">Default</strong> template is used anytime a template has not been configured for a given protocol, but as long as there is a template for the protocol, then any subscriber who selected that protocol when they subscribed will receive a message using the corresponding template.</p>
<p id="smn_api_53001__p3742153519563">Message templates are identified by name, but you can create different templates with the same name as long as they are configured for different protocols. You must create a <strong id="smn_api_53001__en-us_topic_0043394889_b18164278394">Default</strong> template with the same name as each custom template. The <strong id="smn_api_53001__en-us_topic_0043394889_b192551757103917">Default</strong> template is used when no specific template has been set for a given protocol. If a template is configured for a specific protocol, any subscriber who chose that protocol during subscription will receive messages using that specific template. If you create a custom template but do not create a default template with the same name, you cannot use the custom template to publish messages.</p>
</li></ul>
</div>
<div class="section" id="smn_api_53001__section9256466193738"><h4 class="sectiontitle">URI</h4><ul id="smn_api_53001__ul11576320193738"><li id="smn_api_53001__li37078021193738">URI format<p id="smn_api_53001__p65266738193738"><a name="smn_api_53001__li37078021193738"></a><a name="li37078021193738"></a>POST /v2/{project_id}/notifications/message_template</p>
@ -37,13 +37,13 @@
</li></ul>
</div>
<div class="section" id="smn_api_53001__section62753823193738"><h4 class="sectiontitle">Request</h4><ul id="smn_api_53001__ul49894899193738"><li id="smn_api_53001__li46400914193738">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="smn_api_53001__table14955048193738" frame="border" border="1" rules="all"><thead align="left"><tr id="smn_api_53001__row8946017193738"><th align="left" class="cellrowborder" valign="top" width="25.629999999999995%" id="mcps1.3.3.2.1.1.1.5.1.1"><p id="smn_api_53001__p53538768193738"><strong id="smn_api_53001__b937258235">Parameter</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="smn_api_53001__table14955048193738" frame="border" border="1" rules="all"><thead align="left"><tr id="smn_api_53001__row8946017193738"><th align="left" class="cellrowborder" valign="top" width="25.629999999999995%" id="mcps1.3.3.2.1.1.1.5.1.1"><p id="smn_api_53001__p53538768193738"><strong id="smn_api_53001__b819925935">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.41%" id="mcps1.3.3.2.1.1.1.5.1.2"><p id="smn_api_53001__p41672976193738"><strong id="smn_api_53001__b181195193337">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="21.560000000000002%" id="mcps1.3.3.2.1.1.1.5.1.3"><p id="smn_api_53001__p20067913193738"><strong id="smn_api_53001__b1866281422">Type</strong></p>
<th align="left" class="cellrowborder" valign="top" width="21.560000000000002%" id="mcps1.3.3.2.1.1.1.5.1.3"><p id="smn_api_53001__p20067913193738"><strong id="smn_api_53001__b1957248040">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="30.4%" id="mcps1.3.3.2.1.1.1.5.1.4"><p id="smn_api_53001__p14888226193738"><strong id="smn_api_53001__b1149015143">Description</strong></p>
<th align="left" class="cellrowborder" valign="top" width="30.4%" id="mcps1.3.3.2.1.1.1.5.1.4"><p id="smn_api_53001__p14888226193738"><strong id="smn_api_53001__b1898032569">Description</strong></p>
</th>
</tr>
</thead>
@ -69,7 +69,7 @@
</tr>
<tr id="smn_api_53001__row61554123193738"><td class="cellrowborder" valign="top" width="25.629999999999995%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="smn_api_53001__p19828051193738">protocol</p>
</td>
<td class="cellrowborder" valign="top" width="22.41%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="smn_api_53001__p62568275193738">Yes</p>
<td class="cellrowborder" valign="top" width="22.41%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="smn_api_53001__p62568275193738">No</p>
</td>
<td class="cellrowborder" valign="top" width="21.560000000000002%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="smn_api_53001__p34865524193738">String</p>
</td>
@ -91,11 +91,11 @@
</li></ul>
</div>
<div class="section" id="smn_api_53001__section2535551193738"><h4 class="sectiontitle">Response</h4><ul id="smn_api_53001__ul4053051193738"><li id="smn_api_53001__li36477466193738">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="smn_api_53001__table59861740193738" frame="border" border="1" rules="all"><thead align="left"><tr id="smn_api_53001__row37209510193738"><th align="left" class="cellrowborder" valign="top" width="34.09340934093409%" id="mcps1.3.4.2.1.1.1.4.1.1"><p id="smn_api_53001__p61180371193738"><strong id="smn_api_53001__b2116343234">Parameter</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="smn_api_53001__table59861740193738" frame="border" border="1" rules="all"><thead align="left"><tr id="smn_api_53001__row37209510193738"><th align="left" class="cellrowborder" valign="top" width="34.09340934093409%" id="mcps1.3.4.2.1.1.1.4.1.1"><p id="smn_api_53001__p61180371193738"><strong id="smn_api_53001__b211869550">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="29.56295629562956%" id="mcps1.3.4.2.1.1.1.4.1.2"><p id="smn_api_53001__p56663008193738"><strong id="smn_api_53001__b2112444544">Type</strong></p>
<th align="left" class="cellrowborder" valign="top" width="29.56295629562956%" id="mcps1.3.4.2.1.1.1.4.1.2"><p id="smn_api_53001__p56663008193738"><strong id="smn_api_53001__b692333989">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="36.343634363436344%" id="mcps1.3.4.2.1.1.1.4.1.3"><p id="smn_api_53001__p26300917193738"><strong id="smn_api_53001__b240034717">Description</strong></p>
<th align="left" class="cellrowborder" valign="top" width="36.343634363436344%" id="mcps1.3.4.2.1.1.1.4.1.3"><p id="smn_api_53001__p26300917193738"><strong id="smn_api_53001__b1199555079">Description</strong></p>
</th>
</tr>
</thead>