doc-exports/docs/obs/api-swift/obs_03_0072.html
zhangyue 894279c39a Object Storage Service API Reference Swift V1
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: zhangyue <zhangyue164@huawei.com>
Co-committed-by: zhangyue <zhangyue164@huawei.com>
2023-02-02 08:50:48 +00:00

125 lines
8.9 KiB
HTML

<a name="obs_03_0072"></a><a name="obs_03_0072"></a>
<h1 class="topictitle1">Response</h1>
<div id="body1442649345367"><div class="section" id="obs_03_0072__section84586421267"><h4 class="sectiontitle">Response Headers</h4><p id="obs_03_0072__p61201802173738">The following table describes response header parameters:</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0072__table58398915173738" frame="border" border="1" rules="all"><thead align="left"><tr id="obs_03_0072__row10138041173738"><th align="left" class="cellrowborder" valign="top" width="23.43%" id="mcps1.3.1.3.1.4.1.1"><p id="obs_03_0072__p15875029173738">Header</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.669999999999998%" id="mcps1.3.1.3.1.4.1.2"><p id="obs_03_0072__p10808940173738">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="55.900000000000006%" id="mcps1.3.1.3.1.4.1.3"><p id="obs_03_0072__p3108968173738">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="obs_03_0072__row27511085173747"><td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.1.3.1.4.1.1 "><p id="obs_03_0072__p13805384173747">Last-Modified</p>
</td>
<td class="cellrowborder" valign="top" width="20.669999999999998%" headers="mcps1.3.1.3.1.4.1.2 "><p id="obs_03_0072__p1809815717386">String</p>
<p id="obs_03_0072__p2866569117386">(Required)</p>
</td>
<td class="cellrowborder" valign="top" width="55.900000000000006%" headers="mcps1.3.1.3.1.4.1.3 "><p id="obs_03_0072__p47270488173747">Date and time that the object was created or the last time that the metadata was changed.</p>
</td>
</tr>
<tr id="obs_03_0072__row50499889173738"><td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.1.3.1.4.1.1 "><p id="obs_03_0072__p63959214173738">Content-Length</p>
</td>
<td class="cellrowborder" valign="top" width="20.669999999999998%" headers="mcps1.3.1.3.1.4.1.2 "><p id="obs_03_0072__p13313864173738">String</p>
<p id="obs_03_0072__p52715915173738">(Required)</p>
</td>
<td class="cellrowborder" valign="top" width="55.900000000000006%" headers="mcps1.3.1.3.1.4.1.3 "><p id="obs_03_0072__p43632113173738">Length of the object content in the response body, in bytes.</p>
</td>
</tr>
<tr id="obs_03_0072__row1085835173738"><td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.1.3.1.4.1.1 "><p id="obs_03_0072__p20843848173738">Etag</p>
</td>
<td class="cellrowborder" valign="top" width="20.669999999999998%" headers="mcps1.3.1.3.1.4.1.2 "><p id="obs_03_0072__p10630117173738">String</p>
<p id="obs_03_0072__p28562191173738">(Required)</p>
</td>
<td class="cellrowborder" valign="top" width="55.900000000000006%" headers="mcps1.3.1.3.1.4.1.3 "><p id="obs_03_0072__p31836128173738">For ordinary objects, this value is the MD5 checksum of the uploaded object content.</p>
<p id="obs_03_0072__p18089696173738">For static large objects, this value is the MD5 checksum of the concatenated string of MD5 checksums for each of the segments.</p>
<p id="obs_03_0072__p28589541173738">For dynamic large objects, the value is the MD5 checksum of the manifest file.</p>
</td>
</tr>
<tr id="obs_03_0072__row55979278173738"><td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.1.3.1.4.1.1 "><p id="obs_03_0072__p38027709173738">X-Object-Meta-name</p>
</td>
<td class="cellrowborder" valign="top" width="20.669999999999998%" headers="mcps1.3.1.3.1.4.1.2 "><p id="obs_03_0072__p60345621173738">String</p>
<p id="obs_03_0072__p6239679173738">(Optional)</p>
</td>
<td class="cellrowborder" valign="top" width="55.900000000000006%" headers="mcps1.3.1.3.1.4.1.3 "><p id="obs_03_0072__p35652006173738">Custom object metadata item.</p>
<p id="obs_03_0072__p52432605173738"><strong id="obs_03_0072__b12347023">{name}</strong> is the name of the metadata item.</p>
</td>
</tr>
<tr id="obs_03_0072__row2131402173738"><td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.1.3.1.4.1.1 "><p id="obs_03_0072__p38425874173738">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20.669999999999998%" headers="mcps1.3.1.3.1.4.1.2 "><p id="obs_03_0072__p25488103173738">String</p>
<p id="obs_03_0072__p28066337173738">(Required)</p>
</td>
<td class="cellrowborder" valign="top" width="55.900000000000006%" headers="mcps1.3.1.3.1.4.1.3 "><p id="obs_03_0072__p58780852173738">MIME type of the object.</p>
</td>
</tr>
<tr id="obs_03_0072__row59265622173738"><td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.1.3.1.4.1.1 "><p id="obs_03_0072__p35786048173738">Date</p>
</td>
<td class="cellrowborder" valign="top" width="20.669999999999998%" headers="mcps1.3.1.3.1.4.1.2 "><p id="obs_03_0072__p12988758173738">String</p>
<p id="obs_03_0072__p49789966173738">(Required)</p>
</td>
<td class="cellrowborder" valign="top" width="55.900000000000006%" headers="mcps1.3.1.3.1.4.1.3 "><p id="obs_03_0072__p6455442173738">Transaction date and time.</p>
</td>
</tr>
<tr id="obs_03_0072__row58098985173738"><td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.1.3.1.4.1.1 "><p id="obs_03_0072__p8397365173738">X-Trans-Id</p>
</td>
<td class="cellrowborder" valign="top" width="20.669999999999998%" headers="mcps1.3.1.3.1.4.1.2 "><p id="obs_03_0072__p9097998173738">Uuid</p>
<p id="obs_03_0072__p14773123173738">(Required)</p>
</td>
<td class="cellrowborder" valign="top" width="55.900000000000006%" headers="mcps1.3.1.3.1.4.1.3 "><p id="obs_03_0072__p55772281173738">A unique transaction identifier.</p>
<p id="obs_03_0072__p32188485173738"></p>
</td>
</tr>
<tr id="obs_03_0072__row21260912173738"><td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.1.3.1.4.1.1 "><p id="obs_03_0072__p44412303173738">X-Timestamp</p>
</td>
<td class="cellrowborder" valign="top" width="20.669999999999998%" headers="mcps1.3.1.3.1.4.1.2 "><p id="obs_03_0072__p40626815173738">Datetime</p>
<p id="obs_03_0072__p30097021173738">(Required)</p>
</td>
<td class="cellrowborder" valign="top" width="55.900000000000006%" headers="mcps1.3.1.3.1.4.1.3 "><p id="obs_03_0072__p63238897173738">Object creation time and date, in UNIX Epoch timestamp format.</p>
</td>
</tr>
<tr id="obs_03_0072__row20359477174132"><td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.1.3.1.4.1.1 "><p id="obs_03_0072__p1569659817420">Content-Encoding</p>
</td>
<td class="cellrowborder" valign="top" width="20.669999999999998%" headers="mcps1.3.1.3.1.4.1.2 "><p id="obs_03_0072__p6346490617420">String</p>
<p id="obs_03_0072__p3431324517420">(Optional)</p>
</td>
<td class="cellrowborder" valign="top" width="55.900000000000006%" headers="mcps1.3.1.3.1.4.1.3 "><p id="obs_03_0072__p2790947517420">Code used when an object is downloaded through a browser.</p>
</td>
</tr>
<tr id="obs_03_0072__row26152510174133"><td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.1.3.1.4.1.1 "><p id="obs_03_0072__p1202190517420">Content-Disposition</p>
</td>
<td class="cellrowborder" valign="top" width="20.669999999999998%" headers="mcps1.3.1.3.1.4.1.2 "><p id="obs_03_0072__p3425028017420">String</p>
<p id="obs_03_0072__p3981706417420">(Optional)</p>
</td>
<td class="cellrowborder" valign="top" width="55.900000000000006%" headers="mcps1.3.1.3.1.4.1.3 "><p id="obs_03_0072__p395673617420">When an object is downloaded through a browser, the default object name is <strong id="obs_03_0072__b49409500">newname</strong>.</p>
</td>
</tr>
<tr id="obs_03_0072__row46767608174213"><td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.1.3.1.4.1.1 "><p id="obs_03_0072__p1872657917436">X-Object-Manifest</p>
</td>
<td class="cellrowborder" valign="top" width="20.669999999999998%" headers="mcps1.3.1.3.1.4.1.2 "><p id="obs_03_0072__p4045795317436">String</p>
<p id="obs_03_0072__p2857725817436">(Optional)</p>
</td>
<td class="cellrowborder" valign="top" width="55.900000000000006%" headers="mcps1.3.1.3.1.4.1.3 "><p id="obs_03_0072__p3305656717436">This is the identifier of a dynamic large object. The value is the container and object name prefix of the segment objects in the form of <em id="obs_03_0072__i269219602153723">container/prefix</em>.</p>
</td>
</tr>
<tr id="obs_03_0072__row51546946174214"><td class="cellrowborder" valign="top" width="23.43%" headers="mcps1.3.1.3.1.4.1.1 "><p id="obs_03_0072__p615569217436">X-Static-Large-Object</p>
</td>
<td class="cellrowborder" valign="top" width="20.669999999999998%" headers="mcps1.3.1.3.1.4.1.2 "><p id="obs_03_0072__p2884903517436">String</p>
<p id="obs_03_0072__p5831473017436">(Optional)</p>
</td>
<td class="cellrowborder" valign="top" width="55.900000000000006%" headers="mcps1.3.1.3.1.4.1.3 "><p id="obs_03_0072__p2587266517436">Set to <strong id="obs_03_0072__b2105663">True</strong> if this object is a static large object manifest object.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_0070.html">Show Object Metadata</a></div>
</div>
</div>