forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
74 lines
6.7 KiB
HTML
74 lines
6.7 KiB
HTML
<a name="rds_05_0010"></a><a name="rds_05_0010"></a>
|
|
|
|
<h1 class="topictitle1">Querying the Available SQL Server Character Set</h1>
|
|
<div id="body1576480340181"><div class="section" id="rds_05_0010__section4284989"><h4 class="sectiontitle">Function</h4><p id="rds_05_0010__p0506143014918">This API is used to query the SQL Server character set list.</p>
|
|
<ul id="rds_05_0010__ul12259155218373"><li id="rds_05_0010__en-us_topic_0240111818_li836513175363">Before calling an API, you need to understand the API in <a href="rds_03_0001.html">Authentication</a>.</li><li id="rds_05_0010__en-us_topic_0240111818_li1991981933613">Before calling this API, obtain the required <a href="https://docs.otc.t-systems.com/en-us/endpoint/index.html" target="_blank" rel="noopener noreferrer">region and endpoint</a>.</li></ul>
|
|
</div>
|
|
<div class="section" id="rds_05_0010__section38564907"><h4 class="sectiontitle">URI</h4><ul id="rds_05_0010__ul13194498"><li id="rds_05_0010__li51641620">URI format<p id="rds_05_0010__p192210412203"><a name="rds_05_0010__li51641620"></a><a name="li51641620"></a>GET https://{<em id="rds_05_0010__i1228418204">Endpoint</em>}/v3/{project_id}/collations</p>
|
|
</li><li id="rds_05_0010__li22221662">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rds_05_0010__table65777232" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="rds_05_0010__row46529701"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.2.1.2.4.1.1"><p id="rds_05_0010__p10809459"><strong id="rds_05_0010__b87883437564">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.2.1.2.4.1.2"><p id="rds_05_0010__p3150961"><strong id="rds_05_0010__b14592104411564">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.2.1.2.4.1.3"><p id="rds_05_0010__p53901255"><strong id="rds_05_0010__b5344045105618">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rds_05_0010__row3925534"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="rds_05_0010__p49532829">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="rds_05_0010__p52736237">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="rds_05_0010__p43776822">Specifies the project ID of a tenant in a region.</p>
|
|
<p id="rds_05_0010__p178064411566">For details about how to obtain the project ID, see <a href="rds_03_0002.html">Obtaining a Project ID</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="rds_05_0010__section1390010340492"><h4 class="sectiontitle">Request</h4><ul id="rds_05_0010__ul075451572715"><li id="rds_05_0010__li3546134616286">Parameter description<p id="rds_05_0010__p561184862813"><a name="rds_05_0010__li3546134616286"></a><a name="li3546134616286"></a>None</p>
|
|
</li><li id="rds_05_0010__li4411135064210">Example<p id="rds_05_0010__p8762113819533"><a name="rds_05_0010__li4411135064210"></a><a name="li4411135064210"></a>GET https://rds.eu-de.otc.t-systems.com/v3/0483b6b16e954cb88930a360d2c4e663/instances/dsfae23fsfdsae3435in01/collations</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="rds_05_0010__section36749739"><h4 class="sectiontitle">Response</h4><ul id="rds_05_0010__ul48268995"><li id="rds_05_0010__li31767774">Normal response
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rds_05_0010__table17474517" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter description</caption><thead align="left"><tr id="rds_05_0010__row16146366"><th align="left" class="cellrowborder" valign="top" width="26.38%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="rds_05_0010__p32787233"><strong id="rds_05_0010__b171061828577">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40.29%" id="mcps1.3.4.2.1.1.2.4.1.2"><p id="rds_05_0010__p38520254"><strong id="rds_05_0010__b1767918315577">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33%" id="mcps1.3.4.2.1.1.2.4.1.3"><p id="rds_05_0010__p33132859"><strong id="rds_05_0010__b103516420578">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rds_05_0010__row1625804435012"><td class="cellrowborder" valign="top" width="26.38%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="rds_05_0010__p1244615183135">charSets</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.29%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="rds_05_0010__p116551958135013">List<String></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="rds_05_0010__p16655115865012">Indicates the character set information list.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="rds_05_0010__ul199862024192715"><li id="rds_05_0010__li12985172416272">Example normal response<pre class="codeblock" id="rds_05_0010__codeblock19985182416272">{
|
|
"charSets": ["Chinese_PRC_CI_AS", "SQL_Latin1_General_CP1_CI_AS", "French_BIN", "Chinese_PRC_Stroke_BIN", "Chinese_PRC_CI_AI"]
|
|
}</pre>
|
|
</li><li id="rds_05_0010__li1098602419271">Abnormal Response<p id="rds_05_0010__p798642452719"><a name="rds_05_0010__li1098602419271"></a><a name="li1098602419271"></a>For details, see <a href="en-us_topic_0032488197.html">Abnormal Request Results</a>.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="rds_05_0010__section4778540915440"><h4 class="sectiontitle">Status Code</h4><ul id="rds_05_0010__en-us_topic_0032347778_ul7858132212142"><li id="rds_05_0010__en-us_topic_0032347778_li58581622171411">Normal<p id="rds_05_0010__en-us_topic_0032347778_p1040982941020"><a name="rds_05_0010__en-us_topic_0032347778_li58581622171411"></a><a name="en-us_topic_0032347778_li58581622171411"></a>200</p>
|
|
</li><li id="rds_05_0010__en-us_topic_0032347778_li11583183218149">Abnormal<p id="rds_05_0010__en-us_topic_0032347778_p0723374409"><a name="rds_05_0010__en-us_topic_0032347778_li11583183218149"></a><a name="en-us_topic_0032347778_li11583183218149"></a>For details, see <a href="en-us_topic_0032488240.html">Status Codes</a>.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="rds_05_0010__section1183074220016"><h4 class="sectiontitle">Error Code</h4><p id="rds_05_0010__en-us_topic_0032347778_p19357163913406">For details, see <a href="en-us_topic_0032488241.html">Error Codes</a>.</p>
|
|
</div>
|
|
<p id="rds_05_0010__p8060118"></p>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0056887470.html">DB Instance Management</a></div>
|
|
</div>
|
|
</div>
|
|
|