doc-exports/docs/obs/api-swift/obs_03_0064.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

110 lines
7.4 KiB
HTML

<a name="obs_03_0064"></a><a name="obs_03_0064"></a>
<h1 class="topictitle1">Response</h1>
<div id="body1442649345345"><div class="section" id="obs_03_0064__section30570743"><h4 class="sectiontitle">Response Headers</h4><p id="obs_03_0064__p931074517814">The following table describes response header parameters:</p>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0064__table1908395917540" frame="border" border="1" rules="all"><thead align="left"><tr id="obs_03_0064__row3722364517540"><th align="left" class="cellrowborder" valign="top" width="26.810000000000002%" id="mcps1.3.2.1.4.1.1"><p id="obs_03_0064__p6232528617540">Header</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.86%" id="mcps1.3.2.1.4.1.2"><p id="obs_03_0064__p1518337517540">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="52.33%" id="mcps1.3.2.1.4.1.3"><p id="obs_03_0064__p2189382417540">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="obs_03_0064__row2856931417540"><td class="cellrowborder" valign="top" width="26.810000000000002%" headers="mcps1.3.2.1.4.1.1 "><p id="obs_03_0064__p3241308417540">Content-Length</p>
</td>
<td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.1.4.1.2 "><p id="obs_03_0064__p821416717540">String</p>
<p id="obs_03_0064__p681864417540">(Required)</p>
</td>
<td class="cellrowborder" valign="top" width="52.33%" headers="mcps1.3.2.1.4.1.3 "><p id="obs_03_0064__p1543931517540">If the operation succeeds, this value is 0.</p>
<p id="obs_03_0064__p473611017540">If the operation fails, this value is the length of the error text in the response body.</p>
</td>
</tr>
<tr id="obs_03_0064__row20759256539"><td class="cellrowborder" valign="top" width="26.810000000000002%" headers="mcps1.3.2.1.4.1.1 "><p id="obs_03_0064__p10759155115313">Last-Modified</p>
</td>
<td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.1.4.1.2 "><p id="obs_03_0064__p52071110135312">String</p>
<p id="obs_03_0064__p172071310185315">(Required)</p>
</td>
<td class="cellrowborder" valign="top" width="52.33%" headers="mcps1.3.2.1.4.1.3 "><p id="obs_03_0064__p167596511539">Date and time that the object was created or the last time that the metadata was changed.</p>
</td>
</tr>
<tr id="obs_03_0064__row658857581762"><td class="cellrowborder" valign="top" width="26.810000000000002%" headers="mcps1.3.2.1.4.1.1 "><p id="obs_03_0064__p561009131762">X-Copied-From-Last-Modified</p>
</td>
<td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.1.4.1.2 "><p id="obs_03_0064__p4782068117615">String</p>
<p id="obs_03_0064__p2773294617615">(Optional)</p>
</td>
<td class="cellrowborder" valign="top" width="52.33%" headers="mcps1.3.2.1.4.1.3 "><p id="obs_03_0064__p530853601762">For a copied object, it shows the last modified date and time.</p>
</td>
</tr>
<tr id="obs_03_0064__row1864933617944"><td class="cellrowborder" valign="top" width="26.810000000000002%" headers="mcps1.3.2.1.4.1.1 "><p id="obs_03_0064__p3362630417944">X-Copied-From</p>
</td>
<td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.1.4.1.2 "><p id="obs_03_0064__p6418171017954">String</p>
<p id="obs_03_0064__p4076448517954">(Optional)</p>
</td>
<td class="cellrowborder" valign="top" width="52.33%" headers="mcps1.3.2.1.4.1.3 "><p id="obs_03_0064__p3535032917944">For a copied object, it shows the container name and object name in the <strong id="obs_03_0064__b14382484815358">{container}/{object}</strong> format.</p>
</td>
</tr>
<tr id="obs_03_0064__row597919561508"><td class="cellrowborder" valign="top" width="26.810000000000002%" headers="mcps1.3.2.1.4.1.1 "><p id="obs_03_0064__p14980135625015">X-Copied-From-Account</p>
</td>
<td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.1.4.1.2 "><p id="obs_03_0064__p126136152511">String</p>
<p id="obs_03_0064__p126141615105117">(Optional)</p>
</td>
<td class="cellrowborder" valign="top" width="52.33%" headers="mcps1.3.2.1.4.1.3 "><p id="obs_03_0064__p6980056185018">Account ID of the user who owns the object to be copied.</p>
</td>
</tr>
<tr id="obs_03_0064__row4262499817540"><td class="cellrowborder" valign="top" width="26.810000000000002%" headers="mcps1.3.2.1.4.1.1 "><p id="obs_03_0064__p3007282217540">Etag</p>
</td>
<td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.1.4.1.2 "><p id="obs_03_0064__p1997949817540">String</p>
<p id="obs_03_0064__p4559775717540">(Required)</p>
</td>
<td class="cellrowborder" valign="top" width="52.33%" headers="mcps1.3.2.1.4.1.3 "><p id="obs_03_0064__p243085117540">For ordinary objects, this value is the MD5 checksum of the uploaded object content.</p>
<p id="obs_03_0064__p2187766417540">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_0064__p6268124917540">For dynamic large objects, the value is the MD5 checksum of the manifest file.</p>
</td>
</tr>
<tr id="obs_03_0064__row1506052417122"><td class="cellrowborder" valign="top" width="26.810000000000002%" headers="mcps1.3.2.1.4.1.1 "><p id="obs_03_0064__p132699117122">X-Object-Meta-name</p>
</td>
<td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.1.4.1.2 "><p id="obs_03_0064__p37441973171216">String</p>
<p id="obs_03_0064__p1433437171216">(Optional)</p>
</td>
<td class="cellrowborder" valign="top" width="52.33%" headers="mcps1.3.2.1.4.1.3 "><p id="obs_03_0064__p55468529171320">The custom object metadata item.</p>
<p id="obs_03_0064__p4934983817122"><strong id="obs_03_0064__b50884809">{name}</strong> is the name of the metadata item.</p>
</td>
</tr>
<tr id="obs_03_0064__row2726033717540"><td class="cellrowborder" valign="top" width="26.810000000000002%" headers="mcps1.3.2.1.4.1.1 "><p id="obs_03_0064__p6060372017540">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.1.4.1.2 "><p id="obs_03_0064__p995425017540">String</p>
<p id="obs_03_0064__p2247939217540">(Required)</p>
</td>
<td class="cellrowborder" valign="top" width="52.33%" headers="mcps1.3.2.1.4.1.3 "><p id="obs_03_0064__p889144017540">MIME type of the object.</p>
</td>
</tr>
<tr id="obs_03_0064__row1291410117540"><td class="cellrowborder" valign="top" width="26.810000000000002%" headers="mcps1.3.2.1.4.1.1 "><p id="obs_03_0064__p3940926117540">Date</p>
</td>
<td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.1.4.1.2 "><p id="obs_03_0064__p3803358617540">String</p>
<p id="obs_03_0064__p675795617540">(Required)</p>
</td>
<td class="cellrowborder" valign="top" width="52.33%" headers="mcps1.3.2.1.4.1.3 "><p id="obs_03_0064__p1052359117540">Transaction date and time.</p>
</td>
</tr>
<tr id="obs_03_0064__row2760345717540"><td class="cellrowborder" valign="top" width="26.810000000000002%" headers="mcps1.3.2.1.4.1.1 "><p id="obs_03_0064__p2128751517540">X-Trans-Id</p>
</td>
<td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.1.4.1.2 "><p id="obs_03_0064__p4656713717540">Uuid</p>
<p id="obs_03_0064__p1645105717540">(Required)</p>
</td>
<td class="cellrowborder" valign="top" width="52.33%" headers="mcps1.3.2.1.4.1.3 "><p id="obs_03_0064__p5746723717540">A unique transaction identifier.</p>
<p id="obs_03_0064__p4744309217540"></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_0062.html">Copy Object</a></div>
</div>
</div>