Updated on 2024-12-09 GMT+08:00

Obtaining Endpoints

If you have any questions during development, post them on the Issues page of GitHub. For details about parameters and usage of each API, see API Reference.

Endpoint: OBS provides an endpoint for each region. An endpoint is a domain name used to access OBS in the corresponding region.

Bucket domain name: Each bucket in OBS has a domain name. A domain name is used to access a bucket over the Internet in scenarios such as cloud application development and data sharing. An OBS bucket domain name is in the BucketName.Endpoint format. BucketName indicates the name of a bucket, and Endpoint indicates the domain name of the region where the bucket is located.

  • You can click here to view the endpoints and regions enabled for OBS.

The SDK allows you to pass endpoints with or without the protocol name. Suppose the endpoint you obtained is your-endpoint. The endpoint passed when initializing an instance of ObsClient can be http://your-endpoint, https://your-endpoint, or your-endpoint.