Example Programs
OBS BrowserJS SDK provides abundant example programs for user reference and direct use. These programs can be obtained from the OBS BrowserJS SDK development package. For example, files in eSDK_Storage_OBS_<versionId>_BrowserJS/examples obtained by decompressing eSDK_Storage_OBS_<versionId>_BrowserJS.zip are example programs. Alternatively, you can click code package names provided in the following table to obtain corresponding example programs.
Example programs include:
Sample Code |
Description |
---|---|
How to use bucket-related APIs. |
|
How to use object-related APIs. |
|
How to upload and download an object. |
|
How to create a folder. |
|
How to delete objects in a batch. |
|
How to list objects. |
|
How to list versioning objects. |
|
How to perform a multipart upload. |
|
How to perform a browser-based upload. |
|
How to use URLs for temporary authentication. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.