forked from laiweijian4/doc-exports
Reviewed-by: Goncharov, Artem <artem.goncharov@t-systems.com> Co-authored-by: gtema <artem.goncharov@gmail.com> Co-committed-by: gtema <artem.goncharov@gmail.com>
89 lines
6.6 KiB
HTML
89 lines
6.6 KiB
HTML
<a name="css_03_0073"></a><a name="css_03_0073"></a>
|
|
|
|
<h1 class="topictitle1">Common Request Parameters</h1>
|
|
<div id="body1500349170513"><p id="css_03_0073__p101677389562"><a href="#css_03_0073__table181671338175614">Table 1</a> describes the common request parameters.</p>
|
|
|
|
<div class="tablenoborder"><a name="css_03_0073__table181671338175614"></a><a name="table181671338175614"></a><table cellpadding="4" cellspacing="0" summary="" id="css_03_0073__table181671338175614" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Common request headers</caption><thead align="left"><tr id="css_03_0073__row101671738165610"><th align="left" class="cellrowborder" valign="top" width="28.999999999999996%" id="mcps1.3.2.2.4.1.1"><p id="css_03_0073__p71671738165620">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25.94%" id="mcps1.3.2.2.4.1.2"><p id="css_03_0073__p14168193875620">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="45.06%" id="mcps1.3.2.2.4.1.3"><p id="css_03_0073__p18168113813566">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_03_0073__row1116873818569"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.4.1.1 "><p id="css_03_0073__p1168338205612">X-Sdk-Date</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.94%" headers="mcps1.3.2.2.4.1.2 "><p id="css_03_0073__p31687389562">This parameter is mandatory for authentication using AK/SK.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.06%" headers="mcps1.3.2.2.4.1.3 "><p id="css_03_0073__p15168173818564">Time when the request is sent. The time is in the <strong>YYYYMMDD'T'HHMMSS'Z'</strong> format.</p>
|
|
<p id="css_03_0073__p816853811560">The value is the current GMT time of the system.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0073__row21686380566"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.4.1.1 "><p id="css_03_0073__p1168338115620">Authorization</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.94%" headers="mcps1.3.2.2.4.1.2 "><p id="css_03_0073__p2016933816564">This parameter is mandatory for authentication using AK/SK.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.06%" headers="mcps1.3.2.2.4.1.3 "><p id="css_03_0073__p3168173815567">Signature authentication information. The value can be obtained from the request signing result.</p>
|
|
<p id="css_03_0073__p16168113835612">See <a href="iam_02_0510.html">Authentication</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0073__row131691938145610"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.4.1.1 "><p id="css_03_0073__p316953818564">Host</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.94%" headers="mcps1.3.2.2.4.1.2 "><p id="css_03_0073__p01697385565">This parameter is mandatory for authentication using AK/SK.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.06%" headers="mcps1.3.2.2.4.1.3 "><p id="css_03_0073__p1169113855617">Server domain name and port number of the resource being requested. The value can be obtained from the URL of the service API. The value is <em>hostname[:port]</em>. If the port number is not specified, the default port is used. The default port number for <strong>https</strong> is <strong>443</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0073__row10169143817564"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.4.1.1 "><p id="css_03_0073__p316953815568">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.94%" headers="mcps1.3.2.2.4.1.2 "><p id="css_03_0073__p13169113816568">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.06%" headers="mcps1.3.2.2.4.1.3 "><p id="css_03_0073__p316983816565">MIME type of the request body.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0073__row15169538145616"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.4.1.1 "><p id="css_03_0073__p116993805613">Content-Length</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.94%" headers="mcps1.3.2.2.4.1.2 "><p id="css_03_0073__p31694386566">This parameter is mandatory for POST and PUT requests, but must be left blank for GET requests.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.06%" headers="mcps1.3.2.2.4.1.3 "><p id="css_03_0073__p2169638175614">Length of the request body. The unit is byte.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0073__row1217083825612"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.4.1.1 "><p id="css_03_0073__p1817073815612">X-Project-Id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.94%" headers="mcps1.3.2.2.4.1.2 "><p id="css_03_0073__p19170143817567">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.06%" headers="mcps1.3.2.2.4.1.3 "><p id="css_03_0073__p117033820564">Project ID. This parameter is used to obtain the token for each project.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0073__row21707382565"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.4.1.1 "><p id="css_03_0073__p5170638155610">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.94%" headers="mcps1.3.2.2.4.1.2 "><p id="css_03_0073__p5170238175610">No (This parameter is mandatory for authentication using tokens.)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.06%" headers="mcps1.3.2.2.4.1.3 "><p id="css_03_0073__p1170338125614">User token.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0073__row3170123820569"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.4.1.1 "><p id="css_03_0073__p61701381568">X-Language</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.94%" headers="mcps1.3.2.2.4.1.2 "><p id="css_03_0073__p181708389569">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.06%" headers="mcps1.3.2.2.4.1.3 "><p id="css_03_0073__p8170138145611">Request language. The value is <strong id="css_03_0073__b13743646164514">en-us</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_03_0073__row118151751165914"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.4.1.1 "><p id="css_03_0073__p68621055165911">Accept</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.94%" headers="mcps1.3.2.2.4.1.2 "><p id="css_03_0073__p1286210558598">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.06%" headers="mcps1.3.2.2.4.1.3 "><p id="css_03_0073__p78621455145910">Type of content that can be received by a client.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_03_0040.html">Common Parameters</a></div>
|
|
</div>
|
|
</div>
|
|
|