16.9.1 Understanding Object Bucket URL Format

Understand how an OCI object bucket URL includes the region, namespace, bucket name, and object name.

As shown below, your object bucket has a Namespace like x1y2z3a4b5c6 that appears in URLs when accessing the bucket via REST API. A companion-bucket in the Frankfurt OCI data center has a URL like:
https://objectstorage.eu-frankfurt-1.oraclecloud.com/n/x1y2z3a4b5c6/b/companion-bucket
While a file myfile.jpg in that bucket will have URL:
https://objectstorage.eu-frankfurt-1.oraclecloud.com/n/x1y2z3a4b5c6/b/companion-bucket/o/myfile.jpg

Tip:

The eu-frankfurt-1 in URLs in this section reflects the OCI region in Frankfurt, Germany. Use your own OCI bucket region when putting these ideas into practice in your own application.

Figure 16-84 Object Bucket Has a Namespace Used in REST APIs