forked from docs/doc-exports
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
47 lines
3.8 KiB
HTML
47 lines
3.8 KiB
HTML
<a name="obs_faq_0031"></a><a name="obs_faq_0031"></a>
|
|
|
|
<h1 class="topictitle1">How Do I Obtain the Access Path to an Object?</h1>
|
|
<div id="body8662426"><p id="obs_faq_0031__p953644345411">Object access paths use the following format: <strong id="obs_faq_0031__b1060131254917">https://</strong><em id="obs_faq_0031__i116011012174918">{bucket name}</em><strong id="obs_faq_0031__b10602181216493">.</strong><em id="obs_faq_0031__i060271220497">{domain name}</em><strong id="obs_faq_0031__b12602101204914">/</strong><em id="obs_faq_0031__i86030121499">{object name}</em>. The following is an example: <strong id="obs_faq_0031__b548954517116">https://bucketname.obs.eu-de.otc.t-systems.com/objectname</strong>.</p>
|
|
<p id="obs_faq_0031__p1442544164515">You can combine a path manually or use the tools in the following table to obtain it.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_faq_0031__table183872112467" frame="border" border="1" rules="all"><caption><b>Table 1 </b>How to obtain an object URL</caption><thead align="left"><tr id="obs_faq_0031__row138391521154614"><th align="left" class="cellrowborder" valign="top" width="23.1%" id="mcps1.3.3.2.3.1.1"><p id="obs_faq_0031__p783982111460">Tool</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="76.9%" id="mcps1.3.3.2.3.1.2"><p id="obs_faq_0031__p7101132916461">Object URL</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="obs_faq_0031__row12839921174611"><td class="cellrowborder" valign="top" width="23.1%" headers="mcps1.3.3.2.3.1.1 "><p id="obs_faq_0031__p88397218466">OBS Console</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="76.9%" headers="mcps1.3.3.2.3.1.2 "><p id="obs_faq_0031__p16862193904619">Click the object and copy the URL for the detailed information of the object.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_faq_0031__row5839182144619"><td class="cellrowborder" valign="top" width="23.1%" headers="mcps1.3.3.2.3.1.1 "><p id="obs_faq_0031__p17839162112463">OBS Browser</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="76.9%" headers="mcps1.3.3.2.3.1.2 "><p id="obs_faq_0031__p1486233920469">Click the <strong id="obs_faq_0031__b185215547347">Attribute</strong> button of the object and then you can copy the URL displayed in the detailed information about the object.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_faq_0031__row1577903941316"><td class="cellrowborder" valign="top" width="23.1%" headers="mcps1.3.3.2.3.1.1 "><p id="obs_faq_0031__p1588131810149">SDKs</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="76.9%" headers="mcps1.3.3.2.3.1.2 "><p id="obs_faq_0031__p777943971320">You can get the URL of an object by calling the <strong id="obs_faq_0031__b163531320193012">getObjectUrl</strong> interface.</p>
|
|
<div class="note" id="obs_faq_0031__note670323216541"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="obs_faq_0031__p870316321543">When uploading an object, you can obtain its URL from the returned value. The URL of an existing object in the bucket cannot be obtained.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_faq_0031__row377914398139"><td class="cellrowborder" valign="top" width="23.1%" headers="mcps1.3.3.2.3.1.1 "><p id="obs_faq_0031__p16881161812146">APIs</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="76.9%" headers="mcps1.3.3.2.3.1.2 "><p id="obs_faq_0031__p1385333913311">Not supported</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="note" id="obs_faq_0031__note19372243174316"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_faq_0031__p43739439430">If the object access path is user-assembled, you need to escape the object name by referring to the URL encoding rules.</p>
|
|
</div></div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_faq_1200.html">Buckets and Objects</a></div>
|
|
</div>
|
|
</div>
|
|
|