检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
SDK Overview Object Storage Service (OBS) software development kits (SDKs) encapsulate RESTful application programming interfaces (APIs) provided by OBS to lessen developers' workload.
In OBS, objects are basic data units that you can operate. OBS Python SDK provides many APIs for uploading objects using various methods: Text-based upload: Character strings are used as the data source of an object.
Constraints obsfs can be used to mount parallel file systems but not OBS buckets.
Ways to Configure a Bucket ACL You can use OBS Console, APIs, SDKs, OBS Browser+, or obsutil to configure a bucket ACL. Using OBS Console In the navigation pane of OBS Console, choose Object Storage. In the bucket list, click the bucket you want to operate.
Downloading Files or Folders Using OBS Browser+ Downloading Objects Using obsutil Ways to Download an Object You can use OBS Console, APIs, SDKs, OBS Browser+, or obsutil to download an object. Using OBS Console In the navigation pane of OBS Console, choose Object Storage.
Exceptions are usually OBS server errors, including OBS error codes and error information. This facilitates users to locate problems and troubleshot faults.
If there is no such a default master key, OBS will create one and use it by default.
Installing OBS SDK for Java You can use the methods listed in Table 1 to install OBS SDK for Java. Table 1 Methods of installing OBS SDK for Java No.
Requests When you perform operations on OBS using OBS Console, tools, SDKs, or APIs, you are actually calling APIs. Each API call is counted as a request. You will be billed for the number of OBS API calls (requests).
In OBS, objects are basic data units that users can perform operations on.
Ways to Delete Objects You can use OBS Console, APIs, SDKs, OBS Browser+, or obsutil to delete objects (folders included). Using OBS Console In the navigation pane of OBS Console, choose Object Storage. In the bucket list, click the bucket you want to operate.
Using OBS Console OBS Console is a web-based GUI where you can manage your OBS resources with ease.
Configuring the AK and SK To use OBS, you need a valid pair of AK and SK for signature authentication. For details, see Setting Up an OBS Environment. When you call APIs, you need to use the AK and SK for authentication.
OBS only supports redirection for objects in the root directory of a bucket.
Configuring the AK and SK To use OBS, you need a valid pair of AK and SK for signature authentication. For details, see Setting Up an OBS Environment. After obtaining the AK and SK, you can start initialization.
When you perform operations on OBS through OBS Console, tools, APIs, or SDKs, you are actually calling APIs.
Ways to Delete a Bucket You can use OBS Console, APIs, SDKs, OBS Browser+, or obsutil to delete a bucket. Using OBS Console In the navigation pane of OBS Console, choose Object Storage. In the bucket list, select the bucket you want to delete, and then click Delete on the right.
In OBS, objects are basic data units that users can perform operations on.
For details about the OBS bucket APIs, see Object Storage Service API Reference.
SDK Download Links Download Address Latest version of OBS PHP SDK source code: Download Earlier versions of OBS PHP SDK: Download SDK Source Code and API Documentation For details about the SDK source code, see GitHub.