How Do I Obtain the Access Path to an Object?

Object access paths use the following format: https://{bucket name}.{domain name}/{object name}. The following is an example: https://bucketname.obs.eu-de.otc.t-systems.com/objectname.

You can combine a path manually or use the tools in the following table to obtain it.

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.

SDKs

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

Note

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.

APIs

Not supported

Note

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