Files
doc-exports/docs/obs_3rd_party/go_sdk/CLASS.TXT.json
weihongmin1 b9f4932025 OBS GO SDK 0822 Version
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com>
Co-authored-by: weihongmin1 <weihongmin1@huawei.com>
Co-committed-by: weihongmin1 <weihongmin1@huawei.com>
2025-08-25 13:48:56 +00:00

803 lines
31 KiB
JSON

[
{
"desc":"This section describes the important notes about Object Storage Service (OBS) SDK for Go.Some features are available only for some regions. If 405 HTTP status code is ret",
"product_code":"obs",
"title":"Before You Start",
"uri":"obs_33_0001.html",
"doc_type":"sdk-go-devg",
"p_code":"",
"code":"1"
},
{
"desc":"Table 1 describes the APIs provided by OBS SDK for Go. You can click an API name in the table to see its detailed information and sample code.",
"product_code":"obs",
"title":"API Overview of OBS SDK for Go",
"uri":"obs_23_0002.html",
"doc_type":"sdk-go-devg",
"p_code":"",
"code":"2"
},
{
"desc":"Before using OBS SDK for Go to access OBS, you need to prepare the service and development environments. To prepare the service environment, you must get an account and a",
"product_code":"obs",
"title":"Preparations",
"uri":"obs_23_0104.html",
"doc_type":"sdk-go-devg",
"p_code":"",
"code":"3"
},
{
"desc":"This topic provides the download links and installation methods of OBS SDK for Go.Latest version of OBS SDK for GoOBS SDK for Go can be installed in the following ways:Th",
"product_code":"obs",
"title":"Downloading and Installing an SDK",
"uri":"obs_23_0001.html",
"doc_type":"sdk-go-devg",
"p_code":"",
"code":"4"
},
{
"desc":"OBS employs access keys (AK and SK) for signature verification to ensure that only authorized accounts can access specified OBS resources. Detailed explanations of access",
"product_code":"obs",
"title":"Getting Started",
"uri":"obs_23_0103.html",
"doc_type":"sdk-go-devg",
"p_code":"",
"code":"5"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"obs",
"title":"Initialization",
"uri":"obs_33_0100.html",
"doc_type":"sdk-go-devg",
"p_code":"",
"code":"6"
},
{
"desc":"ObsClient functions as the Go client for accessing OBS. It offers users a series of APIs for interaction with OBS. These APIs are used for managing and operating resource",
"product_code":"obs",
"title":"ObsClient Initialization",
"uri":"obs_33_0102.html",
"doc_type":"sdk-go-devg",
"p_code":"6",
"code":"7"
},
{
"desc":"You can enable the SDK log function to record log information generated during API calling into log files for subsequent data analysis or fault location. You can use Init",
"product_code":"obs",
"title":"Log Initialization",
"uri":"obs_33_0103.html",
"doc_type":"sdk-go-devg",
"p_code":"6",
"code":"8"
},
{
"desc":"Each time you fail to call an ObsClient API, an SDK custom error — containing an HTTP status code, OBS error code, and error message — is returned, to help you locate and",
"product_code":"obs",
"title":"SDK Custom Errors",
"uri":"obs_33_0104.html",
"doc_type":"sdk-go-devg",
"p_code":"6",
"code":"9"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"obs",
"title":"Bucket-Related APIs",
"uri":"obs_33_0400.html",
"doc_type":"sdk-go-devg",
"p_code":"",
"code":"10"
},
{
"desc":"OBS SDK for Go provides methods for accessing OBS using bucket-related APIs with signed URLs. Such methods may contain the following three parameters:A signed URLHeaders ",
"product_code":"obs",
"title":"Bucket API Overview",
"uri":"obs_33_0401.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"11"
},
{
"desc":"This API creates an OBS bucket. Buckets are containers for storing objects (files uploaded to OBS) in OBS.When creating a bucket, you can also configure parameters such a",
"product_code":"obs",
"title":"Creating a Bucket",
"uri":"obs_33_0402.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"12"
},
{
"desc":"OBS buckets are containers for storing objects you upload to OBS. This API returns a list of all buckets that meet the specified conditions in all regions of the current ",
"product_code":"obs",
"title":"Obtaining a Bucket List",
"uri":"obs_33_0403.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"13"
},
{
"desc":"This API checks whether a bucket exists. If an HTTP status code 200 is returned, the bucket exists. If 404 is returned, the bucket does not exist.To determine whether a b",
"product_code":"obs",
"title":"Checking Whether a Bucket Exists",
"uri":"obs_33_0404.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"14"
},
{
"desc":"This API deletes an empty bucket. You can delete buckets you no longer use to free up space. The name of a deleted bucket can be reused for another bucket at least 30 min",
"product_code":"obs",
"title":"Deleting a Bucket",
"uri":"obs_33_0405.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"15"
},
{
"desc":"This API lists some or all of the objects in a bucket. You can use parameters such as the prefix, number of returned objects, and start position to list objects that meet",
"product_code":"obs",
"title":"Listing Objects in a Bucket",
"uri":"obs_33_0406.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"16"
},
{
"desc":"This API returns some or all of the object versions in a bucket. You can use parameters such as the prefix, number of returned object versions, and start position to retu",
"product_code":"obs",
"title":"Listing Object Versions in a Bucket",
"uri":"obs_33_0407.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"17"
},
{
"desc":"This API returns information about a bucket, including the storage class, region, CORS rules, and redundancy policy.To obtain bucket metadata, you must be the bucket owne",
"product_code":"obs",
"title":"Obtaining Bucket Metadata",
"uri":"obs_33_0409.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"18"
},
{
"desc":"This API returns the region of a bucket.To obtain the region of a bucket, you must be the bucket owner or have the required permission (obs:bucket:GetBucketLocation in IA",
"product_code":"obs",
"title":"Obtaining the Region of a Bucket",
"uri":"obs_33_0410.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"19"
},
{
"desc":"This API returns the storage information of a bucket, including the number of objects and the space occupied by the objects in the bucket.OBS measures bucket storage stat",
"product_code":"obs",
"title":"Obtaining Storage Information of a Bucket",
"uri":"obs_33_0411.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"20"
},
{
"desc":"A quota limits the maximum capacity allowed in a bucket. By default, there is no limit on the storage capacity of the entire OBS system or a single bucket, and any number",
"product_code":"obs",
"title":"Configuring a Storage Quota",
"uri":"obs_33_0412.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"21"
},
{
"desc":"This API returns the storage quota (upper limit of the storage capacity) of a bucket. If the quota is 0, there is no upper limit on the bucket capacity.A bucket storage q",
"product_code":"obs",
"title":"Obtaining a Bucket Storage Quota",
"uri":"obs_33_0413.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"22"
},
{
"desc":"This API configures a storage class for a bucket. If you do not specify a storage class when uploading or copying an object, or initiating a multipart upload, the object ",
"product_code":"obs",
"title":"Configuring a Storage Class for a Bucket",
"uri":"obs_33_0414.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"23"
},
{
"desc":"This API returns the storage class of a bucket.To obtain a bucket's storage class, you must be the bucket owner or have the required permission (obs:bucket:GetBucketStora",
"product_code":"obs",
"title":"Obtaining the Storage Class of a Bucket",
"uri":"obs_33_0415.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"24"
},
{
"desc":"Access control lists (ACLs) allow resource owners to grant other accounts the permissions to access resources. By default, only the resource owner has full control over r",
"product_code":"obs",
"title":"Configuring a Bucket ACL",
"uri":"obs_33_0416.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"25"
},
{
"desc":"Access control lists (ACLs) allow resource owners to grant other accounts the permissions to access resources. By default, only the resource owner has full control over r",
"product_code":"obs",
"title":"Obtaining the Bucket ACL",
"uri":"obs_33_0417.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"26"
},
{
"desc":"This API enables logging for a bucket (source) and configures another bucket (target) to store the log files. When a bucket is created, logging is not enabled by default.",
"product_code":"obs",
"title":"Configuring Logging for a Bucket",
"uri":"obs_33_0418.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"27"
},
{
"desc":"This API returns the logging configuration of a bucket.To obtain the logging configuration of a bucket, you must be the bucket owner or have the required permission (obs:",
"product_code":"obs",
"title":"Obtaining the Logging Configuration of a Bucket",
"uri":"obs_33_0419.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"28"
},
{
"desc":"OBS provides access control over buckets. You can use an access policy to define whether a user can perform certain operations on a specific bucket. OBS access control ca",
"product_code":"obs",
"title":"Configuring a Bucket Policy",
"uri":"obs_33_0420.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"29"
},
{
"desc":"OBS provides access control over buckets. You can use an access policy to define whether a user can perform certain operations on a specific bucket. OBS access control ca",
"product_code":"obs",
"title":"Obtaining the Policy of a Bucket",
"uri":"obs_33_0421.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"30"
},
{
"desc":"OBS provides access control over buckets. You can use an access policy to define whether a user can perform certain operations on a specific bucket. OBS access control ca",
"product_code":"obs",
"title":"Deleting a Bucket Policy",
"uri":"obs_33_0422.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"31"
},
{
"desc":"You can configure lifecycle rules to periodically delete objects or transition objects between storage classes.This API configures lifecycle rules for a bucket.There is n",
"product_code":"obs",
"title":"Configuring Lifecycle Rules for a Bucket",
"uri":"obs_33_0423.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"32"
},
{
"desc":"You can configure lifecycle rules to periodically delete objects or transition objects between storage classes.This API returns the lifecycle rules of a bucket.To obtain ",
"product_code":"obs",
"title":"Obtaining the Lifecycle Configuration of a Bucket",
"uri":"obs_33_0424.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"33"
},
{
"desc":"You can configure lifecycle rules to periodically delete objects or transition objects between storage classes.This API deletes the lifecycle configuration of a bucket.To",
"product_code":"obs",
"title":"Deleting the Lifecycle Configuration of a Bucket",
"uri":"obs_33_0425.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"34"
},
{
"desc":"You can host static website resources such as HTML web pages, flash files, or audio and video files in an OBS bucket, so that you can access these hosted resources using ",
"product_code":"obs",
"title":"Configuring Static Website Hosting for a Bucket",
"uri":"obs_33_0426.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"35"
},
{
"desc":"You can host static website resources such as HTML web pages, flash files, as well as audio and video files in an OBS bucket, so that you can access these hosted resource",
"product_code":"obs",
"title":"Obtaining the Static Website Hosting Configuration of a Bucket",
"uri":"obs_33_0427.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"36"
},
{
"desc":"You can host static website resources such as HTML web pages, flash files, as well as audio and video files in an OBS bucket, so that you can access these hosted resource",
"product_code":"obs",
"title":"Deleting the Static Website Hosting Configuration of a Bucket",
"uri":"obs_33_0428.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"37"
},
{
"desc":"You can enable versioning to automatically maintain previous versions of an object. When versioning is enabled, you can access earlier versions of an object to recover yo",
"product_code":"obs",
"title":"Configuring Versioning for a Bucket",
"uri":"obs_33_0429.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"38"
},
{
"desc":"You can enable versioning to automatically maintain previous versions of an object. When versioning is enabled, you can access earlier versions of an object to recover yo",
"product_code":"obs",
"title":"Obtaining the Versioning Status of a Bucket",
"uri":"obs_33_0430.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"39"
},
{
"desc":"Cross-origin resource sharing (CORS) is a browser-standard mechanism defined by the World Wide Web Consortium (W3C). It allows a web client in one origin to interact with",
"product_code":"obs",
"title":"Configuring CORS for a Bucket",
"uri":"obs_33_0431.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"40"
},
{
"desc":"Cross-origin resource sharing (CORS) is a browser-standard mechanism defined by the World Wide Web Consortium (W3C). It allows a web client in one origin to interact with",
"product_code":"obs",
"title":"Obtaining the CORS Configuration of a Bucket",
"uri":"obs_33_0432.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"41"
},
{
"desc":"Cross-origin resource sharing (CORS) is a browser-standard mechanism defined by the World Wide Web Consortium (W3C). It allows a web client in one origin to interact with",
"product_code":"obs",
"title":"Deleting the CORS Configuration of a Bucket",
"uri":"obs_33_0433.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"42"
},
{
"desc":"This API configures a custom domain name for a bucket.To configure a custom domain name for a bucket, you must be the bucket owner or have the required permission (obs:bu",
"product_code":"obs",
"title":"Configuring a Custom Domain Name for a Bucket",
"uri":"obs_33_0444.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"43"
},
{
"desc":"This API obtains the custom domain name of a bucket.To obtain the custom domain name for a bucket, you must be the bucket owner or have the required permission (obs:bucke",
"product_code":"obs",
"title":"Obtaining the Custom Domain Names of a Bucket",
"uri":"obs_33_0445.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"44"
},
{
"desc":"This API deletes the custom domain name of a bucket.To delete the custom domain name of a bucket, you must be the bucket owner or have the required permission (obs:bucket",
"product_code":"obs",
"title":"Deleting the Custom Domain Names of a Bucket",
"uri":"obs_33_0446.html",
"doc_type":"sdk-go-devg",
"p_code":"10",
"code":"45"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"obs",
"title":"Object-Related APIs",
"uri":"obs_33_0500.html",
"doc_type":"sdk-go-devg",
"p_code":"",
"code":"46"
},
{
"desc":"OBS SDK for Go provides methods for accessing OBS using object-related APIs (except for resumable transfer APIs) with signed URLs. Such methods may contain the following ",
"product_code":"obs",
"title":"Object API Overview",
"uri":"obs_33_0501.html",
"doc_type":"sdk-go-devg",
"p_code":"46",
"code":"47"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"obs",
"title":"Object Upload Overview",
"uri":"obs_23_0401.html",
"doc_type":"sdk-go-devg",
"p_code":"46",
"code":"48"
},
{
"desc":"This API uploads a local file toOBS over the Internet. You can upload text, videos, or any other types of files smaller than 5 GB.Streaming upload uses io.Reader as the o",
"product_code":"obs",
"title":"Uploading an Object - Streaming",
"uri":"obs_23_0402.html",
"doc_type":"sdk-go-devg",
"p_code":"48",
"code":"49"
},
{
"desc":"This API uploads local files to a specified bucketin OBS over the Internet. These files can be texts, images, videos, or any other type of files.To upload an object, you ",
"product_code":"obs",
"title":"Uploading an Object - File-Based",
"uri":"obs_23_0403.html",
"doc_type":"sdk-go-devg",
"p_code":"48",
"code":"50"
},
{
"desc":"This API uploads a file or folder to an existing OBS bucket. You can upload texts, videos, or any other types of files.The AppendObject operation adds data to the end of ",
"product_code":"obs",
"title":"Uploading an Object - Append",
"uri":"obs_23_0404.html",
"doc_type":"sdk-go-devg",
"p_code":"48",
"code":"51"
},
{
"desc":"The resumable upload is an encapsulated and enhanced version of the multipart upload used for dealing with possible upload failures of large files when the network connec",
"product_code":"obs",
"title":"Uploading an Object - Resumable",
"uri":"obs_23_0409.html",
"doc_type":"sdk-go-devg",
"p_code":"48",
"code":"52"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"obs",
"title":"Object Download Overview",
"uri":"obs_23_0501.html",
"doc_type":"sdk-go-devg",
"p_code":"46",
"code":"53"
},
{
"desc":"This API downloads a file using streaming from OBS to your local computer.To download an object, you must be the bucket owner or have the required permission (obs:object:",
"product_code":"obs",
"title":"Downloading an Object - Streaming",
"uri":"obs_23_0502.html",
"doc_type":"sdk-go-devg",
"p_code":"53",
"code":"54"
},
{
"desc":"This API downloads partial data of an object by specifying a range. If the specified range is from 0 to 1,000, data at the 0th to the 1,000th bytes, 1,001 bytes in total,",
"product_code":"obs",
"title":"Downloading an Object - Range-Based",
"uri":"obs_23_0503.html",
"doc_type":"sdk-go-devg",
"p_code":"53",
"code":"55"
},
{
"desc":"When downloading an object, you can specify one or more conditions. Only when the conditions are met, the object will be downloaded. Otherwise, an error code will be retu",
"product_code":"obs",
"title":"Downloading an Object - Conditional",
"uri":"obs_23_0504.html",
"doc_type":"sdk-go-devg",
"p_code":"53",
"code":"56"
},
{
"desc":"Downloading large files often fails due to poor network conditions or program breakdowns. It is a waste of resources to restart the download process upon a download failu",
"product_code":"obs",
"title":"Downloading an Object - Resumable",
"uri":"obs_23_0509.html",
"doc_type":"sdk-go-devg",
"p_code":"53",
"code":"57"
},
{
"desc":"This API creates a folder in a bucket created to manage data in OBS.OBS does not involve folders like in a file system. All elements in buckets are objects. To create a f",
"product_code":"obs",
"title":"Creating a Folder",
"uri":"obs_23_0510.html",
"doc_type":"sdk-go-devg",
"p_code":"46",
"code":"58"
},
{
"desc":"This API copies an object stored in OBS to another path, with a copy created during the process. You can create a copy of an object up to 5 GB in a single operation.To co",
"product_code":"obs",
"title":"Copying an Object",
"uri":"obs_33_0505.html",
"doc_type":"sdk-go-devg",
"p_code":"46",
"code":"59"
},
{
"desc":"This API deletes an object in the specified bucket to save space and costs.To delete an object, you must be the bucket owner or have the required permission (obs:object:D",
"product_code":"obs",
"title":"Deleting an Object",
"uri":"obs_33_0506.html",
"doc_type":"sdk-go-devg",
"p_code":"46",
"code":"60"
},
{
"desc":"This API deletes objects in batches from a specific bucket. Deleted objects cannot be recovered.In a batch delete operation, OBS concurrently deletes the specified object",
"product_code":"obs",
"title":"Batch Deleting Objects",
"uri":"obs_33_0507.html",
"doc_type":"sdk-go-devg",
"p_code":"46",
"code":"61"
},
{
"desc":"Object metadata is a set of name-value pairs that describe the object and is used for object management.Currently, only the metadata defined by the system is supported.Th",
"product_code":"obs",
"title":"Configuring Object Metadata",
"uri":"obs_33_0920.html",
"doc_type":"sdk-go-devg",
"p_code":"46",
"code":"62"
},
{
"desc":"Object metadata is a set of name-value pairs that describe the object and is used for object management.Currently, only the metadata defined by the system is supported. T",
"product_code":"obs",
"title":"Obtaining Object Metadata",
"uri":"obs_33_0508.html",
"doc_type":"sdk-go-devg",
"p_code":"46",
"code":"63"
},
{
"desc":"Access control lists (ACLs) allow resource owners to grant other accounts the permissions to access resources. By default, only the resource owner has full control over r",
"product_code":"obs",
"title":"Configuring an Object ACL",
"uri":"obs_33_0509.html",
"doc_type":"sdk-go-devg",
"p_code":"46",
"code":"64"
},
{
"desc":"Access control lists (ACLs) allow resource owners to grant other accounts the permissions to access resources. By default, only the resource owner has full control over r",
"product_code":"obs",
"title":"Obtaining Object ACL Information",
"uri":"obs_33_0510.html",
"doc_type":"sdk-go-devg",
"p_code":"46",
"code":"65"
},
{
"desc":"This API rewrites some HTTP/HTTPS response headers when downloading an object. The following table lists rewritable response headers.To rewrite response headers, you must",
"product_code":"obs",
"title":"Rewriting Response Headers",
"uri":"obs_23_0505.html",
"doc_type":"sdk-go-devg",
"p_code":"46",
"code":"66"
},
{
"desc":"To obtain the content of an object in the Cold storage class, you need to restore the object first and then you can download it. After an object is restored, a copy of th",
"product_code":"obs",
"title":"Restoring a Cold Object",
"uri":"obs_33_0517.html",
"doc_type":"sdk-go-devg",
"p_code":"46",
"code":"67"
},
{
"desc":"This API modifies the content of an object in a parallel file system from the specified position.This API is currently available only for parallel file systems, not for o",
"product_code":"obs",
"title":"Modifying an Object",
"uri":"obs_33_0519.html",
"doc_type":"sdk-go-devg",
"p_code":"46",
"code":"68"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"obs",
"title":"APIs Related to Multipart Upload",
"uri":"obs_33_0520.html",
"doc_type":"sdk-go-devg",
"p_code":"",
"code":"69"
},
{
"desc":"You can upload large files using multipart upload. Multipart upload is applicable to many scenarios, including:Files to be uploaded are larger than 100 MB.The network con",
"product_code":"obs",
"title":"Multipart Upload Overview",
"uri":"obs_33_0521.html",
"doc_type":"sdk-go-devg",
"p_code":"69",
"code":"70"
},
{
"desc":"This API initiates a multipart upload and returns a globally unique upload ID. You can use this upload ID in your subsequent requests including UploadPart, CompleteMultip",
"product_code":"obs",
"title":"Initiating a Multipart Upload",
"uri":"obs_33_0511.html",
"doc_type":"sdk-go-devg",
"p_code":"69",
"code":"71"
},
{
"desc":"After a multipart upload is initiated, this API uploads a part to a specified bucket. In the upload request, the multipart upload ID must be included. Except for the part",
"product_code":"obs",
"title":"Uploading a Part",
"uri":"obs_33_0512.html",
"doc_type":"sdk-go-devg",
"p_code":"69",
"code":"72"
},
{
"desc":"This API assembles the uploaded parts to complete the multipart upload. Before performing this operation, you cannot download the uploaded data. When assembling parts, yo",
"product_code":"obs",
"title":"Assembling Parts",
"uri":"obs_33_0515.html",
"doc_type":"sdk-go-devg",
"p_code":"69",
"code":"73"
},
{
"desc":"This API lists ongoing multipart uploads.Ongoing multipart uploads are the multipart uploads that have been initiated but have not been completed or aborted. A maximum of",
"product_code":"obs",
"title":"Listing Multipart Uploads",
"uri":"obs_33_0408.html",
"doc_type":"sdk-go-devg",
"p_code":"69",
"code":"74"
},
{
"desc":"This API lists the uploaded parts in a specified bucket. This request must contain the multipart upload ID.You can list the uploaded parts of a specified multipart upload",
"product_code":"obs",
"title":"Listing Uploaded Parts",
"uri":"obs_33_0514.html",
"doc_type":"sdk-go-devg",
"p_code":"69",
"code":"75"
},
{
"desc":"This API copies a part to a specified bucket. This request must contain the multipart upload ID.After creating a multipart upload, you can specify the upload ID and uploa",
"product_code":"obs",
"title":"Copying a Part",
"uri":"obs_33_0513.html",
"doc_type":"sdk-go-devg",
"p_code":"69",
"code":"76"
},
{
"desc":"This API aborts a multipart upload using the multipart upload ID.After a multipart upload is aborted, the upload ID cannot be used to upload any part. The storage occupie",
"product_code":"obs",
"title":"Aborting a Multipart Upload",
"uri":"obs_33_0516.html",
"doc_type":"sdk-go-devg",
"p_code":"69",
"code":"77"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"obs",
"title":"Other APIs",
"uri":"obs_33_0600.html",
"doc_type":"sdk-go-devg",
"p_code":"",
"code":"78"
},
{
"desc":"This API creates a URL whose Query parameters are carried with authentication information by specifying the AK and SK, HTTP method, and request parameters. You can provid",
"product_code":"obs",
"title":"Creating a Signed URL",
"uri":"obs_33_0601.html",
"doc_type":"sdk-go-devg",
"p_code":"78",
"code":"79"
},
{
"desc":"This API generates parameters for authentication. The parameters can be used to upload data through POST operations based on a browser.There are two request parameters ge",
"product_code":"obs",
"title":"Creating Authentication Parameters for a Browser-based Upload",
"uri":"obs_33_0602.html",
"doc_type":"sdk-go-devg",
"p_code":"78",
"code":"80"
},
{
"desc":"This API configures server-side encryption for objects, so that they will be encrypted or decrypted when you upload them to or download them from a bucket.The encryption ",
"product_code":"obs",
"title":"Server-Side Encryption",
"uri":"obs_33_0603.html",
"doc_type":"sdk-go-devg",
"p_code":"78",
"code":"81"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"obs",
"title":"Troubleshooting",
"uri":"obs_23_1600.html",
"doc_type":"sdk-go-devg",
"p_code":"",
"code":"82"
},
{
"desc":"If the OBS server encounters an error when processing a request, a response containing the error code and error description is returned. The following table lists details",
"product_code":"obs",
"title":"OBS Server-Side Error Codes",
"uri":"obs_23_1601.html",
"doc_type":"sdk-go-devg",
"p_code":"82",
"code":"83"
},
{
"desc":"Each time you fail to call an ObsClient API, an SDK custom error — containing an HTTP status code, OBS error code, and error message — is returned, to help you locate and",
"product_code":"obs",
"title":"SDK Custom Errors",
"uri":"obs_23_1602.html",
"doc_type":"sdk-go-devg",
"p_code":"82",
"code":"84"
},
{
"desc":"OBS Go SDK provides the logging function based on the log standard library. You can use InitLog to enable logging, CloseLog to disable logging, and synchronize log inform",
"product_code":"obs",
"title":"Log Analysis",
"uri":"obs_23_1603.html",
"doc_type":"sdk-go-devg",
"p_code":"82",
"code":"85"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"obs",
"title":"FAQs",
"uri":"obs_23_1700.html",
"doc_type":"sdk-go-devg",
"p_code":"",
"code":"86"
},
{
"desc":"When calling APIs, you may need to specify the account ID (DomainID) and user ID (UserID) in some requests. You need to obtain them from the console in advance. To obtain",
"product_code":"obs",
"title":"How Do I Get My Account ID and User ID?",
"uri":"obs_23_1712.html",
"doc_type":"sdk-go-devg",
"p_code":"86",
"code":"87"
},
{
"desc":"Multipurpose Internet Mail Extensions (MIME) type is a standard way of describing a data type. The MIME type is passed in the Content-Type header.If you do not specify Co",
"product_code":"obs",
"title":"What Is Content-Type (MIME)?",
"uri":"obs_23_1713.html",
"doc_type":"sdk-go-devg",
"p_code":"86",
"code":"88"
},
{
"desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.",
"product_code":"obs",
"title":"Change History",
"uri":"obs_33_0801.html",
"doc_type":"sdk-go-devg",
"p_code":"",
"code":"89"
}
]