Help Center> Object Storage Service> FAQs> Buckets and Objects> How Do I Obtain the Access Path to an Object?

How Do I Obtain the Access Path to an Object?

Format of an object access path is as follows: https://Bucket name.Domain name/Object name Example: https://bucketname.obs.cn-north-4.myhuaweicloud.com/objectname

You can combine path manually or use the following tools to obtain the path:

Table 1 How to obtain an object URL

Tool

Object URL

OBS Console

Click the object and copy the URL for the detailed information of the object.

OBS Browser+

Click the Attribute button of the object and then you can copy the URL displayed in the detailed information about the object.

obsutil

Not supported

SDK

You can get the URL of an object by calling the getObjectUrl interface.

API

Not supported

If the object access path is user-assembled, you need to escape the object name by referring to the URL encoding rules.